Trains from Madrid to Barcelona

  • Lowest price from ≈ SGD 66.20 €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 ≈ SGD 66.20 €45.00
Trip duration 3h 16m
Connections per day 80
Lowest price ≈ SGD 66.20 €45.00
Highest price ≈ SGD 203.89 €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 39.57 to 80.78 but are subject to change.

SGD 89SGD 59SGD 30SGD 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 SGD 39.25 versus about SGD 53.00 in April (roughly a 35% swing).

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

Book in advance

Save 51%

Booking around 20 days ahead brings the price down to SGD 39.57, versus SGD 80.78 at the last minute.

Cheapest month

Up to 35%

The cheapest time to travel is September (SGD 39.25); the most expensive is April (SGD 53.00).

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 ≈ SGD 61.98 €42.13
06:22 Madrid-Atocha
2h 37m · direct
08:59 BARCELONA SANTS
≈ SGD 57.37 €39.00
06:27 Madrid-Atocha
2h 58m · direct
09:25 BARCELONA SANTS
AVLO ≈ SGD 66.20 €45.00
06:27 Madrid-Atocha
2h 58m · direct
09:25 BARCELONA SANTS
≈ SGD 103.71 €70.50
06:43 Madrid Chamartin
7h 19m · 1 changes
14:46 BARCELONA SANTS
≈ SGD 66.20 €45.00
07:02 Madrid-Atocha
2h 52m · direct
09:54 BARCELONA SANTS
Iryo ≈ SGD 73.57 €50.01
07:22 Madrid-Atocha
2h 37m · direct
09:59 BARCELONA SANTS
≈ SGD 85.18 €57.90
07:27 Madrid-Atocha
3h 19m · direct
10:46 BARCELONA SANTS
AVE ≈ SGD 102.24 €69.50
07:27 Madrid-Atocha
3h 19m · direct
10:46 BARCELONA SANTS
AVE ≈ SGD 119.23 €81.05
08:27 Madrid-Atocha
2h 52m · direct
11:19 BARCELONA SANTS
≈ SGD 119.23 €81.05
08:27 Madrid-Atocha
2h 52m · direct
11:19 BARCELONA SANTS
≈ SGD 132.55 €90.10
08:30 Madrid Chamartin
5h 19m · 1 changes
14:50 BARCELONA SANTS
Iryo ≈ SGD 103.29 €70.21
08:32 Madrid-Atocha
2h 37m · direct
11:09 BARCELONA SANTS
≈ SGD 100.53 €68.34
08:57 Madrid-Atocha
2h 44m · direct
11:41 BARCELONA SANTS
AVE ≈ SGD 100.55 €68.35
08:57 Madrid-Atocha
2h 44m · direct
11:41 BARCELONA SANTS
Iryo ≈ SGD 103.12 €70.10
09:22 Madrid-Atocha
2h 52m · direct
12:14 BARCELONA SANTS
≈ SGD 158.58 €107.80
09:27 Madrid-Atocha
3h 14m · direct
12:41 BARCELONA SANTS
AVE ≈ SGD 158.58 €107.80
09:27 Madrid-Atocha
3h 14m · direct
12:41 BARCELONA SANTS
≈ SGD 89.88 €61.10
09:45 Madrid Chamartin
7h 55m · 1 changes
19:00 BARCELONA SANTS
Iryo ≈ SGD 83.68 €56.88
09:57 Madrid-Atocha
2h 52m · direct
12:49 BARCELONA SANTS
≈ SGD 80.91 €55.00
10:02 Madrid-Atocha
3h 2m · direct
13:04 BARCELONA SANTS
≈ SGD 72.08 €49.00
10:27 Madrid-Atocha
2h 52m · direct
13:19 BARCELONA SANTS
AVLO ≈ SGD 80.91 €55.00
10:27 Madrid-Atocha
2h 52m · direct
13:19 BARCELONA SANTS
Iryo ≈ SGD 82.73 €56.24
11:22 Madrid-Atocha
2h 52m · direct
14:14 BARCELONA SANTS
≈ SGD 85.18 €57.90
11:27 Madrid-Atocha
3h 19m · direct
14:46 BARCELONA SANTS
AVE ≈ SGD 85.18 €57.90
11:27 Madrid-Atocha
3h 19m · direct
14:46 BARCELONA SANTS
≈ SGD 101.80 €69.20
11:30 Madrid Chamartin
5h 11m · 1 changes
18:19 BARCELONA SANTS
≈ SGD 82.82 €56.30
11:45 Madrid Chamartin
7h 41m · 1 changes
20:51 BARCELONA SANTS
≈ SGD 110.92 €75.40
12:05 Madrid Chamartin
9h 10m · 1 changes
21:39 BARCELONA SANTS
Iryo ≈ SGD 88.07 €59.87
12:22 Madrid-Atocha
2h 52m · direct
15:14 BARCELONA SANTS
AVE ≈ SGD 102.24 €69.50
12:27 Madrid-Atocha
3h 17m · direct
15:44 BARCELONA SANTS
≈ SGD 102.24 €69.50
12:27 Madrid-Atocha
3h 17m · direct
15:44 BARCELONA SANTS
≈ SGD 91.94 €62.50
12:30 Madrid Chamartin
5h 28m · 1 changes
19:00 BARCELONA SANTS
≈ SGD 100.53 €68.34
12:57 Madrid-Atocha
2h 37m · direct
15:34 BARCELONA SANTS
AVE ≈ SGD 120.63 €82.00
12:57 Madrid-Atocha
2h 37m · direct
15:34 BARCELONA SANTS
≈ SGD 84.51 €57.45
13:18 Madrid-Atocha
3h 4m · direct
16:22 BARCELONA SANTS
≈ SGD 101.43 €68.95
13:18 Madrid-Atocha
3h 4m · direct
16:22 BARCELONA SANTS
Iryo ≈ SGD 108.70 €73.89
14:02 Madrid-Atocha
2h 52m · direct
16:54 BARCELONA SANTS
≈ SGD 86.79 €59.00
14:12 Madrid-Atocha
2h 37m · direct
16:49 BARCELONA SANTS
AVE ≈ SGD 249.20 €169.40
14:27 Madrid-Atocha
2h 57m · direct
17:24 BARCELONA SANTS
≈ SGD 249.20 €169.40
14:27 Madrid-Atocha
2h 57m · direct
17:24 BARCELONA SANTS
Iryo ≈ SGD 98.28 €66.81
14:42 Madrid-Atocha
2h 59m · direct
17:41 BARCELONA SANTS
AVE ≈ SGD 120.63 €82.00
14:57 Madrid-Atocha
2h 37m · direct
17:34 BARCELONA SANTS
≈ SGD 120.63 €82.00
14:57 Madrid-Atocha
2h 37m · direct
17:34 BARCELONA SANTS
AVLO ≈ SGD 98.56 €67.00
15:27 Madrid-Atocha
3h 19m · direct
18:46 BARCELONA SANTS
≈ SGD 72.08 €49.00
15:27 Madrid-Atocha
3h 19m · direct
18:46 BARCELONA SANTS
≈ SGD 88.71 €60.30
15:30 Madrid Chamartin
5h 35m · 1 changes
22:04 BARCELONA SANTS
AVE ≈ SGD 100.55 €68.35
15:57 Madrid-Atocha
2h 37m · direct
18:34 BARCELONA SANTS
≈ SGD 100.53 €68.34
15:57 Madrid-Atocha
2h 37m · direct
18:34 BARCELONA SANTS
AVE ≈ SGD 102.24 €69.50
16:27 Madrid-Atocha
2h 52m · direct
19:19 BARCELONA SANTS
≈ SGD 102.24 €69.50
16:27 Madrid-Atocha
2h 52m · direct
19:19 BARCELONA SANTS
Iryo ≈ SGD 103.83 €70.58
16:37 Madrid-Atocha
2h 37m · direct
19:14 BARCELONA SANTS
≈ SGD 120.63 €82.00
16:57 Madrid-Atocha
2h 37m · direct
19:34 BARCELONA SANTS
AVE ≈ SGD 120.63 €82.00
16:57 Madrid-Atocha
2h 37m · direct
19:34 BARCELONA SANTS
≈ SGD 95.62 €65.00
17:17 Madrid-Atocha
2h 37m · direct
19:54 BARCELONA SANTS
Iryo ≈ SGD 97.33 €66.16
17:22 Madrid-Atocha
2h 52m · direct
20:14 BARCELONA SANTS
AVLO ≈ SGD 86.79 €59.00
17:27 Madrid-Atocha
3h 19m · direct
20:46 BARCELONA SANTS
≈ SGD 80.91 €55.00
17:27 Madrid-Atocha
3h 19m · direct
20:46 BARCELONA SANTS
≈ SGD 119.23 €81.05
17:57 Madrid-Atocha
2h 37m · direct
20:34 BARCELONA SANTS
AVE ≈ SGD 119.23 €81.05
17:57 Madrid-Atocha
2h 37m · direct
20:34 BARCELONA SANTS
≈ SGD 102.24 €69.50
18:27 Madrid-Atocha
2h 57m · direct
21:24 BARCELONA SANTS
AVE ≈ SGD 102.24 €69.50
18:27 Madrid-Atocha
2h 57m · direct
21:24 BARCELONA SANTS
Iryo ≈ SGD 102.73 €69.83
18:32 Madrid-Atocha
2h 37m · direct
21:09 BARCELONA SANTS
AVE ≈ SGD 100.55 €68.35
18:57 Madrid-Atocha
2h 37m · direct
21:34 BARCELONA SANTS
≈ SGD 100.53 €68.34
18:57 Madrid-Atocha
2h 37m · direct
21:34 BARCELONA SANTS
Iryo ≈ SGD 85.50 €58.12
19:29 Madrid-Atocha
2h 52m · direct
22:21 BARCELONA SANTS
AVLO ≈ SGD 72.08 €49.00
19:34 Madrid-Atocha
3h 21m · direct
22:55 BARCELONA SANTS
AVE ≈ SGD 80.47 €54.70
20:05 Madrid-Atocha
2h 37m · direct
22:42 BARCELONA SANTS
≈ SGD 70.39 €47.85
20:05 Madrid-Atocha
2h 37m · direct
22:42 BARCELONA SANTS
Iryo ≈ SGD 73.86 €50.21
20:22 Madrid-Atocha
2h 52m · direct
23:14 BARCELONA SANTS
≈ SGD 59.64 €40.54
20:27 Madrid-Atocha
3h 21m · direct
23:48 BARCELONA SANTS
AVE ≈ SGD 101.95 €69.30
20:27 Madrid-Atocha
3h 21m · direct
23:48 BARCELONA SANTS
≈ SGD 66.20 €45.00
21:02 Madrid-Atocha
2h 52m · direct
23:54 BARCELONA SANTS
≈ SGD 85.18 €57.90
21:07 Madrid-Atocha
2h 52m · direct
23:59 BARCELONA SANTS
AVE ≈ SGD 90.62 €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