Hartenberg (or Hartenberk) is the ruin of a castle over the village of Hřebeny in the municipality of Josefov in the Karlovy Vary Region of the Czech Republic.
[2] The Hartenberg family owned the castle until 1362, when Těma of Koldice obtained it from them and traded it in 1364 with Charles IV for Bautzen.
At the beginning of 15th century the Hartenberg family received the castle again but soon sold it to Jan Maleřík.
Later the Schlicks owned the castle, the town of Loket and the Písnic family who held it more than 150 years.
From 1984–91, the castle was several times deliberately set on fire and turned into ruins.