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 |
![]() 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.
06500Cheapest
NormalFastest
VY1006Other options
06540
06020
03080
Normal
Normal
Normal
UX7706
IB408
IB406Find 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.
Feb 27
Feb 28
Mar 01
Mar 02
Mar 03
Mar 04
Mar 05
Mar 06
Mar 07
Mar 08
Mar 09
Mar 10
Mar 11
Mar 12
Mar 13
Mar 14
Mar 15
Mar 16
Mar 17
Mar 18
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
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 $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).
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 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.
- 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.
Travelling from Barcelona to Madrid: related information
Here are some other resources that might have the information you need
