The cheapest and fastest trains from Madrid to Barcelona
Cheapest price
$113
Average price
$169
Fastest journey
2 h 37 m
Average duration
2 h 37 m
Trains per day
40
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 $169 if you buy it on the day, but the cheapest tickets can be found for only $113.
Of the 40 trains that leave Madrid for Barcelona on Fri, Nov 07, 40 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Fri, Nov 07 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 Fri, Nov 07 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.
06261
03071
06471
06271
03301
03071
06271
06281
06541
03201Travel 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: 313 miles (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 tomorrow, Friday, November 7. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06261 | On time 5:08 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 8:00 AM Barcelona Sants | 0 transfersDirect | |
03301 | 5:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h58 | 8:25 AM Barcelona Sants | 0 transfersDirect | |
03071 | On time 5:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 8:34 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 | |
06271 | 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 | |
03081 | On time 6:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 9:34 AM Barcelona Sants | 0 transfersDirect | |
06281 | On time 7:32 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 10:09 AM Barcelona Sants | 0 transfersDirect | |
03091 | On time 7:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h44 | 10:41 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 | |
06501 | Delayed 9:02 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h02 | 12:04 PM 12:04 PMBarcelona 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 | On time 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 | |
02591 | On time 11:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h17 | 2:44 PM Barcelona Sants | 0 transfersDirect | |
03131 | On time 11:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 2:34 PM Barcelona Sants | 0 transfersDirect | |
09725 | On time 12:18 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h04 | 3:22 PM Barcelona Sants | 0 transfersDirect | |
03141 | On time 12:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 3:34 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 | |
06151 | On time 2:38 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h47 | 5:25 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 | 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 | |
03373 | On time 4:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h19 | 7:46 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 | |
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 | |
03201 | On time 7:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h37 | 9:42 PM Barcelona Sants | 0 transfersDirect | |
06201 | On time 7:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 2h52 | 10:14 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 | 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 | |
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.
Nov 07
Nov 08
Nov 09
Nov 10
Nov 11
Nov 12
Nov 13
Nov 14
Nov 15
Nov 16
Nov 17
Nov 18
Nov 19
Nov 20
Nov 21
Nov 22
Nov 23
Nov 24
Nov 25
Nov 26
Nov 27
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 35 times per day, taking around 3h 38m. Cheap train tickets for this journey start at $36 (€29) but you can travel from only $30 (€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 313 miles (504 km) distance in 2h 37m.
Distance 313 miles (504 km) |
Average train duration 3h 38m |
Cheapest ticket price $36 (€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 $30 (€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
Spain’s Most Important High-Speed Line: Madrid to Barcelona
Introduction
Renfe, the Spanish state railway, and its flagship brand, AVE (Alta Velocidad Española or Spanish High Speed), have come under pressure from new competition in recent years, thanks to the arrival of open-access rival companies Ouigo and Iryo, as well as their own low-cost Avlo brand. I bought a ticket for the highest class of travel and took a trip on Renfe’s AVE from Madrid to Barcelona to see how they’re keeping up with their competitors.

Route Overview
In the past, the very popular puente aéreo (air bridge) was the main choice for people traveling between Madrid and Barcelona, taking just half an hour by flight. However, the train has now prevailed, and the end-to-end journey time is actually faster using the high-speed line, which accounts for over 80% of all journeys. There are multiple trains every hour, with some stopping to serve cities en route (Lleida, Zaragoza, and Tarragona) and others running nonstop between Spain’s two largest cities.
Fun fact: there’s even a regional train that runs between Madrid and Barcelona. It avoids the high-speed line entirely, taking around 9 hours to complete the journey! Don’t worry, though. The high-speed option is still much faster, taking as little as 2 hours and 37 minutes to complete the 621-kilometer (386-mile) distance.
Transportation Experience
All Spanish high-speed trains require a seat reservation, and they can sell out. The Madrid to Barcelona route has so many trains every day that, even if you can't travel on your desired train, there will be a seat available on another. Also, the prices are dynamic and, therefore, increase with demand. Last-minute trains will be more (and I mean way more) expensive. The further in advance you can reserve, the better. Thankfully, tickets are available on Omio up to three months prior to departure on this route.
Route Details
Departure & Arrival Stations
In Madrid, there are two main train stations. Trains to Barcelona leave from Madrid-Puerta de Atocha, which is located quite centrally within the city. As such, it is easy to reach using the Madrid metro or Cercanías local trains. Like at all Spanish high-speed train stations, you must go through an airport-style security check prior to accessing the platform. Don’t worry, as you won’t have to remove your electronics from your bag, and there is no limit on liquids. Arrive with enough time to complete the security check, as well as to visit the station's famous botanical garden! Prémium tickets, like mine, grant you access to the trendy Renfe Sala Club lounge.

All long-distance trains serve Barcelona-Sants station in Barcelona. It is served by metro line 5 and many Rodalies commuter rail lines. From the station, it is easy to reach all parts of the city.
Schedule & Frequency
There are around fourteen AVE trains every day linking both cities, from 6:00 am to 9:00 pm, at regular intervals. All trains leave at either 27 or 57 minutes past the hour, except the last departure at 21:07. The views across the central Spanish plains are also very pleasant, as seen from the many elevated viaducts on the route, but there are also many tunnels!
Onboard Experience & Services
Onboard comfort will vary slightly depending on the type of train you travel on. I traveled on an S-103, built by Siemens and part of their widespread “Velaro” train family. In my opinion, these are the best. In First Class (Confort carriage), the seats are laid out in a 2+1 configuration and are very spacious. They are very wide, with more than ample legroom, and the seating position is perfect for working or relaxing, thanks to the recline and comfortable head cushion.

My “Prémium” ticket included a comprehensive meal and drinks service, including alcohol for lunch or dinner. It was very delicious and featured roasted chicken salad, warm bread, a chocolate pudding, and a couple of glasses of prosecco. For those who don’t have a meal included in their ticket, a bar coach is on board, selling sandwiches, snacks, and a wide variety of drinks. Second Class (Estándar) seats are also great, offering all the amenities of the higher class, but with reduced legroom and width, in a 2+2 configuration. Free Wi-Fi was available for all passengers, and it was very fast. The train offers plentiful luggage storage, with a limit of three pieces (each weighing up to 25kg), so you can bring what you want within reason. However, you should be sensible and considerate of other passengers.

Ticketing Advice & Budget Breakdown
Prices are dynamic and vary based on demand, so be sure to reserve in advance. For my Premium fare, I paid €81, with one month’s notice, which is definitely on the cheaper side. On-the-day fares can cost over €150. Basic Estándar fares start from just €22.
| Item | Cost (EUR) |
|---|---|
| Train ticket (Premium Fare) | €81.00 |
| Total | €81.00 |
Top Tips & Personal Recommendations
- Check out the botanical garden in Madrid Puerta de Atocha station before you go through the security checks.
- If you have time, make a visit to the Renfe Sala Club lounge, which features comfortable seats and free drinks and snacks for Premium ticket holders.
- Want to save money but still crave a First Class experience? There are also cheaper Elige fares that allow you to sit in the big seats, but these don’t include lounge access or meal and drinks service.
Conclusion
The AVE has always been a great option for travel in Spain, and nowadays, thanks to competition, even the Prémium fares are not absurdly high. Tickets are changeable up until departure, and trains are very frequent, making traveling onboard Renfe's AVE Prémium service a fantastic option on this route.
About the Author: Nonstop Eurotrip
- Job Title: Travel Content Creator
- Bio: Nonstop Eurotrip creates YouTube trip reports and reviews on trains, planes, buses and ferries within Europe—and all around the world—and also shares blog posts and travel deals on their website.
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
- 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
More options for your journey from Madrid to Barcelona
Here are some other resources that might have the information you need


