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 find the cheapest bus & train tickets, so you can wander for less.
Best Travel Options
We partner with 500+ carriers to bring you the most bus & train options.
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 Schedule
Is it better to travel by bus or train from Madrid to Barcelona?
There are usually 1 daily bus trips available from Madrid to Barcelona.
Bus | Train | |
|---|---|---|
Avg. Price | Avg. PriceDKK 312.61 | Avg. PriceDKK 382.51 |
Daily Trips | Daily Trips1 | Daily Trips15 |
Duration | Duration1d 2h 57m | Duration2h 46m |
Trip Summary
There are usually 15 daily train trips available from Madrid to Barcelona. Traveling by train from Madrid to Barcelona usually takes 2 hours and 47 minutes, but the fastest Iryo train can make the trip in 2 hours and 37 minutes.
| Distance | 314 mi (505 km) |
| Fastest train | 2h 37m |
| Lowest price | DKK 199.21 |
| Trains per day | 15 |
| Most frequent service | Iryo |
| Train lines | 1 |

What is the price of a train ticket from Madrid to Barcelona?
In the last 30 days, the average cost of a train ticket from Madrid to Barcelona was DKK 361.31. You have the best chances of scoring the cheapest ticket to Barcelona if you book your train tickets at least 21 days in advance. Waiting to purchase until the day of your trip could end up costing you an extra DKK 241.43.
Monthly avg. prices
Prices as travel date approaches
Planning ahead pays off when it comes to booking your train trip from Madrid to Barcelona. By reserving your ticket on Wanderu at least 21 days before departure, you can save around DKK 241.43. Don't miss out on these savings — book in advance!
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 15 trains per day to choose from.
| Train | Daily Trips | Avg. Time | Avg. Price |
|---|---|---|---|
| Iryo | 15 | 2h 47m | DKK 493.93 |
Iryo train tickets from Madrid to Barcelona start from DKK 199, and on average cost . Daily there are 15 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 2 hours and 47 minutes. If you are looking to get to Barcelona faster, Iryo offers more express schedule options with a travel time of 2 hours and 37 minutes.
If you're considering a weeked trip, Iryo offers 14 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
Saturday tends to be the busiest day of the week with travelers taking trains from Madrid to Barcelona. Ticket price also tend to be more expensive on Saturday than other days. If you are hoping to have more room on the train and even save some change check out travel options on Tuesday instead, as less people travel then and deals are more likely to be found.
The earliest train departs Madrid at 6:00am while the last train of the day leaves at 7:00pm. 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 15 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.
All train stations in Barcelona:
Barcelona-Sants
Get around town with Moovit
Need a return trip from Barcelona to Madrid?
Search Train TicketsPlan your next adventure
More trains from Madrid
- Madrid to Seville Train
DKK 334+
Continue by train from Barcelona
- Train from Barcelona to Madrid
DKK 514+
Check out these popular routes
- Train from Montreal to Toronto
DKK 695+
- Montreal to Québec Train
DKK 397+
- Washington D.C. to New Rochelle Train
DKK 583+
- Train from Washington D.C. to New York
DKK 473+
- Train from Washington D.C. to Philadelphia
DKK 552+
- Train from Orlando to Miami
DKK 435+
- Train from Boston to New Rochelle
DKK 524+
- Baltimore to New York Train
DKK 481+
- New York to Washington D.C. Train
DKK 828+
- Train from New York to Boston
DKK 821+
- New York to Baltimore
DKK 718+
- New York to Philadelphia Train
DKK 325+
- Philadelphia to Washington D.C. Train
DKK 321+
- Train from Philadelphia to Hudson
DKK 1,122+
- Philadelphia to New Rochelle Train
DKK 782+
- Philadelphia to New York Train
DKK 255+

Wanderu is the simplest way to book bus 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






