Barcelona El Prat Airport to Madrid Barajas Airport train with iryo

Sat, Oct 10
+ Add return
iryo
SNCF OUIGO
Regionale
Deutsche Bahn
Frecciarossa
2,000+ travel companies
iryo
SNCF OUIGO
Regionale
Deutsche Bahn
Frecciarossa
2,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, prices and bookable tickets for Oct 10

Cheapest price on Oct 10

$82

Average ticket price on Oct 10

$144

Fastest journey on Oct 10

3 h 2 m

Average journey duration on Oct 10

3 h 2 m

Trains on Oct 10

18

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 $144 if you buy it on the day, but the cheapest tickets can be found for only $82.

Fast trains

On Sat, Oct 10, we found 18 trains from Barcelona El Prat Airport to Madrid Barajas Airport, including 18 direct services.

On Sat, Oct 10 the direct trains cover the 483 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .

On Sat, Oct 10 the slowest trains will take 3 h 2 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.

  • SNCF OUIGO06610
    8:20 PM3h28
    Barcelona Sants
    11:48 PMMadrid-Puerta de Atocha-Almudena Grandes
    $821One-way
    0 transfers
  • iryo06350
    2:12 PM3h15
    Barcelona Sants
    5:27 PMMadrid-Puerta de Atocha-Almudena Grandes
    $891One-way
    0 transfers
  • iryo06190
    6:53 PM3h17
    Barcelona Sants
    10:10 PMMadrid-Puerta de Atocha-Almudena Grandes
    $901One-way
    0 transfers
  • iryo06200
    7:40 PM3h02
    Barcelona Sants
    10:42 PMMadrid-Puerta de Atocha-Almudena Grandes
    $911One-way
    0 transfers
  • iryo06180
    5:20 PM3h02
    Barcelona Sants
    8:22 PMMadrid-Puerta de Atocha-Almudena Grandes
    $951One-way
    0 transfers

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 18 times per day, taking around 3h 2m. Cheap train tickets for this journey start at $23 but you can travel from only $20 by bus.

There are 18 trains per day. The earliest train runs at 03:45, the last at 18:28. 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 $20
Distance
300 miles (483 km)
Average train duration
3h 2m
Cheapest ticket price
$23
Trains per day
18
Direct trains
18
Fastest train
2h 37m
First train
3:45 AM
Last train
6:28 PM
Cheapest Month
Feb
Cheapest Day
Tue
High Season
Apr - Jun
Low Season
Oct - Dec
Busiest Day
Wed
Least Busy Day
Sun
Best time to book
28 days
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 $20

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, Friday, October 9. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
iryo06150
On time
2:50 PM Barcelona Sants
3h02
5:52 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06360
On time
3:52 PM Barcelona Sants
3h24
7:16 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06180
On time
5:20 PM Barcelona Sants
3h02
8:22 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
SNCF OUIGO06570
On time
5:40 PM Barcelona Sants
3h02
8:42 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06190
On time
6:53 PM Barcelona Sants
3h17
10:10 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06200
On time
7:40 PM Barcelona Sants
3h02
10:42 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
SNCF OUIGO06610
Delayed
8:20 PM Barcelona Sants
3h28
9:48 PM 9:48 PMMadrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
iryo06210
On time
8:28 PM Barcelona Sants
3h24
11:52 PM Madrid-Puerta de Atocha-Almudena Grandes
0 transfersDirect
Saturday, October 10
iryo060707:05 AM Barcelona Sants
3h02
10:07 AM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
SNCF OUIGO074107:35 AM Barcelona Sants
3h30
11:05 AM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
SNCF OUIGO064107:35 AM Barcelona Sants
3h30
11:05 AM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo060807:50 AM Barcelona Sants
3h25
11:15 AM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo060129:12 AM Barcelona Sants
3h28
12:40 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
SNCF OUIGO0650010:40 AM Barcelona Sants
3h17
1:57 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo0611010:45 AM Barcelona Sants
3h04
1:49 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo0602011:18 AM Barcelona Sants
3h24
2:42 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo0632012:14 PM Barcelona Sants
3h02
3:16 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
iryo060141:13 PM Barcelona Sants
3h24
4:37 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect
SNCF OUIGO065401:50 PM Barcelona Sants
3h02
4:52 PM Madrid-Puerta de Atocha-Almudena Grandes0 transfersDirect

This is the last train of the day.

Find all the dates and times for this journey

Why should you book Barcelona El Prat Airport to Madrid Barajas Airport trains with Omio?

iryo as well as SNCF OUIGO offer trains services from Barcelona El Prat Airport to Madrid Barajas Airport.
Omio is an official ticket reseller for all your travel options from Barcelona El Prat Airport to Madrid Barajas Airport.

Why book with Omio vs iryo?

  • Compare with other providers: On Omio, you can not only buy tickets for iryo, but also compare tickets for the likes of SNCF OUIGO to find the best option for your trip from Barcelona El Prat Airport to Madrid Barajas Airport.
  • Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
  • Compare all your options: Omio allows you to compare iryo with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Barcelona El Prat Airport to Madrid Barajas Airport.

Why book with Omio over Wanderu?

  • Multiple modes of transport: Omio allows you to compare travel options including bus, train and flight to find the ideal travel option from Barcelona El Prat Airport to Madrid Barajas Airport.

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

By Koen Berghuis

x
Koen BerghuisTravel Creator and Rail Writer
Koen Berghuis
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 find dozens of train reviews and trip reports.

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.

A Renfe AVE high-speed train at Madrid Atocha

A Renfe AVE high-speed train at Madrid Atocha

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.

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!

A Renfe AVE high-speed train at Madrid Atocha

A Renfe AVE high-speed train at Madrid Atocha

Departure station

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

Arrival station

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

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

ItemCost (eur)
Ticket price€50
Food & drinks€4
Travel to departure station€
Travel from arrival station€
Total€ 54

Top tips & recommendations

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

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!

Train companies: iryo, SNCF OUIGO from Barcelona El Prat Airport to Madrid Barajas Airport trainsiryo, SNCF OUIGO trains will get you between Barcelona El Prat Airport and Madrid Barajas Airport from $20. 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 iryo Duration
2h 37m
Cheapest iryo Price
$27
iryo frequency
13 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

SNCF OUIGO

Luggage & cancellation policy
Average SNCF OUIGO Duration
2h 37m
Cheapest SNCF OUIGO Price
$23
SNCF OUIGO frequency
5 a day

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
Train ticket prices from Barcelona El Prat Airport to Madrid Barajas Airport can vary. The cheapest ticket starts at $23, while the average price is around $71.
The train from Barcelona El Prat Airport to Madrid Barajas Airport takes 2h 37m and runs 18 per day.
The distance by train from Barcelona El Prat Airport to Madrid Barajas Airport is 300 miles (483 km).
The first train from Barcelona El Prat Airport to Madrid Barajas Airport leaves at 3:45 AM.
The last train from Barcelona El Prat Airport to Madrid Barajas Airport leaves at 6:28 PM.
Yes, there is a high-speed train from Barcelona El Prat Airport to Madrid Barajas Airport.
Yes, there is a direct train from Barcelona El Prat Airport to Madrid Barajas Airport. This service operates 18 times per day, provided by iryo, SNCF OUIGO.
Unfortunately, there is no night train available 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.
Yes, you can take the train from Barcelona El Prat Airport to Madrid Barajas Airport.
Popular day trips by train from Madrid Barajas Airport include Valencia, Valladolid, Córdoba, Segovia, Madrid.
Items not allowed on trains typically include hazardous materials such as explosives, flammable liquids, corrosive substances, and illegal drugs. Additionally, large or bulky items that may obstruct aisles or emergency exits, as well as pets without proper carriers, may be restricted. Specific prohibited items can vary by train operator and region, so please check the rules for your particular journey.
Yes, rail passes such as the Eurail Spain Pass and Interrail Spain Pass are valid on most trains within Spain, including RENFE regional, AVE high-speed, and other long-distance services. Some restrictions may apply for certain premium trains, so it is advisable to check specific train eligibility and reservation requirements in advance.
Spain uses the euro (€) as its currency. Travelers can use both cash and cards, but cards are widely accepted in cities and tourist areas, while cash may be preferred for small purchases, markets, and rural locations.
Pack lightweight, versatile clothing suitable for the destination's climate, and use secure, lockable luggage to protect belongings. Keep essential items like travel documents, medication, and valuables in a carry-on bag for easy access. Use packing organizers or cubes to maximize space and maintain order. Lastly, include a small first aid kit and personal hygiene items for added comfort during travel.

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