Route guide · Spain

Madrid to Barcelona by Train

By WoW Train · Updated June 2026 · 4 min read

Spain's flagship high-speed line connects the capital and the Mediterranean in two and a half hours at up to 300 km/h.

The journey, stop by stop

From Madrid Puerta de Atocha the AVE races across the plains of Castilla–La Mancha and Aragón, calling at Zaragoza, before descending toward the coast and arriving at Barcelona Sants.

How long does it take?

The fastest direct trains cover the route in around 2h 30m, with several departures a day. Exact times shift by service and season, so check the live schedule for your date before you lock in plans.

Who runs the route?

The route is served by Renfe AVE (also iryo and Ouigo). Comparing the day's departures in one search is the easiest way to find the best time and fare.

Madrid to Barcelona train price (2026)

Tickets start from around €14 with Ouigo, €20 with Iryo and €29 with Renfe AVE when booked in advance. Last-minute fares can reach €80–120 on the same journey.

Operator From Journey time Frequency
Ouigo ~€14 2h 30m Several daily
Iryo ~€20 2h 30m Several daily
Renfe AVE ~€29 2h 30m Every 30–60 min

Prices are indicative advance fares. Check live availability for your exact date.

How to get the best fare

Why take the train instead of flying?

With three operators competing on the line, fares are often cheaper than flying — and you arrive in the city centre with no airport transfer.


Ready to go? Check live Madrid → Barcelona times and fares and book your seat on Trainline — secure checkout, mobile tickets, every operator in one search.

Prefer to compare every rail operator? Check schedules & book →

Opens in a new tab — come back here anytime.

Capture of the iconic Sagrada Familia in Barcelona at sunset with reflections on a nearby pond. Stunning aerial shot of the iconic Sagrada Familia cathedral in Barcelona, showcasing its intricate architecture and surrounding urban landscape. Gaudí's iconic mosaic architecture in Park Güell with a view of Barcelona's cityscape.