Rome2Rio uses cookies to help personalize content and show you personalised ads. By proceeding, you accept the use of cookies in accordance with our privacy policy. You may opt out of personalised ads at any time. OK

Need a hotel room in Madrid?

Book now

There are 5 ways to get from Barcelona to Madrid by train, bus, rideshare, 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.

Recommended option

Train  •  2h 30m

  1. Take the train from Barcelona-Sants to Estación de tren de Atocha Ave / ...

4 alternative options

Bus  •  8h 39m

  1. Take the bus from Estación de Autobuses Barcelona Nord to Aeropuerto Madrid Barajas T4. Bus largo recorrido Alsa / ...

Rideshare  •  7h 17m

  1. Take the rideshare from Barcelone to Madrid 618.5 km

Drive  •  6h 2m

  1. Drive from Barcelona to Madrid 623.2 km

Fly  •  3h 19m

  1. Fly from Barcelona (BCN) to Madrid (MAD) BCN - MAD

Barcelona to Madrid by train

259 Weekly Trains
2h 30m Average Duration
€21 Cheapest Price
See schedules

Questions & Answers

The cheapest way to get from Barcelona to Madrid is to rideshare which costs €27 - €29 and takes 7h 17m.

More details

The fastest way to get from Barcelona to Madrid is to train which takes 2h 30m and costs €21 - €80.

More details

No, there is no direct bus from Barcelona to Madrid. However, there are services departing from Estación de Autobuses Barcelona Nord and arriving at Cibeles via Aeropuerto Madrid Barajas T4. Bus media distancia. The journey, including transfers, takes approximately 8h 39m.

More details

Yes, there is a direct train departing from Barcelona-Sants and arriving at Estación de tren de Atocha. Services depart every 30 minutes, and operate every day. The journey takes approximately 2h 30m.

More details

The distance between Barcelona and Madrid is 606 km. The road distance is 623.2 km.

Get driving directions

The best way to get from Barcelona to Madrid without a car is to train which takes 2h 30m and costs €21 - €80.

More details

The train from Barcelona-Sants to Estación de tren de Atocha takes 2h 30m including transfers and departs every 30 minutes.

More details

Barcelona to Madrid bus services, operated by ALSA, depart from Estación de Autobuses Barcelona Nord station.

More details

Barcelona to Madrid train services, operated by Renfe AVE, depart from Barcelona-Sants station.

More details

The best way to get from Barcelona to Madrid is to train which takes 2h 30m and costs €21 - €80. Alternatively, you can bus, which costs €40 - €80 and takes 8h 39m, you could also fly, which costs €27 - €110 and takes 3h 19m.

Mode details

Map of how to get from Barcelona to Madrid.
Launch map view
  • Distance: 605.5 km
  • Duration: 2h 30m

What companies run services between Barcelona, Spain and Madrid, Spain?

Renfe AVE operates a train from Barcelona-Sants to Estación de tren 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 Estación de Autobuses Barcelona Nord to Aeropuerto Madrid Barajas T4. Bus largo recorrido every 4 hours. Tickets cost €45 - €75 and the journey takes 7h 35m. BlaBlaCar Bus also services this route 4 times a week.

Airlines
Vueling Airlines
Website
vueling.com
Flights from Barcelona to Madrid
Ave. Duration
1h 25m
When
Every day
Estimated price
€26 - €150
Iberia
Website
iberia.com
Flights from Barcelona to Madrid
Ave. Duration
1h 25m
When
Every day
Estimated price
€26 - €150
Air Europa
Website
aireuropa.com
Flights from Barcelona to Madrid
Ave. Duration
1h 26m
When
Every day
Estimated price
€35 - €190
Flights from Barcelona to Madrid via Palma Mallorca
Ave. Duration
3h 20m
When
Every day
Estimated price
€35 - €190
Ryanair
Website
ryanair.com
Flights from Barcelona to Madrid via Palma Mallorca
Ave. Duration
3h 15m
When
Sunday
Estimated price
€35 - €270
Train operators
iryo
Phone
+34 910 150 000
Email
atencion.cliente@iryo.eu
Website
iryo.eu
Train from Barcelona-Sants to Estación de tren de Atocha
Ave. Duration
2h 52m
Frequency
Every 2 hours
Estimated price
€30 - €80
Website
https://iryo.eu/en/home
Inicial
€30 - €80
Ouigo
Phone
+34 910 780 990
Train from Barcelona-Sants to Estación de tren de Atocha
Ave. Duration
2h 55m
Frequency
5 times a day
Estimated price
€21 - €30
Website
https://www.ouigo.com/es/en
Renfe Viajeros

Spain's excellent and extensive rail system connects cities across Spain and into neighbouring countries. Renfe's high-speed AVE trains can reach speeds of up to 350km/h, making travel between major cities very efficient. All medium- and long-distance trains require a seat reservation; ticket sales for these trains usually open 30-60 days before travel. Most Renfe trains have two classes: Turista (2nd class) and Preferente (1st class), although some AVE trains offer Turista Plus. There is free WiFi for Preferente passengers and for those with a +Renfe loyalty card.

Rome2Rio's guide to Renfe Viajeros
Contact Details
Phone
+34 91 232 03 20
Website
renfe.com
Train from Barcelona-Sants to Estación de tren de Atocha
Ave. Duration
3h 17m
Frequency
5 times a day
Estimated price
€45 - €65
Website
https://www.renfe.com/es/en
Bus operators
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. There are three types of tickets on offer (Frequent Traveller Pass, Share Pass and ALSA Pass), along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 910 207 007
Email
alsa@alsa.es
Website
alsa.es
Bus from Estación de Autobuses Barcelona Nord to Aeropuerto Madrid Barajas T4. Bus largo recorrido
Ave. Duration
7h 35m
Frequency
Every 4 hours
Estimated price
€45 - €75
Website
https://www.alsa.com/en/web/bus/home
BlaBlaCar Bus

As the bus subsidiary of French railway SNCF, Ouibus offers eco-friendly coaches serving 35 French cities and 10 European cities at affordable fares. Ouibus journeys are safe and comfortable, with the four-star coaches offering power outlets, restrooms and WiFi. All Ouibus stations are located close to town centres for easy access to public transport. Getting on one of the 130 daily journeys is easy - electronic travel documents include your ticket and a personalised mini-guide with handy information.

Contact Details
Phone
+33 1 71 53 01 80
Website
blablacar.fr
Bus from Estación de Autobuses Barcelona Nord to Aeropuerto Madrid Barajas T4. Bus largo recorrido
Ave. Duration
6h 30m
Frequency
4 times a week
Estimated price
€40 - €60
Website
https://www.blablacar.co.uk/
Other operators
BlaBlaCar.es
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.

More Questions & Answers

Barcelona to Madrid bus services, operated by ALSA, arrive at Aeropuerto Madrid Barajas T4. Bus largo recorrido station.

More details

Barcelona to Madrid train services, operated by Renfe AVE, arrive at Estación de tren de Atocha station.

More details

Yes, the driving distance between Barcelona to Madrid is 623 km. It takes approximately 6h 2m to drive from Barcelona to Madrid.

Get driving directions

Book your Barcelona to Madrid train tickets online with Omio.

Search and book

There are 5890+ hotels available in Madrid. Prices start at €45 per night.

More details

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.

Read Rome2Rio's guide to Blablacar

ticket