NextOnTrip

Castell de la Fabregada

Vilanova de Meià, Spain

About this place

Castell de la Fabregada is a medieval fortified site in the municipality of Vilanova de Meià, in the Noguera comarca, Lleida province, Catalonia. Unlike most Catalan castles, its remains are not a freestanding structure but sit inside a large natural cave, making it one of the more unusual historic sites in the region.

Where is it located?

The ruins lie on the southern slope of the Roca del Pelat, at the southern end of the Serra del Cucut mountain ridge, at a spot known as Fabregada. The cave sheltering the castle sits directly below the chapel of Sant Serni (Sant Cerni), on a rock ledge that closes off the Coll de Cabeses pass from the north. Locally, the cave is known as the "cova de les Monges" — the cave of the nuns.

What is the history behind it?

The earliest record of the castle dates to 1094, when Galceran Erimany drew up his will, leaving his son Pere several castles he held from his lord, Guerau Ponç II de Cabrera — Fabregada among them. In 1107, Valença, Galceran Erimany's wife, granted the castles of Soriana and Fabregada, along with their surrounding lands, to her son Galceran.

In 1386, Pere III re-established the marquisate of Camarasa for the Infante Martí, and the castle of Fabregada was separated from the crown at that point, following the marquisate's fortunes from then on. In 1424, Alfons IV sold several places, including Fabregada with full jurisdiction, to the chapter of the Cathedral of Seu d'Urgell. The settlement was depopulated soon afterward and was absorbed into the municipal territory of Vilanova de Meià, which likewise belonged to the chapter.

Remnants still visible on site include sections of exterior defensive walls and a cistern for collecting water — evidence of how the natural cave was adapted for defensive use.

How do you get there?

The trailhead sits at kilometre 2.4 of the L-913 road connecting Vilanova de Meià and Pas Nou. The walking route covers roughly 4.2 km, starting across former agricultural fields before climbing along the right side of a ravine. After about 26 minutes, hikers reach the Coll de Cabeses pass, where a track from Font Blanca joins the route. The path then passes the Pubill hut and enters an oak forest, growing fainter until, around the 44-minute mark, the cave and castle ruins come into view.

The final stretch before the cave requires a scramble up the rock face using handholds carved into the stone — the most demanding part of the route, calling for extra care, particularly on the way down. Total elevation gain is around 290 metres, and the round trip typically takes just over two hours. Those looking for a longer outing can extend the walk to the nearby Sant Serni hermitage.

When is the best time to visit?

The terrain is mountainous and largely undeveloped, so dry conditions are strongly preferable. Rain makes the stream crossings along the route harder to manage, and the rocky scramble at the cave entrance becomes slippery and more hazardous when wet.

Frequently Asked Questions

Is Castell de la Fabregada a typical castle? No — its ruins sit inside a natural cave rather than forming a standalone structure, which is unusual among Catalan castles.

How long does it take to reach the castle? The hike from the L-913 road takes roughly two hours one way, with about 290 metres of elevation gain.

Is the trail difficult? Most of the route is easy, but the final approach to the cave requires scrambling up a rock face using carved handholds.

What else can be seen nearby? Close to the site are the Romanesque chapel of Sant Serni and the ruins of the Santa Cecília hermitage, both reachable along the same trail.

Nearby places

Earn badges for the places you visit

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