COVID-19 Travel restrictions may apply in Spain. Learn More.

There are 5 ways to get from Madrid to Barcelona 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 50m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave

60€ - 120€

Cheapest option

Rideshare  •  7h 13m

  1. Take the rideshare from Madrid to Barcelone 616.4 km

30€

3 alternative options

Bus  •  8h 5m

  1. Take the bus from Madrid to Barcelona

45€ - 65€

Drive  •  5h 59m

  1. Drive from Madrid to Barcelona 616.7 km

65€ - 100€

Fly  •  3h 36m

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

36€ - 239€

Coronavirus (COVID-19) in Spain

There is widespread community transmission globally.
Some travel restrictions are being lifted in Spain. For the latest travel status, please check the official page for Spain.

For travel planning advice, please refer to our Rome2rio Coronavirus information page .
For the latest travel status, we recommend checking the official page for Spain.

Coronavirus (COVID-19) Travel Advice

Some international borders began to reopen in Spain from June 15.

Official Coronavirus (COVID-19) Information for Spain

Some domestic travel restrictions began to ease in Spain from May 9.

Official Coronavirus (COVID-19) Information for Spain

International flights leaving Spain are suspended as part of the response to Coronavirus (COVID-19). Restrictions may also be in place for other modes of transport.

Official Coronavirus (COVID-19) Information for Spain

Last updated: August 7 | Data sourced from: ACAPS, OXFORD

Questions & Answers

The cheapest way to get from Madrid to Barcelona is to rideshare which costs 30€ and takes 7h 13m.

More details

The quickest way to get from Madrid to Barcelona is to train which costs 60€ - 120€ and takes 2h 50m.

More details

Yes, there is a direct bus departing from Madrid and arriving at Barcelona. Services depart every two hours, and operate every day. The journey takes approximately 8h 5m.

More details

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

More details

The distance between Madrid and Barcelona is 505 km. The road distance is 616.7 km.

Get driving directions

The best way to get from Madrid to Barcelona without a car is to train which takes 2h 50m and costs 60€ - 120€.

More details

The train from Madrid-Puerta De Atocha to Barcelona-Sants takes 2h 50m including transfers and departs every two hours.

More details

Madrid to Barcelona bus services, operated by ALSA, depart from Madrid station.

More details

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

More details

The best way to get from Madrid to Barcelona is to train which takes 2h 50m and costs 60€ - 120€. Alternatively, you can bus, which costs 45€ - 65€ and takes 8h 5m, you could also fly, which costs 35€ - 240€ and takes 3h 36m.

Mode details

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

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

Renfe AVE operates a train from Madrid-Puerta De Atocha to Barcelona-Sants every 2 hours. Tickets cost 60€ - 120€ and the journey takes 2h 50m. Alternatively, ALSA operates a bus from Madrid to Barcelona every 2 hours. Tickets cost 45€ - 65€ and the journey takes 8h 5m.

Airlines
Iberia
Website
iberia.com
Flights from Madrid to Barcelona
Ave. Duration
1h 20m
When
Every day
Estimated price
45€ - 250€
Flights from Madrid to Barcelona via Mahon
Ave. Duration
3h 15m
When
Sunday
Estimated price
50€ - 240€
Flights from Madrid to Barcelona via Ibiza
Ave. Duration
3h 25m
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
50€ - 240€
Vueling Airlines
Website
vueling.com
Flights from Madrid to Barcelona
Ave. Duration
1h 20m
When
Every day
Estimated price
45€ - 250€
Flights from Madrid to Barcelona via Mahon
Ave. Duration
3h 15m
When
Sunday
Estimated price
50€ - 240€
Flights from Madrid to Barcelona via Ibiza
Ave. Duration
3h 25m
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
50€ - 240€
Air Europa
Website
aireuropa.com
Flights from Madrid to Barcelona
Ave. Duration
1h 25m
When
Every day
Estimated price
40€ - 360€
Flights from Madrid to Barcelona via Palma Mallorca
Ave. Duration
3h 5m
When
Every day
Estimated price
40€ - 360€
Train operators
Renfe AVE
Rome2rio's guide to Renfe AVE
Contact Details
Website
renfe.com
Train from Madrid-Puerta De Atocha to Barcelona-Sants
Ave. Duration
2h 50m
Frequency
Every 2 hours
Estimated price
60€ - 120€
Website
Renfe AVE
Promo
60€ - 85€
Promo+
70€ - 75€
Flexible
90€ - 120€
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 Madrid to Barcelona
Ave. Duration
8h 5m
Frequency
Every 2 hours
Estimated price
45€ - 65€
Website
alsa.com
Other operators
BlaBlaCar.es
Rome2rio's guide to BlaBlaCar.es
Contact Details
Website
blablacar.com
Rideshare from Madrid to Barcelone
Ave. Duration
7h 13m
Frequency
Hourly
Estimated price
30€
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 Madrid Airport to Barcelona Airport is the direct flight which takes 1h 20m.

Search flights

Madrid to Barcelona bus services, operated by ALSA, arrive at Barcelona station.

More details

Madrid to Barcelona train services, operated by Renfe AVE, arrive at Barcelona-Sants station.

More details

Yes, the driving distance between Madrid to Barcelona is 617 km. It takes approximately 5h 59m to drive from Madrid to Barcelona.

Get driving directions

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

Search flights

Book your Madrid to Barcelona train tickets online with Omio.

Search and book

Book your Madrid to Barcelona bus tickets online with Omio and Busbud.

Search and book

There are 2772+ hotels available in Barcelona. Prices start at 87€ per night.

More details

Check out Blablacar's carpooling service for rideshare options between Madrid and Barcelona. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar