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 Barcelona?

Book now

There are 4 ways to get from Madrid to Barcelona by train, 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 Estación de tren de Atocha to Barcelona-Sants Ave / ...

3 alternative options

Rideshare  •  7h 13m

  1. Take the rideshare from Madrid to Barcelone 615.3 km

Drive  •  5h 58m

  1. Drive from Madrid to Barcelona 620.1 km

Fly  •  3h 28m

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

Questions & Answers

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

More details

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

More details

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

More details

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

Get driving directions

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

More details

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

More details

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

More details

The best way to get from Madrid to Barcelona is to train which takes 2h 30m and costs €21 - €80. Alternatively, you can fly, which costs €25 - €110 and takes 3h 28m.

Mode details

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

Search flights

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

More details

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

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

Renfe AVE operates a train from Estación de tren de Atocha to Barcelona-Sants hourly. Tickets cost €50 - €75 and the journey takes 2h 30m. Three other operators also service this route. Alternatively, Vueling Airlines, Iberia and Air Europa fly from Madrid to Barcelona hourly.

Airlines
Vueling Airlines
Website
vueling.com
Flights from Madrid to Barcelona
Ave. Duration
1h 17m
When
Every day
Estimated price
€30 - €160
Iberia
Website
iberia.com
Flights from Madrid to Barcelona
Ave. Duration
1h 17m
When
Every day
Estimated price
€30 - €160
Air Europa
Website
aireuropa.com
Flights from Madrid to Barcelona
Ave. Duration
1h 25m
When
Every day
Estimated price
€35 - €260
Train operators
iryo
Phone
+34 910 150 000
Email
atencion.cliente@iryo.eu
Website
iryo.eu
Train from Estación de tren de Atocha to Barcelona-Sants
Ave. Duration
2h 52m
Frequency
Hourly
Estimated price
€30 - €80
Website
https://iryo.eu/en/home
Inicial
€30 - €80
Ouigo
Phone
+34 910 780 990
Train from Estación de tren de Atocha to Barcelona-Sants
Ave. Duration
2h 55m
Frequency
5 times a day
Estimated price
€21 - €30
Website
https://www.ouigo.com/es/en
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

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

Get driving directions

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

Search flights

Book your Madrid to Barcelona train tickets online with Omio.

Search and book

There are 4332+ hotels available in Barcelona. Prices start at €41 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

The best way to get from Madrid to Madrid Airport is to train which takes 27 min and costs €2 - €3.

More details