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

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

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.

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.
Train Times, Journey Times and Ticket Prices
Fares and journey times vary based on operator, class and how far in advance you book.
| Fastest train | 2h29 |
|---|---|
| Average travel time | 2h32 |
| With stops | Up to 3h15 |
| Trains per day | 30+, roughly every 30–40 minutes |
| Fares | From $81 per person |
| Seat reservation | Required on all services |
| Included | Hand 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 AVE | Up to 3 bags included, none larger than 85×55×35 cm, combined length under 290 cm and combined weight under 25 kg. |
|---|---|
| Iryo | Up 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. |
| Ouigo | One 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. |
Before You Board: Madrid and Barcelona Highlights
Flip each card to see why it's worth your time on either end of the line.
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.
Retiro Park
Madrid's grand 19th-century park, with a boating lake, a rose garden and the glass-domed Palacio de Cristal.
Royal Palace
The official residence of the Spanish royal family, with over 3,000 rooms and lavish state apartments open to visitors.
Sagrada Família
Park Güell
Gothic Quarter
Station Amenities in Madrid and Barcelona
Both terminals are built for a wait, not just a walk-through.
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.
Concourse & food court
A modern concourse with a food court, shops and a tourist information point just off the main hall.
Left luggage & lockers
Available at both Atocha and Sants for bags too big to bring onboard.
Free WiFi
Covers the main concourse at both Atocha and Sants.
Accessibility
Lifts and step-free access between the concourse and platforms.
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