Werfen is a market town in the district of St. Johann im Pongau, in the Austrian state of Salzburg. It lies in the Salzach valley in the Pongau region of Austria.
The town is mainly known for the medieval Hohenwerfen Castle, which stands above the settlement. Werfen is also the access point for the Eisriesenwelt, an ice cave described as the largest in the world.