How to travel from Barcelona to Madrid

Travel options
from Barcelona to Madrid

You can get from Barcelona to Madrid by train, bus or flight.

Our recommendation

To get from Barcelona to Madrid on Sep 27 we recommend taking a train because it’s the best combination of price and speed.

05:45PMBarcelona Sants2h30 08:15PMMadrid-Puerta de Atocha
0 transfers
08:38PMBarcelona Sants2h56 11:34PMMadrid-Puerta de Atocha
0 transfers
Other options
08:30PMBarcelona El Prat Airport1h30 10:00PMMadrid Barajas Airport
0 transfers
01:45PMBarcelona Sants2h45 04:30PMMadrid-Puerta de Atocha
0 transfers
10:40AMBarcelona Sants2h45 01:25PMMadrid-Puerta de Atocha
0 transfers

Find all the dates and times for this journey by train, bus, and flight, .

More than 1,000 travel companies trust us to sell their tickets all in one place.

Deutsche Bahn

Need a place to stay in Madrid?

view on map

Top pick hotels

Entire homes & apartments

Find the best accommodation for you, with our partner

View all

Compare prices and tickets Prices for trains, buses and flights

Sep 27
Sep 28
Sep 29
Sep 30
Oct 01
Oct 02
Oct 03
Oct 04
Oct 05
Oct 06
Oct 07
Oct 08
Oct 09
Oct 10
Oct 11
Oct 12
Oct 13
Oct 14
Oct 15
Oct 16
Oct 17

Travel Information to Madrid from Barcelona

distanceDistance312 miles (504 km)
modeAvailable travel modesBus, flight, ferry or train
priceTicket price range$36 - $157
cheapestCheapest modeBus • $36 (€34) • 7 h 20 min
fastestFastest modeFlight • $77 (€73) • 1 h 15 min
carriersPopular travel companiesAlsa, Vueling or Renfe AVE

Travel 312 miles (504 km) by bus, flight, ferry or train to Madrid from Barcelona. If speed is a priority, then a flight is the best option with an average duration of 1 h 15 min; whereas, if saving money is more important, then a bus is the best option with prices starting as low as $36 (€34). The most popular travel companies which serve this route are Alsa, Vueling or Renfe AVE among others. Travelers can even take a direct bus, flight or train from Barcelona to Madrid.

How to Travel from Barcelona to Madrid

The journey from Barcelona to Madrid is popular with both business and leisure travelers in Spain. Direct journeys between Barcelona and Madrid are available by plane, train, and bus. Key departure points include Barcelona Sants train station, Barcelona Nord Bus station, and Barcelona Prat airport.

Cheapest way to travel from Barcelona to Madrid

Taking the bus is the cheapest way to travel from Barcelona to Madrid. Alsa is the main bus company in Spain and operates all the buses from Barcelona to Madrid. Alsa buses take approximately 7:20 h to travel from Barcelona to Madrid and depart 16 times per day. Alsa's buses depart from Barcelona Nord bus station and arrive at Madrid's Intercambiador Avenida de America.

Fastest way to travel from Barcelona to Madrid

Flying is the fastest way to travel from Barcelona to Madrid and is 6 hours faster than taking the bus. Flights traveling from Barcelona to Madrid depart from Barcelona's El Prat airport and arrive at Madrid's Barajas airport. Airlines that travel directly from Barcelona to Madrid include Iberia, Air Europa, and Vueling. Another fast option to get from these cities is to take a high-speed AVE train, taking about 2 hours 30 minutes.

Most popular way to travel from Barcelona to Madrid

Taking the train is the most popular way to travel from Barcelona to Madrid. While the train is often more expensive than taking the bus or flying, the time saved avoiding traveling to and from the airport makes up for the additional cost for most travelers. Some of the train ticket cost can be offset by planning ahead and booking your Barcelona to Madrid travel as far ahead of time as possible. All trains traveling from Barcelona to Madrid are operated by Renfe, and depart from Barcelona Sants train station, and arrive at Madrid Puerta de Atocha. There is at least one departure every hour throughout the day, seven days a week. High-speed trains traveling from Barcelona to Madrid take approximately two and a half hours.

How to get from Barcelona to Madrid

The Best Way According to our Users

Whether it is for business or leisure, in order to travel from Barcelona to Madrid, 64,59% of our customers choose the train as their preferred mode of transportation. By traveling by train on this route, you can enjoy the comfort of spacious seats, spectacular views—and in some cases free Wi-Fi—in both second and first class. Our customers have decided that the train is the best way to get from Barcelona to Madrid and have chosen to enjoy this fast, safe and efficient way to arrive at their destination. Taking the train also avoids long lines or potential expenses for transfers to/from the station—especially since most main railway stations are located in the city center. Train companies in Europe vary from country to country, but most of them offer high-speed train routes, therefore when you add up at the end-to-end journey time, the train is often also the fastest way to get to your destination.

Search on Omio to find cheap tickets from Barcelona to Madrid. It’s easy to find the most attractive prices and choose your preferred route for your journey. Book on web or app, and travel with your mobile ticket —without the stress of printing your ticket.

Travel Tips: Travel from Barcelona to Madrid

Travel to Madrid easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Barcelona to Madrid.

You can travel between Barcelona and Madrid 4 different ways: bus, flight, ferry or train.

The cheapest way to go to Madrid from Barcelona is by taking a bus, which costs on average $36 (€34).

This is compared to other ways of getting to Madrid:

A bus is generally $41 (€38) less than a flight for the same trip. Taking a flight costs on average $77 (€73) from Barcelona to Madrid.

A bus is $120 (€113) less than a train for this route with tickets for a train from Barcelona to Madrid costing on average $157 (€148).

The fastest way from Barcelona to Madrid is by flight with an average journey time of 1 h 15 min.

There are alternative travel options to Madrid that can usually take longer:

In comparison, taking a bus requires on average 7 h 20 min   of travel time.

In comparison, taking a train requires on average 2 h 30 min   of travel time.

The distance from Barcelona to Madrid is approximately 312 miles (504 km).

The average frequency per day from Barcelona to Madrid is:

  • 1 bus a day.
  • 16 trains per day.

However, we recommend checking specific travel dates for your journey to Madrid from Barcelona as scheduled services by bus, flight, ferry or train can vary by season or day of the week.

These are the most popular departure and arrival points from Barcelona to Madrid:

  • Buses most often depart from Barcelona at Barcelona, Estació d'Autobusos Nord and arrive in Madrid at Madrid, Estación Sur/Gare routière Méndez Alvaro - 83.
  • Flights mostly leave from Barcelona El Prat Airport and tend to arrive in Madrid Barajas Airport.
  • Trains most often depart from Barcelona at Barcelona Sants and arrive in Madrid at Madrid-Puerta de Atocha.

If finding a good deal is your main consideration for your trip from Barcelona to Madrid, then we'll help you find the best value travel companies for you:

  • Travel with Alsa to go to Madrid by bus. For a good deal on tickets, you can find Alsa Barcelona to Madrid tickets on Omio for $36 (€34).
  • Vueling can get you to Madrid by plane. You can find a good deal for plane tickets with Vueling from Barcelona to Madrid for $77 (€73) on Omio.
  • Renfe AVE can take you to Madrid by train. If searching for a good deal on trains, you can find tickets for Renfe AVE from Barcelona to Madrid for $157 (€148).

Yes, there are direct services available from Barcelona to Madrid with the following travel companies:

  • You can take a direct bus with Alsa with 1 direct bus per day.
  • You'll find 16 direct trains per day with Renfe AVE, Renfe AVLO or Renfe Regional Expres.

Direct services tend to save you time and add more convenience in getting you to Madrid as you won't need to transfer at another stop in between, so it's worth paying attention to before booking your tickets to Madrid from Barcelona.

Looking to extend your trip from Barcelona to Madrid? Many Omio customers who go from Barcelona to Madrid usually extend their vacation to explore other popular destinations like Valencia, Sevilla or Málaga. If you're looking to explore Valencia, Sevilla or Málaga from Madrid, let Omio find you the best connections available at an affordable price.

When planning your trip from Barcelona to Madrid, it’s good to keep in mind what tickets to buy and their prices in the next 7 days:

  • Bus tickets are costing $36 (€34) one way on average.
  • Plane tickets are costing on average $77 (€73) one way.
  • Train tickets are costing on average $157 (€148) one way.

However, we recommend buying tickets from Barcelona to Madrid online a few months in advance to get the best deals and save money on your upcoming journey.

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

Hand With Phone