Barcelona
How to get from Barcelona to Madrid
Take the high-speed train: Barcelona Sants to Madrid Atocha, city centre to city centre, in roughly 2h30–3h, with fares from about €30 one way when booked weeks ahead (2026 estimate, check current schedules). Fly only if the fare is clearly cheaper and you accept about 4h door to door (check). Book the train early; last-week prices climb.
- Source checked
- A source and a date are on record: we read it from an official or published page. Not yet confirmed on the ground.
- Field checked
- Someone checked it on the ground, with the date shown.
- Plan calculated
- Worked out by Voykit from its own data (times, distances, budgets). A calculation, not a measurement.
Unknown times stay unknown. How we verify
GuideBarcelona
Key facts
- Best optioncheck
- High-speed train (AVE / Ouigo / Iryo), Barcelona Sants → Madrid Atocha
- Journey timecheck
- About 2h30–3h by high-speed train; about 1h20 in the air plus airport time (check)
- Typical farecheck
- From about €30 one way booked early; higher closer to the date (2026 estimate, check)
- Frequencycheck
- Frequent departures through the day across the operators (check)
- Cheapest waycheck
- Advance low-cost high-speed ticket (Ouigo or Iryo) or a long-distance coach (check)
- Book aheadcheck
- Yes — booking early is the main lever on price (check)
- Distancecheck
- Roughly 600 km by rail (check)
Fastest and cheapest
The high-speed train is the option to plan around: it runs from Barcelona Sants to Madrid Atocha, both central stations, in roughly 2h30–3h depending on the service and the number of stops (check current timetables). There is no check-in queue, no baggage belt and no transfer from an airport: you walk off the platform into the city.
The cheapest tickets are usually low-cost high-speed fares bought well in advance, or a long-distance coach if you are travelling at short notice and train fares have risen (check). Coaches take far longer, often most of a day, but they can be the fallback when the train is sold out or expensive.
Flying sits in the middle: the flight itself is short, but adding the trip to the airport, security and the transfer into Madrid usually makes the door-to-door time longer than the train (check).
- Train: city centre to city centre, no airport transfer.
- Coach: cheapest fallback, much slower.
- Flight: short in the air, longer door to door.
Options compared
Prices are 2026 estimates for a one-way adult ticket and move a lot with how far ahead you book. Treat the bands as a guide, not a quote, and confirm on the operator's own site before booking.
| Mode | Time | Price (one way) | Frequency | Operator | Book |
|---|---|---|---|---|---|
| High-speed train | About 2h30–3h (check) | €30–120 (2026 estimate, check) | Frequent through the day (check) | Renfe AVE, Ouigo, Iryo | Operator site or app |
| Flight | About 1h20 in the air; about 4h door to door (check) | €40–150 (2026 estimate, check) | Several daily (check) | Iberia, Vueling, Ryanair and others | Airline site |
| Long-distance coach | Most of a day (check) | €30–60 (2026 estimate, check) | Several daily (check) | ALSA and others | Operator site |
| Car | About 6h driving (check) | Fuel and tolls; parking in Madrid (check) | Any time | Self-drive | — |
Times and fares are estimates; confirm on the operator's own site before booking.
How to book
Book the train on the operator's own site or app: Renfe for AVE, and Ouigo and Iryo for the low-cost high-speed services. All three run the same route, so compare them — the cheapest ticket on a given day is often not the one you assumed (check).
Fares work like airline tickets: a limited number of cheap seats per train, then the price rises as the departure fills. Booking early is the main lever on price; leaving it to the last week usually costs more (check). If your dates are fixed, book the train before you book anything else on this leg.
For flights, book direct with the airline. For coaches, book on the operator's site. Seat reservations come with the ticket on the high-speed train, so there is nothing extra to arrange.
- Compare Renfe, Ouigo and Iryo for the same day before buying.
- Book early for the lowest fares (check).
- Tickets are usually tied to a specific train; check the change rules.
- Arrive at Sants or Atocha with time to clear security and find the platform (check).
Tips
Both ends are central. Barcelona Sants and Madrid Atocha sit on the metro, so you can go straight from the platform to your accommodation without a taxi. Atocha is a short walk from the Prado and the Retiro area; Sants is a few metro stops from the Gothic Quarter.
If you are doing both cities, the train makes it easy to treat them as one trip rather than two: leave Barcelona in the morning, be in Madrid for a late lunch. That is the main reason the train beats flying on this route.
Watch the station name on your ticket — most services use Barcelona Sants and Madrid Atocha, but check the exact station before you set off.
For connectivity on the move, an eSIM set up before you leave saves hunting for a local SIM on arrival.
- Morning departure gets you into Madrid for lunch.
- Metro connects both stations to the centre.
- Check the exact station on your ticket before travelling.
Route map
The high-speed line runs inland from Barcelona across Aragon and Castile toward Madrid, roughly 600 km (check). The train cuts straight across the peninsula rather than following the coast, which is why the journey is so short compared with driving (check).
Coordinates below are approximate city-centre points, not the stations themselves.
Questions people ask
How long does it take to get from Barcelona to Madrid?
The high-speed train takes about 2h30–3h from Barcelona Sants to Madrid Atocha (check current timetables). Flying is about 1h20 in the air but roughly 4h door to door once you add airport time and transfers (check).
What is the cheapest way to get from Barcelona to Madrid?
A low-cost high-speed ticket (Ouigo or Iryo) bought weeks ahead, or a long-distance coach if you are booking late (check). Train fares start around €30 one way when booked early (2026 estimate).
Do I need to book in advance from Barcelona to Madrid?
Yes. Fares rise as the train fills, so booking early gets the lowest prices (check). At short notice you may pay more or find the cheap seats gone.
Deep dive
Every source; changeable facts are marked check
Sources
- officialRenfe (AVE)
- officialOuigo Spain
- officialIryo
- officialALSA (coaches)
- officialAena (Spanish airports)