The cheapest and fastest trains from Madrid to Barcelona
Cheapest price
$35
Average price
$67
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
42
Distance
504 km
The best way to find a cheap train ticket from Madrid to Barcelona is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Madrid to Barcelona will cost around $67 if you buy it on the day, but you can find cheap train tickets today for only $35.
Of the 42 trains that leave Madrid for Barcelona every day 42 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 504 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .
The slowest trains will take 3 h 2 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
06501
06541
06571
06415
06471
06541
06571
03071
03191
02553Travel Information
Compare coach, train and flight for Madrid to Barcelona
Omio recommends booking the train as it is the most popular option from Madrid to Barcelona among Omio's users. If you are prioritising price take the train with prices starting from $36. For those with little time consider booking a flight which can get you there in 2h 7m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.2 - 0.5kg. The ticket price range depends on the travel mode: a train costs an average of $36, and a flight costs an average of $72.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
$103 Average Price Cheapest | $104 Average Price | $280 Average Price |
4h 8m Average total duration 3h 38m Onboard + 30m Additional time* | 10h 51m Average total duration 10h 21m Onboard + 30m Additional time* | 5h 7m Average total duration Fastest 2h 7m Onboard + 3h 0m Additional time* |
0.2 - 0.5kg CO2 emissions Lowest | 0.5 - 1.3kg CO2 emissions | 1.5 - 3.0kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Madrid to Barcelona train times
The table below shows live departures for Madrid to Barcelona trains for today, Thursday, 5 February. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
03173 | On time 4:27 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 8:11 pm Barcelona Sants | 0 changesdirect | |
02553 | On time 4:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:59 pm Barcelona Sants | 0 changesdirect | |
03183 | On time 5:27 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 8:49 pm Barcelona Sants | 0 changesdirect | |
06181 | On time 5:32 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h03 | 8:35 pm Barcelona Sants | 0 changesdirect | |
03191 | On time 5:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 8:59 pm Barcelona Sants | 0 changesdirect | |
06013 | On time 6:29 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 9:46 pm Barcelona Sants | 0 changesdirect | |
03309 | On time 6:34 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h46 | 10:20 pm Barcelona Sants | 0 changesdirect | |
03201 | On time 7:05 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:07 pm Barcelona Sants | 0 changesdirect | |
06415 | On time 7:10 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h18 | 10:28 pm Barcelona Sants | 0 changesdirect | |
06201 | On time 7:22 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 10:39 pm Barcelona Sants | 0 changesdirect | |
06261 | On time 5:09 am Madrid-Puerta de Atocha-Almudena Grandes | 3h16 | 8:25 am Barcelona Sants | 0 changesdirect | |
06471 | On time 5:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 8:45 am Barcelona Sants | 0 changesdirect | |
03301 | On time 5:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 8:50 am Barcelona Sants | 0 changesdirect | |
03071 | On time 5:57 am Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 8:59 am Barcelona Sants | 0 changesdirect | |
06071 | On time 6:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 9:24 am Barcelona Sants | 0 changesdirect | |
03073 | On time 6:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 10:11 am Barcelona Sants | 0 changesdirect | |
03081 | On time 6:57 am Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 9:59 am Barcelona Sants | 0 changesdirect | |
06081 | On time 7:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:24 am Barcelona Sants | 0 changesdirect | |
06281 | On time 7:50 am Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:52 am Barcelona Sants | 0 changesdirect | |
03091 | On time 7:57 am Madrid-Puerta de Atocha-Almudena Grandes | 3h09 | 11:06 am Barcelona Sants | 0 changesdirect | |
06091 | On time 8:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:39 am Barcelona Sants | 0 changesdirect | |
02561 | On time 8:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h37 | 12:04 pm Barcelona Sants | 0 changesdirect | |
06501 | On time 8:31 am Madrid-Puerta de Atocha-Almudena Grandes | 3h28 | 11:59 am Barcelona Sants | 0 changesdirect | |
06011 | On time 8:57 am Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 12:14 pm Barcelona Sants | 0 changesdirect | |
03303 | On time 9:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 12:44 pm Barcelona Sants | 0 changesdirect | |
06111 | On time 10:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 1:39 pm Barcelona Sants | 0 changesdirect | |
03113 | On time 10:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 2:11 pm Barcelona Sants | 0 changesdirect | |
06121 | On time 11:22 am Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 2:39 pm Barcelona Sants | 0 changesdirect | |
02591 | On time 11:27 am Madrid-Puerta de Atocha-Almudena Grandes | 3h42 | 3:09 pm Barcelona Sants | 0 changesdirect | |
09725 | On time 11:50 am Madrid-Puerta de Atocha-Almudena Grandes | 3h29 | 3:19 pm Barcelona Sants | 0 changesdirect | |
06541 | On time 12:42 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 3:44 pm Barcelona Sants | 0 changesdirect | |
03141 | On time 12:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 3:59 pm Barcelona Sants | 0 changesdirect | |
06141 | On time 1:02 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 4:19 pm Barcelona Sants | 0 changesdirect | |
03143 | On time 1:27 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 4:49 pm Barcelona Sants | 0 changesdirect | |
06021 | On time 1:42 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h24 | 5:06 pm Barcelona Sants | 0 changesdirect | |
03151 | On time 1:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 4:59 pm Barcelona Sants | 0 changesdirect | |
06151 | On time 2:52 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 5:54 pm Barcelona Sants | 0 changesdirect | |
03161 | On time 2:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 5:59 pm Barcelona Sants | 0 changesdirect | |
06571 | On time 3:22 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 6:24 pm Barcelona Sants | 0 changesdirect | |
03163 | On time 3:27 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 6:44 pm Barcelona Sants | 0 changesdirect | |
03171 | On time 3:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 6:59 pm Barcelona Sants | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Madrid to Barcelona by coach, train or flight
Compare coach, train and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
05 Feb
06 Feb
07 Feb
08 Feb
09 Feb
10 Feb
11 Feb
12 Feb
13 Feb
14 Feb
15 Feb
16 Feb
17 Feb
18 Feb
19 Feb
20 Feb
21 Feb
22 Feb
23 Feb
24 Feb
25 Feb
How far in advance should I book train tickets from Madrid to Barcelona?
Journey information
Overview: Train from Madrid to Barcelona
Trains from Madrid to Barcelona run on average 35 times per day, taking around 3h 38m. Cheap train tickets for this journey start at $36 but you can travel from only $30 by coach.
There are 35 trains per day. The earliest train runs at 05:40, the last at 21:25. The fastest train covers the 504 km distance in 2h 37m.
Distance 504 km |
Average train duration 3h 38m |
Cheapest ticket price $36 |
Trains per day 35 |
Direct trains 35 |
Fastest train 2h 37m |
First train 05:40 |
Last train 21:25 |
Train companies: Ouigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros from Madrid to Barcelona trainsOuigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros trains will get you between Madrid and Barcelona from $30. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe
Ouigo
Renfe AVLO
Renfe Viajeros
FAQs: Madrid to Barcelona train
Find answers to the most common questions about traveling from Madrid to Barcelona by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Barcelona, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Madrid and Barcelona
- Mon - Sun: 10:00 - 20:00
- Free WiFi in the station and on all Renfe trains.
- Open daily from 05:30 to 22:00.
- Passion Food
- La Barrila
- Enrique Tomás
- Pic Nic
- Foodissimo!
- PureGusto
- Burger King
- Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
- 60 Balconies Urban Stay
- Only YOU Hotel Atocha
- SLEEP’N Atocha
- Mon - Sun: 10:00 - 20:00
- On the ground floor of the main concourse.
- Metro lines: 1
- Bus lines: 10, 14, 24, 26, 32, 37, 54, 57, 59, 85, 86, 102, 121, 203
- Train lines: C1, C2, C3, C4, C5, C7, C8, C10
- Mon - Sun: 06:00 - 22:00
- Hotspots in and near restaurants.
- Staffed and automatic. Open daily from 05:30 to 21:00.
- McDonald’s
- Caffe di Fiore
- Ars Café
- Café de l'Estació
- Café de l’Estació Deli
- Lavazza
- Como
- Peter's
- Tutti Frutti
- Enrique Tomás
- & many more
- All areas of the station have full disability access facilities.
- Apartments Eixample
- Apartment Guell
- Sweet Inn Callao
- Mon - Sun: 06:00 - 22:00
- Located in various locations inside the station.
- Metro lines: L3, L5
- Bus lines: A1, A2
- Train lines: AVE, Alvia, Euromed, Talgo, Trenhotel, TGV, Avant, Intercity, R1, R2, R2 Nord, R2 Sud, R3, R4, RG1, R11, R12, R13, R14, R15, R16, R17
- 6:00 AM - 10:00 PM Monday - Sunday
- Free
- Parking is available nearby with several public parking options.
- Restaurant Lasarte
- El Nacional
- Outside the main entrance.
- Elevators.
- €1
- Majestic Hotel & Spa Barcelona
- Hotel Royal Passeig de Gracia
- Casa Fuster Hotel
- Located in the main hall
- Avis
- Europcar
- Located in the main hall
- Free
- Hall 1: main entrance, platforms for regional and Rodalies trains
- Hall 2: metro connections
- Hall 3: FGC services
- Metro: Line 2, Line 3, Line 4
- Bus: Several lines available
- FGC: Lines S1, S2, S5, S55
Most popular train connections from Madrid
More options for your journey from Madrid to Barcelona
Here are some other resources that might have the information you need



