About this place
Castell de Gelida is a medieval fortified complex perched on a rocky spur above the town of Gelida, in the Penedès region not far from Barcelona. The site brings together the ruins of the castle itself and the neighbouring church of St. Peter, forming one of the more significant archaeological monuments in this part of Catalonia.
How old is the castle, and why was it built here?
The earliest surviving reference to the site dates back to 945, when a period document uses the Latin phrase "in terminio de castrum Gellito" — "within the boundary of the castle of Gelida." At that time the structure served as a frontier post, since this stretch of land marked the divide between the Muslim-controlled territories of Al-Andalus to the south and the emerging Catalan counties to the north. The castle answered to the County of Barcelona and was tasked with guarding this contested border zone.
How did a military stronghold turn into a Gothic palace?
The purpose of the building shifted markedly during the 14th century. What had been a defensive garrison was gradually reshaped into a residence with palatial features. The turning point came in 1367, when a Barcelona banker named Berenguer Bertran acquired the property. Under his ownership the castle entered one of the most prosperous chapters of its history: it was enlarged and remodelled into a Gothic residential palace suited to a wealthy private owner rather than a garrison of soldiers.
What caused the castle to fall into ruin?
Castell de Gelida shared the fate of most Catalan castles of its era. In 1714, as part of the reprisals that followed the War of the Spanish Succession, troops loyal to Philip V destroyed the building. It was never rebuilt, and by the course of the 18th century it had been fully abandoned. That slow decay, rather than erasing the site from memory, eventually drew a different kind of attention — its picturesque, romantic ruins became a favourite subject for visitors and for photographers documenting Catalonia in the 19th and 20th centuries.
Who looks after the castle today?
The land occupied by the castle and church now belongs to the Gelida town council. Since 1965, day-to-day care of the ruins has been the responsibility of the Association of Friends of Gelida Castle, which maintains the site and keeps it accessible to the public. As a result, the complex functions both as a monumental heritage site and as an active archaeological area open to further study.
What is there to see on site?
Visitors can walk among the remains of the defensive walls and the fragments of the former palace structure, alongside the adjoining church of St. Peter, which forms an integral part of the historic ensemble. Because the castle sits on high ground above Gelida, the site also offers views over the Anoia river valley and the surrounding vineyards of the Penedès region, an area well known for its cava production.
Frequently Asked Questions
When was Castell de Gelida built? The first written record of the castle dates from 945, though the site likely functioned as a defensive point even earlier, as part of the border fortification network of the County of Barcelona.
Why is the castle in ruins today? The building was destroyed in 1714 by troops loyal to Philip V, as punishment following the War of the Spanish Succession. It was never restored and was fully abandoned during the 18th century.
How did the castle change over time? It began as a purely military frontier post guarding the border with Al-Andalus. In the 14th century, especially after 1367 under banker Berenguer Bertran, it was transformed into a residential Gothic palace.
Who manages the site now? The land belongs to the Gelida town council, while the ruins have been cared for since 1965 by the Association of Friends of Gelida Castle.
Nearby places
Earn badges for the places you visit
Download NextOnTrip, discover new places and check off your trails.