There are 5 ways to get from Barcelona (Station) to Madrid by train, bus, car or plane
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Bus
-
Take the bus from Barcelona to Madrid
Bus via Madrid
-
Take the bus from Barcelona/Sants to Madrid
Drive
-
Drive from Barcelona (Station) to Madrid
Questions & Answers
The cost-effective way to get from Barcelona (Station) to Madrid is to fly, which costs €28 - €100 and takes 3h 30m.
The quickest way to get from Barcelona (Station) to Madrid is to train which costs €30 - €80 and takes 2h 54m.
Yes, there is a direct bus departing from Barcelona/Sants and arriving at Madrid. Services depart once daily. The journey takes approximately 10h.
No, there is no direct train from Barcelona (Station) to Madrid. However, there are services departing from Collblanc and arriving at Madrid-Puerta De Atocha via Barcelona-Sants. The journey, including transfers, takes approximately 2h 54m.
The distance between Barcelona (Station) and Madrid is 501 km. The road distance is 613.8 km.
The best way to get from Barcelona (Station) to Madrid without a car is to train which takes 2h 54m and costs €30 - €80.
It takes approximately 2h 54m to get from Barcelona (Station) to Madrid, including transfers.
Barcelona (Station) to Madrid bus services, operated by FlixBus, depart from Barcelona station.
Barcelona (Station) to Madrid train services, operated by Renfe AVE, depart from Barcelona-Sants station.
The best way to get from Barcelona (Station) to Madrid is to train which takes 2h 54m and costs €30 - €80. Alternatively, you can bus, which costs €45 - €70 and takes 9h, you could also fly, which costs €28 - €100 and takes 3h 30m.

- Distance: 501 km
- Duration: 2h 54m
What companies run services between Barcelona (Station), Catalonia, Spain and Madrid, Spain?
Renfe AVE operates a train from Barcelona-Sants to Madrid-Puerta De Atocha hourly. Tickets cost €50 - €75 and the journey takes 2h 30m. Three other operators also service this route. Alternatively, FlixBus operates a bus from Barcelona to Madrid 4 times a week. Tickets cost €45 - €65 and the journey takes 7h 15m.

- Website
- iberia.com
Flights from Barcelona to Madrid
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €26 - €150
Flights from Barcelona to Madrid via Valencia
- Ave. Duration
- 3h 20m
- When
- Tuesday, Wednesday and Thursday
- Estimated price
- €26 - €160

- Website
- vueling.com
Flights from Barcelona to Madrid
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €26 - €150
Flights from Barcelona to Madrid via Valencia
- Ave. Duration
- 3h 20m
- When
- Tuesday, Wednesday and Thursday
- Estimated price
- €26 - €160

- Website
- aireuropa.com
Flights from Barcelona to Madrid
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- €35 - €180
Flights from Barcelona to Madrid via Palma Mallorca
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- €35 - €180

Rome2Rio's guide to Renfe AVE
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 30m
- Frequency
- Hourly
- Estimated price
- €50 - €75
- Website
- https://www.renfe.com/es/en
- Básico
- €50 - €75

- Phone
- +34 910 150 000
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Barcelona Sants Station to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 45m
- Frequency
- Every 3 hours
- Estimated price
- €28 - €50
- Website
- https://iryo.eu/en/home
- Inicial
- €28 - €50

- Phone
- +34 910 780 990
Train from Barcelona-Sants to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 55m
- Frequency
- 5 times a day
- Website
- https://www.ouigo.com/es/en

Rome2Rio's guide to Renfe Viajeros
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta De Atocha
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- €45 - €65
- Website
- https://www.renfe.com/es/en

Rome2Rio's guide to FlixBus
Contact Details
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.de
Bus from Barcelona to Madrid
- Ave. Duration
- 7h 15m
- Frequency
- 4 times a week
- Estimated price
- €45 - €65
- Website
- https://www.flixbus.co.uk
- Book at
- https://shop.global.flixbus.com/
Frequently asked questions

- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.es
Bus from Barcelona/Sants to Madrid
- Ave. Duration
- 10h
- Frequency
- Once daily
- Estimated price
- €85 - €130
- Website
- https://www.alsa.com/en/web/bus/home
Want to know more about travelling around Spain
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Train travel in Spain: A guide to Renfe
Top tips on how to best navigate the nation by train, from Alicante to Zaragoza
Read the travel guideWhat are the different types of Renfe trains in Spain?
A simple guide to the different trains, routes and facilities, so you can identify which service is right for you.
Read the travel guideWant to know more about Flixbus?
Rome2Rio’s guide has all the details
Read the travel guideMore Questions & Answers
The quickest flight from Barcelona Airport to Madrid Airport is the direct flight which takes 1h 25m.
Barcelona (Station) to Madrid bus services, operated by FlixBus, arrive at Madrid station.
Barcelona (Station) to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta De Atocha station.
Yes, the driving distance between Barcelona (Station) to Madrid is 614 km. It takes approximately 5h 57m to drive from Barcelona (Station) to Madrid.
Vueling Airlines, Air Europa and Iberia offer flights from Barcelona Airport to Madrid Airport.
There are 2175+ hotels available in Madrid. Prices start at €87 per night.