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 $27. 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 $27, and a flight costs an average of $33.
Distance: 313 miles (504 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
$59 Average price Cheapest | $63 Average price | $194 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 |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Travel optionsfrom Barcelona to Madrid
How to get from Barcelona to Madrid by train, bus or flight.
Our recommendation
The best way to travel from Barcelona to Madrid is by taking a train because it’s the best combination of price and speed.
031826:00 PM3h44Barcelona Sants9:44 PMMadrid-Puerta de Atocha-Almudena Grandes$441One-way0 transfers
Cheapest
031826:00 PM3h44Barcelona Sants9:44 PMMadrid-Puerta de Atocha-Almudena Grandes$441One-way0 transfers
Fastest
IB4288:00 AM1h25Barcelona El Prat Airport9:25 AMMadrid Barajas Airport$1011One-way0 transfers
Other options
033108:00 PM3h44Barcelona Sants11:44 PMMadrid-Puerta de Atocha-Almudena Grandes$741One-way0 transfers
064107:35 AM3h30Barcelona Sants11:05 AMMadrid-Puerta de Atocha-Almudena Grandes$851One-way0 transfers
062108:35 PM3h17Barcelona Sants11:52 PMMadrid-Puerta de Atocha-Almudena Grandes$681One-way0 transfers
Normal9:30 AM7h20Barcelona, Estació d'Autobusos Nord4:50 PMMadrid, Terminal de autobuses T4 (Aeropuerto de Madrid)$501One-way0 transfers
Normal9:30 AM7h35Barcelona, Estació d'Autobusos Nord5:05 PMMadrid, Intercambiador de Avenida de América$501One-way0 transfers
Normal10:30 AM7h40Barcelona, Estació d'Autobusos Nord6:10 PMMadrid, Terminal de autobuses T4 (Aeropuerto de Madrid)$501One-way0 transfers
IB4028:50 AM1h25Barcelona El Prat Airport10:15 AMMadrid Barajas Airport$1111One-way0 transfers
IB4267:00 AM1h25Barcelona El Prat Airport8:25 AMMadrid Barajas Airport$1011One-way0 transfers
IB4186:15 PM1h25Barcelona El Prat Airport7:40 PMMadrid Barajas Airport$1211One-way0 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.
Apr 02
Apr 03
Apr 04
Apr 05
Apr 06
Apr 07
Apr 08
Apr 09
Apr 10
Apr 11
Apr 12
Apr 13
Apr 14
Apr 15
Apr 16
Apr 17
Apr 18
Apr 19
Apr 20
Apr 21
Apr 22
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
More than 1,000 travel companies trust us to sell their tickets all in one place.
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.

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 $31 (€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 $33 (€27).
Other travel options to Madrid take longer:
Train takes on average 2h 36m.
Bus takes on average 7h 20m.
- 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.
- 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).
- Travel with Iberia, Vueling, Air Europa, GetJet Airlines, Airhub Airlines, Royal Air Maroc to go to Madrid by flight.
- Travel with Alsa, BlaBlaCar, Infobus, FlixBus to go to Madrid by bus.
- Travel with iryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo to go to Madrid by train.
- 11 direct flights per day with Iberia, Vueling, Air Europa.
- 19 direct buses per day with Alsa, BlaBlaCar, FlixBus.
- 37 direct trains per day with iryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo.
Travelling from Barcelona to Madrid: related information
Here are some other resources that might have the information you need
