All Great Journeys Start With A Map 🌎 Try DOTS for free

Madrid to Barcelona Train

the dotted world map
11/07/2025
+ Add return
Stay with Booking.com

Download our App for free

Find the cheapest ticket for your trip

Secure your ticket today and get the best deals!

Today $49.28
Tomorrow $83.43
2 days $104.47
3 days $40.81

Madrid to Barcelona by train

The journey from Madrid to Barcelona by train is 504.81 km and takes 3 hrs 29 mins. There are 55 connections per day, with the first departure at 6:15 am and the last at 9:07 pm. It is possible to travel from Madrid to Barcelona by train for as little as $13.48 or as much as $245.60. The best price for this journey is $13.48.

Lowest Price $13.48
Journey Duration 3 hrs 29 mins
Connection per Day 55
Lowest Price $13.48
Highest Price $245.60
First Departure 6:15 am
Last Departure 9:07 pm
Distance 504.81 km
Departure Madrid
Arrival Barcelona
Carriers Renfe AVE INT, Renfe Viajeros

Madrid to Barcelona Train Times

Departure date
Friday, 11 Jul 2025

Compare prices and tickets from Madrid to Barcelona

Best time to book Madrid to Barcelona travel

Virail Pro Tip ✌: Booking 10 days in advance save 10% on average

Price as departure date approaches

Train companies may charge higher ticket prices as the date of departure approaches. Prices in the next days can range from around $29.28 to $76.99 but may be subject to change. Our advice is to book as early as possible to potentially save up to 62% on your trip!

Best time to book cheap train tickets from Madrid to Barcelona

The cheapest Madrid - Barcelona train tickets can be found for as low as $37.54 if you’re lucky, or $43.80 on average. The most expensive ticket can cost as much as $50.70.

Find the best day to travel to Barcelona by train

When travelling to Barcelona by train, if you want to avoid crowds you can check how frequently our customers are travelling in the next 30-days using the graph below. On average, the peak hours to travel are between 6:30am and 9am in the morning, or between 4pm and 7pm in the evening. Please keep this in mind when travelling to your point of departure as you may need some extra time to arrive, particularly in big cities!

Services on board Iryo, AVE and AVLO from Madrid to Barcelona
Compare services on board when travelling from Madrid to Barcelona by train.
Facilities Iryo AVE AVLO
wifi WiFi check check check
power_sockets Power sockets check check check
luggage Luggage check check check
quiet_zone Quiet zone cross check check
accessibility Accessibility cross check check
food_and_drink Food and drink cross check check
air_con Air conditioning cross check check
bicycle Bicycle cross check check

Madrid to Barcelona CO2 Emissions by Train

Ecology
Train
35.34kg
Bus
37.86kg
Flight
100.96kg
Car
80.77kg
What are the CO2 emissions from Madrid to Barcelona by train? The CO2 emissions from taking the train between Madrid and Barcelona are 35.34kg.
How much CO2 do I save by taking the train between Madrid and Barcelona? By taking the train between Madrid and Barcelona you will save 65.62kg CO2 emissions compared to a flight, 2.52kg compared to a bus and 45.43kg compared to a car.

Anything we can improve?

Frequently Asked Questions

How much is a train ticket from Madrid to Barcelona?
A train ticket from Madrid to Barcelona is $81.10. However the price varies depending on how early you buy, and if it's peak time to travel. Occasionally you can find them for as cheap as $13.48.
What's the cheapest train ticket from Madrid to Barcelona?
The cheapest ticket you can get from Madrid to Barcelona is $13.48. We recommend booking as early as possible and off-peak hours to get the cheapest ticket possible. Off-peak times are usually from 09:30 to 16:00, and after 19:00.
What's the distance between Madrid and Barcelona by train?
Madrid to Barcelona is 504.81 km.
How long does the train between Madrid and Barcelona take?
Madrid to Barcelona is on average 3 hrs 29 mins. However the fastest option will get you there in 2 hrs 30 mins.
Which companies operate from Madrid to Barcelona?
The train journey from Madrid to Barcelona is covered by 5 operator(s). On Virail you can find these carriers that provide services on this route: Renfe AVE INT, Renfe Viajeros, Iryo, AVE, Ouigo Spain and AVLO.
How many train connections per day go from Madrid to Barcelona?
Madrid to Barcelona has 55 connection(s) per day on average.
What time does the first train from Madrid to Barcelona leave?
The earliest train from Madrid to Barcelona departs at 6:15 am. However be sure to check with us the schedule on the day you want to leave as the time may differ.
What time does the last train from Madrid to Barcelona depart?
The latest train from Madrid to Barcelona departs at 9:07 pm. However be sure to check with us the schedule on the day you want to leave as the time may differ.
Should I book my ticket from Madrid to Barcelona in advance?
If you can, we recommend booking your ticket as early as possible to ensure you get better savings. The cheapest train ticket we have found is $13.48 but this may be subject to change depending on the day of travel, hour you wish to depart and how far in advance you book.
How many direct connections depart from Madrid to Barcelona?
There are on average 49 direct connection(s) from Madrid to go to Barcelona.
What's the fastest journey time between Madrid to Barcelona by train?
The fastest journey time by train between Madrid and Barcelona is 2 hrs 30 mins.
Is there a direct train from Madrid to Barcelona?
Yes, there is a direct train between Madrid and Barcelona.
What are the CO2 emissions for Madrid to Barcelona by train?
The train journey from Madrid to Barcelona creates 35.34kg of CO2 emissions.

Go local from Madrid

Trending routes

Weekend getaways from Madrid

International routes from Madrid and nearby areas

Other destinations from Madrid

Main routes to Barcelona

Related routes

Other popular routes