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  •  2 h 30 min

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

$75 - $110

Cheapest option

Rideshare  •  7 h 17 min

  1. Take the rideshare from Barcelone to Madrid 386.5 miles

$32 - $34

4 alternative options

Bus  •  7 h 35 min

  1. Take the bus from Barcelona Sants Station to Madrid

$40 - $65

Bus via Madrid - Barajas Airport T4  •  8 h 19 min

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

$44 - $67

Drive  •  6 h 4 min

  1. Drive from Barcelona to Madrid 386.7 miles

$70 - $110

Fly  •  3 h 26 min

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

$39 - $160

Questions & Answers

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

More details

The quickest way to get from Barcelona to Madrid is to train which costs 65€ - 90€ and takes 2 h 30 min.

More details

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

Get driving directions

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

More details

Yes, there is a direct bus departing from Barcelona Sants Station station and arriving at Madrid. Services depart hourly, and operate every day. The journey takes approximately 7 h 35 min.

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 2 h 30 min.

More details

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

Spanish Railways AVE operates a train from Barcelona to Madrid hourly. Tickets cost $75 - $110 and the journey takes 2 h 30 min. Alternatively, ALSA operates a bus from Barcelona to Madrid hourly. Tickets cost $40 - $65 and the journey takes 7 h 35 min.

Airlines
Iberia
Website
iberia.com
Flights from Barcelona to Madrid
Ave. Duration
1 h 25 min
When
Every day
Estimated price
$55 - $260
Vueling Airlines
Website
vueling.com
Flights from Barcelona to Madrid
Ave. Duration
1 h 25 min
When
Every day
Estimated price
$55 - $260
Air Europa
Website
aireuropa.com
Flights from Barcelona to Madrid
Ave. Duration
1 h 26 min
When
Every day
Estimated price
$60 - $220
Ethiopian Airlines
Website
ethiopianairlines.com
Flights from Barcelona to Madrid
Ave. Duration
1 h 27 min
When
Every day
Estimated price
$85 - $270
Train operators
Spanish Railways AVE
Bus operators
ALSA
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Barcelona Sants Station to Madrid
Ave. Duration
7 h 35 min
Frequency
Hourly
Estimated price
$40 - $65
Website
alsa.com
Bus from Barcelona to Madrid - Barajas Airport T4
Ave. Duration
7 h 20 min
Frequency
3 times a day
Estimated price
$40 - $65
Website
alsa.com
Other operators
BlaBlaCar.es
Rome2rio's guide to BlaBlaCar.es
Contact Details
Website
blablacar.com
Rideshare from Barcelone to Madrid
Ave. Duration
7 h 17 min
Frequency
Every 30 minutes
Estimated price
$32 - $34
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.