The cheapest and fastest trains from Barcelona El Prat Airport to Madrid Barajas Airport
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
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.
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.
06014
06540
06610
06130
06200
06540
06200
06150
06570
06110Travel 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* |
![]() Most popular train company | ![]() Most popular airline | ![]() 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.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06130 | On time 12:05 PM Barcelona Sants | 2h52 | 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | On time 12:45 PM Barcelona Sants | 2h52 | 3:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | On time 12:50 PM Barcelona Sants | 2h37 | 3:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 1:55 PM Barcelona Sants | 2h37 | 4:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06160 | On time 2:55 PM Barcelona Sants | 2h52 | 5:47 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 4:35 PM Barcelona Sants | 2h37 | 7:12 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 4:40 PM Barcelona Sants | 2h37 | 7:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:05 PM Barcelona Sants | 2h52 | 8:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | On time 7:40 PM Barcelona Sants | 3h02 | 10:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Wednesday, November 26 | |||||
06060 | On time 4:45 AM Barcelona Sants | 2h52 | 7:37 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06470 | 5:25 AM Barcelona Sants | 2h52 | 8:17 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06270 | On time 6:05 AM Barcelona Sants | 2h37 | 8:42 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06280 | On time 6:55 AM Barcelona Sants | 2h37 | 9:32 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | 9:40 AM Barcelona Sants | 2h52 | 12:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | 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.
Nov 25
Nov 26
Nov 27
Nov 28
Nov 29
Nov 30
Dec 01
Dec 02
Dec 03
Dec 04
Dec 05
Dec 06
Dec 07
Dec 08
Dec 09
Dec 10
Dec 11
Dec 12
Dec 13
Dec 14
Dec 15
Journey information
Overview: Train from Barcelona El Prat Airport to Madrid Barajas Airport
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.
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
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
AVE
Ouigo
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.

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.

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.

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.

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.

Most popular train connections from Barcelona El Prat Airport
More options for your journey from Barcelona El Prat Airport to Madrid Barajas Airport
Here are some other resources that might have the information you need


