The cheapest and fastest trains from Madrid to Barcelona
Cheapest price on Oct 21
€32
Average ticket price on Oct 21
€64
Fastest journey on Oct 21
3 h 2 m
Average journey duration on Oct 21
3 h 2 m
Trains on Oct 21
41
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 €32.
On Wed, Oct 21, we found 41 trains from Madrid to Barcelona, including 41 direct services.
On Wed, Oct 21 the 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 .
On Wed, Oct 21 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.
030838:27 AM3h17Madrid-Puerta de Atocha-Almudena Grandes11:44 AMBarcelona Sants€321One-way0 transfers
0330310:27 AM3h17Madrid-Puerta de Atocha-Almudena Grandes1:44 PMBarcelona Sants€321One-way0 transfers
060119:57 AM3h24Madrid-Puerta de Atocha-Almudena Grandes1:21 PMBarcelona Sants€321One-way0 transfers
065019:31 AM3h27Madrid-Puerta de Atocha-Almudena Grandes12:58 PMBarcelona Sants€331One-way0 transfers
064158:10 PM3h18Madrid-Puerta de Atocha-Almudena Grandes11:28 PMBarcelona Sants€331One-way0 transfers
060717:22 AM3h02Madrid-Puerta de Atocha-Almudena Grandes10:24 AMBarcelona Sants€491One-way0 transfers
030817:57 AM3h02Madrid-Puerta de Atocha-Almudena Grandes10:59 AMBarcelona Sants€591One-way0 transfers
031411:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes4:59 PMBarcelona Sants€451One-way0 transfers
031916:57 PM3h02Madrid-Puerta de Atocha-Almudena Grandes9:59 PMBarcelona Sants€1181One-way0 transfers
061614:37 PM3h02Madrid-Puerta de Atocha-Almudena Grandes7:39 PMBarcelona Sants€821One-way0 transfers
Journey information
Overview: Train from Madrid to Barcelona
Trains from Madrid to Barcelona run on average 40 times per day, taking around 3h 5m. Cheap train tickets for this journey start at €10 but you can travel from only €5 by bus.
There are 40 trains per day. The earliest train runs at 00:14, the last at 21:15. The fastest train covers the 504 km distance in 2h 37m.
Distance 504 km |
Average train duration 3h 5m |
Cheapest ticket price €10 |
Trains per day 40 |
Direct trains 40 |
Fastest train 2h 37m |
First train 12:14 AM |
Last train 9:15 PM |
Cheapest Month Mar |
Cheapest Day Sat |
High Season Apr - Jun |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Sun |
Best time to book 91 days |
Live departures
Madrid to Barcelona train times
The table below shows live departures for Madrid to Barcelona trains for tomorrow, Wednesday, October 21. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06261 | 6:09 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h26 | 9:35 AM Barcelona Sants | 0 transfersDirect | |
03301 | 6:16 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h08 | 9:24 AM Barcelona Sants | 0 transfersDirect | |
06471 | 6:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 9:45 AM Barcelona Sants | 0 transfersDirect | |
03063 | 6:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h23 | 9:50 AM Barcelona Sants | 0 transfersDirect | |
03071 | 6:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 9:59 AM Barcelona Sants | 0 transfersDirect | |
06071 | 7:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:24 AM Barcelona Sants | 0 transfersDirect | |
03073 | 7:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 11:11 AM Barcelona Sants | 0 transfersDirect | |
03081 | 7:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 10:59 AM Barcelona Sants | 0 transfersDirect | |
03083 | 8:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:44 AM Barcelona Sants | 0 transfersDirect | |
06281 | 8:50 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 11:52 AM Barcelona Sants | 0 transfersDirect | |
03091 | 8:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h09 | 12:06 PM Barcelona Sants | 0 transfersDirect | |
06091 | 9:12 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 12:29 PM Barcelona Sants | 0 transfersDirect | |
03093 | 9:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h37 | 1:04 PM Barcelona Sants | 0 transfersDirect | |
06501 | 9:31 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h27 | 12:58 PM Barcelona Sants | 0 transfersDirect | |
06011 | 9:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h24 | 1:21 PM Barcelona Sants | 0 transfersDirect | |
03303 | 10:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 1:44 PM Barcelona Sants | 0 transfersDirect | |
06111 | 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 2:39 PM Barcelona Sants | 0 transfersDirect | |
03113 | 11:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h44 | 3:11 PM Barcelona Sants | 0 transfersDirect | |
06121 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 3:39 PM Barcelona Sants | 0 transfersDirect | |
03123 | 12:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h42 | 4:09 PM Barcelona Sants | 0 transfersDirect | |
09725 | 12:50 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h29 | 4:19 PM Barcelona Sants | 0 transfersDirect | |
06541 | 1:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 4:44 PM Barcelona Sants | 0 transfersDirect | |
03141 | 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 4:59 PM Barcelona Sants | 0 transfersDirect | |
03143 | 2:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 5:49 PM Barcelona Sants | 0 transfersDirect | |
06021 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h31 | 6:13 PM Barcelona Sants | 0 transfersDirect | |
03151 | 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 5:59 PM Barcelona Sants | 0 transfersDirect | |
03305 | 3:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h47 | 7:14 PM Barcelona Sants | 0 transfersDirect | |
06151 | 3:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 6:54 PM Barcelona Sants | 0 transfersDirect | |
03161 | 3:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 6:59 PM Barcelona Sants | 0 transfersDirect | |
06571 | 4:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:24 PM Barcelona Sants | 0 transfersDirect | |
03163 | 4:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 7:44 PM Barcelona Sants | 0 transfersDirect | |
06161 | 4:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:39 PM Barcelona Sants | 0 transfersDirect | |
03171 | 4:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 7:59 PM Barcelona Sants | 0 transfersDirect | |
06171 | 5:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h20 | 8:42 PM Barcelona Sants | 0 transfersDirect | |
03183 | 6:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h22 | 9:49 PM Barcelona Sants | 0 transfersDirect | |
06181 | 6:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h12 | 9:44 PM Barcelona Sants | 0 transfersDirect | |
03191 | 6:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 9:59 PM Barcelona Sants | 0 transfersDirect | |
06015 | 7:29 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h21 | 10:50 PM Barcelona Sants | 0 transfersDirect | |
03309 | 7:34 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h46 | 11:20 PM Barcelona Sants | 0 transfersDirect | |
06415 | 8:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h18 | 11:28 PM Barcelona Sants | 0 transfersDirect | |
03201 | 8:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 11:47 PM Barcelona Sants | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
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 AVE, SNCF OUIGO or Renfe AVLO 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 bus, train 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 AVE, SNCF OUIGO or Renfe AVLO to find the best option for your trip from Madrid to Barcelona.
- Multiple modes of transport: Omio allows you to compare travel options including bus, train 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?
Train companies: AVE, iryo, SNCF OUIGO, Renfe AVLO from Madrid to Barcelona trainsAVE, iryo, SNCF OUIGO, Renfe AVLO trains will get you between Madrid and Barcelona from €5. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
AVE
iryo
SNCF OUIGO
Renfe AVLO
Companies, tickets, and onboard amenities between Madrid and Barcelona
Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.
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.

popular train stations
Popular train stations from Madrid to 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
