• Our partners include:

  • RailEurope
  • Deutsche Bahn
  • Trenitalia
  • SNCF
  • Flixbus
  • RENFE
  • Ouibus
  • BlaBlaCar
  • Booking.com
  • Skyscanner

There are 6 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 Madrid-Puerta De Atocha Ave

65€ - 90€

Cheapest option

Rideshare  •  7h 17m

  1. Take the rideshare from Barcelone to Madrid 386.5 miles

27€ - 29€

4 alternative options

Bus via Madrid - Barajas Airport T4  •  8h 2m

  1. Take the bus from Barcelona to Madrid - Barajas Airport T4

37€ - 57€

Bus  •  8h 40m

  1. Take the bus from Barcelona Nord to Madrid Est Sur 252

70€ - 100€

Drive  •  6h 3m

  1. Drive from Barcelona to Madrid 387.5 miles

60€ - 95€

Fly  •  3h 30m

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

33€ - 139€

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 quickest way to get from Barcelona to Madrid is to train which costs 65€ - 90€ and takes 2h 30m.

More details

Yes, there is a direct bus departing from Barcelona Nord and arriving at Madrid Est Sur. Services depart four times a week, and operate Monday, Wednesday, Friday and Saturday. The journey takes approximately 8h 40m.

More details

Yes, there is a direct train departing from Barcelona-Sants and arriving at Madrid-Puerta De Atocha. Services depart hourly, and operate every day. The journey takes approximately 2h 30m.

More details

The distance between Barcelona and Madrid is 505 km. The road distance is 620 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 65€ - 90€.

More details

The train from Barcelona-Sants to Madrid-Puerta De Atocha takes 2h 30m including transfers and departs hourly.

More details

Barcelona to Madrid bus services, operated by Eurolines FR, depart from 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 65€ - 90€. Alternatively, you can bus via Madrid - Barajas Airport T4, which costs 35€ - 60€ and takes 8h 2m, you could also fly, which costs 30€ - 140€ and takes 3h 30m.

Mode details

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

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

Renfe AVE operates a train from Barcelona to Madrid hourly. Tickets cost 65€ - 90€ and the journey takes 2h 30m. Alternatively, ALSA operates a bus from Barcelona to Madrid 3 times a day. Tickets cost 35€ - 55€ and the journey takes 7h 20m.

Airlines
Iberia
Website
iberia.com
Flights from Barcelona to Madrid
Ave. Duration
1h 25m
When
Every day
Estimated price
50€ - 230€
Vueling Airlines
Website
vueling.com
Flights from Barcelona to Madrid
Ave. Duration
1h 25m
When
Every day
Estimated price
50€ - 220€
Air Europa
Website
aireuropa.com
Flights from Barcelona to Madrid
Ave. Duration
1h 26m
When
Every day
Estimated price
50€ - 200€
Train operators
Renfe AVE
Rome2rio's guide to Renfe AVE
Contact Details
Website
renfe.com
Train from Barcelona-Sants to Madrid-Puerta De Atocha
Ave. Duration
2h 30m
Frequency
Hourly
Estimated price
65€ - 90€
Website
renfe.com
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 902 42 22 42
Website
alsa.es
Bus from Barcelona to Madrid - Barajas Airport T4
Ave. Duration
7h 20m
Frequency
3 times a day
Estimated price
35€ - 55€
Website
alsa.com
Eurolines FR
Phone
+ 33 1 41 86 24 21
Website
eurolines.fr
Bus from Barcelona Nord to Madrid Est Sur
Ave. Duration
8h 40m
Frequency
4 times a week
Estimated price
70€ - 100€
Website
Eurolines FR
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

The quickest flight from Barcelona Airport to Madrid Airport is the direct flight which takes 1h 20m.

Search flights

Barcelona to Madrid bus services, operated by Eurolines FR, arrive at Madrid Est Sur station.

More details

Barcelona to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta De Atocha station.

More details

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

Get driving directions

Air Europa, Vueling Airlines and Iberia offer flights from Barcelona Airport to Madrid Airport.

Search flights

Book your Barcelona to Madrid train tickets online with Rome2rio.

Search and book

Book your Barcelona to Madrid bus tickets online with Busbud.

Search and book

There are 2057+ 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

The best way to get from Barcelona to Barcelona Airport is to train which takes 24m and costs 1€ - 7€.

More details