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

Barcelona to Madrid Train

the dotted world map
03/23/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 $35.92
Tomorrow $24.65
2 days $22.18
3 days $23.23

Barcelona to Madrid by train

The journey from Barcelona to Madrid by train is 313.67 mi and takes 2 hr 58 min. There are 56 connections per day, with the first departure at 5:40 AM and the last at 9:25 PM. It is possible to travel from Barcelona to Madrid by train for as little as $16.07 or as much as $188.23. The best price for this journey is $16.07.

Lowest Price $16.07
Journey Duration 2 hr 58 min
Connection per Day 56
Lowest Price $16.07
Highest Price $188.23
First Departure 5:40 AM
Last Departure 9:25 PM
Distance 313.67 mi
Departure Barcelona
Arrival Madrid
Carriers Renfe REGIONAL EXPRESS, Renfe Viajeros

Barcelona to Madrid Train Times

Departure date
Sunday, Mar 23, 2025

Compare prices and tickets from Barcelona to Madrid

Best time to book Barcelona to Madrid 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 $24.81 to $48.55 but may be subject to change. Our advice is to book as early as possible to potentially save up to 49% on your trip!

Best time to book cheap train tickets from Barcelona to Madrid

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

Find the best day to travel to Madrid by train

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

Barcelona to Madrid CO2 Emissions by Train

Ecology
Train
35.34kg
Bus
37.86kg
Flight
100.96kg
Car
80.77kg
What are the CO2 emissions from Barcelona to Madrid by train? The CO2 emissions from taking the train between Barcelona and Madrid are 35.34kg.
How much CO2 do I save by taking the train between Barcelona and Madrid? By taking the train between Barcelona and Madrid 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 Barcelona to Madrid?
A train ticket from Barcelona to Madrid is $62.19. 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 $16.07.
What's the cheapest train ticket from Barcelona to Madrid?
The cheapest ticket you can get from Barcelona to Madrid is $16.07. 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 Barcelona and Madrid by train?
Barcelona to Madrid is 313.67 mi.
How long does the train between Barcelona and Madrid take?
Barcelona to Madrid is on average 2 hr 58 min. However the fastest option will get you there in 2 hr 29 min.
Which companies operate from Barcelona to Madrid?
The train journey from Barcelona to Madrid is covered by 5 operator(s). On Virail you can find these carriers that provide services on this route: Renfe REGIONAL EXPRESS, Renfe Viajeros, Renfe AVE INT, AVE, AVLO and Iryo.
How many train connections per day go from Barcelona to Madrid?
Barcelona to Madrid has 56 connection(s) per day on average.
What time does the first train from Barcelona to Madrid leave?
The earliest train from Barcelona to Madrid departs at 5:40 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 Barcelona to Madrid depart?
The latest train from Barcelona to Madrid departs at 9:25 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 Barcelona to Madrid 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 $16.07 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 Barcelona to Madrid?
There are on average 56 direct connection(s) from Barcelona to go to Madrid.
What's the fastest journey time between Barcelona to Madrid by train?
The fastest journey time by train between Barcelona and Madrid is 2 hr 29 min.
Is there a direct train from Barcelona to Madrid?
Yes, there is a direct train between Barcelona and Madrid.
What are the CO2 emissions for Barcelona to Madrid by train?
The train journey from Barcelona to Madrid creates 35.34kg of CO2 emissions.

Go local from Barcelona

Trending routes

Weekend getaways from Barcelona

International routes from Barcelona and nearby areas

Other destinations from Barcelona

Main routes to Madrid

Related routes

Other popular routes