Dunes and beach grass at Platja de la Pineda in Castelldefels, with the Garraf hills behind

Costa del Garraf · North

Castelldefels and Gavà travel guide: the long beaches nearest Barcelona

Almost eight kilometres of sand between the Llobregat delta and the first hills of the Garraf, with a 10th-century castle, Neolithic mines, an Olympic canal and one of Spain’s largest marinas.

Towns and villages ↓See the map ↓

Platja de la Pineda, Castelldefels · Photo: Enric, CC BY-SA 4.0

Part of the Costa del Garraf guide · Other areas: Garraf and Sitges · Vilanova i la Geltrú and Cubelles

Castelldefels and Gavà are the northern end of the Costa del Garraf, in the Baix Llobregat comarca just south-west of Barcelona and its airport: one unbroken sandbank from Port Ginesta, at the foot of the Garraf massif, to the Murtra wetland on the edge of the Llobregat delta. Castelldefels has about 4.8 km of beach and Gavà between 2.7 and 3.8 km, depending on the source, both with a seafront promenade, dunes and full services, and the Rodalies R2 Sud train links the towns with Barcelona (Catalunya.com). Behind the beaches are a hilltop castle, the oldest mines with galleries in Europe and the limestone paths of the Garraf Natural Park.

At a glance

  • Where the coast of the Baix Llobregat south-west of Barcelona, from Port Ginesta and Les Botigues de Sitges in the west to the Estany de la Murtra in the east, where the Llobregat delta begins.
  • Towns Castelldefels (68,327 inhabitants) with its seafront district, and Gavà (47,498) with the beach district of Gavà Mar (Catalunya.com).
  • Best for long sandy beaches with every service, windsurfing and kitesurfing, family beach days close to Barcelona, the castle of Castelldefels, the Gavà Mines and walks into the Garraf hills.
  • Getting there the R2 Sud stops at Gavà, Castelldefels and Platja de Castelldefels; Barcelona airport is 6–10 km away in a straight line; by road the C-31 and C-32.
  • On CostaMap town guides to Castelldefels and Gavà, and places: Castelldefels Beach, Gavà Beach, Castelldefels Castle, Gavà Mines, Port Ginesta and the campsite HolaCamp Barcelona.

Map of Castelldefels and Gavà

The map shows the places on this stretch that have a CostaMap page. Tick a place type to filter, and click a marker to see the place in the panel.

Place type

Type of place

Area · next level

Region (comarca)
Place in focusLoading map…
The long beach of Castelldefels with the Garraf hills in the distanceArea map

Castelldefels and Gavà

Click a marker to see the place here. The northern Costa del Garraf, from Port Ginesta along the beaches of Castelldefels and Gavà to the Murtra wetland.

Towns and villages

Towns and villages

From west to east, from the Garraf hills towards Barcelona and the Llobregat delta.

Les Botigues de Sitges and Port Ginesta

The western end of the stretch belongs to the municipality of Sitges but adjoins Castelldefels. Its beach, Les Botigues, is 1,415 m of sand about 100 m wide, with parking, beach bars and apartment blocks behind it (spain.info). At its western tip lies Port Ginesta, opened in 1986 and enlarged in 2007 where the long beach meets the Garraf massif (Catalunya.com). The marina has 1,180 moorings and 75 businesses on site, and calls itself the largest leisure marina in Spain for mooring rental and nautical services (Port Ginesta). Restaurants, bars and nautical shops make it busy at all hours in summer. Beyond the port the coast turns rocky; the village of Garraf and Sitges are covered in our Garraf and Sitges guide.

Castelldefels: the town and the castle

Castelldefels lies between the delta wetlands and the limestone of the Garraf Natural Park, which takes in part of its territory; hills such as the Fanxó reach about 300 m (Catalunya.com). The name, recorded as Castrum Fidelis in 967, comes from the castle on its hill. Castelldefels Castle was built in the 10th century to defend the church of Santa Maria, and the views from it reach the Garraf, Collserola, Montjuïc, the delta and the coastline. Twelve 16th-century watchtowers, built to warn of pirate raids, still stand around the town: the Torre Barona is in the grounds of a hotel and the Torre de Can Gomar houses the Casa de Cultura. More than twenty sculptures are spread through the streets. The town grew with the Barcelona–Vilanova railway in the 19th century and tripled its population in the 1960s, when it became a tourist town.

Castelldefels: the seafront

Behind the beach lie wide streets with palm trees and plenty of shops and places to go out, with their own station, Platja de Castelldefels, near the western end of the beach. The 4.8 km beach is divided into the Baixador, Lluminetes and Pineda sections (Catalan Wikipedia), with a promenade, a bike lane and free parking along its whole length (Catalunya.com). The Club Nàutic and several sailing schools work from the sand, and the Canal Olímpic de Catalunya, built for the canoeing events of the 1992 Barcelona Olympics, lies just inland. Mid-July brings the Festes del Mar, with habaneras, beach volleyball and fireworks that re-enact a pirate landing. See our Castelldefels Beach guide.

Gavà: the old town and the hills

Gavà sits between the coastal hills and the sea, near the mouth of the Llobregat; the north-west of the municipality is in the Garraf Natural Park, with heights above 400 m, and the boundary with Viladecans includes the protected ponds of the delta (Catalunya.com). In town, Can Rosés is a farmhouse of 1326 with a large sundial, and Can Tintorer, a 15th-century masia, houses the museum of the Gavà Mines, the oldest mining complex with galleries in Europe, dug about 6,000 years ago for green variscite used in jewellery (Catalunya.com). Up in the hills stand the ruins of Eramprunyà castle, built in 957, reached on a path from the 13th-century chapel of Bruguers. The first factory, the Roca sanitaryware works, arrived in 1914.

Gavà Mar

Gavà Mar is the town’s seaside district, and the beach lies right behind it. The beach, also called La Pineda after the pine wood that runs down to the sand, is fine sand with a very gentle slope, play areas, a beach library and amphibious chairs (Catalunya.com). The promenade, which winds between dunes and pines, won the FAD architecture prize in 1995 (Catalunya.com). East of the beach, the Estany de la Murtra is a wetland on the route of thousands of migratory birds, and the campsite HolaCamp Barcelona lies close by. Beyond it, Viladecans and El Prat belong to the protected Llobregat delta. See our Gavà Beach guide.

Beaches and coves

There are no coves on this stretch: it is one long, straight sandbank built from Llobregat sediment, open to the wind, with dunes protected behind fences. Lengths and services are from spain.info and Catalunya.com.

The wide sandy beach of Castelldefels under a blue sky
Castelldefels

Castelldefels Beach

4,840 m of golden sand about 90 m wide, with sunshade and lounger hire, water-sports hire, toilets, showers, a sailing club and a tourist office; calm but often windy water and high occupancy (spain.info). A train station stands at its western end.

See the beach guide →
Bathers on the sandy beach of Gavà Mar
Gavà

Gavà Beach

2,730 m by about 61 m according to Catalunya.com, 3,800 m by 42 m according to spain.info: fine sand behind a pine wood and dunes, with play areas, ramps, amphibious chairs and parking along the beach (spain.info).

See the beach guide →
The long beach of Castelldefels with the Garraf hills in the distance
Sitges

Les Botigues

1,415 m of sand about 100 m wide between Castelldefels and Port Ginesta, described by spain.info as a peaceful long beach, with parking and beach bars (spain.info).

See Port Ginesta →

Things to do

Terraced valley and scrubland in the Garraf massif

Nature: the Garraf hills and the delta

The Garraf Natural Park covers more than 12,000 hectares of white limestone, scrub with dwarf fan palms, holm oaks and Aleppo pines, home to eagles, falcons and greater horseshoe bats (Catalunya.com). From this side, marked routes include the walk from Cal Ganxo to La Morella in Castelldefels and the Camí d’Eramprunyà in Gavà; the Fondo de Vallgrassa route shows the sinkholes where water drains into the rock (Catalunya.com). At the other end, the Llobregat delta has four bird hides and eight viewing towers, with paths for walkers and cyclists (Catalunya.com). See our Garraf Massif guide.

The church of Santa Maria at the castle of Castelldefels

History: castle, towers and Neolithic mines

Start at Castelldefels Castle, where Catalunya.com suggests a one-hour guided tour, then look for the watchtowers in town (Catalunya.com). In Gavà, the archaeological park of the Gavà Mines shows galleries worked for more than a thousand years, and Can Lluc, a house of 1799, is the seat of the Museu de Gavà (Catalunya.com). Inside the park, the Palau Novellà, built in 1890 in the style of the returning emigrants, is the seat of the first Buddhist monastery in Catalonia, with a large collection of Tibetan art (Catalunya.com).

Dunes of Platja de la Pineda in Castelldefels with the Garraf massif behind

Water sports and the Olympic canal

The frequent wind makes Castelldefels a centre for windsurfing and kitesurfing (Catalunya.com). The Canal Olímpic de Catalunya is a 1,200 m freshwater canal, 130 m wide and 4 m deep, fed by the Llobregat water table; non-members pay an entry fee and can hire rowing boats, kayaks and canoes, and motorboats are not allowed. It also has a pitch-and-putt course, a volleyball pitch, pools and a cycling track, and is fully adapted for people with reduced mobility (Catalunya.com). At Port Ginesta you can hire a boat.

The seafront path, dunes and palms at the beach of Gavà

Food and festivals

Gavà holds its asparagus fair, the Fira dels Espàrrecs, at the end of April, a half marathon between Gavà and Castelldefels in February, and its main festival for Sant Pere on 29 June, which opens with fireworks on the beach (Catalunya.com). Castelldefels has the Sant Ponç food and craft fair at the end of May, the Festes del Mar in mid-July and its Festa Major and International Dance Festival in mid-August (Catalunya.com). Catalunya.com also names Castelldefels as a reference for seafood cooking, and both promenades have beach bars and restaurants.

Where to stay by town

We do not name hotels. These are the bases we would choose.

The long beach of Castelldefels with the Garraf hills in the distance

Castelldefels seafront

The streets behind the beach, with Platja de Castelldefels station at the western end and buses along the promenade. Lively in summer, close to the water-sports schools and Port Ginesta.

Beach holidays, water sports, no car
The church of Santa Maria at the castle of Castelldefels

Castelldefels centre

The town around the castle and the main station, with shops, restaurants and the L’Ànec Blau shopping centre, open every day of the year (Catalunya.com). About 2 km from the beach.

Year-round stays, trains to Barcelona
Bathers on the sandy beach of Gavà Mar

Gavà Mar

A quieter district among the pines, near the beach and the Murtra and the closest base to the airport, with a campsite at the eastern end. There is no station: you need the bus or a car.

Families, campers, early flights

Getting there and around

By air

Barcelona airport (BCN) is about 6 km from Gavà Mar and 9 km from Castelldefels station in a straight line (OpenStreetMap). Road distances are longer.

By train

The Rodalies R2 Sud runs from Barcelona along the coast with stops at Gavà, Castelldefels and Platja de Castelldefels, then continues to Garraf and Sitges. Platja de Castelldefels is the stop for the beach; Gavà station is about 4 km from Gavà Mar. Check timetables with Rodalies de Catalunya.

By car

The C-31, called the Autovia de Castelldefels, and the C-32 motorway serve the stretch (spain.info). Parking along the Castelldefels promenade is free (Catalunya.com); car parks near Port Ginesta are paid, according to OpenStreetMap. We could not confirm parking capacity.

By bus

AMB metropolitan lines L94 and L95 leave from Ronda Universitat in Barcelona (Catalunya.com) and, according to OpenStreetMap, run through Gavà Mar and along the seafront of Castelldefels, where the L96 and CF2 also stop. Gavà has two town lines, GA1 and GA2. Check routes and times with AMB.

A two-day route

By train from Barcelona, with a night on the Castelldefels seafront.

The church of Santa Maria at the castle of Castelldefels

Day 1

Castelldefels: castle, canal and beach

Take the R2 Sud to Castelldefels and walk up to the castle for the guided tour and the view over the delta. Walk down through the castle gardens to the town for lunch, then cross to the Canal Olímpic for a kayak or a canoe in the afternoon. End on the beach: walk or cycle west along the promenade to Port Ginesta for dinner by the boats.

Forested ridges of the Garraf massif under a clear sky

Day 2

Gavà: mines, pines and the Murtra

Start at the Gavà Mines archaeological park and its museum, then see Can Rosés and the old streets of Gavà. Take the bus down to Gavà Mar for an afternoon on the beach under the pines, and finish at the Estany de la Murtra at dusk, when the birds come in. If you have a car and good shoes, swap the beach for the Camí d’Eramprunyà up to the castle ruins in the Garraf hills.

FAQ

How far is Castelldefels from Barcelona?

The beach is about 22 km south-west of central Barcelona in a straight line, and Spain.info describes it as only a few minutes from Barcelona and its airport. The R2 Sud train runs direct from Barcelona to Castelldefels and Platja de Castelldefels.

Is Castelldefels on the Costa del Garraf?

Spain.info places Castelldefels at the heart of the Costa del Garraf, between the Garraf massif and the sea. In administrative terms Castelldefels and Gavà are in the Baix Llobregat comarca, not the Garraf comarca, and the Catalan tourist board markets this coast as Costa Barcelona.

Which is better, Castelldefels or Gavà beach?

Castelldefels has a train station at the beach, water-sports schools and more bars; Gavà is greener, with a pine wood and dunes behind the sand, but has no station of its own by the sea. Both have fine sand, a gentle slope and full services.

Can you kitesurf in Castelldefels?

Yes. Catalunya.com calls the beach very suitable for windsurfing and kitesurfing because strong winds are frequent, and schools on the beach run courses.

Can you visit the Gavà Mines?

Yes. They are an archaeological park with a museum in Can Tintorer, in Gavà. Check opening times before you go; we could not confirm them.

Is Port Ginesta in Castelldefels or Sitges?

It belongs to the municipality of Sitges, but it sits at the western end of Castelldefels beach, about 25 km from Barcelona and 10 km from the airport (Catalunya.com).

Other areas of the Costa del Garraf

The church of Sant Bartomeu i Santa Tecla above the rocks and sea at Sitges
All of the coast

Costa del Garraf

The whole coast from Castelldefels to Cubelles, with the map, the three areas and Penedès day trips inland.

Costa del Garraf guide →
The bay of Garraf with its beach, cliffs and marina
Middle

Garraf and Sitges

Where the Garraf massif meets the sea: the beach houses of Garraf village, then Sitges with its town beaches, museums and festivals.

Garraf and Sitges guide →
Waves on the Platja Llarga beach at Cubelles
South

Vilanova i la Geltrú and Cubelles

The capital of the Garraf comarca, with its fishing port and railway museum, and Cubelles at the mouth of the Foix.

Vilanova and Cubelles guide →

From Port Ginesta it is about 10 km in a straight line to Sitges along the coast road through the Garraf massif.

Sources and freshness

Checked 9 November 2026. Catalunya.com (Catalan Tourist Board) on Castelldefels (population, castle, towers, history, festivals, Garraf routes), the beaches of Castelldefels, a family day out on Castelldefels beach, Gavà, the beach of Gavà, Viladecans, the Llobregat delta, the Gavà Mines, Port Ginesta, the Canal Olímpic de Catalunya and the Garraf Natural Park. Spain.info (Turespaña) on Castelldefels and the beaches of Castelldefels, Gavà and Les Botigues. Port Ginesta (moorings). Catalan Wikipedia: Platja de Castelldefels (beach sections). Stations, bus stops, car parks and straight-line distances: OpenStreetMap contributors. Not confirmed: opening hours and prices of the castle, the Gavà Mines and the Canal Olímpic, lifeguard seasons, current Blue Flags, parking capacity and bus timetables.

Scroll to Top