Iberia Rail
Barcelona, arriving by train

Route guide

Madrid Barcelona

Four companies now fight over this one line, and it shows in the fares: Ouigo and Avlo routinely sell seats for under €20 while Renfe's flexible AVE ticket can pass €130 on the same morning. Nothing else in Europe is this competitive.

Journey time2 h 30 min – 3 h 10 min
Tickets from€9.00
Frequencyup to 3 per hour
Distance621 km
Check times & fares ↓

Who runs this route

Renfe AVE

Renfe · High speed, full service

The incumbent. Widest network, biggest choice of departures, priciest walk-up fares.

Avlo

Renfe · High speed, low cost

Renfe's budget brand on the same tracks. Single class, paid extras, seats sell out early.

Ouigo España

SNCF · High speed, low cost

French-run double-deckers. Often the cheapest ticket on the route; limited stations.

Iryo

ILSA / Trenitalia · High speed, full service

The newest entrant. Comfortable, competitively priced, fewer daily departures.

Check live times & fares

Compare every operator on this route in one search. Advance fares climb as seats sell.

Timetable at a glance

Services run up to 3 per hour, with the first departure around 05:50 and the last around 21:30. Times shift with the seasonal timetable, so treat these as planning anchors and confirm the day before you travel.

Buying tickets: when and where

Spanish high-speed fares behave like airline fares. Sales usually open two to four months ahead, and the cheapest Ouigo, Avlo and Iryo seats disappear first. Booking two to three weeks out typically lands close to the floor price; walking up on the day can cost four times as much. The cheap fares are also the strictest — changes cost money, refunds often are not an option.

Tickets are digital: show the QR code in the operator app or a printout. High-speed and long-distance tickets are tied to a specific train and seat; regional tickets are more flexible but do not guarantee you a place.

The stations

Madrid, departure point for the journey to Barcelona
Departure

Madrid Puerta de Atocha

Madrid has two long-distance stations. Atocha serves the south, east and Barcelona; Chamartín serves the north and northwest. They are 25 minutes apart on Cercanías line C-1 — check your ticket twice.

Arrival

Barcelona Sants

Every high-speed service uses Sants, not Passeig de Gràcia. Metro L3/L5 run from beneath the concourse into the old city.

Alternatives, honestly compared

Coach: ALSA and FlixBus link Madrid and Barcelona for less money and roughly double the time — the budget backstop rather than a real rival. Driving: about 621 km of autopista, plus fuel, tolls and the problem of parking in a historic centre. Flying makes no sense on this corridor: by the time you have reached the airport twice and cleared security, the train has already delivered you to the middle of the city.

Common questions

How long is the train from Madrid to Barcelona?

Typically 2 h 30 min – 3 h 10 min, with services running up to 3 per hour.

How much does the Madrid to Barcelona train cost?

Advance fares start around €9.00; buy on the day and you can pay up to €135.

Which stations do Madrid–Barcelona trains use?

Departures leave from Madrid Puerta de Atocha and arrive at Barcelona Sants.

Do I need to book in advance?

Spanish high-speed fares behave like airline fares. Sales usually open two to four months ahead, and the cheapest Ouigo, Avlo and Iryo seats disappear first. Booking two to three weeks out typically lands close to the floor price; walking up on the day can cost four times as much. The cheap fares are also the strictest — changes cost money, refunds often are not an option.

What are the first and last departures?

Roughly 05:50 and 21:30, varying by day of the week and season — confirm before you travel.

Which operator should I choose?

If price decides, compare Ouigo, Avlo and Iryo first — they undercut Renfe's AVE on most departures. If you want flexible tickets, seat choice or a specific arrival station, AVE still has the widest timetable. All of them use the same tracks and take the same time.

Connecting routes