Skip to content
The Better Trip

Destinations

An AVE high speed train crossing a viaduct above Paracuellos de la Ribera in the Jalón valley under a clear blue sky

TrainWinterSpring

Madrid to Barcelona by high-speed train

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.

Flying in? Where to stay in Barcelona

See all ten hotels

The first three of the hotels we would book in Barcelona.

  1. Hotel El Palace Barcelona

    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.

    From €475

    See prices
  2. Grand Hotel Central

    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.

    From €270

    See prices
  3. Monument Hotel

    An 1890s apartment building on Passeig de Gràcia, a block down the boulevard from La Pedrera, with three-star Lasarte inside.

    From €400

    See prices

Spain

Journey time
3 h 02 to 3 h 47
Distance
621 km, Atocha to Sants
Departures
about 30 a weekday plus iryo
Fare from
€19 (Ouigo, Nov 2026)
Top speed
300 km/h
Line opened
20 February 2008

The journey in pictures

An AVE train curving onto a tall viaduct through wooded hills on the Madrid to Barcelona high speed line
The Madrid to Barcelona high speed line sweeping across a viaduct through oak covered hills near Sagides in Soria
A Renfe AVE train running on the high speed line near El Prat on the approach to Barcelona
The modern façade of Zaragoza Delicias station, where most Madrid to Barcelona trains stop
A red Iryo Frecciarossa train at the platform under the roof of Madrid Puerta de Atocha station
A 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

  1. Madrid
  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

Ways to do it

When to go

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
Meals at your seat
Renfe Prémium (and Elige Confort, paid); iryo Infinita Bistró
City train
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
Ouigo, Barcelona to Madrid
06:25, 07:50, 10:36, 13:24, 15:47, 19:30, 20:28 (not every train daily)
Madrid to Zaragoza
about 1 h 35 to 1 h 45
Madrid to Lleida
about 2 h 25 to 2 h 35
Madrid to Camp de Tarragona
about 2 h 50

Atocha, Sants and the security check

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

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.

Where to stay: Barcelona

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.

Madrid → Barcelona

More train journeys

All the train journeys

Image credits: Kabelleger / David Gubler (http://www.bahnbilder.ch) (CC BY-SA 3.0) · José Ibáñez (CC BY 3.0) · Bonaventura Leris from Barcelona (CC BY 2.0) · Luidger (CC BY-SA 3.0) · CARLOS TEIXIDOR CADENAS (CC BY-SA 4.0) · Robot8A (CC BY-SA 4.0)

Madrid → Barcelona

Book this journey

Check times and prices