The cheapest and fastest trains from Barcelona to Madrid
Cheapest price
€65
Average price
€132
Fastest journey
2 h 36 m
Average duration
2 h 37 m
Trains per day
41
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 traveling at rush hour.
The average ticket from Barcelona to Madrid will cost around €132 if you buy it on the day, but the cheapest tickets can be found for only €65.
Of the 41 trains that leave Barcelona for Madrid on Thu, Nov 27, 41 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Thu, Nov 27 the direct trains cover the 504 km distance in an average of 2 h 37 m but if you time it right, some trains will get you there in just 2 h 36 m .
On Thu, Nov 27 the slowest trains will take 2 h 37 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.
06020
06540
06130
03122
06014
03140
06540
03830
06150
06570Travel Information
Compare train, bus, 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 train with prices starting from €19. For those with little time consider booking a flight which can get you there in 1h 47m. 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 €19, and a flight costs an average of €69.
Distance: 504 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€75 Average price Cheapest | €116 Average price | €274 Average price |
4h 7m Average total duration 3h 37m Onboard + 30m Additional time* | 12h 8m Average total duration 11h 38m Onboard + 30m Additional time* | 4h 47m Average total duration Fastest 1h 47m 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, Wednesday, November 26. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
03052 | On time 4:40 AM Barcelona Sants | 2h52 | 7:32 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06060 | On time 4:45 AM Barcelona Sants | 2h52 | 7:37 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03862 | On time 4:50 AM Barcelona Sants | 3h25 | 8:15 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03060 | On time 5:20 AM Barcelona Sants | 2h37 | 7:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03302 | On time 5:35 AM Barcelona Sants | 2h52 | 8:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03070 | On time 6:00 AM Barcelona Sants | 2h37 | 8:37 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06270 | On time 6:05 AM Barcelona Sants | 2h37 | 8:42 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03662 | On time 6:27 AM Barcelona Sants | 2h45 | 9:12 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06280 | On time 6:55 AM Barcelona Sants | 2h37 | 9:32 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03882 | On time 7:00 AM Barcelona Sants | 3h19 | 10:19 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03080 | On time 7:25 AM Barcelona Sants | 2h37 | 10:02 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03092 | On time 8:00 AM Barcelona Sants | 2h52 | 10:52 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03304 | On time 8:55 AM Barcelona Sants | 3h24 | 12:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | On time 9:40 AM Barcelona Sants | 2h52 | 12:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 9:45 AM Barcelona Sants | 2h37 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03112 | On time 10:00 AM Barcelona Sants | 2h52 | 12:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 10:50 AM Barcelona Sants | 2h52 | 1:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03122 | On time 11:00 AM Barcelona Sants | 3h19 | 2:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
09730 | On time 11:50 AM Barcelona Sants | 3h02 | 2:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06130 | On time 12:05 PM Barcelona Sants | 2h52 | 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03830 | On time 12:25 PM Barcelona Sants | 2h37 | 3:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | On time 12:45 PM Barcelona Sants | 2h52 | 3:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03308 | On time 1:00 PM Barcelona Sants | 3h19 | 4:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 1:55 PM Barcelona Sants | 2h37 | 4:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03152 | On time 2:00 PM Barcelona Sants | 2h52 | 4:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03150 | On time 2:25 PM Barcelona Sants | 2h37 | 5:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06160 | On time 2:55 PM Barcelona Sants | 2h52 | 5:47 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03874 | On time 3:58 PM Barcelona Sants | 2h53 | 6:51 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03170 | On time 4:25 PM Barcelona Sants | 2h37 | 7:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 4:35 PM Barcelona Sants | 2h37 | 7:12 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 4:40 PM Barcelona Sants | 2h37 | 7:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03182 | On time 5:00 PM Barcelona Sants | 3h19 | 8:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03180 | On time 5:25 PM Barcelona Sants | 2h37 | 8:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03192 | On time 5:40 PM Barcelona Sants | 3h12 | 8:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:05 PM Barcelona Sants | 2h52 | 8:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03190 | On time 6:25 PM Barcelona Sants | 2h37 | 9:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06200 | On time 6:47 PM Barcelona Sants | 2h37 | 9:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03310 | On time 7:00 PM Barcelona Sants | 3h19 | 10:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | On time 7:40 PM Barcelona Sants | 3h02 | 10:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03212 | On time 8:05 PM Barcelona Sants | 2h53 | 10:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
Find all the dates and times for this journey
Compare prices and tickets Barcelona to Madrid by train, bus, or flight
Compare train, bus, 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.
Nov 26
Nov 27
Nov 28
Nov 29
Nov 30
Dec 01
Dec 02
Dec 03
Dec 04
Dec 05
Dec 06
Dec 07
Dec 08
Dec 09
Dec 10
Dec 11
Dec 12
Dec 13
Dec 14
Dec 15
Dec 16
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 €19 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 €19 |
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, Renfe Viajeros from Barcelona to Madrid trainsOuigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros trains will get you between Barcelona and Madrid from €19. 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
Trains from Barcelona to Madrid
The majority of trains from Barcelona to Madrid depart from Sants Station. However, a limited number of departures leave from Passeig De Gracia too. The first train departs just before 6:00 a.m. and the last train of evening leaves at approximately 9 p.m. The duration of the journey is generally two and half to three hours, with the majority of routes being direct. Trains depart regularly throughout the day and evening, with up to four times per hour during peak times.
What are the departure and arrival stations for Trains from Barcelona to Madrid?
Barcelona Sants Station: Conveniently situated in the city, Barcelona Sants is easily reached by the following metro system lines - L3 (green line) and L5 (blue line). Taxis are also readily available at the station and from the city centre.
Madrid Atocha Station: Located in the heart of the city, Atocha Station is a few minutes walk from the centre of Madrid. Alternatively, Line 1 (blue line) of Madrid's metro system connects from the station to the surrounding area.
FAQs: Trains from Barcelona to Madrid
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.

When departing from Barcelona, you have various train station options to start your trip from including Barcelona Sants and Passeig de Gràcia station. When arriving in Madrid, you can end your route in train stations like Madrid-Puerta de Atocha-Almudena Grandes and Madrid Chamartín.
Passengers board the train most frequently from Barcelona Sants, which is located around 1.5 miles (2.4 km) away from the city centre, and they get off the train at Madrid-Puerta de Atocha-Almudena Grandes, located 1.4 miles (2.2 km) away from the city centre.
popular train stations
Popular train stations from Barcelona to 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


