The cheapest and fastest trains from Barcelona to Madrid
Cheapest price
$31
Average price
$58
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
33
Distance
504 km
The best way to find a cheap train ticket from Barcelona to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Barcelona to Madrid will cost around $58 if you buy it on the day, but you can find cheap train tickets today for only $31.
Of the 33 trains that leave Barcelona for Madrid every day 33 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.
06570
03882
06410
06540
03182
06570
06540
06180
06150
03080Travel Information
Compare train, coach and flight for Barcelona to Madrid
Omio recommends booking the train as it is the most popular option from Barcelona to Madrid among Omio's users. If you are prioritising price take the coach with prices starting from $31. For those with little time consider booking a flight which can get you there in 4h 26m. 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 coach costs an average of $31, and a flight costs an average of $31.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
$64 Average Price | $58 Average Price Cheapest | $174 Average Price |
5h 49m Average total duration 5h 19m Onboard + 30m Additional time* | 6h 37m Average total duration 6h 7m Onboard + 30m Additional time* | 7h 26m Average total duration Fastest 4h 26m 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
Barcelona to Madrid train times
The table below shows live departures for Barcelona to Madrid trains for today, Friday, 6 February. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
06210 | On time 7:35 pm Barcelona Sants | 3h17 | 10:52 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
| Saturday, 7 February | |||||
03302 | On time 5:35 am Barcelona Sants | 3h17 | 8:52 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06070 | On time 6:05 am Barcelona Sants | 3h02 | 9:07 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06410 | On time 6:35 am Barcelona Sants | 3h30 | 10:05 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06080 | On time 6:50 am Barcelona Sants | 3h17 | 10:07 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03882 | On time 7:00 am Barcelona Sants | 3h44 | 10:44 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03080 | On time 7:25 am Barcelona Sants | 3h02 | 10:27 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03092 | On time 8:00 am Barcelona Sants | 3h17 | 11:17 am Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06010 | On time 8:50 am Barcelona Sants | 3h17 | 12:07 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03304 | On time 8:55 am Barcelona Sants | 3h49 | 12:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06500 | On time 9:40 am Barcelona Sants | 3h17 | 12:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06110 | On time 9:45 am Barcelona Sants | 3h04 | 12:49 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03112 | On time 10:00 am Barcelona Sants | 3h17 | 1:17 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06020 | On time 10:50 am Barcelona Sants | 3h17 | 2:07 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03322 | 11:00 am Barcelona Sants | 3h44 | 2:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06320 | On time 11:14 am Barcelona Sants | 3h02 | 2:16 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
09730 | On time 11:50 am Barcelona Sants | 3h28 | 3:18 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06130 | On time 12:06 pm Barcelona Sants | 3h17 | 3:23 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06014 | On time 12:45 pm Barcelona Sants | 3h17 | 4:02 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06540 | On time 12:50 pm Barcelona Sants | 3h02 | 3:52 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03308 | On time 1:00 pm Barcelona Sants | 3h44 | 4:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06150 | On time 1:55 pm Barcelona Sants | 3h02 | 4:57 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03152 | On time 2:00 pm Barcelona Sants | 3h17 | 5:17 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06160 | On time 2:55 pm Barcelona Sants | 3h17 | 6:12 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03162 | On time 3:00 pm Barcelona Sants | 3h44 | 6:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03172 | On time 3:58 pm Barcelona Sants | 3h18 | 7:16 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06180 | On time 4:35 pm Barcelona Sants | 3h02 | 7:37 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06570 | On time 4:40 pm Barcelona Sants | 3h02 | 7:42 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03182 | 5:00 pm Barcelona Sants | 3h44 | 8:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03192 | On time 5:40 pm Barcelona Sants | 3h37 | 9:17 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06190 | On time 5:53 pm Barcelona Sants | 3h17 | 9:10 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06200 | On time 6:40 pm Barcelona Sants | 3h02 | 9:42 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03310 | On time 7:00 pm Barcelona Sants | 3h44 | 10:44 pm Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Barcelona to Madrid by train, coach or flight
Compare train, coach 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.
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
26 Feb
How far in advance should I book train tickets from Barcelona to Madrid?
Journey information
Overview: Train from Barcelona to Madrid
Trains from Barcelona to Madrid run on average 36 times per day, taking around 3h 37m. Cheap train tickets for this journey start at $24 if you book in advance.
There are 36 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 37m |
Cheapest ticket price $24 |
Trains per day 36 |
Direct trains 36 |
Fastest train 2h 37m |
First train 05:40 |
Last train 21:25 |
Train companies: Ouigo, iryo, AVE, Renfe AVLO, Renfe, BlaBlaCar, Renfe Viajeros from Barcelona to Madrid trainsOuigo, iryo, AVE, Renfe AVLO, Renfe, BlaBlaCar, Renfe Viajeros trains will get you between Barcelona and Madrid from $24. 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
BlaBlaCar
Renfe Viajeros
FAQs: Barcelona to Madrid train
Find answers to the most common questions about traveling from Barcelona to Madrid 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 Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Barcelona and Madrid
- 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
- 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
Most popular train connections from Barcelona
More options for your journey from Barcelona to Madrid
Here are some other resources that might have the information you need


