How to get to Barcelona from Madrid

Wed 18 Nov
+ Add return
Travel by coach, train, flight with
iryo
Alsa
Iberia
AVE
SNCF OUIGO
1,000+ more
iryo
Alsa
Iberia
AVE
SNCF OUIGO
1,000+ more
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

Travel Information

Compare coach, train and flight for Madrid to Barcelona

Omio recommends booking the train as it is the most popular option from Madrid to Barcelona among Omio's users. If you are prioritising price, take the coach, with an average ticket price of £34 For those with little time, consider booking a train, which has an average total journey time of 3h 35m. If you are seeking to minimise your carbon footprint, the train is your best option, with estimated CO2 emissions of 0.2 - 0.5kg. Average ticket prices depend on the travel mode: a coach costs an average of £34, while a flight costs an average of £176.

Distance: 504 km

Compare train with

Most popular
Train
Coach
Flight
Driving

£56

Average Price

£34

Average Price

Cheapest

£176

Average Price

£90

Average Price

(fuel + tolls)

3h 35m

Average total duration

Fastest

3h 5m

Onboard

+

30m

Additional time*

9h 10m

Average total duration

8h 40m

Onboard

+

30m

Additional time*

4h 26m

Average total duration

2h 26m

Onboard

+

2h 0m

Additional time*

6h 22m

Average total duration

(door-to-door)

0.2 - 0.5kg

CO2 emissions

Lowest

0.5 - 1.3kg

CO2 emissions

1.5 - 3.0kg

CO2 emissions

-

CO2 emissions

AVE

Most popular train company

Alsa

Most popular bus company

Air Europa

Most popular airline

Your own car or car rental

Direct Options

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Compare ways to travel from Madrid to Barcelona

Compare the available ways to get from Madrid to Barcelona, with the key details around price, speed, convenience, and direct service.

The cheapest way to travel from Madrid to Barcelona is a coach with an average price of £34.

This is compared to other travel options from Madrid to Barcelona:

A coach is £22 less than a train for this route with tickets for a train from Madrid to Barcelona costing on average £56.

A coach is £143 less than a flight for this route with tickets for a flight from Madrid to Barcelona costing on average £176.

The fastest way to travel from Madrid to Barcelona is by train with an average journey time of 3h 35m.

Other travel options to Barcelona take longer:

Flight takes on average 4h 26m.

Coach takes on average 9h 10m.

It's helpful to compare your options as there are 3 ways to travel between Madrid and Barcelona including taking a coach, train and flight.
Take the train. On this route, it beats driving on both time and money.

The journey is about 3h 17m faster (3h 5m by train vs 6h 22m by car) and roughly £35 cheaper once you factor in fuel and tolls (£56 vs £90). You'll also arrive in the city centre rather than hunting for parking, and you can work, read, or watch the landscape go by instead of concentrating on the road.

Driving is still worth considering if you want to stop along the way or need a car once you arrive.

Travel options
from Madrid to Barcelona

How to get to Barcelona from Madrid by train, bus, flight or ferry.

Our recommendation

bus

The best way to travel from Madrid to Barcelona is by taking a coach because it’s the best combination of price and speed.

  • AlsaNormal
    0 changes

Cheapest

  • AlsaNormal
    0 changes

Fastest

  • IberiaIB403
    0 changes

Other options

  • SNCF OUIGO06415
    0 changes
  • SNCF OUIGO06471
    0 changes
  • SNCF OUIGO06541
    0 changes
  • AlsaNormal
    0 changes
  • AlsaNormal
    0 changes
  • AlsaNormal
    0 changes
  • Air EuropaUX6079 · UX6102
    1 change
  • Air EuropaUX6013 · UX6060
    1 change
  • Air EuropaUX6031 · UX6060
    1 change

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

Compare prices and tickets Prices for trains, coaches, flights and ferries

Compare coach, train and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.

Train
Coach
Flight

Best day trips from Barcelona by train

The most popular day trips by train from Barcelona are Girona, Sitges, Figueres, Tarragona and Lloret de Mar. Find out what you can do in these day trip destinations and how to book your train from Barcelona on Omio.

A view of Girona

Day trip from Barcelona to Girona by train

Why visit Girona for the day?

Girona is known for its colourful riverside houses, medieval lanes and rich Jewish heritage. Its compact old town, crowned by the cathedral, feels both historic and lively, with a strong Catalan food culture.

A view of Sitges

Day trip from Barcelona to Sitges by train

Why visit Sitges for the day?

Sitges is a coastal town in Catalonia known for its beaches, whitewashed streets and lively cultural scene. It mixes Mediterranean ease with modern art heritage, film festivals and a well-known inclusive nightlife.

A view of Figueres

Day trip from Barcelona to Figueres by train

Why visit Figueres for the day?

Figueres is best known as the birthplace of Salvador Dalí and for the striking Teatre-Museu Dalí. Beneath its surreal reputation, it feels like a lively Catalan market city with broad squares and a strong local character.

A view of Tarragona

Day trip from Barcelona to Tarragona by train

Why visit Tarragona for the day?

Tarragona is known for its Roman remains, especially the seaside amphitheatre and the legacy of ancient Tarraco. It also feels distinctly Mediterranean, with a historic centre, beaches and a strong Catalan identity.

A view of Lloret de Mar

Day trip from Barcelona to Lloret de Mar by train

Why visit Lloret de Mar for the day?

Lloret de Mar is a lively Costa Brava resort known for its beaches and nightlife. Behind the seafront buzz, its maritime heritage and gardens give the town a more varied character.

How to Travel from Madrid to Barcelona?

Travelling from Madrid to Barcelona can be done using train, bus and flight forms of transport. Barcelona is known for its beautiful beaches, festive parties and mouth-watering dishes. This city is filled with culture and history, making it one of the country’s most popular destinations. Barcelona is a great day trip from Madrid, due to it being a short train or flight away. However, longer stays are also recommended as this city has much to offer. Travelling to Barcelona from Madrid can be made using flights, trains and buses; all of these modes of transport can be used every day, as many routes are available.

What is the Cheapest Way To Get from Madrid to Barcelona?

The cheapest way to get from Madrid to Barcelona is by taking the bus or the train. If you choose to take the bus, you can be sure to get an affordable ticket. Buses take around 7 to 8h to reach Barcelona from Madrid. Bus tickets can range in price depending on the travel duration and time you travel. All buses from Madrid to Barcelona travel directly. An affordable bus company you can use is Alsa. If you want to take the train, your travel duration will be 2 to 3h. If you want to get a train ticket to this destination, you should take a slower train. All the trains from Madrid to Barcelona are direct. An affordable train company that you can use is Renfe. It is always advisable to book your travel tickets well in advance as prices increase closer to your departure date. If you can, try to be flexible with your dates, as some days of the week will be cheaper than others.

What is the Fastest Way to Travel from Madrid to Barcelona?

The fastest way to travel from Madrid to Barcelona is flying. Flight time from Madrid to Barcelona takes around 1h 20min. Some airlines that run a route to Barcelona from Madrid include Iberia, AirEuropa, and Vueling. There are no flights that include a stopover; all flights fly directly. It is always good to remember that you must arrive at the airport at least 90min before your flight is due to depart when choosing to fly. It would be best if you arrived this early so that you could check-in and get through customs without having to rush through the airport. Flights from Madrid to Barcelona depart around 15 times a day, with flights in the morning, afternoon, and evening. Your departure airport in Madrid is Madrid Barajas Airport (MAD), and your arrival airport in Barcelona will be Barcelona El Prat Airport (BCN).

Tourists at El Retiro park in Madrid. Source: Shutterstock

Find the best tickets from Madrid to Barcelona and book withOmio

Choosing to find your ticket withOmio means you are guaranteed to find the best prices and have the most user-friendly experience.Omio allows you to compare multiple types of transport options to find what is best for you. Whether you want to look at flights by departure time or buses by lowest price,Omio can sort this for you at the click of a button.Omio also has many languages available to pick your tickets in your language. Customer service is also available in a multitude of languages. Don’t have a printer? Don’t worry about it,Omio offers mobile tickets for your convenience. If you want to learn some useful tips on travelling, check outOmio’s magazine Window Seat.

Trains from Madrid to Barcelona

Taking the train from Madrid to Barcelona is a convenient way to travel as it is fast and affordable. Renfe is the only train company that offers train travel to Barcelona to Madrid. There are many daily connections to choose from. The earliest train departs from Madrid-Puerta de Atocha train station at approximately 6:30 a.m. and arrives in Barcelona at around 9:20 a.m. into Barcelona Sants train station. The last train departs from Madrid-Puerta de Atocha train station at around 8:00 p.m. and arrives in Barcelona at 10:30 p.m. at Barcelona Sants train station. The train is a very affordable and quick method of travel, making it convenient for everyone. All trains travel directly to Barcelona from Madrid

Train travel from Madrid to Barcelona with Renfe

Renfe has many daily trains from Madrid to Barcelona. On average, there are around 20 trains each day to choose from. Your departure station in Madrid will always be Madrid-Puerta de Atocha train station, and your arrival train station in Barcelona will always be Barcelona Sants train station. Some of the services and facilities you can enjoy Renfe trains are food and drink options, first-class seats, seats with plug points, and luggage storage areas.

Night trains train travel from Madrid to Barcelona with Renfe

There are currently no night trains that you can take to Barcelona from Madrid.

Buses from Madrid to Barcelona

Taking the bus is a super affordable way to travel from Madrid to Barcelona. Alsa is the only bus company that operates routes from Madrid to Barcelona. There are multiple buses each day between these destinations. The earliest bus to Barcelona from Madrid departs at around 12:14 a.m. from Madrid Aeropuerto Barajas T4 and arrives in Barcelona at around 7:49 a.m. at Barcelona Estación de Autobuses de Sants. The last bus departs from Madrid Interc. Av América at around 11:59 p.m. and arrives in Barcelona at around 8:04 a.m. at Barcelona Estació d'Autobusos Nord. Bus stations you may depart from in Madrid include Madrid Estación Sur/Gare routière Méndez Alvaro – 83, Madrid Interc. Av América, Madrid Aeropuerto Barajas T4, and Madrid Interc. Plaza Castilla. Bus stations you may arrive at in Barcelona include Estació d'Autobusos Nord, Aeropuerto Josep Tarradellas-El Prat, and Estación de Autobuses de Sants. All buses travel directly to Barcelona from Madrid.

Traveling by bus from Madrid to Barcelona with Alsa

Choosing to travel on an Alsa means that you can enjoy affordable and comfortable service. Some of the great services and amenities they offer onboard include seats with extra legroom, air conditioning, a bathroom, plug points at every seat, and disability assistance. Multiple Alsa buses depart throughout the day.

Flights from Madrid to Barcelona

Taking a flight to Barcelona from Madrid means that you will get to Barcelona very quickly. The average flight time is around 1h 20min. Airlines that travel from Madrid to Barcelona include Iberia, AirEuropa, and Vueling. Flights from Madrid to Barcelona depart around 15 times a day, with flights in the morning, afternoon, and evening. Your departure airport in Madrid is Madrid Barajas Airport (MAD), and your arrival airport in Barcelona will be Barcelona El Prat Airport (BCN). Most of the flights are direct; only a couple of flights require a stopover.

Flying from Madrid to Barcelona with Iberia

Iberia operates the most flights to Barcelona from Madrid. On average, they have around ten flights a day. Their earliest flight departs at around 7:00 a.m. from Madrid Barajas Airport (MAD) and arrives in Barcelona at around 8:20 a.m. at Barcelona El Prat Airport (BCN). The last flight departs from Madrid Barajas Airport (MAD) at around 9:00 p.m. and arrives in Barcelona at 10:20 p.m. at Barcelona El Prat Airport (BCN).

Montserrat Monastery in Barcelona. Source: Shutterstock

To Barcelona by train/ bus/ flight—travel tips

Barcelona is a fabulous city for a holiday. If you want to see some historical tourism, one of the cities most popular attractions is seeing the beautiful architecture of Sagrada Família. This building is one of the most famous church buildings, mainly known for its bazaar architecture, designed by Antoni Gaudí. While in Barcelona, you can’t miss out on a sunny day at the beach. Some of the best beaches in the city include Sant Sebastià and Barceloneta. Another great day out is going to the market. La Boqueria has been around since Medieval times and is highly popular, especially if you want to get some local food.

  • Watch a game at Camp Nou stadium
  • Learn some historical knowledge at Barcelona City History Museum
  • Find your muse from Fundació Joan Miró
  • Watch a Spanish opera at Palau de la Música Catalana
  • Enjoy a full palate of seafood at some of Barcelona’s best restaurants

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

Trenitalia
Easyjet
Deutsche Bahn
SNCF

FAQs: Madrid to Barcelona

Travel to Barcelona 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 Madrid to Barcelona.

FAQs
There are 3 options to travel between Madrid and Barcelona including taking a coach, train and flight.
The cheapest way to travel from Madrid to Barcelona is a coach with an average price of £34.

This is compared to other travel options from Madrid to Barcelona:

A coach is £22 less than a train for this route with tickets for a train from Madrid to Barcelona costing on average £56.

A coach is £143 less than a flight for this route with tickets for a flight from Madrid to Barcelona costing on average £176.

The fastest way to travel from Madrid to Barcelona is by train with an average journey time of 3h 35m.

Other travel options to Barcelona take longer:

Flight takes on average 4h 26m.

Coach takes on average 9h 10m.

The Madrid to Barcelona distance is approximately 504 km.
The average frequency per day from Madrid to Barcelona is:
  • Around 45 coaches per day.
  • Around 44 flights per day.
  • Around 40 trains per day.

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

These are the most popular departure and arrival points from Madrid to Barcelona:
  • Flights mostly depart from Madrid Barajas Airport and arrive in Barcelona El Prat Airport.
  • Trains mostly depart from Madrid-Puerta de Atocha-Almudena Grandes and arrive in Barcelona Sants.
  • Coaches mostly depart from Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid) and arrive in Barcelona, Estación de Autobuses de Sants.
If finding a good deal is your main consideration for your trip from Madrid to Barcelona, then we'll help you find the best value travel companies for you:
  • Travel with Alsa, FlixBus to go to Barcelona by coach.
  • Travel with Air Europa, Iberia, Royal Air Maroc, CitizenPlane, Lufthansa, Brussels Airlines, Lufthansa City Airlines, ITA, Vueling, British Airways, Helvetic Airways, Swiss, Iberia Express, Air Baltic, BA Cityflyer, Edelweiss Air, Alba Star, Air Algerie to go to Barcelona by flight.
  • Travel with AVE, iryo, SNCF OUIGO, Renfe AVLO to go to Barcelona by train.
Yes, there are direct services available from Madrid to Barcelona with the following travel companies:
  • 42 direct coaches per day with Alsa.
  • 13 direct flights per day with Air Europa, Iberia, CitizenPlane, Vueling, Iberia Express.
  • 40 direct trains per day with AVE, iryo, SNCF OUIGO, Renfe AVLO.
Omio customers who travel from Madrid to Barcelona often also extend their vacation to go to Paris, Valencia, Seville, Zaragoza, Rome. Omio can help you plan your trip by finding the best connections between Barcelona and these popular destinations at a great price.
To get from Madrid to Barcelona, you can choose from several travel options including coach, train and flight.
In Barcelona, you can explore Camp Nou, the home stadium of FC Barcelona, with its fascinating tours and museum. Enjoy stunning views from Montjuïc, where you can visit the Magic Fountain and Montjuïc Castle. Relax at Barceloneta Beach, perfect for sunbathing and seaside dining. Discover the vibrant El Raval neighbourhood, known for its cultural diversity, street art, and nightlife. For family fun and panoramic vistas, head to Tibidabo Amusement Park. Don't miss iconic sights like the Sagrada Família, Park Güell, La Rambla, the Gothic Quarter, and Casa Batlló, all showcasing the city's rich history and Gaudí's architectural genius.
Three to four days in Barcelona are ideal to explore its iconic attractions, such as the Sagrada Família, Park Güell, and the Gothic Quarter, while also enjoying the city's vibrant culture and cuisine.
HomeTravelTravel to SpainTravel to BarcelonaHow to get to Barcelona from Madrid

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.

ios-badge
android-badge
Hand With Phone