Cheap train tickets from Madrid to Barcelona
Find and compare the best ground travel options in one place.
Millions of travelers trust Wanderu every year to get:
Lowest Prices
We partner with the top coach & train carriers to bring you the best deals.
Best Travel Options
We help you find & compare the best buses & trains in one place.
Quick & Easy Booking
Book trips quickly with a simple, hassle-free checkout – online & on our app.
Fast Customer Support
We don’t monkey around. We respond within minutes to help you out.
See what travelers are saying about Wanderu:
Madrid to Barcelona Train Timetable
Is it better to travel by bus or train from Madrid to Barcelona?
There are usually 3 daily bus trips from Madrid to Barcelona.
Coach | Train | |
|---|---|---|
Avg. Price | Avg. Price£102.24 | Avg. Price£35.70 |
Daily Trips | Daily Trips3 | Daily Trips12 |
Duration | Duration1d 0h 56m | Duration3h 14m |
Trip Summary
There are usually 12 daily train trips available from Madrid to Barcelona. Traveling by train from Madrid to Barcelona usually takes 3 hours and 14 minutes, but the fastest Iryo train can make the trip in 3 hours and 2 minutes.
| Distance | 314 mi (505 km) |
| Fastest train | 3h 2m |
| Lowest price | £25.55 |
| Trains per day | 12 |
| Most frequent service | Iryo |
| Train lines | 1 |

What is the price of a train ticket from Madrid to Barcelona?
In the last month, the average price of a train ticket from Madrid to Barcelona was £34.72. This is an excellent price given the length of the route. Good news! You can find the cheapest tickets if you book your trip at least 18 days prior to the travel date. You’ll likely pay around £80.64 more if you wait to book until the last minute.
Average train ticket prices from Madrid to Barcelona by month
Ticket prices for the train from Madrid to Barcelona often fluctuate based on the time of year. For the best prices on this route, book in February when the average ticket price is only £39,
If you're thinking of traveling from Madrid to Barcelona during October, keep in mind that train ticket prices may be higher than usual, with an average price of £71 during this time of year. The best way to score a cheap deal, even in October, is to book your trip well in advance.
Prices as travel date approaches
By booking your train trip from Madrid to Barcelona on Wanderu at least 18 days ahead of time, you can save about £80.64 on your ticket. Waiting until the last minute means missing out on these savings!
Which train should you take from Madrid to Barcelona?
Iryo is the one and only train line which connects Madrid to Barcelona. However, there are 12 trains per day to choose from.
| Train | Daily Trips | Avg. Time | Avg. Price |
|---|---|---|---|
| Iryo | 12 | 3h 15m | £58.85 |
Iryo train tickets from Madrid to Barcelona start from £26, and on average cost . Daily there are 12 Iryo schedules to Barcelona. Iryo in Madrid leaves from Madrid Atocha Train Station . And in Barcelona trains arrive at Barcelona-Sants .
From Madrid to Barcelona train travel on Iryo takes 3 hours and 15 minutes. If you are looking to get to Barcelona faster, Iryo offers more express schedule options with a travel time of 3 hours and 2 minutes.
If you're considering a weeked trip, Iryo offers 11 schedules for you to choose from. You can expect to pay for a one-way train ticket to Barcelona.
Frequently asked questions about traveling by train from Madrid to Barcelona
The distance between Madrid and Barcelona is approximately 314 miles, or 505 kilometers. The average train journey between these two cities takes 3 hours and 14 minutes, although the absolute fastest you could get there is 3 hours and 2 minutes.
Looking for ways to pass the time? Most trains are equipped with Wi-Fi, which means you can stream music, browse social media or get some work done during your ride. That said, in case your train has a spotty signal, or is among the few without Wi-Fi, we also recommend downloading TV shows and movies to your mobile device in advance of your trip. That way the ride will fly by whatever the Wi-Fi situation.
Trains from Madrid to Barcelona are the most crowded on Saturday. Tickets also tend to be more expensive then. If you are looking for a great deal on your train tickets or just want extra room to stretch out, consider traveling on Sunday instead, as it tends to be the least crowded day of the week.
The earliest train departs Madrid at 06:00 while the last train of the day leaves at 19:00. To see all scheduled departure times, use the search function on this page to get the full schedule for your specific travel dates.
There are 12 daily scheduled trains, all of which are direct trains that take you the entire way from Madrid to Barcelona.
You can also take a train for your return trip from Barcelona to Madrid.
City Information
Barcelona
Featuring a mix of bizarre modern vibes and quaint buildings, Barcelona is a great destination for tourists seeking fun and cultural activities alike. Barcelona takes great pride in its unique architecture, and the most prominent example of its uniqueness is the La Sagrada Família, one of the most iconic buildings in the city. Boasting a unique Gothique-esque architectural style, the cathedral will leave you in awe. The most interesting part is that the church is actually still in construction, and is expected to be finished by 2026. If you want to stroll around the streets of Barcelona, the Barri Gòtic, the oldest part of the city, will be a perfect choice. Here visitors will find old buildings with Medieval or Roman architecture. If you are looking to enjoy Barcelona’s nightlife, head over to Las Ramblas, the most fun area around.
For the best Catalonian dishes, don’t hesitate to head over to Babula Bar 1937, which offers top-tier local cuisine. Barcelona is also rather famous for its seafood, so don’t hesitate to give that a try at one of the many restaurants the city has to offer.
For buses, Estació del Nord serves as the central hub of intercity services. The Barcelona Sants is the city’s main train station, offering access to many cities in Europe. Commercial air services are provided by the Barcelona-El Prat Airport, which is located 11 miles from the city center.
Station Information
Where is the train station in Madrid?
Main departure station: Madrid Atocha Train Station
There is one train station in Madrid.
All train stations in Madrid:
Madrid Atocha Train Station
Where is the train station in Barcelona?
Main arrival station: Barcelona-Sants
Barcelona has one train station.
Train stations in Barcelona:
Barcelona-Sants
Get around town with Moovit
Need a return trip from Barcelona to Madrid?
Search Train Tickets
Wanderu is the simplest way to book coach and train travel.
With just a quick search on Wanderu, you can compare bus and train schedules and prices from hundreds of travel companies in one convenient place to find the trip that works best for you. Wanderu’s simple checkout process makes it easy to book cheap bus and train tickets hassle-free. Most importantly, as Wanderu is an official partner of all leading bus and train companies, we always have the best bus and train deals out there.
- Train Tickets
- Spain
- Barcelona
- Madrid to Barcelona






