The cheapest and fastest trains from Madrid to Barcelona
Cheapest price
€40
Average price
€64
Fastest journey
2 h 37 m
Average duration
2 h 37 m
Trains per day
31
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 traveling at rush hour.
The average ticket from Madrid to Barcelona will cost around €64 if you buy it on the day, but the cheapest tickets can be found for only €40.
Of the 31 trains that leave Madrid for Barcelona on Wed, Dec 24, 31 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Wed, Dec 24 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 37 m .
On Wed, Dec 24 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.
03143
06021
03301
06571
06013
06571
06161
06541
06081
06151Travel Information
Compare bus, 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 €29. 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 €29, and a flight costs an average of €57.
Distance: 504 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€82 Average price Cheapest | €83 Average price | €223 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, Tuesday, December 23. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
09725 | On time 12:15 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h04 | 3:19 PM Barcelona Sants | 0 transfersDirect | |
06141 | On time 1:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 3:54 PM Barcelona Sants | 0 transfersDirect | |
06541 | On time 1:12 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 3:49 PM Barcelona Sants | 0 transfersDirect | |
03143 | On time 1:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h57 | 4:24 PM Barcelona Sants | 0 transfersDirect | |
06021 | On time 1:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h59 | 4:41 PM Barcelona Sants | 0 transfersDirect | |
03151 | On time 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 4:34 PM Barcelona Sants | 0 transfersDirect | |
03305 | On time 2:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h19 | 5:46 PM Barcelona Sants | 0 transfersDirect | |
06151 | On time 2:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 5:29 PM Barcelona Sants | 0 transfersDirect | |
03161 | On time 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 5:34 PM Barcelona Sants | 0 transfersDirect | |
03163 | On time 3:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 6:19 PM Barcelona Sants | 0 transfersDirect | |
06161 | On time 3:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 6:14 PM Barcelona Sants | 0 transfersDirect | |
03171 | On time 3:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 6:34 PM Barcelona Sants | 0 transfersDirect | |
06571 | On time 4:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 6:54 PM Barcelona Sants | 0 transfersDirect | |
06171 | On time 4:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 7:14 PM Barcelona Sants | 0 transfersDirect | |
03173 | On time 4:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h19 | 7:46 PM Barcelona Sants | 0 transfersDirect | |
03183 | On time 5:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h57 | 8:24 PM Barcelona Sants | 0 transfersDirect | |
06181 | On time 5:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 8:09 PM Barcelona Sants | 0 transfersDirect | |
03191 | On time 5:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 8:34 PM Barcelona Sants | 0 transfersDirect | |
06013 | On time 6:29 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 9:21 PM Barcelona Sants | 0 transfersDirect | |
03309 | On time 6:34 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h21 | 9:55 PM Barcelona Sants | 0 transfersDirect | |
06415 | On time 7:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h53 | 10:03 PM Barcelona Sants | 0 transfersDirect | |
03203 | On time 7:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h21 | 10:48 PM Barcelona Sants | 0 transfersDirect | |
06611 | On time 8:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 10:54 PM Barcelona Sants | 0 transfersDirect | |
02883 | On time 8:07 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 10:59 PM Barcelona Sants | 0 transfersDirect | |
| Wednesday, December 24 | |||||
06261 | On time 5:09 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h51 | 8:00 AM Barcelona Sants | 0 transfersDirect | |
03301 | 5:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h04 | 8:31 AM Barcelona Sants | 0 transfersDirect | |
06471 | On time 6:02 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 8:54 AM Barcelona Sants | 0 transfersDirect | |
06071 | On time 6:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 8:59 AM Barcelona Sants | 0 transfersDirect | |
03073 | On time 6:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h19 | 9:46 AM Barcelona Sants | 0 transfersDirect | |
06081 | On time 7:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 9:59 AM Barcelona Sants | 0 transfersDirect | |
06281 | On time 7:50 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 10:27 AM Barcelona Sants | 0 transfersDirect | |
06091 | On time 8:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 11:14 AM Barcelona Sants | 0 transfersDirect | |
02561 | On time 8:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h14 | 11:41 AM Barcelona Sants | 0 transfersDirect | |
06011 | On time 8:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 11:49 AM Barcelona Sants | 0 transfersDirect | |
06501 | On time 9:02 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 12:04 PM Barcelona Sants | 0 transfersDirect | |
03303 | On time 9:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 12:19 PM Barcelona Sants | 0 transfersDirect | |
06111 | On time 10:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 1:14 PM Barcelona Sants | 0 transfersDirect | |
03113 | 10:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h19 | 1:46 PM Barcelona Sants | 0 transfersDirect | |
06121 | On time 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 2:14 PM Barcelona Sants | 0 transfersDirect | |
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 bus, train, or flight
Compare bus, 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.
Dec 23
Dec 24
Dec 25
Dec 26
Dec 27
Dec 28
Dec 29
Dec 30
Dec 31
Jan 01
Jan 02
Jan 03
Jan 04
Jan 05
Jan 06
Jan 07
Jan 08
Jan 09
Jan 10
Jan 11
Jan 12
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 €29 but you can travel from only €24 by bus.
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 €29 |
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 €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
Renfe Viajeros
Trains from Madrid to Barcelona
RENFE Spain operate AVE high-speed trains from Madrid to Barcelona seven days a week. This direct route takes around 2.5 hours. The first departure is just before 6:00 a.m., with trains then leaving roughly half-hourly until 8:00 p.m.
Return journeys for trains from Madrid to Barcelona are also available.
Trains from Madrid to Barcelona; not what you were looking for?
Here are some pages that might be more in line with the information you need:
Trains from Madrid to Barcelona: Departing
Madrid Puerta de Atocha Station is centrally located within easy walking distance of the historic Madrid centre and its major art galleries. This attractive old station, with its soaring façade, contains a tropical garden and a pond full of terrapins. Madrid has one of the best public transport systems in the world and the second largest Underground network after London, so getting around the city by Metro, bus or Cercania train is easy. Puerta de Atocha is on Line 1 of the Metro and well served by local buses and taxis. Night buses, known as Búhos (owls), run every twenty minutes.
Trains from Madrid to Barcelona: Arriving
Trains from Madrid to Barcelona arrive at Barcelona Sants Station, which is to the South-West of the city and a ten-minute Metro ride on Lines 5 or 3 into the historic centre. Barcelona has an efficient and well-integrated transport system, with tickets that cover trains, buses and Metros. There is a night bus service and taxi ranks are located outside Sants Station.
Barcelona with its distinct barrios is full of history, architecture and culture, as well as having a lively night-life. The stunning architecture of Gaudí can be seen around the town, while The Rambla, a famous thoroughfare, is the place to meet and enjoy a drink with friends, or simply to sit and watch the world go by.
FAQs: Trains from Madrid to Barcelona
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.

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


