Hohenwerfen makes its purpose clear before a visitor reaches the gate. Its walls crown a rock above Werfen, roughly 40 kilometres south of Salzburg, where the Salzach Valley carries movement into the mountains. The setting supplied both visibility and authority. Today the fortress offers an Alpine excursion, but its strongest story is how successive rulers used this position to defend, imprison and display power.
Construction began under Archbishop Gebhard in 1077, during the conflict between papal and imperial authority known as the Investiture Controversy. Hohenwerfen belonged to a wider defensive undertaking that also included Hohensalzburg and the Petersberg castle at Friesach. The first structures were probably relatively simple timber works. The massive stone ensemble encountered today developed over centuries; it should not be mistaken for a complete eleventh-century castle preserved unchanged.