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.
Your latest searches will appear here.
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 Renfe AVE INT, Renfe AVE, Iryo, Renfe Viajeros, Renfe AVLO, Ouigo Spain |
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.
These tips come from historical prices — how the average fare changes with how far ahead you book and the month you travel.
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).
Booking around 20 days ahead brings the price down to MYR 126.44, versus MYR 258.10 at the last minute.
The cheapest time to travel is September (MYR 125.41); the most expensive is April (MYR 169.36).
Compare average prices by month and book when it suits you.
Sample times and fares for the coming days — book to confirm availability and price.
Learn more about carriers on this route.
Compare different ticket types and on-board services for the journey from Madrid to Barcelona.
Learn more about the services available on board each carrier on this route.
The train journey between Madrid and Barcelona emits 35.28kg of CO₂.
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.
A train ticket from Madrid to Barcelona costs ≈ MYR 347.32 (€73.89). Prices vary by how far ahead you book and the time of day. Tickets start from ≈ MYR 211.52 (€45.00).
The cheapest ticket from Madrid to Barcelona costs ≈ MYR 211.52 (€45.00). Book as early as possible and avoid peak times.
Madrid and Barcelona are 504 km apart.
The journey from Madrid to Barcelona takes about 3h 16m on average. The fastest option takes 2h 37m.
This route is served by 6 operators: Renfe AVE INT, Renfe AVE, Iryo, Renfe Viajeros, Renfe AVLO and Ouigo Spain.
There are about 80 connections per day from Madrid to Barcelona.
The first train from Madrid to Barcelona leaves at 06:16 AM. Check times on your travel date.
The last train from Madrid to Barcelona leaves at 09:07 PM. Check times on your travel date.
We recommend booking as early as possible. The train we found costs ≈ MYR 211.52 (€45.00) but prices can change.
There are about 72 direct connections from Madrid to Barcelona.
The shortest train journey between Madrid and Barcelona takes 2h 37m.
Yes, there is a direct train between Madrid and Barcelona.
The train journey from Madrid to Barcelona generates 7 kg of CO₂.
According to Virail’s historical fare data, September is typically the cheapest month, with medians around MYR 125.41, while April is among the most expensive (about MYR 169.36).
Based on historical fares on this route, booking about 20 days ahead often costs around MYR 126.44, versus about MYR 258.10 closer to departure.