Castelldefels Castle
Historic siteCastelldefels Castle (Castell de Castelldefels) stands on the hill above the town centre, at Plaça del Castell 1, about 630 m in a straight line from Castelldefels station on the Rodalies R2 Sud line. In 2026 the museum opens at weekends and on public holidays from 11:00 to 19:00, and from Wednesday to Sunday in July and August; adult tickets cost €10. Inside are the old church, the historic rooms and Piratia, an interactive exhibition about pirates on the Catalan coast.
Quick facts
- What it is: a castle on a hill above Castelldefels, first recorded in 967, with an old church inside the complex. The town runs it as a museum with an interpretation centre on piracy.
- Where: Plaça del Castell 1, 08860 Castelldefels (Barcelona). The town says it is 20 minutes from Barcelona.
- Coordinates: 41.28428, 1.97822, the castle in OpenStreetMap.
- Hours (2026): weekends and public holidays 11:00–19:00, last entry 18:00; in July and August Wednesday to Sunday, same hours. The gardens are open 10:00–21:00 every day.
- Tickets: adults €10, children under 5 free, and free for everyone on the first Sunday of each month (Castelldefels Castle, official page, checked Sept 2026).
- Visit length: about 1 hour 30 minutes for a standard visit, according to the castle’s FAQ.
- Getting there: Rodalies R2 Sud to Castelldefels station, buses E95 and L95, or by car on the C-32 or C-245.
Access and parking
By train: the town’s castle page gives Rodalies line R2 Sud to Castelldefels station as the public transport route from Barcelona. The station is about 630 m from the castle in a straight line (OpenStreetMap). The castle sits on top of a hill, so the last part of the walk is uphill.
By bus: the castle lists buses E95 and L95 to the stop Dr. Marañón – Pl. Joan XXIII. OpenStreetMap has the Pl. Joan XXIII stop about 310 m from the castle.
By car: from Barcelona take the C-32 and/or the C-245. The main entrance is at Plaça del Castell 1 (castle practical information).
Parking: the Baix Llobregat tourism consortium lists free parking among the castle’s services. OpenStreetMap marks a surface car park without a fee on Carrer de Can Roca, about 310 m west of the castle. There are reserved spaces for holders of a disability card. Check the signs when you arrive.
What to expect
The town describes the castle as a hilltop site with views of the Mediterranean and the Garraf Natural Park, once a strategic point against pirate attacks. Visitors can see the keep, the defensive wall and the inner courtyard, the old church, the gardens and the large reception rooms (Castelldefels Castle, history and heritage). The town stresses that the church is a church, not a chapel. What the official history says:
- Before the castle: Iberian and Roman remains lie under the walls of the castle and its church.
- 967: the first clear document, dated 29 September 967, records a gift of a vineyard to the monastery of Santa Maria at Kastrum Felix.
- 14th century: the castle was enlarged to strengthen its defences.
- 15th century: it was left in very poor condition after the Catalan Civil War, when it was hit by a bombard.
- 1550: a major restoration turned it into a fortification against Barbary corsairs; ten watchtowers went up across the town for the same reason.
- 1897: after decades half abandoned, it was restored by the banker Manuel Girona i Agrafels.
- 1937–1939: a military recruitment and training centre in 1937, then a disciplinary prison of the International Brigades from March 1938 to January 1939.
- 1988: the town council bought the castle and restored much of it, with support from the Diputació de Barcelona’s local heritage service, the Generalitat de Catalunya, the Spanish government and EU funds.
Piratia: an interactive, immersive exhibition in which visitors join a pirate crew and learn about pirate attacks, coastal defence and loot. The town presents it as a family activity (Piratia).
Outside: OpenStreetMap marks a viewpoint about 50 m east of the castle and a watchtower (Torre de guaita) on Plaça del Castell, about 210 m west.
Practical details
- Opening hours in 2026: 1 January–30 June and 1 September–31 December, weekends and public holidays 11:00–19:00; 1 July–31 August, Wednesday to Sunday 11:00–19:00. Last entry is at 18:00. Closed 1–6 January and on 25, 26 and 31 December 2026. The castle says hours can change with the season and special events, so check before you go.
- Gardens: open 10:00–21:00 every day in 2026, according to the castle’s practical information page.
- Tickets: adults €10; children under 5 free; reduced rates for children and over-65s are on the official page. Buy online through Entrapolis or at the ticket office. You do not need to book for an individual visit.
- Guided tours and audio guides: both are offered in Catalan, Spanish, English and French. The town’s events calendar lists guided visits on the second and fourth Sunday of each month, and the guided visit includes the Piratia experience.
- Food and shopping: there is no café, restaurant or shop at the castle; you will find options in the streets around it. Eating and drinking are not allowed in the exhibition rooms.
- Rules: no animals except guide or assistance dogs, no smoking anywhere in the grounds, no touching the exhibits or the building, and photos for personal use only, without flash or tripod (castle FAQ).
Accessibility and safety
Accessibility: the castle has a ramp to the main gate, a lift to the different floors, adapted toilets, reserved parking for disability card holders and audio guides. Families can leave pushchairs in a dedicated space, and there is a baby changing table. If you have specific needs, the castle asks you to contact it before the visit (castell@castelldefels.org, 93 665 28 22). OpenStreetMap tags Castelldefels station as wheelchair accessible.
Safety: the castle is on a hill, and the walk from the station ends uphill. On hot days bring water, since there is no café on site.
Best time to visit
No official source names a best season, so plan around the opening pattern. Outside July and August the museum opens only at weekends and on public holidays; skip a weekday visit then if you want to go inside, because only the gardens will be open. In July and August you can also come from Wednesday to Friday. The first Sunday of each month is free, and guided visits run on the second and fourth Sundays. Check the official page before you go.
Nearby alternatives
- Gavà Mines, 3.4 km away: the prehistoric mines in Gavà.
- Garraf Massif, 8.6 km away: the natural park in the hills behind the coast.
- Church of Colònia Güell, 9.8 km away: Gaudí’s church at the Colònia Güell.
- Cau Ferrat Museum and Maricel Museum, both about 15 km away in Sitges.
- For beaches, where to stay and where to eat, see our guides to Castelldefels, Gavà, Sitges and Barcelona, and the Costa de Barcelona guide.
- HolaCamp Barcelona, about 5.6 km away: the nearest campsite you can book through Campcation (affiliate link).
Distances are in a straight line from the castle.
FAQ
What are the opening hours of Castelldefels Castle?
In 2026 the museum opens at weekends and on public holidays from 11:00 to 19:00, and from Wednesday to Sunday in July and August. Last entry is at 18:00. The gardens are open 10:00–21:00 every day.
How much are tickets for Castelldefels Castle?
Adults pay €10 and children under 5 go free. Entry to the museum is free on the first Sunday of each month. Buy online through Entrapolis or at the ticket office.
How do you get to Castelldefels Castle by train?
Take Rodalies line R2 Sud to Castelldefels station. The castle is about 630 m away in a straight line, on the hill above the centre, so the last part is uphill.
Is there parking at Castelldefels Castle?
Yes. The Baix Llobregat tourism consortium lists free parking, and OpenStreetMap marks a free car park on Carrer de Can Roca, about 310 m west. There are reserved spaces for disability card holders.
Is Castelldefels Castle wheelchair accessible?
The castle says yes: there is a ramp to the main gate, a lift between floors and adapted toilets.
Sources and freshness
Checked 30 September 2026. Official: Ajuntament de Castelldefels pages for Castelldefels Castle (hours, tickets, access, accessibility), practical information (gardens, entrance, rules), history and heritage (dates), the castle FAQ (tickets, visit length, facilities), Piratia and the town’s guided visits calendar; the Consorci de Turisme del Baix Llobregat (parking). Location, car park, station, bus stop, viewpoint and watchtower: OpenStreetMap contributors (ODbL). Photos: Wikimedia Commons, licences as credited.
Find Castelldefels Castle on the map
On the map: Castell de Castelldefels · 41.28428, 1.97822 · Castelldefels station · Castelldefels guide.
Nearby on CostaMap: Gavà Mines (3.4 km) · Garraf Massif (8.6 km) · Church of Colònia Güell (9.8 km).
Place type
Area · next level
Costa de BarcelonaCastelldefels Castle
A castle on the hill above Castelldefels, first recorded in 967 and restored in 1897, with an old church, gardens and the Piratia pirate exhibition. About 630 m from the R2 Sud station.
Nearby
Places worth knowing
Costa de BarcelonaGavà MinesThe Gavà Mines are Europe’s oldest gallery mines — the only prehistoric site anywhere dedicated purely to mining a gemstone for jewellery, not survival.Read more →
Costa de BarcelonaGarraf MassifFossilised monkeys once lived in the Garraf Massif’s karst sinkholes — today the same protected park also holds one of Spain’s largest landfills.Read more →
Costa de BarcelonaChurch of Colònia GüellGaudí solved the Sagrada Família’s structural puzzle first at Colònia Güell, using an upside-down model of hanging string and sandbags.Read more →
Costa de BarcelonaCau Ferrat MuseumSantiago Rusiñol built his Sitges studio around Gothic windows salvaged from a demolished castle — and opened it on the day two El Grecos arrived from Paris.Read more →
How this page is maintained. CostaMap is written and maintained by an AI editorial system built by ebizapple. Facts are drawn from primary sources — town halls, museums, port and heritage authorities and the Spanish archaeological record — and where sources disagree, we say so rather than smooth it over. Photographs marked as ours are taken on location. This page was last reviewed on 30 September 2026. Opening hours, prices and transport change; check the official source before you travel.
