Barcelona to Madrid: High-Speed AVE, iryo or Budget Ouigo
Barcelona to Madrid takes about 2 hours 30 minutes to 3h10 by high-speed train, running Barcelona Sants to Madrid Puerta de Atocha, city centre to city centre. Three operators compete on the line: Renfe AVE, the private iryo, and Renfe's low-cost Ouigo, so departures come more than hourly and fares start low, from about EUR 7 to 20 on the budget operators when booked ahead. The route is far too fast to make flying worthwhile once airport transfers are added. Here is how the times and fares compare.
Exploring Iberia by rail? Read our Lisbon to Porto train guide.
| Fastest | AVE or iryo, about 2h30 |
|---|---|
| Frequency | More than hourly across three operators |
| Cheapest | Ouigo or iryo, from about EUR 7 to 20 booked ahead |
| Route | Barcelona Sants to Madrid Puerta de Atocha, about 620 km |
| Mode | Operator | Duration | Approx fare | Overnight | |
|---|---|---|---|---|---|
| Train | Renfe AVE The flagship high-speed service, Barcelona Sants to Madrid Atocha, up to 310 km/h with a buffet car, WiFi and power sockets. Book early for the lowest Promo fares. |
about 2h30 to 3h10 | approx €30 to €120 | No | Check on 12Go → |
| Train | iryo / Ouigo (low-cost) The budget high-speed operators on the same route, often the cheapest tickets. Fares from about EUR 7 to 20 when booked well ahead. |
about 2h30 to 3h | approx €7 to €40 | No | Check on 12Go → |
Fares are approximate and shown for comparison. Confirm live prices and times on 12Go before booking.
Loading things to do...
Loading things to do...
Activities load from Viator. Booking opens on Viator, and we may earn a commission.
How long is the train from Barcelona to Madrid?
How much does the train from Barcelona to Madrid cost?
Is there a direct train from Barcelona to Madrid?
What is the best way to get from Barcelona to Madrid?
What is the Barcelona to Madrid train frequency?
Plan your own version
Set your dates, budget and pace, and the planner builds an optimized trip with live prices.
Hotel options and prices come from Agoda and update at booking time; sample data shown if live pricing is unavailable. Transport fares are estimates, confirmed on 12Go.