Barcelona El Prat Airport to Madrid Barajas Airport train with Ouigo

Wed, Nov 26
+ Add return
Ouigo
iryo
AVE
Regionale
Deutsche Bahn
1,000+ travel companies
Ouigo
iryo
AVE
Regionale
Deutsche Bahn
1,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Barcelona El Prat Airport to Madrid Barajas Airport

Showing times and prices for Nov 26

Cheapest price

$80

Average price

$130

Fastest journey

2 h 37 m

Average duration

2 h 37 m

Trains per day

16

Distance

483 km

Cheap tickets

The best way to find a cheap train ticket from Barcelona El Prat Airport to Madrid Barajas Airport is to book your journey as far in advance as possible and to avoid traveling at rush hour.

The average ticket from Barcelona El Prat Airport to Madrid Barajas Airport will cost around $130 if you buy it on the day, but the cheapest tickets can be found for only $80.

Fast trains

Of the 16 trains that leave Barcelona El Prat Airport for Madrid Barajas Airport on Wed, Nov 26, 16 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Wed, Nov 26 the direct trains cover the 483 km distance in an average of 2 h 37 m but if you time it right, some trains will get you there in just 2 h 37 m .

On Wed, Nov 26 the slowest trains will take 2 h 37 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.

iryo06014
01:45PM2h52
Barcelona Sants
04:37PMMadrid-Puerta de Atocha-Almudena Grandes
$801One-way
0 transfers
Ouigo06540
01:50PM2h37
Barcelona Sants
04:27PMMadrid-Puerta de Atocha-Almudena Grandes
$1021One-way
0 transfers
Ouigo06610
08:40PM3h02
Barcelona Sants
11:42PMMadrid-Puerta de Atocha-Almudena Grandes
$1021One-way
0 transfers
iryo06130
01:05PM2h52
Barcelona Sants
03:57PMMadrid-Puerta de Atocha-Almudena Grandes
$1061One-way
0 transfers
iryo06200
07:47PM2h37
Barcelona Sants
10:24PMMadrid-Puerta de Atocha-Almudena Grandes
$1111One-way
0 transfers

Travel Information

Compare train, flight, and bus for Barcelona El Prat Airport to Madrid Barajas Airport

Omio recommends booking the flight as it is the most popular option from Barcelona El Prat Airport to Madrid Barajas Airport among Omio's users. If you are prioritising price take the bus with prices starting from €5. For those with little time consider booking a flight which can get you there in 1h 26m. The ticket price range depends on the travel mode: a bus costs an average of €5, and a flight costs an average of €56.

Distance: 300 miles (483 km)

Compare train with

Train
Most popular
Flight
Bus

€62

Average price

€125

Average price

€8

Average price

Cheapest

3h 21m

Average total duration

2h 51m

Onboard

+

30m

Additional time*

4h 26m

Average total duration

Fastest

1h 26m

Onboard

+

3h 0m

Additional time*

7h 6m

Average total duration

6h 36m

Onboard

+

30m

Additional time*

Ouigo

Most popular train company

Iberia

Most popular airline

BlaBlaCar

Most popular bus company

Direct Options

Direct Options

Direct Options

Live departures

Barcelona El Prat Airport to Madrid Barajas Airport train times

The table below shows live departures for Barcelona El Prat Airport to Madrid Barajas Airport trains for today, Tuesday, November 25. You can also manually refresh the results below to see updated train journeys.

Last updated at 10:38 AM
ProviderDepartsDurationArrivesTransfers
Tickets
iryo06130
On time
12:05 PM Barcelona Sants
2h52
2:57 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06014
On time
12:45 PM Barcelona Sants
2h52
3:37 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
sncf-ouigo06540
On time
12:50 PM Barcelona Sants
2h37
3:27 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06150
On time
1:55 PM Barcelona Sants
2h37
4:32 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06160
On time
2:55 PM Barcelona Sants
2h52
5:47 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06180
On time
4:35 PM Barcelona Sants
2h37
7:12 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
sncf-ouigo06570
On time
4:40 PM Barcelona Sants
2h37
7:17 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06190
On time
6:05 PM Barcelona Sants
2h52
8:57 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
sncf-ouigo06610
On time
7:40 PM Barcelona Sants
3h02
10:42 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
Wednesday, November 26
iryo06060
On time
4:45 AM Barcelona Sants
2h52
7:37 AM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
sncf-ouigo064705:25 AM Barcelona Sants
2h52
8:17 AM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo06270
On time
6:05 AM Barcelona Sants
2h37
8:42 AM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06280
On time
6:55 AM Barcelona Sants
2h37
9:32 AM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
sncf-ouigo065009:40 AM Barcelona Sants
2h52
12:32 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo06110
On time
9:45 AM Barcelona Sants
2h37
12:22 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect

Find all the dates and times for this journey

Compare prices and tickets Barcelona El Prat Airport to Madrid Barajas Airport by train, flight, or bus

Compare train, flight, and bus prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.

Tue
Nov 25
Wed
Nov 26
Thu
Nov 27
Fri
Nov 28
Sat
Nov 29
Sun
Nov 30
Mon
Dec 01
Tue
Dec 02
Wed
Dec 03
Thu
Dec 04
Fri
Dec 05
Sat
Dec 06
Sun
Dec 07
Mon
Dec 08
Tue
Dec 09
Wed
Dec 10
Thu
Dec 11
Fri
Dec 12
Sat
Dec 13
Sun
Dec 14
Mon
Dec 15

Journey information

Overview: Train from Barcelona El Prat Airport to Madrid Barajas Airport

SpainSpain
SpainSpain
Icon of train

Trains from Barcelona El Prat Airport to Madrid Barajas Airport run on average 16 times per day, taking around 2h 51m. Cheap train tickets for this journey start at $21 (€17) but you can travel from only $6 (€5) by bus.

There are 16 trains per day. The earliest train runs at 03:45, the last at 19:55. The fastest train covers the 300 miles (483 km) distance in 2h 37m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from $6 (€5)
Distance
300 miles (483 km)
Average train duration
2h 51m
Cheapest ticket price
$21 (€17)
Trains per day
16
Direct trains
16
Fastest train
2h 37m
First train
03:45
Last train
19:55

Key Takeaways

Train Ticket Prices
  • Budget Options: Train tickets from Barcelona El Prat Airport to Madrid Barajas Airport start from as low as $21 (€17) if booked well in advance.
  • Standard Fares: Typically, trains cost $76 (€62) depending on the train type and class.
Journey Duration & Frequency
  • On average there are 16 daily trains from Barcelona El Prat Airport to Madrid Barajas Airport with 16 direct service.
  • The fastest trains can take as little as 2h 37m but the average duration is 2h 51m
Train Operators
  • Travel from Barcelona El Prat Airport to Madrid Barajas Airport with Ouigo, iryo, and AVE
  • The most booked train company for this route on Omio is Ouigo.
  • High-speed trains are available.
Stations & Schedule
  • First train typically departs at 03:45 AM and the last at 07:55 PM
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from $6 (€5)

Train companies: Ouigo, iryo, AVE from Barcelona El Prat Airport to Madrid Barajas Airport trainsOuigo, iryo, AVE trains will get you between Barcelona El Prat Airport and Madrid Barajas Airport from $6 (€5). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

iryo

About
iryo is a new brand from railway operator ILSA operating in Spain since 2022. iryo uses Frecciarossa 1000 trains which are modern, can travel at up to 360km/h and have a minimal environmental impact. iryo’s Frecciarossa trains have different classes, all of which come with free unlimited WiFi, power sockets, toilets and an onboard entertainment portal where you can watch films and TV series. The main classes are: Infinita Class, Singular Café Class, Singular Class, Inicial Class. These new trains take 2 hours and 30 minutes to travel between Madrid and Barcelona. They depart from Madrid Atocha and Barcelona Sants stations, and stop in Zaragoza along the way. iryo services also cover Madrid, Cuenca, Valencia, Alicante, Córdoba, Seville and Málaga.
Luggage & cancellation policy
Average Duration
2h 37m
Cheapest Price
$21 (€17)
iryo frequency
12 a day
Luggage included
1 cabin bag (36x56x26cm) and 1 handbag (36x30x10cm)
Luggage storage
Overhead compartments and designated luggage areas
Cancellation Policy
According to fare conditions
Refund
Full refund provided
Amenities on board the train
Wifi
Food sold onboard
Restaurant car with Mediterranean cuisine, at-seat service in both classes
Seat reservation
Included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers allowed free. Large dogs need paid ticket
Quiet zone

AVE

About
Travel comfortably with AVE, Renfe’s high-speed trains. AVE connects major cities across Spain at speeds of up to 310 km/h (193 mph), offering a fast and smooth travel experience. Ticket options include Promo, Promo+, and Flexible fares to suit different budgets, along with discount cards such as the Gold Card and +Renfe Youth 50 Card for eligible travelers. AVE trains feature modern amenities including comfortable seating, Wi-Fi, power outlets, and onboard catering, making them a convenient and enjoyable way to travel across Spain.
Luggage & cancellation policy
Luggage included
1 piece of hand luggage and 3 pieces of luggage free of charge
Luggage storage
Overhead racks, end of carriages, and designated areas between seats
Cancellation Policy
Refund conditions depend on ticket type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with hot and cold meals, snacks, and beverages. At-seat service in Preferente (First) Class
Seat reservation
Included in ticket price for all classes
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance services available
Pets
Small pets under 10kg in carriers allowed free. Larger dogs require paid ticket and muzzle. Guide dogs free.
Quiet zone

Ouigo

About
SNCF OUIGO is a low-cost train service launched in 2013 by SNCF, the French national railway company. It offers budget-friendly travel on both high-speed (Ouigo Grande Vitesse) and conventional (Ouigo Vitesse Classique) lines in France, and also to Belgium and Spain. OUIGO trains are characterized by a "no-frills" approach, featuring a single class of seating and minimal onboard amenities to keep ticket prices low. While the high-speed services utilize specially reconfigured TGV trains, Ouigo Vitesse Classique uses older locomotive-hauled rolling stock for even cheaper fares on slower routes.
Luggage & cancellation policy
Average Duration
2h 30m
Cheapest Price
$27 (€22)
Ouigo frequency
9 a day
Luggage included
1 cabin bag (max 36x27x15cm) and 1 small bag included
Luggage storage
Overhead racks and designated areas at end of carriages
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled by OUIGO
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation mandatory and included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available for passengers with reduced mobility
Pets
Small pets in carriers (max 45x30x25cm) for €5. Large dogs not allowed except guide dogs

Barcelona El Prat Airport to Madrid Barajas Airport by Renfe AVE Train

Introduction

While flying might seem like the obvious option, you can also travel by Renfe AVE train from Barcelona El Prat Airport to Madrid Barajas Airport. This is a great alternative if flights are fully booked or expensive, or if you want to enjoy the generally larger free luggage allowance on trains compared to most airlines. Since most of the journey is by high-speed rail, it’s not much slower than a flight. In this guide, I'll explain exactly how to travel by train from Barcelona El Prat Airport to Madrid Barajas Airport and share some helpful tips to prepare you for your trip across Spain.

Route Overview

Both Barcelona and Madrid airports have their own railway stations, but these are served only by commuter trains, not long-distance services. This means there’s no direct train from Barcelona El Prat Airport to Madrid Barajas Airport. To make the trip, first take a commuter train from El Prat Airport to Barcelona’s main station, Barcelona Sants. From there, board a high-speed train to Madrid Atocha, the capital’s main rail hub. Once in Madrid, connect to a commuter train that continues to Madrid Barajas Airport.

The Rodalies commuter trains between Barcelona El Prat Airport and Barcelona Sants, as well as the Cercanías commuter trains from Madrid Atocha, are operated by Spain’s national railway company, Renfe. The total rail distance from Barcelona El Prat Airport to Madrid Barajas Airport is about 658 kilometers. The high-speed section between Barcelona Sants and Madrid Atocha covers 626 kilometers and takes as little as 2 hours and 37 minutes. The overall journey will take a bit longer once you factor in the airport transfers and connection times.

A Renfe AVE high-speed train at Madrid Atocha

Transportation Experience

Booking Spanish train tickets on Omio is simple. You can compare fares from different rail companies and sort results by departure time, journey duration, or price. I really like how Omio clearly shows what’s included in your ticket, such as luggage allowances and onboard facilities. They also outline the fare conditions, so you know whether your ticket is refundable or changeable. While I personally love traveling by train, taking a flight from Barcelona Airport to Madrid is often the most convenient option when you need to go directly between the two airports. That said, for me, the train is still the more comfortable option, and you get to see a bit of Spain along the way!

Route Details

Departure & Arrival Stations

If you’re traveling from Barcelona El Prat Airport to Madrid Barajas Airport by train, first take the Rodalies commuter train to Barcelona Sants station. The airport’s railway station is located just outside Terminal 2B, so if you arrive at Terminal 1, take the free shuttle bus to reach Terminal 2.

Renfe AVE train tickets between Barcelona and Madrid include free Cercanías commuter train rides in both cities for up to 4 hours before departure and 4 hours after arrival. There’s no need to buy a separate ticket for the airport train. If you encounter gate barriers, simply scan the QR code on your ticket or show it to a staff member. Take the R2 Nord Cercanías train three stops to reach Barcelona Sants, where you’ll board the high-speed train to Madrid.

Rodalies commuter train at the station of Barcelona El Prat Airport

After just under three hours, I arrived on time at Madrid-Puerta de Atocha-Almudena Grandes Station, known locally as Madrid Atocha. When leaving the train, follow the signs for Tren aeropuerto T4 or Cercanías to reach the commuter platforms directly.

Scan the QR code on your ticket at the gate, or show it to a staff member if needed. Take line C1 to Madrid Barajas Airport Terminal 4. If the C1 train isn’t running, take line C2, C3, C4, or C10 to Madrid Chamartín and transfer there to a C1 train. If your flight departs from Terminals 1–3, you can use the free shuttle bus from Terminal 4.

Schedule & Frequency

Taking Renfe’s high-speed train is the easiest way to travel from Barcelona El Prat Airport to Madrid Barajas Airport. Your Barcelona–Madrid ticket automatically includes the airport commuter train connections at both ends. Renfe operates about 25 high-speed trains daily between Barcelona and Madrid, so you have plenty of departure options. You can also travel with Iryo, a private high-speed operator whose tickets include the same free commuter train connections in Barcelona and Madrid. I took a 3 PM departure from Barcelona Sants to Madrid Atocha with Renfe AVE and arrived just in time for dinner in the evening.

Onboard Experience and Services

Traveling on Spanish high-speed trains is always a pleasure, with comfortable seating and all the amenities needed for a long-distance journey. Second Class seats are arranged in a 2+2 configuration, with two seats on either side of the aisle. First Class offers a more spacious 2+1 layout with larger leather seats. I found my Second Class seat perfectly adequate for the just under three-hour journey.

On Renfe AVE trains from Barcelona to Madrid, you can bring up to three pieces of luggage weighing a combined total of 25 kilograms. Bags can be stored in the racks at both ends of each carriage or on the overhead shelves above the seats. All seats on the AVE train have power sockets and fast Wi-Fi. I used it to check live route maps, and it worked reliably throughout the trip. The train also features a café-bar serving snacks such as sandwiches and sweets, along with hot and cold drinks, including beer and wine. I enjoyed a €4 beer at the café-bar, which was a pleasant break from sitting down, as I could stand at one of the tables and stretch my legs.

The journey along the Barcelona–Madrid high-speed line is very enjoyable. Unlike many European high-speed routes that pass through tunnels and sound barriers, this one offers open views of Spain’s interior. From the window, you’ll see wide plains, olive groves, small villages, and rolling hills. If you’re seated on the left-hand side, you might even catch glimpses of the Mediterranean Sea. Depending on your service, the train may stop at intermediate stations such as Tarragona, Lleida, or Zaragoza, though my AVE ran non-stop between Barcelona Sants and Madrid Atocha.

Ticketing Advice & Budget Breakdown

Spanish high-speed train tickets use variable pricing, with lower fares if you book early or outside the summer season. The Barcelona–Madrid route is among Spain’s busiest and often sells out, so it’s best not to rely on last-minute tickets. Renfe AVE tickets include the free Combinado Cercanías benefit, which covers commuter train connections to and from the airports, but not the metro.

Budget breakdown:

Item Cost Comment
Second Class AVE ticket €50 Booked on Omio
Rodalies train – Barcelona Airport to Sants Free With Combinado Cercanías
Cercanías train – Atocha to Barajas Airport Free With Combinado Cercanías
Beer on board €4 Bought at café-bar
Total €54 Journey cost plus refreshment

Top Tips & Personal Recommendations

Check out my tips to make your journey from Barcelona El Prat Airport to Madrid Barajas Airport smooth and comfortable:

  • Allow enough time at the start of your trip: Factor in passport control, baggage claim, and the short transfer to Terminal 2 for the airport train. If you arrive early, Barcelona Sants has cafés and restaurants where you can relax before boarding.
  • Compare train and flight options: While the train is more comfortable and faster for city-center travel, flights to Madrid are sometimes cheaper or easier if you’re going directly between the airports.
  • Follow the right signs at Madrid Atocha: When you arrive, don’t just follow the crowd to the main exit. Instead, look for signs for Tren aeropuerto T4 or Cercanías to reach the airport train platforms directly.
Once you arrive at Madrid Atocha station by AVE high-speed train, it's easy to connect to the Cercanias commuter train to Madrid Barajas Airport

Conclusion

Traveling by train from Barcelona El Prat Airport to Madrid Barajas Airport is a great alternative if you prefer not to fly or if flights are too expensive. The journey requires a few connections but is straightforward. If you book a Renfe AVE ticket, you can ride both airport trains for free, which makes the fare a great value. Remember to secure your seats as early as possible to lock in the best price. Book your trip today on the Omio app!

About the Author: Koen Berghuis

  • Job Title: Travel Creator and Rail Writer
  • Bio: Koen Berghuis is a rail expert and passionate train traveler who logs about 20,000 kilometers by train each year, exploring routes across Europe and beyond. Koen writes about his travels on his website, Paliparan, where you can find dozens of train reviews and trip reports.
Koen Berghuis boarding a Hungarian night train

FAQs: Trains from Barcelona El Prat Airport to Madrid Barajas Airport

Find answers to the most common questions about traveling from Barcelona El Prat Airport to Madrid Barajas Airport by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Madrid Barajas Airport, this guide helps you travel smarter and with confidence.

FAQs
The distance by train from Barcelona El Prat Airport to Madrid Barajas Airport is 300 miles (483 km).
A day trip from Barcelona El Prat Airport to Madrid Barajas Airport is not feasible as the journey takes 2h 37m. However, there are 16 trips per day by train for this route. The distance is 300 miles (483 km).
The first train from Barcelona El Prat Airport to Madrid Barajas Airport leaves at 3:45 AM.
Yes, there is a high-speed train from Barcelona El Prat Airport to Madrid Barajas Airport.
The train journey from Barcelona El Prat Airport to Madrid Barajas Airport is not typically considered scenic, as it primarily travels through urban and industrial areas rather than picturesque landscapes.
The last train from Barcelona El Prat Airport to Madrid Barajas Airport leaves at 7:55 PM.
Train ticket prices from Barcelona El Prat Airport to Madrid Barajas Airport can vary. The cheapest ticket starts at $21 (€17), while the average price is around $76 (€62).
The cheapest way to get from Barcelona El Prat Airport to Madrid Barajas Airport is by bus, with a cost of around $6 (€5).
Yes, you can take the train from Barcelona El Prat Airport to Madrid Barajas Airport.
The train from Barcelona El Prat Airport to Madrid Barajas Airport takes 2h 37m and runs 16 per day.
Yes, there is a direct train from Barcelona El Prat Airport to Madrid Barajas Airport. This service operates 16 times per day, provided by Ouigo, iryo.
Unfortunately, there is no night train available from Barcelona El Prat Airport to Madrid Barajas Airport.

Most popular trains to and from Madrid Barajas Airport and Barcelona El Prat Airport

HomeTrainsTrains in SpainTrain Times to Madrid Barajas AirportBarcelona El Prat Airport to Madrid Barajas Airport train

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone