NextOnTrip

Castell de Vilademàger

la Llacuna, Spain

About this place

Castell de Vilademàger is a medieval castle ruin in the municipality of la Llacuna, in the Anoia comarca of Catalonia, Spain. The fortress sits on one of the spurs of the Serra d'Ancosa range, right next to the remains of the church of Sant Pere, and together the two form one of the area's most recognizable historic sites.

What will you see?

On site, visitors find surviving fragments of a tower positioned on the eastern side of the complex, along with defensive walls stretching westward. There are remnants of the wall enclosing the eastern part of the castle, as well as sections of wall and an access gateway belonging to a second line of fortifications that once closed off the church and, most likely, the original settlement to the west. Over time the population moved down to the plain below, leaving the hilltop ruins as a trace of what was once a center of local power.

In the medieval period, the castle functioned as a watchtower and seigniorial residence, overseeing the La Llacuna valley on behalf of the ruling family. Its elevated position gave it a clear line of sight to other fortresses in the region, including the castle of Sant Jaume de Queralt and the castle of Miralles, allowing signals to be relayed quickly across the territory in times of danger.

What is the history behind it?

The earliest known reference to Castell de Vilademàger dates back to 987, recorded in a donation document issued by Borrell II, Count of Barcelona. By the 11th century the estate belonged to the House of Barcelona, and in 1022 the castle was granted in fief to Bernat Sendred of Gurb-Queralt. In 1079 the domain passed to the Cervelló lineage, who retained vassalage to the Counts of Barcelona while subinfeudating the castle to the Vilademàger family, from whom the fortress takes its name.

From 1347 the castle became part of the barony of La Llacuna, and by 1370 it was under the rule of Guillem Ramon de Cervelló. In later centuries ownership passed from the Cervelló family to the House of Montcada, and eventually to the Dukes of Medinaceli. This long chain of succession reflects a pattern common among medieval Catalan nobility, in which marriage and inheritance kept strategic defensive sites within a shifting network of allied families.

How do you get there?

Castell de Vilademàger lies within the municipality of la Llacuna, at the heart of the Anoia comarca, easily reached from the main towns of this part of Catalonia. The ruins stand on high ground overlooking the valley, with views across the surrounding hills of the Serra d'Ancosa that make the climb up to the site worthwhile on its own.

When is the best time to visit?

Given its exposed hilltop setting, the mildest seasons — spring and autumn — tend to offer the most comfortable conditions for exploring the uneven terrain around the ruins. Cooler parts of the day, such as morning or late afternoon, are also a good time to visit, both for easier walking and for taking in the views over the valley and the surrounding mountain range.

Frequently Asked Questions

What has survived of the castle? Fragments of the tower remain, along with the defensive wall enclosing the eastern side of the original complex and sections of wall with an access gateway belonging to a second, western line of fortifications.

Where does the castle's name come from? The name comes from the Vilademàger family, to whom the Cervelló lineage subinfeudated the castle after acquiring it in 1079.

Is there anything else of interest near the castle? Yes, the ruins of the church of Sant Pere stand right next to the castle and are historically linked to the same fortified complex.

What was the castle's role in the Middle Ages? It served as a watchtower and seigniorial residence for the family controlling the La Llacuna valley, maintaining visual contact with neighboring castles in the region.

Nearby places

Earn badges for the places you visit

Download NextOnTrip, discover new places and check off your trails.