The cheapest and fastest trains from Madrid to Barcelona
Cheapest price
42S$
Average price
71S$
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
39
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 71S$ if you buy it on the day, but you can find cheap train tickets today for only 42S$.
Of the 39 trains that leave Madrid for Barcelona every day 39 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.
064258:10 PM3h18Madrid-Puerta de Atocha-Almudena Grandes11:28 PMBarcelona Sants42 S$1One-way0 changes
031735:27 PM3h44Madrid-Puerta de Atocha-Almudena Grandes9:11 PMBarcelona Sants50 S$1One-way0 changes
033097:34 PM3h46Madrid-Puerta de Atocha-Almudena Grandes11:20 PMBarcelona Sants50 S$1One-way0 changes
030737:27 AM3h44Madrid-Puerta de Atocha-Almudena Grandes11:11 AMBarcelona Sants50 S$1One-way0 changes
032018:30 PM3h17Madrid-Puerta de Atocha-Almudena Grandes11:47 PMBarcelona Sants50 S$1One-way0 changes
031411:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes4:59 PMBarcelona Sants73 S$1One-way0 changes
031512:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes5:59 PMBarcelona Sants103 S$1One-way0 changes
031815:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes8:59 PMBarcelona Sants70 S$1One-way0 changes
031916:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes9:59 PMBarcelona Sants59 S$1One-way0 changes
060818:22 AM3h02Madrid-Puerta de Atocha-Almudena Grandes11:24 AMBarcelona Sants71 S$1One-way0 changes
Travel Information
Compare train, coach 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 27S$. For those with little time consider booking a flight which can get you there in 3h 3m. 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 27S$, and a flight costs an average of 53S$.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
56S$ Average Price Cheapest | 66S$ Average Price | 185S$ Average Price |
5h 18m Average total duration 4h 48m Onboard + 30m Additional time* | 6h 12m Average total duration 5h 42m Onboard + 30m Additional time* | 6h 3m Average total duration Fastest 3h 3m 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, Monday, 22 June. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
03191 | On time 6:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 9:59 PM Barcelona Sants | 0 changesdirect | |
06015 | Delayed 7:29 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h21 | 8:56 PM 8:56 PMBarcelona Sants | 0 changesdirect | |
03309 | On time 7:34 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h46 | 11:20 PM Barcelona Sants | 0 changesdirect | |
03201 | On time 8:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:47 PM Barcelona Sants | 0 changesdirect | |
| Tuesday, 23 June | |||||
06261 | Delayed 6:09 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h26 | 7:35 AM 7:35 AMBarcelona Sants | 0 changesdirect | |
03301 | Delayed 6:16 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h08 | 7:24 AM 7:24 AMBarcelona Sants | 0 changesdirect | |
06471 | Delayed 6:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 7:45 AM 7:45 AMBarcelona Sants | 0 changesdirect | |
03063 | Delayed 6:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 7:50 AM 7:50 AMBarcelona Sants | 0 changesdirect | |
06071 | Delayed 7:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 8:24 AM 8:24 AMBarcelona Sants | 0 changesdirect | |
03073 | Delayed 7:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 9:11 AM 9:11 AMBarcelona Sants | 0 changesdirect | |
06081 | On time 8:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 11:24 AM Barcelona Sants | 0 changesdirect | |
03083 | Delayed 8:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 9:44 AM 9:44 AMBarcelona Sants | 0 changesdirect | |
06281 | On time 8:50 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 11:52 AM Barcelona Sants | 0 changesdirect | |
03091 | Delayed 8:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h09 | 10:06 AM 10:06 AMBarcelona Sants | 0 changesdirect | |
03093 | On time 9:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h37 | 1:04 PM Barcelona Sants | 0 changesdirect | |
06501 | Delayed 9:31 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h27 | 10:58 AM 10:58 AMBarcelona Sants | 0 changesdirect | |
06011 | Delayed 9:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h24 | 11:21 AM 11:21 AMBarcelona Sants | 0 changesdirect | |
03303 | Delayed 10:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:44 AM 11:44 AMBarcelona Sants | 0 changesdirect | |
06111 | Delayed 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 12:39 PM 12:39 PMBarcelona Sants | 0 changesdirect | |
03113 | 11:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 3:11 PM Barcelona Sants | 0 changesdirect | |
06121 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 3:39 PM Barcelona Sants | 0 changesdirect | |
03123 | 12:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h48 | 4:15 PM Barcelona Sants | 0 changesdirect | |
09725 | 12:50 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h29 | 4:19 PM Barcelona Sants | 0 changesdirect | |
06541 | 1:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 4:44 PM Barcelona Sants | 0 changesdirect | |
03141 | 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 4:59 PM Barcelona Sants | 0 changesdirect | |
03143 | 2:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 5:49 PM Barcelona Sants | 0 changesdirect | |
06021 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h31 | 6:13 PM Barcelona Sants | 0 changesdirect | |
03151 | 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 5:59 PM Barcelona Sants | 0 changesdirect | |
03305 | 3:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h47 | 7:14 PM Barcelona Sants | 0 changesdirect | |
06151 | 3:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 6:54 PM Barcelona Sants | 0 changesdirect | |
06571 | 4:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:24 PM Barcelona Sants | 0 changesdirect | |
03163 | 4:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 7:44 PM Barcelona Sants | 0 changesdirect | |
06161 | 4:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:39 PM Barcelona Sants | 0 changesdirect | |
06171 | 5:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h20 | 8:42 PM Barcelona Sants | 0 changesdirect | |
03173 | 5:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 9:11 PM Barcelona Sants | 0 changesdirect | |
03181 | 5:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 8:59 PM Barcelona Sants | 0 changesdirect | |
03183 | 6:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 9:49 PM Barcelona Sants | 0 changesdirect | |
06181 | 6:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h12 | 9:44 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 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.
22 Jun
23 Jun
24 Jun
25 Jun
26 Jun
27 Jun
28 Jun
29 Jun
30 Jun
01 Jul
02 Jul
03 Jul
04 Jul
05 Jul
06 Jul
07 Jul
08 Jul
09 Jul
10 Jul
11 Jul
12 Jul
Why should you book Madrid to Barcelona trains with Omio?
Why book with Omio vs iryo?
- Compare with other providers: On Omio, you can not only buy tickets for iryo, but also compare tickets for the likes of SNCF OUIGO, AVE, Renfe AVLO or Renfe to find the best option for your trip from Madrid to Barcelona.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare iryo with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Madrid to Barcelona.
Why book with Omio over Wanderu, Rome2rio or Raileurope?
- Compare with other providers: On Omio, you can also compare tickets for the likes of SNCF OUIGO, AVE, Renfe AVLO or Renfe to find the best option for your trip from Madrid to Barcelona.
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option from Madrid to Barcelona.
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 37 times per day, taking around 4h 48m. Cheap train tickets for this journey start at 27S$ but you can travel from only 15S$ by coach.
There are 37 trains per day. The earliest train runs at 00:14, the last at 21:15. The fastest train covers the 504 km distance in 3h 2m.
Distance 504 km |
Average train duration 4h 48m |
Cheapest ticket price 27S$ |
Trains per day 37 |
Direct trains 37 |
Fastest train 3h 2m |
First train 12:14 AM |
Last train 9:15 PM |
Cheapest Month Jul |
Cheapest Day Sat |
High Season Apr - Jun |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Sun |
Best time to book 91 days |
Train companies: iryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo from Madrid to Barcelona trainsiryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo trains will get you between Madrid and Barcelona from 15S$. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe
SNCF OUIGO
Renfe AVLO
Renfe Viajeros
Ouigo
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
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


