World Train Map

City to city

Madrid to Barcelona by train

Madrid-Puerta de Atocha → Barcelona-Sants

AVE — Madrid to Barcelona
Photo · Kabelleger / David Gubler · CC BY-SA 3.0
Fastest
≈ 3h 02m
Typical
≈ 3h 27m
Direct trains
Yes
Fewest changes
0
Operators
RENFE OPERADORA, OUIGO Espana

Trains link Madrid (Madrid-Puerta de Atocha) and Barcelona (Barcelona-Sants) in about 3h 02m at best, with no changes needed. The corridor is part of the AVE (621 km, typically 2 h 30 min), one of 1247 routes plotted in the World Train Map atlas.

How long does the train from Madrid to Barcelona take?

The fastest trains cover Madrid to Barcelona in about 3h 02m; a typical journey takes around 3h 27m.

Is there a direct train from Madrid to Barcelona?

Yes: direct trains run between Madrid-Puerta de Atocha and Barcelona-Sants.

Is the train or a flight faster from Madrid to Barcelona?

Door to door, the train typically wins: about 3h 45m city centre to city centre, against roughly 4h 10m for a typical flight once airport time is counted. The train also emits about 3× less CO₂e, even on conservative official emission factors.

Train, door to door
≈ 3h 45m
Flight, door to door
≈ 4h 10m (est.)
CO₂e per passenger
~21 kg train · ~68 kg plane

Flight time and emissions are transparent estimates, not airline schedules — method, factors and all 109 compared pairs on Train vs plane in Europe.

This corridor in the atlas

Legendary routes through Madrid or Barcelona

More trains from Madrid

All trains from Madrid →

More train routes in Spain.

Journey figures are typical values sampled from public European schedule data; exact times vary by day. Always check the operator when booking.