About this place
Castell de Sant Ferran is a former fortress overlooking the town of Berga, in the Berguedà region of Catalonia, at the foot of the Serra de Queralt mountain range. The structure occupies the highest point of the town, a position that has shaped its defensive and strategic importance for centuries.
What is the history behind the castle?
The hill on which the fortress stands was already settled in Iberian times, and Roman chroniclers of the 2nd century BC referred to a fortified settlement known as "castrum vergium." This original stronghold is considered the nucleus from which Berga later grew, eventually becoming a royal town in the 14th century. Documents from the 11th century record the castle in the hands of the counts of Cerdanya; it later passed to the Peguera family and was subsequently sold to the Berga family.
During the 16th century, the old castle was transformed into a significant fortress meant to hold off attacks by French Huguenots. The most decisive phase of expansion, however, came in the 18th century, when bastions, small forts and new defensive walls were added — it was at this point that the complex took on the name Castell de Sant Ferran, by which it is still known today. Its strategic position proved important during the 19th-century Carlist Wars, a period when the Berguedà region saw frequent armed conflict.
At the end of the 19th century, the army handed the site over to the town council, and in 1928 it was sold to private owners. In 1940 a residential development and a hotel were built on the grounds of the former fortress, substantially altering the original layout of the fortifications. A turning point came in 1988, when part of the site was acquired by the Berguedà County Council, which converted it into its administrative headquarters; part of the complex had already come under the county council's stewardship in 1985.
Today Castell de Sant Ferran is listed in the Inventory of Architectural Heritage of Catalonia and is protected as a Cultural Asset of National Interest.
How do you get there?
The castle sits within the town of Berga itself, on its highest hill, so reaching it from the town centre involves a relatively short but uphill walk. Berga lies in central Catalonia, in the Berguedà region, and serves as a natural base for exploring the surrounding mountains and the foothills of the Pyrenees.
What will you see?
Because of its long history of transformation — from a medieval stronghold, through 18th-century bastions, to 20th-century residential and hotel buildings — the site layers several distinct eras of construction. Part of the complex now functions as the seat of the county administration, which is worth keeping in mind when planning a visit. From the hill on which the castle stands, there are views over the town of Berga and the surrounding mountain ranges of the Berguedà region.
When should you visit?
The Berguedà region has a mountain climate, with cooler winters and mild summers, making spring and autumn the most comfortable seasons for walking up to the town's hilltop sites.
Frequently Asked Questions
Is this the same castle as the famous Castell de Sant Ferran in Figueres? No. This is a separate and much smaller town fortress in Berga, unrelated to the large 18th-century military fortress in Figueres, despite sharing the same name.
Can visitors go inside the castle? Part of the building now serves as the administrative headquarters of the Berguedà County Council, so access to certain interior areas may be limited.
Where does the name Sant Ferran come from? The complex received this name in the 18th century, during a major expansion that added bastions and new defensive walls.
What historical role did the castle play? The fortress held a key defensive role from Iberian times through conflicts with Huguenot raiders in the 16th century and up to the Carlist Wars of the 19th century.
Nearby places
Earn badges for the places you visit
Download NextOnTrip, discover new places and check off your trails.