Madrid to Barcelona Train — High Speed Train Between Two Iconic Cities

Direct high speed train from Madrid Puerta de Atocha to Barcelona Sants station. Compare Renfe trains, Ouigo trains and Iryo trains, then book your tickets.

621 kmtrack distance
2h29–3h15travel time
30+trains daily
From $81per person

Renfe Trains, Ouigo Trains and Iryo Trains

Three train companies run this high speed line — Spain's original long distance routes, now with competition.

Renfe AVE

Renfe's AVE trains reach up to 310 km/h and offer multiple travel classes, from standard seating to a premium fare with lounge access.

Most popular trainsNo baggage feesBuffet carriage

Iryo

Iryo has run high speed service since 2022, offering an onboard entertainment platform with free WiFi and USB plugs across all seating classes.

Newest trainsBar car & extra luggagePremium fare

Ouigo

Ouigo runs a low-cost, no-frills high speed service between major Spanish cities, keeping fares competitive by offering fewer onboard extras than the full-service operators.

Save moneyBook earlyExtra fee for bags

Madrid to Barcelona Route and Distance

The train covers 621 km of track; as the crow flies, Madrid and Barcelona are about 504 km (313 miles) apart.

  • Madrid Puerta de AtochaStep off the AVE and walk straight into the Metro or Cercanías — no shuttle, no hassle.
  • ZaragozaThe midpoint almost every train touches, whether you're on a direct AVE or a slower regional service.
  • Barcelona SantsArrive underground and keep moving: Metro lines L3 and L5 connect right from the platform.
  • Alvia & EuromedPrefer a slower pace or a lighter price tag? These run the same route as the AVE, just not at top speed.
  • Top speedAVE trains reach 310 km/h (193 mph) — Spain's fastest way to cross the country.
  • Journey startCity center to city center, every time. No airports, no transfers, no wasted time getting to the station.
Illustrated map of Spain showing the Madrid to Barcelona high-speed train route via Zaragoza

Train Times, Journey Times and Ticket Prices

Fares and journey times vary based on operator, class and how far in advance you book.

Fastest train2h29
Average travel time2h32
With stopsUp to 3h15
Trains per day30+, roughly every 30–40 minutes
FaresFrom $81 per person
Seat reservationRequired on all services
IncludedHand luggage; guide dogs travel free

Temporary infrastructure works can occasionally add 20–30 minutes to journey times. Book train tickets in advance to save money — first train and last train departures are the least busy.

Luggage Allowance: Bag Sizes for Renfe, Iryo and Ouigo

Free allowance and size limits differ enough between operators to matter if you're traveling with more than a backpack.

Renfe AVEUp to 3 bags included, none larger than 85×55×35 cm, combined length under 290 cm and combined weight under 25 kg.
IryoUp to 3 pieces included — hand luggage (36×27×15 cm) and a cabin bag (55×35×25 cm) always free; a larger 80×55×35 cm bag is free in the top Infinita classes or costs extra in Inicial Superior.
OuigoOne hand bag (27×36×15 cm) and one cabin bag (55×35×25 cm) included; an extra bag up to 30 kg can be booked separately for a fee.
Illustration of three suitcases of different sizes representing the luggage allowances for Renfe, Iryo and Ouigo trains

Before You Board: Madrid and Barcelona Highlights

Flip each card to see why it's worth your time on either end of the line.

Madrid

Museo del Prado

One of the world's great art museums, home to Velázquez's Las Meninas and centuries of Spanish and European painting.

Madrid

Retiro Park

Madrid's grand 19th-century park, with a boating lake, a rose garden and the glass-domed Palacio de Cristal.

Madrid

Royal Palace

The official residence of the Spanish royal family, with over 3,000 rooms and lavish state apartments open to visitors.

Barcelona

Sagrada Família

Gaudí's unfinished basilica has been under construction since 1882 and remains Barcelona's most recognizable landmark.

Barcelona

Park Güell

A whimsical hilltop park full of Gaudí's mosaic tilework, with sweeping views over the city to the sea.

Barcelona

Gothic Quarter

Barcelona's medieval old town, a maze of narrow stone streets, hidden squares and Roman ruins.

Station Amenities in Madrid and Barcelona

Both terminals are built for a wait, not just a walk-through.

Madrid · Atocha

Tropical garden hall

The old terminal hall holds a famous indoor tropical garden with palm trees and turtles, alongside shops, cafés and a pharmacy.

MAD·01
Barcelona · Sants

Concourse & food court

A modern concourse with a food court, shops and a tourist information point just off the main hall.

BCN·01
Both stations

Left luggage & lockers

Available at both Atocha and Sants for bags too big to bring onboard.

LUG·02
Both stations

Free WiFi

Covers the main concourse at both Atocha and Sants.

WIFI·03
Barcelona · Sants

Accessibility

Lifts and step-free access between the concourse and platforms.

ACC·04

Train, Bus and Car: Public Transport to Barcelona

Train

2h29–3h15, city center to city center — the fastest public transport option.

Bus

Cheapest, but a much longer trip than the train.

Car

~6 hours, plus tolls — a pleasant journey for those who prefer to drive.

Madrid to Barcelona Train FAQs

How long does the Madrid to Barcelona train take?

As little as 2h29 on the fastest direct train, around 2h32 on average, and up to 3h15 on trains with more stops.

Which train company should I choose: Renfe, Ouigo, or Iryo?

Renfe trains run most often, Ouigo trains are the cheapest, and Iryo trains are the newest. Compare live fares in the search above.

How much does a Madrid to Barcelona train ticket cost?

Fares start from $81 per person.

Where do Madrid to Barcelona trains depart and arrive?

Madrid Puerta de Atocha to Barcelona Sants station.

Is there a night train between Madrid and Barcelona?

No. Spain's overnight Trenhotel on this route was discontinued once the high-speed line made it a same-day journey.

What amenities are included on board?

Free WiFi, power sockets and air conditioning on all three operators. AVE and Iryo also have a buffet or café-bar; Iryo adds an onboard entertainment platform.

How far is Madrid from Barcelona by train?

The train covers 621 km (386 miles) of track. As the crow flies, Madrid and Barcelona are about 504 km (313 miles) apart.

How many trains run daily between Madrid and Barcelona?

Around 32 to 37 trains run daily, with direct high-speed departures roughly every 30 to 40 minutes during peak hours.

Do AVE, Iryo and Ouigo trains have food on board?

Yes. All AVE trains have a buffet carriage serving food and drinks, Ouigo trains feature a café-bar with snacks and drinks, and Iryo trains add an onboard entertainment platform with movies alongside free WiFi and USB plugs in every class.

When should I book to get the cheapest fare?

Booking early typically gets the best price — fares start from $81 per person.

Is the Madrid to Barcelona train direct?

Yes. Direct high-speed services run city center to city center — Madrid Puerta de Atocha to Barcelona Sants — with fewer delays than connecting options.

Book Your Madrid to Barcelona Train

Compare live times and fares across operators, then book directly through our search partner.

Search trains