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 May 24 we recommend taking a flight because it’s the best combination of price and speed.

08:30PMBarcelona El Prat Airport1h30 10:00PMMadrid Barajas Airport
0 transfers
10:30AMBarcelona, Estació d'Autobusos Nord7h40 06:10PMMadrid, Aeropuerto Barajas T4
0 transfers
Other options
08:30PMBarcelona El Prat Airport1h25 09:55PMMadrid Barajas Airport
0 transfers
09:05PMBarcelona El Prat Airport1h25 10:30PMMadrid Barajas Airport
0 transfers
04:25PMBarcelona El Prat Airport1h25 05:50PMMadrid Barajas Airport
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

View more

Entire homes & apartments

View more

Find the best accommodation for you, with our partner

View all

Compare prices and tickets Prices for trains, buses and flights

May 24
May 25
May 26
May 27
May 28
May 29
May 30
May 31
Jun 01
Jun 02
Jun 03
Jun 04
Jun 05
Jun 06
Jun 07
Jun 08
Jun 09
Jun 10
Jun 11
Jun 12
Jun 13

Travel Information between Barcelona and Madrid

distanceDistance312 miles (504 km)
modeAvailable travel modesCoach, flight or train
priceTicket price range€9 - €40
cheapestCheapest modeCoach • €9 • 7 h 20 min
fastestFastest modeFlight • €40 • 1 h 20 min
carriersPopular travel companiesAlsa, Vueling or Renfe AVE

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

How to Travel from Barcelona to Madrid

It is possible to make a direct journey between the two cities by plane train or bus. Journey times are between 3.5 and 9 hours approximately. Travelling by train is the quickest route, as although actual flight times are short, journey times to and from airports and security checks add to the time taken when flying. The slowest journey time between the two cities is by bus.

Barcelona to Madrid Travel Comparison

Average Price

Travel Time

Cheapest Time to Book


7:50 h

1 Week Before


2:30 h

2 Months Before


1:25 h

2 Months Before

What is the best way to travel from Barcelona to Madrid?

Cheapest way to travel from Barcelona to Madrid

Buses are definitely the cheapest option for travel from Barcelona to Madrid, however, it’s also the slowest by some distance. ALSA operates a route from Barcelona which takes around 7.5 hours to reach Madrid. Buses leave from Barcelona Nord Coach Station, arriving at Madrid Intercambiador Avenida de America. There are around 16 departures a day, seven days a week.

Fastest way to travel from Barcelona to Madrid

The Spanish provider RENFE operates its high-speed AVE route between the two cities, leaving from Barcelona Sants Train Station and arriving at Madrid Puerta de Atocha. There is at least one departure an hour throughout the day, seven days a week. The journey time is approximately 3 hours. There are also two slower early morning trains which take around 9 hours. When Check-In and Journeys to and from the airport are included, the train proves the quickest option between the two cities.

Most popular way to travel from Barcelona to Madrid

The total flight time between Barcelona Prat Airport and Madrid Barajas Airport is around 1 hour 15 mins, with three airlines offering a direct service, seven days a week. Iberia has 7 departures a day, Vueling and Air Europa have 3 departures each. The frequency of departures and low cost of the flights mean that they remain a popular choice.

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.

There are 3 travel options from Barcelona to Madrid: coach, flight or train.

A coach service offers the cheapest way to travel from Barcelona to Madrid, which costs on average €9.

This is compared to other ways of getting to Madrid:

A coach is €31 less than a flight for this route with tickets for a flight from Barcelona to Madrid costing on average €40.

A coach journey is usually €25 less than a journey to Madrid by train, which costs on average €34 for the same trip.

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

Other travel options from Barcelona to Madrid can usually take longer:

In comparison, taking a coach 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.

You should expect to travel around 312 miles (504 km) from Barcelona to Madrid.

The average frequency per day from Barcelona to Madrid is:

  • Around 8 trains per day.

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

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

  • Most travellers board their coach from Barcelona, Estació d'Autobusos Nord and arrive in Madrid, Estación Sur/Gare routière Méndez Alvaro - 83.
  • Most travellers catch their flight from Barcelona El Prat Airport and arrive in Madrid Barajas Airport.
  • Most travellers catch their train from Barcelona Sants and arrive in Madrid-Puerta de Atocha.

Omio works with many trusted partners that can help you travel the best way from Barcelona to Madrid:

  • You can go to Madrid from Barcelona by coach with Alsa. You'll see cheap coach tickets for €9 with Alsa from Barcelona to Madrid on Omio.
  • You can travel from Barcelona to Madrid by flight with Vueling. You can find cheap tickets on Omio for €40 with Vueling from Barcelona to Madrid.
  • You can take a train from Barcelona to Madrid with Renfe AVE. Cheap tickets can be found for €34 with Renfe AVE from Barcelona to Madrid.

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

  • You'll find direct coach services to Madrid with Alsa with around direct coaches every day.
  • You can check for a direct flight to Madrid with Vueling, Air Europa or Iberia with direct flights per day.
  • You'll find direct train services to Madrid with Renfe AVE or Renfe Regional Expres with around 8 direct trains every day.

As you won't need to change at another stop in between, direct services to Madrid tend to save you time and add more convenience, so it's worth paying attention to before you buy tickets for this journey.

Many of our customers who book a trip from Barcelona to Madrid often extend their holiday and travel to other popular destinations like Valencia, Sevilla or Málaga. If you’re thinking of adding another destination to your Barcelona and Madrid itinerary, let Omio find you the best connections between Madrid and any of these top destinations today!

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

  • Coach tickets cost €9 one way on average.
  • Plane tickets are costing €40 one way on average.
  • Train tickets cost on average €34 one way.

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

Popular countries

Explore the area by ferries

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

Useful links