Skip to content
Public transport and price, town by town

40 minutes from Barcelona

The towns from which you reach central Barcelona in 40 minutes or less by public transport, with what a square metre of resale housing costs in each.

23 towns are 40 minutes or less from central Barcelona by public transport. A square metre of resale housing ranges from €2,368/m² in La Llagosta (36 min) to €5,512/m² in Sant Cugat del Vallès (36 min).

TownMinutes to the centreResale homes, €/m²
L'Hospitalet de LlobregatBarcelonès20€3,107
Santa Coloma de GramenetBarcelonès22€2,756
Sant Adrià de BesòsBarcelonès22€3,245
Montcada i ReixacVallès Occidental24€2,391
El Prat de LlobregatBaix Llobregat24€3,076
Cornellà de LlobregatBaix Llobregat24€3,179
Esplugues de LlobregatBaix Llobregat24€4,006
BadalonaBarcelonès29€2,890
Sant Boi de LlobregatBaix Llobregat32€3,003
MontgatMaresme32€3,595
Sant Feliu de LlobregatBaix Llobregat32€3,651
El MasnouMaresme32€3,916
Sant Joan DespíBaix Llobregat32€4,277
ViladecansBaix Llobregat34€3,176
CastelldefelsBaix Llobregat34€5,041
Cerdanyola del VallèsVallès Occidental35€3,156
La LlagostaVallès Oriental36€2,368
Mollet del VallèsVallès Oriental36€2,514
Sant Cugat del VallèsVallès Occidental36€5,512
AlellaMaresme37€3,879
GavàBaix Llobregat37€4,032
RipolletVallès Occidental39€2,631
Sant Just DesvernBaix Llobregat40€4,763

Same minutes is not the same life: the table compares town averages, not homes. Open the town page for rent, property tax, schools and what residents say.

Sources and notes

Minutes: full journey from the town centre to central Barcelona by public transport (metro, TRAM, bus, Rodalies and FGC), leaving 7–9am, with waits and changes; median. Operators' timetables, 2026, read on 11/10/2026. Powered by MITRAMS, data processed by Verithic.

Price: average per built square metre of resale homes sold (2025-07/2026-06). Generalitat de Catalunya, Housing Secretariat, with Land Registry data; read on 03/11/2026.

No journey can be calculated, so they are left out: Ullastrell, Olivella, Vallgorguina.

Cut-off: 40 minutes, inclusive.

Calculated by Verithic
What brings you here?
I'm looking for somewhere to live

7 questions, no sign-up. You end up with your towns, ranked.

Find your place
I'm looking to rent

What you'd pay each month, what you need to move in and whether the rent is capped.

I'm selling

What homes sold for in your town, what the council charges and who can value yours.

I'm a professional

Show up on your town's page, in front of people who've already chosen where to live.

Show up in your town