There are 6 ways to get from Barcelona to Madrid by train, bus, rideshare, plane, or car
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
- Take the train from Barcelona-Sants to Madrid-Puerta De AtochaAve
bestTrain
2h 30m€21–80- Take the bus from Barcelona, Estació d'Autobusos Nord to Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid)Alsa
Bus via Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid)
8h 35m€41–76- Take the rideshare from Barcelone to Madrid618.5 km
Rideshare
7h 17m€27–29- Fly from Barcelona–El Prat Airport (BCN) to Adolfo Suárez Madrid–Barajas Airport (MAD)BCN - MAD
Fly
3h 19m€27–100- Take the bus from Barcelona Sants Central Bus Station to Madrid Mendez Alvaro Estacion SurUnion Ivkoni - Unibus 3581
Bus
10h 1m- Drive from Barcelona to Madrid623.2 km
Drive 623.2 km
6h 2m€110–159
Barcelona to Madrid by train
Questions & Answers
The cheapest way to get from Barcelona to Madrid is to rideshare which costs €27 - €29 and takes 7h 17m.
The fastest way to get from Barcelona to Madrid is to train which takes 2h 30m and costs €21 - €80.
Yes, there is a direct bus departing from Barcelona Sants Central Bus Station station and arriving at Madrid Mendez Alvaro Estacion Sur. Services depart once a week, and operate Wednesday. The journey takes approximately 10h 1m.
Yes, there is a direct train departing from Barcelona-Sants and arriving at Madrid-Puerta De Atocha. Services depart every 30 minutes, and operate every day. The journey takes approximately 2h 30m.
The distance between Barcelona and Madrid is 605 km. The road distance is 623.2 km.
The best way to get from Barcelona to Madrid without a car is to train which takes 2h 30m and costs €21 - €80.
The train from Barcelona-Sants to Madrid-Puerta De Atocha takes 2h 30m including transfers and departs every 30 minutes.
Barcelona to Madrid bus services, operated by Union Ivkoni - Unibus, depart from Barcelona Sants Central Bus Station.
Barcelona to Madrid train services, operated by Renfe AVE, depart from Barcelona-Sants station.
The best way to get from Barcelona to Madrid is to train which takes 2h 30m and costs €21 - €80. Alternatively, you can bus via Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid), which costs €40 - €80 and takes 8h 35m, you could also fly, which costs €27 - €100 and takes 3h 19m.
What companies run services between Barcelona, 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, ALSA operates a bus from Barcelona, Estació d'Autobusos Nord to Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid) every 4 hours. Tickets cost €45–75 and the journey takes 7h 35m. BlaBlaCar Bus also services this route twice daily.
- Website
- iberia.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €23–160
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport via Ibiza
- Ave. Duration
- 3h 20m
- When
- Saturday
- Estimated price
- €30–160
- Website
- vueling.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €23–160
- Website
- aireuropa.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- €35–180
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- €35–180
- Website
- ryanair.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 3h 20m
- When
- Saturday
- Estimated price
- €30–270
- 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 to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 52m
- Frequency
- Hourly
- Estimated price
- €30–80
- Website
- https://iryo.eu/en/home
- Inicial
- €30–80
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 55m
- Frequency
- Every 4 hours
- Estimated price
- €45–70
- Website
- https://www.renfe.com/es/en
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Barcelona-Sants to Madrid-Puerta De Atocha
- Ave. Duration
- 2h 55m
- Frequency
- 5 times a day
- Estimated price
- €21–30
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Barcelona, Estació d'Autobusos Nord to Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid)
- Ave. Duration
- 7h 35m
- Frequency
- Every 4 hours
- Estimated price
- €45–75
- Website
- https://www.alsa.com/en/web/bus/home
- Phone
- +33 18 57 62 228
- Website
- blablacar.co.uk
Bus from Barcelona, Estació d'Autobusos Nord to Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid)
- Ave. Duration
- 6h 55m
- Frequency
- Twice daily
- Estimated price
- €40–60
- Website
- https://www.blablacar.co.uk/
Rome2Rio's guide to BlaBlaCar.es
Contact Details
- Website
- blablacar.com
Rideshare from Barcelone to Madrid
- Ave. Duration
- 7h 17m
- Frequency
- Every 30 minutes
- Estimated price
- €27–29
- Book at
- blablacar.es
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
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
Is ride-sharing platform BlaBlaCar right for you?
Read the travel guide
More Questions & Answers
Barcelona to Madrid bus services, operated by Union Ivkoni - Unibus, arrive at Madrid Mendez Alvaro Estacion Sur station.
Barcelona to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta De Atocha station.
Yes, the driving distance between Barcelona to Madrid is 623 km. It takes approximately 6h 2m to drive from Barcelona to Madrid.
Book your Barcelona to Madrid train tickets online with Omio.
Book your Barcelona to Madrid bus tickets online with Omio and Distribusion.
There are 6374+ hotels available in Madrid. Prices start at €58 per night.
Check out Blablacar's carpooling service for rideshare options between Barcelona and Madrid. A great option if you don't have a driver's licence or want to avoid public transport.