0311311:273h44Madrid-Puerta de Atocha-Almudena Grandes15:11Barcelona Sants£311One-way0 changes
030918:573h09Madrid-Puerta de Atocha-Almudena Grandes12:06Barcelona Sants£371One-way0 changes
062818:503h02Madrid-Puerta de Atocha-Almudena Grandes11:52Barcelona Sants£381One-way0 changes
0315114:573h02Madrid-Puerta de Atocha-Almudena Grandes17:59Barcelona Sants£441One-way0 changes
060119:573h24Madrid-Puerta de Atocha-Almudena Grandes13:21Barcelona Sants£461One-way0 changes
0316115:573h02Madrid-Puerta de Atocha-Almudena Grandes18:59Barcelona Sants£651One-way0 changes
0315114:573h02Madrid-Puerta de Atocha-Almudena Grandes17:59Barcelona Sants£441One-way0 changes
0657116:223h02Madrid-Puerta de Atocha-Almudena Grandes19:24Barcelona Sants£551One-way0 changes
030817:573h02Madrid-Puerta de Atocha-Almudena Grandes10:59Barcelona Sants£731One-way0 changes
0313113:223h02Madrid-Puerta de Atocha-Almudena Grandes16:24Barcelona Sants£811One-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 £27. 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 £27, and a flight costs an average of £53.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
£56 Average Price Cheapest | £66 Average Price | £185 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, Wednesday 22 July. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
03141 | Delayed 13:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 14:59 14:59Barcelona Sants | 0 changesdirect | |
03143 | Delayed 14:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 15:49 15:49Barcelona Sants | 0 changesdirect | |
06021 | On time 14:42 Madrid-Puerta de Atocha-Almudena Grandes | 3h31 | 18:13 Barcelona Sants | 0 changesdirect | |
03151 | On time 14:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 17:59 Barcelona Sants | 0 changesdirect | |
03305 | On time 15:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h47 | 19:14 Barcelona Sants | 0 changesdirect | |
03161 | On time 15:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 18:59 Barcelona Sants | 0 changesdirect | |
06571 | Delayed 16:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 17:24 17:24Barcelona Sants | 0 changesdirect | |
03163 | On time 16:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 19:44 Barcelona Sants | 0 changesdirect | |
06161 | Delayed 16:37 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 17:39 17:39Barcelona Sants | 0 changesdirect | |
03171 | On time 16:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 19:59 Barcelona Sants | 0 changesdirect | |
06171 | Delayed 17:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h20 | 18:42 18:42Barcelona Sants | 0 changesdirect | |
03173 | Delayed 17:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 19:11 19:11Barcelona Sants | 0 changesdirect | |
03181 | Delayed 17:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 18:59 18:59Barcelona Sants | 0 changesdirect | |
03183 | Delayed 18:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 19:49 19:49Barcelona Sants | 0 changesdirect | |
06181 | Delayed 18:32 Madrid-Puerta de Atocha-Almudena Grandes | 3h12 | 19:44 19:44Barcelona Sants | 0 changesdirect | |
03191 | On time 18:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 21:59 Barcelona Sants | 0 changesdirect | |
06015 | Delayed 19:29 Madrid-Puerta de Atocha-Almudena Grandes | 3h21 | 20:50 20:50Barcelona Sants | 0 changesdirect | |
03309 | On time 19:34 Madrid-Puerta de Atocha-Almudena Grandes | 3h46 | 23:20 Barcelona Sants | 0 changesdirect | |
06425 | Delayed 20:10 Madrid-Puerta de Atocha-Almudena Grandes | 3h18 | 21:28 21:28Barcelona Sants | 0 changesdirect | |
03201 | On time 20:30 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 23:47 Barcelona Sants | 0 changesdirect | |
06261 | 6:09 Madrid-Puerta de Atocha-Almudena Grandes | 3h26 | 9:35 Barcelona Sants | 0 changesdirect | |
06471 | 6:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 9:45 Barcelona Sants | 0 changesdirect | |
03311 | 6:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h29 | 9:56 Barcelona Sants | 0 changesdirect | |
06071 | 7:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:24 Barcelona Sants | 0 changesdirect | |
03073 | 7:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 11:11 Barcelona Sants | 0 changesdirect | |
03081 | 7:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:59 Barcelona Sants | 0 changesdirect | |
06081 | 8:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 11:24 Barcelona Sants | 0 changesdirect | |
03083 | 8:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:44 Barcelona Sants | 0 changesdirect | |
06281 | 8:50 Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 11:52 Barcelona Sants | 0 changesdirect | |
03091 | 8:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h09 | 12:06 Barcelona Sants | 0 changesdirect | |
03093 | 9:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h37 | 13:04 Barcelona Sants | 0 changesdirect | |
06501 | 9:31 Madrid-Puerta de Atocha-Almudena Grandes | 3h27 | 12:58 Barcelona Sants | 0 changesdirect | |
06011 | 9:57 Madrid-Puerta de Atocha-Almudena Grandes | 3h24 | 13:21 Barcelona Sants | 0 changesdirect | |
03303 | 10:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 13:44 Barcelona Sants | 0 changesdirect | |
06111 | 11:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 14:39 Barcelona Sants | 0 changesdirect | |
03113 | 11:27 Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 15:11 Barcelona Sants | 0 changesdirect | |
06121 | 12:22 Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 15:39 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 Jul
23 Jul
24 Jul
25 Jul
26 Jul
27 Jul
28 Jul
29 Jul
30 Jul
31 Jul
01 Aug
02 Aug
03 Aug
04 Aug
05 Aug
06 Aug
07 Aug
08 Aug
09 Aug
10 Aug
11 Aug
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?
ReviewsReviews for the rail journey 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 £27 but you can travel from only £15 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 £27 |
Trains per day 37 |
Direct trains 37 |
Fastest train 3h 2m |
First train 0:14 |
Last train 21:15 |
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 £15. 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
Most Madrid to Barcelona trains use the Madrid-Puerta de Atocha-Almudena Grandes to Barcelona Sants station pair. Use this guide to compare Madrid and Barcelona train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Madrid station do trains to Barcelona leave from?
Getting to Madrid-Puerta de Atocha-Almudena Grandes from Madrid city centre
Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:
Madrid-Puerta de Atocha-Almudena Grandes train station facilities and services
Madrid-Puerta de Atocha-Almudena Grandes has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.
Food and drink
Food options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King
Wi-Fi and ATMs
Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.
Tickets and information
The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.
Luggage and lost property
Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.
Bike and car services
Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Shops, hotels and contact
Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.
Which Barcelona station do trains from Madrid arrive at?
Getting to Barcelona Sants from Barcelona city centre
Barcelona Sants is 1 km from Barcelona city centre. Public transport options include:
Barcelona Sants train station facilities and services
Barcelona Sants has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.
Food and drink
Food options include: 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
Wi-Fi and ATMs
Hotspots in and near restaurants. ATMs are in the central part of the station.
Tickets and information
The ticket office is open Mon - Sun: 06:00 - 22:00. Information desks are located in various locations inside the station.
Luggage and lost property
Luggage storage is staffed and automatic. Open daily from 05:30 to 21:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Barcelona Sants: Parking, Taxis, WC.
Bike and car services
Available at Barcelona Sants: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Barcelona Sants: All areas of the station have full disability access facilities.
Shops, hotels and contact
Nearby hotels include Apartments Eixample, Apartment Guell, Sweet Inn Callao.
More options for your journey from Madrid to Barcelona
Here are some other resources that might have the information you need


