Stand on the platform at Atocha on a weekday morning and the Madrid–Barcelona corridor shows itself in three colours: Renfe’s white AVE, iryo’s red Frecciarossa and OUIGO’s white train with its blue and pink circles, all heading for the same tracks and the same terminus at Barcelona Sants. For most travellers, madrid to barcelona is a train journey, and the real decision is which of the three operators to book, not whether to fly.
This guide covers the one route in detail: the high-speed train, the shuttle flight and the coach, with what each really costs in time, and a verdict at the end. For every other rail route out of the capital, our trains from Madrid guide is the overview, and the guide to Madrid’s AVE stations covers Atocha and Chamartín themselves. Prices and timetables were checked in October 2026 against the operators’ own pages; fares change from one date to the next, so treat any figure here as a starting point and check the price for your date when you book.
Madrid to Barcelona at a Glance
| Mode | From → to | Journey time | What to know |
|---|---|---|---|
| High-speed train (Renfe AVE, iryo, OUIGO) | Madrid Puerta de Atocha–Almudena Grandes → Barcelona Sants | OUIGO’s timetable shows 3h02 nonstop and up to 3h27 with stops | City centre to city centre; Renfe’s first departure is 06:20 |
| Flight | Madrid-Barajas → Barcelona-El Prat | A short hop in the air, plus airport transfers and security at both ends | Worth it mainly if you are connecting or staying near an airport |
| Coach (ALSA) | Madrid Estación Sur → Barcelona | 7h20 to 11h55, depending on stops | Tickets advertised from €5; one suitcase up to 20 kg included |
Before You Book: Journey Times and Service Notices
Two things are worth knowing about the line in autumn 2026. The first is journey time. OUIGO’s own Madrid–Barcelona timetable shows its nonstop trains taking 3h02 and its stopping trains up to 3h27, so plan on about three hours from Atocha to Sants.
The second is that the line has its bad days like any other: on 14 October 2026 Adif, the rail infrastructure manager, reported single-track working between Ricla and Plasencia de Jalón, in Zaragoza province, after a train fire, and warned of delays. Check Adif’s network status page and your operator’s service notices in the days before you travel.
The Train: Three Operators on the Same Tracks
Since the market opened to competition, Renfe, iryo and OUIGO all run high-speed trains between Atocha and Barcelona Sants. They share the line, the stations and the speed limits, so the differences come down to fare, luggage, comfort and flexibility. On this route that makes the train an unusually good shopping exercise: the same seat-time can cost very different amounts depending on which logo is on the side.

Renfe AVE
Renfe is the incumbent, running from Puerta de Atocha–Almudena Grandes to Barcelona Sants. Its route page lists the first departure from Madrid at 06:20. Its fares are sold as Básico, Elige Estándar, Elige Confort and Prémium. The two Elige fares give access to Renfe’s Menús Box for purchase, while Prémium includes a Menú Prémium at no extra cost. There is also a cafeteria and a mobile bar service on board.
One perk is easy to miss: an AVE ticket includes a free Cercanías journey, the Combinado Cercanías, which can take you from your nearest commuter station to Atocha and on from Sants at the other end. See our Madrid Cercanías guide for which lines serve which parts of the city.
Ignore any mention of Avlo, Renfe’s low-cost brand, on older pages about this route. Renfe withdrew Avlo from Madrid–Barcelona in September 2025 and the trains on the line are now AVE.

iryo
iryo runs red Frecciarossa trains on the route. Its fares run from the basic Inicial up to Infinita and Infinita Bistró. Inicial covers hand luggage and a cabin bag; a large suitcase comes with the higher fares, on terms that differ between them. iryo’s change and luggage rules differ by fare and have been revised more than once since launch, so read the conditions on iryo’s Madrid–Barcelona page for the fare you are buying.

OUIGO
OUIGO, the low-cost arm of France’s SNCF, also runs Madrid-Puerta de Atocha to Barcelona-Sants. Luggage is where it catches people out. The base ticket includes one hand item up to 27 × 36 × 15 cm and one cabin bag up to 55 × 35 × 25 cm, with handles and wheels counted in the measurements. A full-size suitcase is an extra.
OUIGO’s own route page quotes two different starting fares and two different weight limits for an extra bag, so take the total shown at checkout as the real figure, not the headline price. If your plans might change, its Flex option lets you move the date or time up to 30 minutes before departure, paying any fare difference.
Which Operator to Pick
- Travelling light, booking ahead, plans fixed: compare OUIGO and iryo’s Inicial fare first; with only a cabin bag, the cheap fares are genuinely cheap.
- Big suitcase: price the bag before you compare tickets. A low base fare plus a paid suitcase can end up above a Renfe or iryo fare that already includes it.
- Want a meal included: Renfe Prémium comes with a Menú Prémium; book far enough ahead that the premium over a standard fare is modest.
- Arriving from elsewhere in Madrid: Renfe’s free Cercanías leg saves a separate ticket to Atocha.
- Uncertain timing: pay for flexibility (iryo’s higher fares, OUIGO Flex or a flexible Renfe fare) rather than buying the cheapest ticket twice.
Booking Tactics
Renfe says plainly on its route page that booking in advance gets you the lowest fares, and the same habits pay off whichever operator you choose:
- Search all three operators for the same date, or use a comparison site to see them side by side and then book on the operator’s own site.
- If your dates are flexible, search the days either side: the same train can cost very different amounts on neighbouring days.
- Read the luggage line before you pay. It is the most common way a cheap ticket stops being cheap.
- Keep the ticket on your phone and leave yourself time to find the platform; Atocha is a big station.
The Flight: Short in the Air, Long at the Airports
On paper a Madrid–Barcelona flight looks quicker than any train. But Barajas and El Prat both sit outside their cities, so add the run to the airport, security, boarding, the taxi or train into Barcelona at the other end, and any wait for luggage.
Getting to Barajas from central Madrid is straightforward but not short. Metro Line 8 runs from Nuevos Ministerios to T1, T2, T3 and T4, with a €3 airport supplement on top of the normal fare. Cercanías C1 links T4 with Chamartín, Atocha and Príncipe Pío. The Exprés Aeropuerto bus costs €5 and runs 24 hours a day, stopping at Plaza de Cibeles and Atocha. Our airport to city centre guide has the details, and the Terminal 4 guide covers the Iberia side of the airport.
Add check-in and security to those transfers and, for a trip between the two city centres, the three-hour train from Atocha to Sants is the easier journey. The flight makes sense in three cases:
- You are connecting at Barajas or El Prat to or from a long-haul flight, so you are at the airport anyway.
- You are staying near the airport at one end, as in our guide to hotels near Madrid airport.
- Rail services are disrupted and you need to get there faster than the coach would.
Flight fares and timetables change by date, so compare them with the train on the airlines’ own sites, and add the cost of the airport transfers at both ends.
The Coach: The Slow Option
ALSA runs Madrid–Barcelona coaches from Madrid Estación Sur, at Calle Méndez Álvaro 84, which connects with Metro Line 6. Its route page gives journey times of 7h20 to 11h55 depending on the stops, and advertises tickets from €5.
The luggage rules are generous compared with the low-cost trains. One suitcase or backpack up to 20 kg goes in the hold free, along with a small bag or accessory in the overhead rack. A second item up to 25 kg costs from €5 a journey.
The honest verdict: the coach only wins when the cheapest train is several times the price, or when every train is sold out. Check the departure terminal in Barcelona and the stops on your ticket, because the slower services call at a string of towns along the way. If you are counting every euro, our Madrid travel budget guide shows where the real savings are on a trip.
Door to Door: How the Three Compare
| Train | Flight | Coach | |
|---|---|---|---|
| Starts from | Atocha, in the city centre | Barajas, outside the city | Estación Sur, Méndez Álvaro (Metro L6) |
| Arrives at | Barcelona Sants, in the city | El Prat, outside the city | Barcelona coach terminal (check your ticket) |
| Time on board | About 3h to 3h30 in autumn 2026 | Short in the air, plus transfers and security at both ends | 7h20 to 11h55 |
| Luggage | Depends on operator and fare | Depends on airline and fare | 20 kg suitcase included |
| Best for | Almost everyone | Air connections, airport hotels, rail disruption | The tightest budgets |
At the Stations
Leaving from Atocha
High-speed trains to Barcelona leave from the modern terminal at Puerta de Atocha–Almudena Grandes, the station’s new name. Arrive in good time to find your platform; our AVE stations guide covers the station’s layout and where to leave bags.

Arriving at Barcelona Sants
All three operators arrive at Barcelona Sants, a short ride from the city centre on the Barcelona Metro or local trains. Renfe’s station page gives Sants’ opening hours as 04:15 to 00:30 on weekdays, and 05:00 to 00:30 at weekends and on public holidays, which matters only if your train is badly delayed late at night.
Can You Do Barcelona as a Day Trip from Madrid?
You can, but you shouldn’t. With around three hours on the train each way, a day return leaves time for one neighbourhood and a meal and not much more. Barcelona deserves at least two nights. If you want a day out from Madrid, the cities within an hour or so by train, like Toledo and Segovia, give far more back for the travel time; our best day trips from Madrid ranks them.
The Verdict
Take the train. It runs from the centre of Madrid to the centre of Barcelona, with no airport transfers at either end, and three operators compete for your fare on the same tracks. Book early, compare all three, and read the luggage rules before you pay. Fly only if you are already at the airport, and take the coach only if the train fares on your date are out of reach.
Frequently Asked Questions
How long is the train from Madrid to Barcelona?
In autumn 2026, OUIGO’s timetable shows 3h02 for its nonstop trains and up to 3h27 for stopping services between Madrid Puerta de Atocha and Barcelona Sants. Check your operator’s timetable for the exact time on your date.
Which station do trains to Barcelona leave from in Madrid?
Renfe, iryo and OUIGO all run from Madrid Puerta de Atocha–Almudena Grandes to Barcelona Sants.
Is it cheaper to take iryo or OUIGO than Renfe?
It depends on the date and on your luggage. The basic iryo and OUIGO fares cover a cabin bag rather than a large suitcase, while a Renfe AVE ticket allows up to three items with a combined weight of 25 kg. Compare the total for your date and your luggage on each operator’s site.
Is flying from Madrid to Barcelona faster than the train?
Not for most trips between the two city centres. Both airports are outside their cities, so add the transfers and security at each end to the flight time before you compare it with a three-hour train.
Does Avlo still run from Madrid to Barcelona?
No. Renfe withdrew Avlo from the Madrid–Barcelona route in September 2025, and its trains on the line now run as AVE.
How long is the bus from Madrid to Barcelona?
ALSA gives 7h20 to 11h55 depending on the stops, from Madrid Estación Sur, with tickets advertised from €5.
Thinking of heading south instead? Our Madrid to Seville guide covers the same three train operators on the line to Santa Justa, and whether Seville works as a day trip.
For the fine print behind those fares, from Renfe’s Básico change fee to OUIGO’s paid seat selection, see our Renfe vs OUIGO vs iryo comparison.
Related Madrid Guides
- Trains from Madrid: every high-speed route
- Madrid’s AVE stations: Atocha and Chamartín
- Madrid Cercanías commuter trains
- Madrid airport to the city centre
- Madrid-Barajas Terminal 4
- Best day trips from Madrid
- Getting around Madrid
Photo Credits
Renfe AVE and OUIGO trains at Madrid Puerta de Atocha: 2021-10-31 – Madrid-Puerta de Atocha 112041 and TGV810 – 51666494662 by Phil Richards, CC BY-SA 2.0, via Wikimedia Commons.
Avlo train at Barcelona Sants: Barcelona Sants 2021 1 by Smiley.toerist, CC BY-SA 4.0, via Wikimedia Commons.
iryo train at Madrid Puerta de Atocha: Estación “Madrid-Puerta de Atocha”. Tren “Iryo” Frecciarossa. Madrid, España, Spain by CARLOS TEIXIDOR CADENAS, CC BY-SA 4.0, via Wikimedia Commons.
High-speed platform at Barcelona Sants: Barcelona – Estació de Sants (7496062610) by IngolfBLN, CC BY-SA 2.0, via Wikimedia Commons.