From the Castilian plateau past the snows of the Moncayo, over the Ebro and down to the Mediterranean in three hours.
The short answer
Three operators run Madrid Puerta de Atocha to Barcelona Sants: Renfe’s AVE, Ouigo and iryo. In the timetable for December 2026 and January 2027 Renfe runs 22 to 26 trains on most weekdays (fewer over Christmas) and 14 on Saturdays, and Ouigo adds six a day plus a seventh from Thursday to Sunday; the non-stops take 3 hours 02 minutes and trains calling at Zaragoza, Lleida and Camp de Tarragona up to 3 hours 47. Read on 29 November 2026, Ouigo advertised fares from €19 and Renfe’s price calendar showed AVE fares from €25 to €32 for January 2027. Book through the search box on this page and be at the station 30 minutes before departure.
Board at Atocha after breakfast and you are in Barcelona by lunchtime, centre to centre, without an airport in sight. In between, the train runs through the valley of the Jalón, past the Moncayo on the skyline, over the Ebro at Zaragoza, across the dry steppe towards Lleida and down to the Mediterranean plain. Three companies compete for you on the same track, so the seat you want is often cheaper than you expect.
Barcelona’s Ritz of 1919 on the corner of the Gran Via and Roger de Llúria, with a gilded Grand Hall, a rooftop garden facing the Sagrada Família, a residents' pool inspired by Roman baths and Passeig de Gràcia six minutes' walk away.
A 1920s building on Via Laietana, once the home and offices of Francesc Cambó, with an infinity pool on the eighth floor looking east over El Born to Santa Maria del Mar and the sea.
An AVE train curving onto a tall viaduct through wooded hills on the Madrid to Barcelona high speed lineThe Madrid to Barcelona high speed line sweeping across a viaduct through oak covered hills near Sagides in SoriaA Renfe AVE train running on the high speed line near El Prat on the approach to BarcelonaThe modern façade of Zaragoza Delicias station, where most Madrid to Barcelona trains stopA red Iryo Frecciarossa train at the platform under the roof of Madrid Puerta de Atocha stationA Ouigo double deck train at Barcelona Sants with its destination board showing Zaragoza Delicias and Madrid Atocha
Why Madrid to Barcelona is one of Europe’s great rail journeys
In 2004 the fastest train between Spain’s two great cities took 5 hours 15 minutes. On 20 February 2008 the high-speed line reached Barcelona Sants and the journey fell to 2 hours 38. In its first year 2.3 million people took the AVE between the two cities, three times as many as had taken the train the year before.
The line crosses the country on the diagonal. It climbs out of Madrid onto the high plateau of Castile, drops into the valley of the Jalón at Calatayud and comes down into the basin of the Ebro, the largest river basin in Spain, with the Moncayo, 2,315 m, on the north-western skyline. East of Zaragoza comes the steppe that Aragon calls Europe’s living desert, then the irrigated orchards around Lleida, where the old cathedral, begun in 1203, stands on its hill, and finally the descent to the Mediterranean at Camp de Tarragona.
It is also a three-way race. Since Spain opened its high-speed lines to competition, Renfe has shared this track with Ouigo, run by the French railways, and iryo; in the last quarter of 2025 iryo carried 24 per cent of the corridor’s passengers and Ouigo 19. For a traveller that means a choice of trains through the day and three ideas of comfort. For now the trains run about 25 minutes slower than scheduled before temporary speed limits came in on 5 February 2026; the government has announced studies to renew the line, raise its speed to 350 km/h and bring the journey under two hours.
Along the way
Madrid
1
about 1 hour 13 minutes from Madrid
The Jalón valley at Calatayud
After the open plateau of Castile, past Guadalajara, the line comes down into the valley of the Jalón, the river that leads the way down to the Ebro basin. Some trains stop at Calatayud, 1 hour 13 minutes out of Madrid, and the views open out on both sides.
2
between Calatayud and Zaragoza, on the left
The Moncayo on the skyline
On a clear day the great whale-backed mountain to the north-west is the Moncayo, whose summit, the Cerro de San Miguel, reaches 2,315 m. It stands alone above the plain, the landmark of this stretch, and its slopes are a natural park of more than 11,000 hectares.
3
about 1 hour 40 minutes from Madrid
Zaragoza and the Ebro
Most trains stop at Zaragoza Delicias, then cross the Ebro. The river rises in Cantabria and runs about 970 km to its delta on the Mediterranean, and its basin, some 85,000 km², is the largest in Spain.
4
between Zaragoza and Lleida
The steppe of Los Monegros
East of Zaragoza the land dries out into the desert landscape that Aragon’s tourist board calls Europe’s living desert: pale earth, low ridges and wide sky. The name, the black mountains, comes from the pine and juniper woods that darken its hillsides.
5
about 2 hours 25 minutes from Madrid
Lleida and the Seu Vella
The landscape turns green with the irrigated orchards of the Segrià. Above Lleida stands the Seu Vella, the old cathedral on its hill, begun in 1203 and finished with its bell tower in 1431. Look right as the train comes into Lleida Pirineus: the hill rises on the south side of the line.
6
Camp de Tarragona, about 40 minutes from Sants
Down to the Mediterranean
After Lleida the line crosses the hills and comes down to the coastal plain at Camp de Tarragona, the stop for Tarragona and the beaches of the Costa Daurada. From here it runs on to Barcelona and into Sants, in the city itself.
Barcelona
Which side to sit on the Madrid to Barcelona train
Going to Barcelona, sit on the left, by a window, for the longest view: the line runs north-east, so the Moncayo, the great mountain on the north-western skyline between Calatayud and Zaragoza, is on the left. The one landmark on the right is the Seu Vella above Lleida, the old cathedral on its hill just south of the line as the train comes into Lleida Pirineus. The steppe of Los Monegros and the Ebro show well from either side. Coming back from Barcelona to Madrid, sit on the right for the Moncayo. On Ouigo’s double-deck trains choose the upper deck, which it calls Altura Cielo, for the higher view. On Renfe a chosen seat costs €5 except in Prémium; on Ouigo seat choice is from €3 on the basic fare and included with Plus and Full.
Travelling towards Barcelona
LeftRight
Best views: left
Ways to do it
Renfe AVE
From€25 to €32 most January 2027 dates on Renfe’s price calendar; Básico from €31.13 for February to June 2027 (both read 29 November 2026)
The most trains, from early morning to evening, and lounge access with its top fare. Four tickets: Básico, Elige Estándar, Elige Confort (wider XL Confort seat, meal served at your seat if bought) and Prémium (XL seat, a menu devised with the chef Ramón Freixa, lounge, free changes). Up to three pieces of luggage, together no more than 25 kg, each within 85 x 55 x 35 cm. There is a café car, and meals cost from €11.35. Seat choice is €5 except in Prémium. Every AVE ticket includes a Rodalies suburban train ride in Barcelona, usable up to 4 hours after arrival. Renfe’s low-cost Avlo no longer runs on this route.
Ouigo
From€19 Madrid to Barcelona, advertised 29 November 2026; children 4 to 13 a flat €7, under-4s free on a lap
The French railways' low-cost brand, with double-deck trains of 509 seats, six or seven trains a day each way. Tickets are sold only online and in the app. The basic fare includes a hand bag (36 x 27 x 15 cm) and a cabin case (55 x 35 x 25 cm); a bigger bag (up to 200 cm in total) is from €5 booked online, and €25 at the gate if not booked 30 minutes ahead. Seat choice is from €3. Ouigo Plus adds a standard seat, an extra bag and the Ouifun films; Ouigo Full adds two extra bags, free changes and an 80% cash refund. XL seats are 33% larger. Food and drink from the Ouibar.
iryo
The newest of the three, running from Madrid Puerta de Atocha to Barcelona Sants, with fares from Inicial up through Espacio Silencio (the quiet coach) and Infinita (XL seats) to Infinita Bistró, which serves a meal at your seat. Every fare includes a hand item and a cabin case; check the large-suitcase rule for your fare when you book.
When to go
WinterAt its best
Crisp, clear days on the plateau and a quieter Barcelona. Over the holidays fewer trains run: Ouigo’s morning trains do not run on 25 December and 1 January and its evening trains not on 24 and 31 December, and on 1 January 2027 Renfe has 15 direct trains instead of the usual 22 or so.
SpringAt its best
The fields of Aragon are green and the orchards of the Segrià around Lleida are in leaf. Ouigo’s published timetable runs to 14 June 2027, so spring trips can be booked now.
Summer
Long evenings keep the views going on late-afternoon trains, and Barcelona’s beaches are in season.
Autumn
Low autumn light on the steppe east of Zaragoza and a mild Barcelona at the end of the trip.
AVE vs Ouigo vs iryo: tickets and fares
Which is cheapest from Madrid to Barcelona: AVE, Ouigo or iryo?
On published fares, Ouigo is usually the cheapest seat: on 29 November 2026 it was advertising Madrid to Barcelona from €19, with children aged 4 to 13 at a flat €7. Renfe’s own price calendar, read the same day, showed the lowest AVE fare of each day at €32 on most dates in December 2026 and January 2027, and €25 on a handful of dates; for journeys from 25 January 2027, when Renfe’s new ticket rules start, the lowest Básico fare showed as €31.13 on most days to June 2027. Prices rise as trains fill, so the earlier you book the better. The extras decide the real price. With Renfe, a seat choice is €5, three bags are included and a cancellable ticket starts at Elige; Básico can only be changed by paying any difference, and every Renfe ticket can be cancelled free within 2 hours of purchase. With Ouigo a chosen seat is from €3 and a bigger bag from €5 online; the cheapest fare cannot be refunded at all, while Ouigo Full gives an 80% cash refund or a 100% voucher up to 30 minutes before departure. Tickets are personal, so carry photo ID.
Ouigo
from €19 Madrid to Barcelona (advertised 29 Nov 2026); children €7
Renfe AVE, Dec 2026 and Jan 2027
lowest fare €32 most days, €25 on some dates
Renfe AVE, from 25 Jan 2027
Básico from €31.13 on most days to June 2027
Seat choice
€5 on Renfe; from €3 on Ouigo
Big suitcase
included on Renfe; on Ouigo from €5 online, €25 at the gate
Renfe tickets include a Rodalies ride, up to 4 hours after arrival
Madrid to Barcelona train times and stops
How long is the train from Madrid to Barcelona, and how many a day?
In the timetable published for December 2026 and January 2027, the non-stop trains take 3 hours 02 minutes. Trains calling only at Zaragoza take about 3 hours 17, and the slowest, calling at Guadalajara, Calatayud, Zaragoza, Lleida and Camp de Tarragona, up to 3 hours 47. Renfe runs 22 to 26 trains from Atocha to Sants on most weekdays, the first at 06:16 or 06:27 and the last at 20:30, with five to nine of them non-stop; on Saturdays there are 14, none non-stop, and on Sundays 17 to 20. Ouigo’s trains leave Atocha at 06:40, 08:49, 10:32, 15:20, 16:32 and 19:23, with a 20:10 from Thursday to Sunday, until 14 June 2027; the 06:40 (3 hours 05) and 16:32 (3 hours 02) run non-stop. Temporary speed limits in force since 5 February 2026 add about 25 minutes to the times first scheduled.
Non-stop
3 h 02 (Renfe and Ouigo)
With all stops
up to 3 h 47
Renfe AVE, Madrid to Barcelona
22 to 26 most weekdays, 14 Saturday, 17 to 20 Sunday
Ouigo, Madrid to Barcelona
06:40, 08:49, 10:32, 15:20, 16:32, 19:23; 20:10 Thu to Sun
Which Madrid station for Barcelona, and how early should you arrive?
Trains to Barcelona leave from Madrid Puerta de Atocha, in the centre, with the metro (line 1) and Cercanías trains in the station. In the current timetable none of Renfe’s Madrid to Barcelona trains leaves from Chamartín, and Ouigo and iryo also use Atocha. Spain’s high-speed stations scan luggage like an airport, if more quickly: put your bags, coat, phone and watch in the tray and show your ticket. Renfe and Ouigo both ask you to arrive 30 minutes before departure, and Renfe closes the gate to the platform 2 minutes before. In Barcelona the trains end at Sants, with metro lines L3 and L5 inside the station: L3 runs to Catalunya, the Rambla and Passeig de Gràcia, L5 to Diagonal and Sagrada Família. A single metro ticket is €2.90 in 2026. With a Renfe ticket, the included Rodalies train takes you from Sants to Passeig de Gràcia or Plaça de Catalunya. A taxi from the rank costs €2.80 to start, €1.35 a km by day and €1.66 at night and weekends, plus a €2.55 supplement for a pick-up at Sants.
Madrid station
Puerta de Atocha, metro line 1, open 05:00 to 01:00
Arrive
30 minutes before; Renfe’s gate closes 2 minutes before
Barcelona station
Sants, metro L3 and L5, Rodalies R1 to R4
Metro single
€2.90 (2026)
Taxi from Sants
€2.80 start, €1.35 a km by day, plus €2.55 Sants supplement
Left luggage at Sants
daily 05:30 to 23:00
Madrid to Barcelona: train or plane?
Is it better to take the train or fly from Madrid to Barcelona?
For most trips the train wins door to door, and most travellers already agree: in November 2025 the transport minister put the train’s share of travel between the two cities at 85 per cent. Atocha and Sants are both in the city, a metro ride from most hotels, while both airports sit outside: from Barcelona airport the metro needs a special €5.90 ticket and a taxi adds a €4.60 airport supplement. On the train you are at the station 30 minutes ahead rather than queuing for an airport security check, there is no baggage belt at the end, and the luggage allowance is far more generous: Renfe takes three pieces up to 25 kg in all on every ticket. You can work, eat or watch the plateau go by the whole way. Flying only makes sense if you are connecting to another flight at either airport.
Worth knowing before you go
Slower than it should be, for now
Temporary speed limits on the line since 5 February 2026 add about 25 minutes to the times first scheduled, so the fastest trains take 3 hours 02 and calling trains up to 3 hours 47.
What to do. Choose a non-stop: Renfe runs five to nine on most weekdays and Ouigo two a day, at 06:40 and 16:32 from Madrid.
Saturday has half the trains
Renfe runs 14 trains on Saturdays against 22 to 26 on weekdays, and none of them is non-stop.
What to do. Travel on Friday or Sunday if you can, or book Saturday seats early.
Cheap tickets are rigid
Ouigo’s basic fare cannot be refunded and Renfe’s Básico cannot be cancelled; a bag Ouigo did not sell you in advance costs €25 at the gate, against from €5 online.
What to do. Buy the bag with the ticket, and if your plans may change take Ouigo Full or a Renfe Elige fare. Renfe tickets can be cancelled free within 2 hours of purchase.
Where to stay at either end
The train ends at Sants, a few metro stops from the Eixample, the Gothic Quarter and the waterfront, where our ten Barcelona hotels are; with your luggage, a taxi from the rank is quicker still.
The hotels and apartments around your arrival point, with prices from the big booking sites.
The map is by Stay22, which links to the booking sites.
Questions people ask
Good questions about Madrid to Barcelona by high-speed train
How long is the train from Madrid to Barcelona?
In the December 2026 and January 2027 timetable the non-stop trains take 3 hours 02 minutes from Madrid Puerta de Atocha to Barcelona Sants. Trains calling only at Zaragoza take about 3 hours 17, and those calling at Zaragoza, Lleida and Camp de Tarragona up to 3 hours 47. Temporary speed limits on the line since February 2026 add about 25 minutes to the times first scheduled.
What is the cheapest train from Madrid to Barcelona?
Usually Ouigo, which on 29 November 2026 was advertising Madrid to Barcelona from €19, with children aged 4 to 13 at €7. Renfe’s price calendar showed AVE fares from €25 to €32 for January 2027. The cheapest seats go first, so book early, avoid the busiest days and hours, and add up the extras: Ouigo charges for a larger bag (from €5 online) and for seat choice (from €3), while Renfe includes three bags.
AVE, Ouigo or iryo: which is best?
Renfe’s AVE has by far the most trains, a generous luggage allowance on every ticket, a Rodalies ride in Barcelona included and a lounge with Prémium. Ouigo is the low-cost choice, with double-deck trains whose upper deck gives the best view; extras are paid for. iryo is the third option, with a quiet coach, XL seats on Infinita and meals at your seat on Infinita Bistró. For comfort without the top fare, look at Renfe Elige Confort, with its wider XL seat.
Which Madrid station does the train to Barcelona leave from?
Madrid Puerta de Atocha, in the centre of the city, beside the Retiro and the Prado. In the current timetable Renfe runs no Madrid to Barcelona trains from Chamartín, and Ouigo and iryo also leave from Atocha. Allow time for the luggage scan at the entrance to the platforms: Renfe and Ouigo ask you to arrive 30 minutes before departure.
Does Renfe’s Avlo still run from Madrid to Barcelona?
No. Renfe withdrew Avlo from Madrid to Barcelona, as the competition authority, the CNMC, noted in its report on late 2025, and Renfe’s own list of Avlo routes now covers Valencia, Alicante, Málaga, Seville, Murcia and Asturias. Its timetable runs only AVE trains between Madrid and Barcelona. For a low fare on this route, look at Ouigo, iryo’s Inicial or Renfe’s Básico.
Which side should I sit on from Madrid to Barcelona?
Sit on the left going to Barcelona and on the right coming back. The left side has the Moncayo, the 2,315 m mountain on the north-western skyline between Calatayud and Zaragoza. The Seu Vella, the old cathedral on its hill above Lleida, is on the right going to Barcelona, just before Lleida Pirineus. On a Ouigo train, choose the upper deck for a higher view.
How do I get from Barcelona Sants to my hotel?
Metro lines L3 and L5 stop inside Sants: L3 for the Rambla, Catalunya and Passeig de Gràcia, L5 for Diagonal and Sagrada Família, at €2.90 a single ticket in 2026. A Renfe ticket includes a Rodalies train to Passeig de Gràcia or Plaça de Catalunya. A taxi from the rank starts at €2.80 plus €1.35 a km by day, with a €2.55 supplement for a pick-up at Sants.
Madrid to Barcelona by high-speed train
From the Castilian plateau past the snows of the Moncayo, over the Ebro and down to the Mediterranean in three hours.