Trains from Madrid to Barcelona

  • Lowest price from ≈ MYR 211.52 €45.00
  • Average duration 3h 16m
  • Connections per day 80
  • Distance 504 km
  • CO₂ per person 7 kg

train from Madrid to Barcelona

The journey from Madrid to Barcelona is about 504 km. On average a train trip takes 3h 16m with 80 connections per day.

Lowest price ≈ MYR 211.52 €45.00
Trip duration 3h 16m
Connections per day 80
Lowest price ≈ MYR 211.52 €45.00
Highest price ≈ MYR 651.49 €138.60
First departure 06:16 AM
Last departure 09:07 PM
Distance 504 km
Departure Madrid
Arrival Barcelona
Travel operator Renfe AVE INT, Renfe AVE
Find the best price

Price by days before departure

Rail companies may charge higher ticket prices closer to the departure date. Prices in the coming days can range from about 126.44 to 258.10 but are subject to change.

MYR 284MYR 190MYR 95MYR 0 30d 0d

When to book from Madrid to Barcelona

These tips come from historical prices — how the average fare changes with how far ahead you book and the month you travel.

What historical fares show

Short takeaways based on median fares from Virail searches on this route — useful for seasonality and longer-run trends.

According to Virail’s historical fare data, September is typically the cheapest month to travel from Madrid to Barcelona by train, with medians around MYR 125.41 versus about MYR 169.36 in April (roughly a 35% swing).

Based on historical fares for Madrid–Barcelona, booking about 20 days ahead often costs around MYR 126.44, versus about MYR 258.10 closer to departure (up to 51% less).

Book in advance

Save 51%

Booking around 20 days ahead brings the price down to MYR 126.44, versus MYR 258.10 at the last minute.

Cheapest month

Up to 35%

The cheapest time to travel is September (MYR 125.41); the most expensive is April (MYR 169.36).

Best month to book

Compare average prices by month and book when it suits you.

SepOctNovDecJanFebMarAprMayJunJulAug

Next departures from Madrid to Barcelona

Sample times and fares for the coming days — book to confirm availability and price.

Iryo ≈ MYR 198.03 €42.13
06:22 Madrid-Atocha
2h 37m · direct
08:59 BARCELONA SANTS
≈ MYR 183.32 €39.00
06:27 Madrid-Atocha
2h 58m · direct
09:25 BARCELONA SANTS
AVLO ≈ MYR 211.52 €45.00
06:27 Madrid-Atocha
2h 58m · direct
09:25 BARCELONA SANTS
≈ MYR 331.39 €70.50
06:43 Madrid Chamartin
7h 19m · 1 changes
14:46 BARCELONA SANTS
≈ MYR 211.52 €45.00
07:02 Madrid-Atocha
2h 52m · direct
09:54 BARCELONA SANTS
Iryo ≈ MYR 235.07 €50.01
07:22 Madrid-Atocha
2h 37m · direct
09:59 BARCELONA SANTS
≈ MYR 272.16 €57.90
07:27 Madrid-Atocha
3h 19m · direct
10:46 BARCELONA SANTS
AVE ≈ MYR 326.68 €69.50
07:27 Madrid-Atocha
3h 19m · direct
10:46 BARCELONA SANTS
AVE ≈ MYR 380.98 €81.05
08:27 Madrid-Atocha
2h 52m · direct
11:19 BARCELONA SANTS
≈ MYR 380.98 €81.05
08:27 Madrid-Atocha
2h 52m · direct
11:19 BARCELONA SANTS
≈ MYR 423.52 €90.10
08:30 Madrid Chamartin
5h 19m · 1 changes
14:50 BARCELONA SANTS
Iryo ≈ MYR 330.02 €70.21
08:32 Madrid-Atocha
2h 37m · direct
11:09 BARCELONA SANTS
≈ MYR 321.23 €68.34
08:57 Madrid-Atocha
2h 44m · direct
11:41 BARCELONA SANTS
AVE ≈ MYR 321.28 €68.35
08:57 Madrid-Atocha
2h 44m · direct
11:41 BARCELONA SANTS
Iryo ≈ MYR 329.51 €70.10
09:22 Madrid-Atocha
2h 52m · direct
12:14 BARCELONA SANTS
≈ MYR 506.71 €107.80
09:27 Madrid-Atocha
3h 14m · direct
12:41 BARCELONA SANTS
AVE ≈ MYR 506.71 €107.80
09:27 Madrid-Atocha
3h 14m · direct
12:41 BARCELONA SANTS
≈ MYR 287.20 €61.10
09:45 Madrid Chamartin
7h 55m · 1 changes
19:00 BARCELONA SANTS
Iryo ≈ MYR 267.36 €56.88
09:57 Madrid-Atocha
2h 52m · direct
12:49 BARCELONA SANTS
≈ MYR 258.53 €55.00
10:02 Madrid-Atocha
3h 2m · direct
13:04 BARCELONA SANTS
≈ MYR 230.32 €49.00
10:27 Madrid-Atocha
2h 52m · direct
13:19 BARCELONA SANTS
AVLO ≈ MYR 258.53 €55.00
10:27 Madrid-Atocha
2h 52m · direct
13:19 BARCELONA SANTS
Iryo ≈ MYR 264.36 €56.24
11:22 Madrid-Atocha
2h 52m · direct
14:14 BARCELONA SANTS
≈ MYR 272.16 €57.90
11:27 Madrid-Atocha
3h 19m · direct
14:46 BARCELONA SANTS
AVE ≈ MYR 272.16 €57.90
11:27 Madrid-Atocha
3h 19m · direct
14:46 BARCELONA SANTS
≈ MYR 325.27 €69.20
11:30 Madrid Chamartin
5h 11m · 1 changes
18:19 BARCELONA SANTS
≈ MYR 264.64 €56.30
11:45 Madrid Chamartin
7h 41m · 1 changes
20:51 BARCELONA SANTS
≈ MYR 354.42 €75.40
12:05 Madrid Chamartin
9h 10m · 1 changes
21:39 BARCELONA SANTS
Iryo ≈ MYR 281.42 €59.87
12:22 Madrid-Atocha
2h 52m · direct
15:14 BARCELONA SANTS
AVE ≈ MYR 326.68 €69.50
12:27 Madrid-Atocha
3h 17m · direct
15:44 BARCELONA SANTS
≈ MYR 326.68 €69.50
12:27 Madrid-Atocha
3h 17m · direct
15:44 BARCELONA SANTS
≈ MYR 293.78 €62.50
12:30 Madrid Chamartin
5h 28m · 1 changes
19:00 BARCELONA SANTS
≈ MYR 321.23 €68.34
12:57 Madrid-Atocha
2h 37m · direct
15:34 BARCELONA SANTS
AVE ≈ MYR 385.44 €82.00
12:57 Madrid-Atocha
2h 37m · direct
15:34 BARCELONA SANTS
≈ MYR 270.04 €57.45
13:18 Madrid-Atocha
3h 4m · direct
16:22 BARCELONA SANTS
≈ MYR 324.10 €68.95
13:18 Madrid-Atocha
3h 4m · direct
16:22 BARCELONA SANTS
Iryo ≈ MYR 347.32 €73.89
14:02 Madrid-Atocha
2h 52m · direct
16:54 BARCELONA SANTS
≈ MYR 277.33 €59.00
14:12 Madrid-Atocha
2h 37m · direct
16:49 BARCELONA SANTS
AVE ≈ MYR 796.26 €169.40
14:27 Madrid-Atocha
2h 57m · direct
17:24 BARCELONA SANTS
≈ MYR 796.26 €169.40
14:27 Madrid-Atocha
2h 57m · direct
17:24 BARCELONA SANTS
Iryo ≈ MYR 314.04 €66.81
14:42 Madrid-Atocha
2h 59m · direct
17:41 BARCELONA SANTS
AVE ≈ MYR 385.44 €82.00
14:57 Madrid-Atocha
2h 37m · direct
17:34 BARCELONA SANTS
≈ MYR 385.44 €82.00
14:57 Madrid-Atocha
2h 37m · direct
17:34 BARCELONA SANTS
AVLO ≈ MYR 314.93 €67.00
15:27 Madrid-Atocha
3h 19m · direct
18:46 BARCELONA SANTS
≈ MYR 230.32 €49.00
15:27 Madrid-Atocha
3h 19m · direct
18:46 BARCELONA SANTS
≈ MYR 283.44 €60.30
15:30 Madrid Chamartin
5h 35m · 1 changes
22:04 BARCELONA SANTS
AVE ≈ MYR 321.28 €68.35
15:57 Madrid-Atocha
2h 37m · direct
18:34 BARCELONA SANTS
≈ MYR 321.23 €68.34
15:57 Madrid-Atocha
2h 37m · direct
18:34 BARCELONA SANTS
AVE ≈ MYR 326.68 €69.50
16:27 Madrid-Atocha
2h 52m · direct
19:19 BARCELONA SANTS
≈ MYR 326.68 €69.50
16:27 Madrid-Atocha
2h 52m · direct
19:19 BARCELONA SANTS
Iryo ≈ MYR 331.76 €70.58
16:37 Madrid-Atocha
2h 37m · direct
19:14 BARCELONA SANTS
≈ MYR 385.44 €82.00
16:57 Madrid-Atocha
2h 37m · direct
19:34 BARCELONA SANTS
AVE ≈ MYR 385.44 €82.00
16:57 Madrid-Atocha
2h 37m · direct
19:34 BARCELONA SANTS
≈ MYR 305.53 €65.00
17:17 Madrid-Atocha
2h 37m · direct
19:54 BARCELONA SANTS
Iryo ≈ MYR 310.99 €66.16
17:22 Madrid-Atocha
2h 52m · direct
20:14 BARCELONA SANTS
AVLO ≈ MYR 277.33 €59.00
17:27 Madrid-Atocha
3h 19m · direct
20:46 BARCELONA SANTS
≈ MYR 258.53 €55.00
17:27 Madrid-Atocha
3h 19m · direct
20:46 BARCELONA SANTS
≈ MYR 380.98 €81.05
17:57 Madrid-Atocha
2h 37m · direct
20:34 BARCELONA SANTS
AVE ≈ MYR 380.98 €81.05
17:57 Madrid-Atocha
2h 37m · direct
20:34 BARCELONA SANTS
≈ MYR 326.68 €69.50
18:27 Madrid-Atocha
2h 57m · direct
21:24 BARCELONA SANTS
AVE ≈ MYR 326.68 €69.50
18:27 Madrid-Atocha
2h 57m · direct
21:24 BARCELONA SANTS
Iryo ≈ MYR 328.24 €69.83
18:32 Madrid-Atocha
2h 37m · direct
21:09 BARCELONA SANTS
AVE ≈ MYR 321.28 €68.35
18:57 Madrid-Atocha
2h 37m · direct
21:34 BARCELONA SANTS
≈ MYR 321.23 €68.34
18:57 Madrid-Atocha
2h 37m · direct
21:34 BARCELONA SANTS
Iryo ≈ MYR 273.19 €58.12
19:29 Madrid-Atocha
2h 52m · direct
22:21 BARCELONA SANTS
AVLO ≈ MYR 230.32 €49.00
19:34 Madrid-Atocha
3h 21m · direct
22:55 BARCELONA SANTS
AVE ≈ MYR 257.12 €54.70
20:05 Madrid-Atocha
2h 37m · direct
22:42 BARCELONA SANTS
≈ MYR 224.92 €47.85
20:05 Madrid-Atocha
2h 37m · direct
22:42 BARCELONA SANTS
Iryo ≈ MYR 236.01 €50.21
20:22 Madrid-Atocha
2h 52m · direct
23:14 BARCELONA SANTS
≈ MYR 190.56 €40.54
20:27 Madrid-Atocha
3h 21m · direct
23:48 BARCELONA SANTS
AVE ≈ MYR 325.74 €69.30
20:27 Madrid-Atocha
3h 21m · direct
23:48 BARCELONA SANTS
≈ MYR 211.52 €45.00
21:02 Madrid-Atocha
2h 52m · direct
23:54 BARCELONA SANTS
≈ MYR 272.16 €57.90
21:07 Madrid-Atocha
2h 52m · direct
23:59 BARCELONA SANTS
AVE ≈ MYR 289.55 €61.60
21:07 Madrid-Atocha
2h 52m · direct
23:59 BARCELONA SANTS
See all timetables

Carriers on this route

Learn more about carriers on this route.

Iryo is a Spanish high-speed train operator, founded in 2019 and serving Spain's major cities such as Madrid, Barcelona, Malaga, Seville, Valencia and Zaragoza. iryo operates on the national rail network in Spain, using the latest AVE high-speed trains to transport passengers at speeds of up to 310 km/h.

Ticket types and services from Madrid to Barcelona

Compare different ticket types and on-board services for the journey from Madrid to Barcelona.

Inicial

iryo's Inicial fare provides affordable travel without compromising on comfort or service.
  • Wi-Fi
  • Power sockets
  • Luggage
  • Accessibility
  • Food and drink
  • Air conditioning
  • Bicycle

Singular

The "Singular fare" offers flexibility for entrepreneurs and companies with personalized customer service from iryo assistants.
  • Wi-Fi
  • Power sockets
  • Luggage
  • Accessibility
  • Food and drink
  • Air conditioning
  • Bicycle

Singular ONLY YOU

The "Singular Only YOU" fare is designed for entrepreneurs and companies, providing the best conditions for changes and cancellations in the ticket.
  • Wi-Fi
  • Power sockets
  • Luggage
  • Accessibility
  • Food and drink
  • Air conditioning
  • Bicycle

Infinita

Infinita is iryo's all-inclusive fare that offers the best travel options with flexibility and comfort.
  • Wi-Fi
  • Power sockets
  • Luggage
  • Accessibility
  • Food and drink
  • Air conditioning
  • Bicycle

Facility description

Learn more about the services available on board each carrier on this route.

Facilities Description
Wi-Fi
Connect to free WiFi on iryo trains in any class. Enjoy movies, TV shows, live news, and Spotify for entertainment.
Power sockets
Every seat on iryo trains comes with power sockets, and those in the Infinita and Singular Cafe class boast additional USB ports.
Luggage
On iryo trains, flexible baggage policy lets you travel comfortably with up to 3 pieces of luggage, including a piece of hand luggage. Maximum size for 2 larger pieces is 85x55x35cm, while hand luggage must be 36x27x15cm. Total weight limit is 25kg.
Accessibility
iryo trains are designed for inclusivity, offering designated seats for passengers with reduced mobility and ensuring step-free access during both boarding and disembarking.
Food and drink
iryo offers quality menus for all classes. Find the onboard restaurant/bar usually close to coach 2. For Infinita Class passengers, meals are served at your seat, but remember to book 24 hours in advance.
Air conditioning
Enjoy fresh and comfortable air on the ETR1000 train; its cutting-edge air-conditioning system refreshes the entire carriage's air in just 3 minutes, ensuring a generous 35 m3/h of fresh outside air for every passenger.
Bicycle
On Iryo trains, you can bring along one disassembled bicycle or electric scooter per coach, as long as it's tucked into a bag and stays within 90x120x40cm. It's free to transport! Just keep in mind that you'll handle the loading, safekeeping, and unloading. Also, be considerate of other passengers' comfort and safety, and remember any damages caused are on you.

CO₂ emissions by mode

train 35.28kg
bus 37.8kg
flight 100.8kg
carpool 80.64kg
How much CO₂ is emitted travelling by train from Madrid to Barcelona?

The train journey between Madrid and Barcelona emits 35.28kg of CO₂.

How much CO₂ do I save by taking the train between Madrid and Barcelona?

Taking the train between Madrid and Barcelona saves 65.52kg of CO₂ compared to a flight, 2.52kg compared to the bus and 45.36kg compared to the car.

FAQ