NextOnTrip

Castell d'Eramprunyà

Gavà, Spain

About this place

Castell d'Eramprunyà sits atop a rocky outcrop of the Garraf massif, within the municipality of Gavà in the Baix Llobregat district of Catalonia, Spain. Perched roughly 400 metres above sea level and ringed by steep cliffs, the site can realistically be approached from only one direction — the east. That single defensible approach is exactly why medieval builders chose this spot in the first place.

Where is the castle located?

The ruins stand above Gavà, close to Castelldefels, along the ridge of hills that separates the Baix Llobregat coastline from inland Catalonia. Its coordinates place it at roughly 41.314°N, 1.957°E. Administratively the castle belongs to Gavà, though for centuries its authority stretched well beyond the town's current borders.

How old is the castle?

Archaeological work has turned up traces of settlement on this same outcrop going back to prehistoric and Iberian times, but the castle's documented story starts in the early Middle Ages. The earliest written reference dates to 957, making it one of the older recorded strongholds in this stretch of Catalonia. It formed part of a chain of frontier castles guarding the southern edge of the County of Barcelona, alongside fortresses such as Cervelló, Castellví de Rosanes, Sant Boi, and Castelldefels.

What was the castle's role in the Middle Ages?

Eramprunyà was never just a lookout post. It grew into the administrative seat of a substantial feudal territory known as the Eramprunyà castle term, which at its height covered land now belonging to Gavà, Begues, Castelldefels, Sant Climent de Llobregat, and Viladecans, plus part of Sant Boi de Llobregat. That reach tells you how much economic and political weight this one fortress carried across the coastal plain.

When did the castle reach its peak?

A turning point came in 1323, when King James II sold the entire Eramprunyà territory to his treasurer, Pere Marc. What followed was the castle's golden age, lasting until the mid-fifteenth century — a stretch marked by building work, the rising fortunes of the Marc family, and the fortress's growing regional clout.

Why did the castle fall into ruin?

The good times ended with the civil war that broke out in 1469 between King John II and the Catalan Generalitat. The castle's owner at the time, Pere Marc IV, sided with the king and took refuge behind its walls. Generalitat forces laid siege to the fortress and left it effectively destroyed — it never recovered its former role afterward.

What happened to the castle in more recent centuries?

The ruins spent the following centuries largely out of the historical spotlight until 1897, when banker Manuel Girona bought the property. It stayed in Girona family hands for more than a hundred years, until 2007, when ownership passed to the Gavà town council.

Can visitors see the castle today?

The site is currently undergoing consolidation and study work carried out under an agreement between Gavà town council and the Barcelona Provincial Council. The goal is to stabilise what remains of the structure and gradually open it up to the public, though anyone planning a visit should check current access conditions locally beforehand.

Frequently asked questions

Where exactly is Castell d'Eramprunyà? In the municipality of Gavà, Baix Llobregat district, on a ridge of the Garraf massif in Catalonia.

When was the castle built? The first written record dates to 957, though the outcrop was inhabited earlier still.

Why is the castle in ruins? It was destroyed in a 1469 siege during the civil war between King John II and the Generalitat.

Who was its last private owner? The family of banker Manuel Girona, from 1897 until 2007, when the property passed to Gavà's town council.

Is the site reachable on foot? Its cliff-top setting means access is mainly from the east, and the approach is a popular hiking route in the area today.

Nearby places

Earn badges for the places you visit

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