How to travel from Barcelona to Madrid

Sat, Feb 28
+ Add return
Travel by train, bus, flight with
iryo
Alsa
Iberia
Ouigo
AVE
1,000+ more
iryo
Alsa
Iberia
Ouigo
AVE
1,000+ more
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

Travel Information

Compare train, bus, and flight for Barcelona to Madrid

Omio recommends booking the train as it is the most popular option from Barcelona to Madrid among Omio's users. If you are prioritising price take the train with prices starting from $28. For those with little time consider booking a flight which can get you there in 4h 27m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.2 - 0.5kg. The ticket price range depends on the travel mode: a train costs an average of $28, and a flight costs an average of $34.

Distance: 313 miles (504 km)

Compare train with

Most popular
Train
Bus
Flight

$60

Average price

Cheapest

$64

Average price

$198

Average price

5h 33m

Average total duration

5h 3m

Onboard

+

30m

Additional time*

6h 40m

Average total duration

6h 10m

Onboard

+

30m

Additional time*

7h 27m

Average total duration

Fastest

4h 27m

Onboard

+

3h 0m

Additional time*

0.2 - 0.5kg

CO2 emissions

Lowest

0.5 - 1.3kg

CO2 emissions

1.5 - 3.0kg

CO2 emissions

iryo

Most popular train company

Alsa

Most popular bus company

Iberia

Most popular airline

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Travel options
from Barcelona to Madrid

How to get from Barcelona to Madrid by train, bus or flight.

Our recommendation

train

The best way to travel from Barcelona to Madrid is by taking a train because it’s the best combination of price and speed.

Ouigo06500
10:40AM3h17
Barcelona Sants
01:57PMMadrid-Puerta de Atocha-Almudena Grandes
$551One-way
0 transfers

Cheapest

AlsaNormal
09:30AM7h35
Barcelona, Estació d'Autobusos Nord
05:05PMMadrid, Intercambiador de Avenida de América
$421One-way
0 transfers

Fastest

Vueling AirlinesVY1006
08:40AM1h25
Barcelona El Prat Airport
10:05AMMadrid Barajas Airport
$581One-way
0 transfers

Other options

Ouigo06540
01:50PM3h02
Barcelona Sants
04:52PMMadrid-Puerta de Atocha-Almudena Grandes
$471One-way
0 transfers
iryo06020
11:25AM3h17
Barcelona Sants
02:42PMMadrid-Puerta de Atocha-Almudena Grandes
$521One-way
0 transfers
AVE03080
08:25AM3h02
Barcelona Sants
11:27AMMadrid-Puerta de Atocha-Almudena Grandes
$791One-way
0 transfers
AlsaNormal
09:30AM8h00
Barcelona, Estació d'Autobusos Nord
05:30PMMadrid, Estación Sur de Autobuses
$421One-way
0 transfers
AlsaNormal
10:30AM8h05
Barcelona, Estació d'Autobusos Nord
06:35PMMadrid, Intercambiador de Avenida de América
$421One-way
0 transfers
AlsaNormal
07:00AM7h50
Barcelona, Estació d'Autobusos Nord
02:50PMMadrid, Intercambiador de Avenida de América
$421One-way
0 transfers
Air EuropaUX7706
11:50AM1h30
Barcelona El Prat Airport
01:20PMMadrid Barajas Airport
$761One-way
0 transfers
IberiaIB408
10:35AM1h25
Barcelona El Prat Airport
12:00PMMadrid Barajas Airport
$881One-way
0 transfers
IberiaIB406
09:45AM1h25
Barcelona El Prat Airport
11:10AMMadrid Barajas Airport
$931One-way
0 transfers

Find all the dates and times for this journey by train, bus, flight, and ferry .

Compare prices and tickets Prices for trains, buses and flights

Compare train, bus, and flight 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.

Fri
Feb 27
Sat
Feb 28
Sun
Mar 01
Mon
Mar 02
Tue
Mar 03
Wed
Mar 04
Thu
Mar 05
Fri
Mar 06
Sat
Mar 07
Sun
Mar 08
Mon
Mar 09
Tue
Mar 10
Wed
Mar 11
Thu
Mar 12
Fri
Mar 13
Sat
Mar 14
Sun
Mar 15
Mon
Mar 16
Tue
Mar 17
Wed
Mar 18
Thu
Mar 19

How to Travel from Barcelona to Madrid

The journey from Barcelona to Madrid is popular with both business and leisure travelers in Spain. Direct journeys between Barcelona and Madrid are available by plane, train, and bus. Key departure points include Barcelona Sants train station, Barcelona Nord Bus station, and Barcelona Prat airport.

Cheapest way to travel from Barcelona to Madrid

Taking the bus is the cheapest way to travel from Barcelona to Madrid. Alsa is the main bus company in Spain and operates all the buses from Barcelona to Madrid. Alsa buses take approximately 7:20 h to travel from Barcelona to Madrid and depart 16 times per day. Alsa's buses depart from Barcelona Nord bus station and arrive at Madrid's Intercambiador Avenida de America.

Fastest way to travel from Barcelona to Madrid

Flying is the fastest way to travel from Barcelona to Madrid and is 6 hours faster than taking the bus. Flights traveling from Barcelona to Madrid depart from Barcelona's El Prat airport and arrive at Madrid's Barajas airport. Airlines that travel directly from Barcelona to Madrid include Iberia, Air Europa, and Vueling. Another fast option to get from these cities is to take a high-speed AVE train, taking about 2 hours 30 minutes.

Most popular way to travel from Barcelona to Madrid

Taking the train is the most popular way to travel from Barcelona to Madrid. While the train is often more expensive than taking the bus or flying, the time saved avoiding traveling to and from the airport makes up for the additional cost for most travelers. Some of the train ticket cost can be offset by planning ahead and booking your Barcelona to Madrid travel as far ahead of time as possible. All trains traveling from Barcelona to Madrid are operated by Renfe, and depart from Barcelona Sants train station, and arrive at Madrid Puerta de Atocha. There is at least one departure every hour throughout the day, seven days a week. High-speed trains traveling from Barcelona to Madrid take approximately two and a half hours.

How to get from Barcelona to Madrid

The Best Way According to our Users

Whether it is for business or leisure, in order to travel from Barcelona to Madrid, 64,59% of our customers choose the train as their preferred mode of transportation. By traveling by train on this route, you can enjoy the comfort of spacious seats, spectacular views—and in some cases free Wi-Fi—in both second and first class. Our customers have decided that the train is the best way to get from Barcelona to Madrid and have chosen to enjoy this fast, safe and efficient way to arrive at their destination. Taking the train also avoids long lines or potential expenses for transfers to/from the station—especially since most main railway stations are located in the city center. Train companies in Europe vary from country to country, but most of them offer high-speed train routes, therefore when you add up at the end-to-end journey time, the train is often also the fastest way to get to your destination.

Search on Omio to find cheap tickets from Barcelona to Madrid. It’s easy to find the most attractive prices and choose your preferred route for your journey. Book on web or app, and travel with your mobile ticket —without the stress of printing your ticket.

More than 1,000 travel companies trust us to sell their tickets all in one place.

Trenitalia
Easyjet
Deutsche Bahn
SNCF

FAQs: Travel from Barcelona to Madrid

Travel to Madrid easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Barcelona to Madrid.

FAQs
There are 3 options to travel between Barcelona and Madrid including taking a train, bus, and flight.
The cheapest way to travel from Barcelona to Madrid is a train with an average price of $28 (€22).

This is compared to other travel options from Barcelona to Madrid:

A train is $4 (€4) less than a bus for this route with tickets for a bus from Barcelona to Madrid costing on average $32 (€26).

A train is $6 (€5) less than a flight for this route with tickets for a flight from Barcelona to Madrid costing on average $34 (€27).

The fastest way to travel from Barcelona to Madrid is by flight with an average journey time of 1h 20m.

Other travel options to Madrid take longer:

Train takes on average 2h 36m.

Bus takes on average 7h 20m.

The distance from Barcelona to Madrid is approximately 313 miles (504 km).
The average frequency per day from Barcelona to Madrid is:
  • Around 37 trains per day.
  • Around 30 flights per day.
  • Around 20 buses per day.

However, we recommend checking specific travel dates for your route between Barcelona and Madrid as scheduled services by train, bus, and flight can vary by season or day of the week.

These are the most popular departure and arrival points from Barcelona to Madrid:
  • Flights mostly depart from Barcelona El Prat Airport and arrive in Madrid Barajas Airport.
  • Trains mostly depart from Barcelona Sants and arrive in Madrid-Puerta de Atocha-Almudena Grandes.
  • Buses mostly depart from Barcelona, Estació d'Autobusos Nord and arrive in Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid).
If finding a good deal is your main consideration for your trip from Barcelona to Madrid, then we'll help you find the best value travel companies for you:
  • Travel with iryo, Ouigo, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo to go to Madrid by train.
  • Travel with Iberia, Vueling Airlines, Air Europa, GetJet Airlines, Stobart Air, Royal Air Maroc to go to Madrid by flight.
  • Travel with Alsa, BlaBlaCar, Infobus, FlixBus to go to Madrid by bus.
Yes, there are direct services available from Barcelona to Madrid with the following travel companies:
  • 37 direct trains per day with iryo, Ouigo, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo.
  • 11 direct flights per day with Iberia, Vueling Airlines, Air Europa.
  • 19 direct buses per day with Alsa, BlaBlaCar, FlixBus.
Omio customers who travel from Barcelona to Madrid often also extend their vacation to go to Valencia, Seville, Málaga, Paris, Lisbon. Omio can help you plan your trip by finding the best connections between Madrid and these popular destinations at a great price.
HomeTravelTravel to SpainTravel to MadridHow to travel from Barcelona to Madrid

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