The cheapest and fastest trains from Barcelona to Madrid
Cheapest price
$113
Average price
$152
Fastest journey
2 h 36 m
Average duration
2 h 37 m
Trains per day
41
Distance
504 km
The best way to find a cheap train ticket from Barcelona to Madrid is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Barcelona to Madrid will cost around $152 if you buy it on the day, but the cheapest tickets can be found for only $113.
Of the 41 trains that leave Barcelona for Madrid on Fri, Nov 07, 41 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 36 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.
03212
06610
06470
06190
06210
03140
06200
03610
03180
06570Travel Information
Compare train, bus, and flight for Barcelona to Madrid
Omio recommends booking the train as it is the most popular option from Barcelona to Madrid among Omio's users. If you are prioritising price take the train with prices starting from €19. For those with little time consider booking a flight which can get you there in 1h 47m. 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 €19, and a flight costs an average of €69.
Distance: 313 miles (504 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€75 Average price Cheapest | €116 Average price | €274 Average price |
4h 7m Average total duration 3h 37m Onboard + 30m Additional time* | 12h 8m Average total duration 11h 38m Onboard + 30m Additional time* | 4h 47m Average total duration Fastest 1h 47m 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
Barcelona to Madrid train times
The table below shows live departures for Barcelona to Madrid 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 |
|---|---|---|---|---|---|
06060 | On time 4:45 AM Barcelona Sants | 2h52 | 7:37 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03862 | On time 4:50 AM Barcelona Sants | 3h25 | 8:15 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06470 | On time 5:25 AM Barcelona Sants | 2h52 | 8:17 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03302 | On time 5:35 AM Barcelona Sants | 2h52 | 8:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06270 | On time 6:05 AM Barcelona Sants | 2h37 | 8:42 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03662 | On time 6:27 AM Barcelona Sants | 2h45 | 9:12 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06280 | On time 6:55 AM Barcelona Sants | 2h37 | 9:32 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03882 | On time 7:00 AM Barcelona Sants | 3h19 | 10:19 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03080 | On time 7:25 AM Barcelona Sants | 2h37 | 10:02 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06090 | On time 7:45 AM Barcelona Sants | 2h52 | 10:37 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03304 | On time 8:55 AM Barcelona Sants | 3h24 | 12:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | On time 9:40 AM Barcelona Sants | 2h52 | 12:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 9:45 AM Barcelona Sants | 2h37 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03112 | On time 10:00 AM Barcelona Sants | 2h52 | 12:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 10:50 AM Barcelona Sants | 2h52 | 1:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03322 | On time 11:00 AM Barcelona Sants | 3h19 | 2:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
09730 | On time 11:50 AM Barcelona Sants | 3h02 | 2:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06130 | On time 12:05 PM Barcelona Sants | 2h52 | 2:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03830 | On time 12:25 PM Barcelona Sants | 2h37 | 3:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | On time 12:50 PM Barcelona Sants | 2h37 | 3:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03140 | On time 1:25 PM Barcelona Sants | 2h36 | 4:01 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 1:55 PM Barcelona Sants | 2h37 | 4:32 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03152 | On time 2:00 PM Barcelona Sants | 2h52 | 4:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03150 | On time 2:25 PM Barcelona Sants | 2h37 | 5:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06160 | On time 2:55 PM Barcelona Sants | 2h52 | 5:47 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03160 | On time 3:25 PM Barcelona Sants | 2h37 | 6:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03874 | On time 3:58 PM Barcelona Sants | 2h53 | 6:51 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03170 | On time 4:25 PM Barcelona Sants | 2h37 | 7:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 4:35 PM Barcelona Sants | 2h37 | 7:12 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | 4:40 PM Barcelona Sants | 2h37 | 7:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03182 | On time 5:00 PM Barcelona Sants | 3h19 | 8:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03180 | On time 5:25 PM Barcelona Sants | 2h37 | 8:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03192 | On time 5:40 PM Barcelona Sants | 3h12 | 8:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:05 PM Barcelona Sants | 2h52 | 8:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03190 | On time 6:25 PM Barcelona Sants | 2h37 | 9:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06200 | On time 6:47 PM Barcelona Sants | 2h37 | 9:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03310 | On time 7:00 PM Barcelona Sants | 3h19 | 10:19 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | 7:40 PM Barcelona Sants | 3h02 | 10:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06210 | On time 7:55 PM Barcelona Sants | 2h52 | 10:47 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03212 | On time 8:05 PM Barcelona Sants | 2h53 | 10:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03610 | On time 8:15 PM Barcelona Sants | 2h37 | 10:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Barcelona to Madrid by train, bus, or flight
Compare train, bus, 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 Barcelona to Madrid?
ReviewsReviews for the rail journey from Barcelona to Madrid

Journey information
Overview: Train from Barcelona to Madrid
Trains from Barcelona to Madrid run on average 36 times per day, taking around 3h 37m. Cheap train tickets for this journey start at $23 (€19) if you book in advance.
There are 36 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 37m |
Cheapest ticket price $23 (€19) |
Trains per day 36 |
Direct trains 36 |
Fastest train 2h 37m |
First train 05:40 |
Last train 21:25 |
Train companies: Ouigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros from Barcelona to Madrid trainsOuigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros trains will get you between Barcelona and Madrid from $23 (€19). 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
Discover high-speed comfort on the Barcelona to Madrid Train
Board the sleek AVE service at Barcelona Sants station and experience Spain’s fastest rail connection, whisking you across the Iberian Peninsula in as little as 2 hours 30 minutes. Enjoy spacious reclining seats, generous legroom, and onboard café service offering a selection of Spanish pastries, gourmet sandwiches and local wines. Panoramic windows frame the shifting Catalan and Castilian landscapes, from the sun-drenched vineyards around Tarragona to the rolling plains near Zaragoza, making each mile a photo-worthy moment.
As the train speeds through historic towns like Lleida and Zaragoza, take advantage of complimentary high-speed Wi-Fi and convenient USB outlets to stay connected, catch up on work, or unwind with your favorite music and podcasts. In first-class carriages, savor extra touches like complimentary beverages and snacks. When you pull into Madrid Puerta de Atocha, you’ll step into the city’s vibrant core, just minutes from world-class museums, bustling tapas bars and the elegant Retiro Park, feeling refreshed, inspired and ready for your next adventure.
When to Book Your Barcelona to Madrid Ticket
Tickets go on sale 90 days before departure, with the best “Turista Promo” and “Elige” fares booked 2–3 months in advance. Fares increase closer to departure, especially for weekend and holiday travel.
- Watch Omio’s Renfe offers for seasonal promotions
- Set up price alerts on the Omio app to capture flash sales
How to Buy Cheap Barcelona to Madrid Train Tickets
- Travel on weekdays. Avoid Fridays and Sundays to find lower fares.
- Opt for standard class. Turista remains comfortable and significantly cheaper than Turista Plus.
- Use rail passes. A Spain Eurail Pass may offer savings on multi-ride trips.
- Consider off-peak times. Early morning or late evening trains can be less expensive.
- Split your journey. Less common but sometimes effective: Barcelona → Zaragoza + Zaragoza → Madrid.
Top Train Routes
| Connection | Duration | From € |
|---|---|---|
| Barcelona Sants → Zaragoza | 1 h 22 m | 15 € |
| Barcelona Sants → Lleida | 58 m | 17 € |
| Zaragoza → Madrid Puerta de Atocha | 1 h 26 m | 24 € |
| Lleida → Madrid Puerta de Atocha | 2 h 10 m | €63 |
Renfe AVE standard tickets include two carry-ons and one checked bag up to 25 kg. Oversized items may incur extra fees—see our Travel Company Policies for details.
Promo fares often cannot be changed or refunded. Flexible fares permit changes up to 1 hour before departure for a small fee. See How to change or cancel a ticket for full terms.
Barcelona to Madrid by Train: The Easiest, Most Scenic Way to Travel Spain
Introduction
As someone always chasing the smoothest way to explore Spain, the Barcelona to Madrid by train route was an easy yes for my recent trip. If it’s your first time visiting or you’re regularly traveling between the cities for work or fun, this journey feels like part of the adventure and not just a commute. Let me walk you through my first-hand experience and share a few tips to help you plan your own perfect ride.
Route Overview
You can travel from Barcelona to Madrid by train in just 2.5 to 3 hours, covering 620 kilometers (385 miles) with ease between two of Spain’s most dynamic cities.
In my opinion, it’s the best way to get from Barcelona to Madrid if you care about comfort, speed, and scenery. I rode with Ouigo, but you’ll also find Renfe AVE and Avlo high-speed options departing from Barcelona Sants and arriving at Madrid Chamartín Clara Campoamor, which are both easy to reach from the city center.

Transportation Experience
Booking my Barcelona to Madrid train on Omio took all the guesswork out of the process. After quickly comparing prices and times, I went with an early-morning Ouigo for the best value. If you’re debating “Should I take the train or bus from Barcelona to Madrid?”—the train wins for speed, comfort, and views. Flights are quicker in the air, but between airport transfers and security, trains are often just as fast and way more relaxing.

Route Details
Departure & Arrival Stations
Barcelona Sants is a major hub, but easy to navigate—plenty of signs, good coffee, and lots of shops. Arrive early to soak in the energy (and secure a croissant before boarding).
Madrid Chamartín Clara Campoamor is also well-connected, with taxis, metro and bus lines right outside, making your onward Madrid adventure seamless.

Schedule & Frequency
The train journey from Barcelona to Madrid takes just over 2.5 hours, even with a quick stop in Zaragoza. I took a 7:45 AM OUIGO train and arrived in Madrid by mid-morning: it was fast, smooth, and incredibly easy. You’ll find departures nearly every hour, from sunrise to late evening. Mornings offer the best light and fewer crowds, but there are options to fit any schedule.
Onboard Experience & Services
My Second Class Ouigo seat surprised me: roomy, clean, and with handy power outlets for my devices. Ouigo doesn’t offer Wi-Fi, so I recommend downloading podcasts and playlists in advance (the scenery keeps you busy anyway). If you’re after more perks like a café car or quiet zone, check out Renfe’s AVE trains on Omio.
On OUIGO trains between Madrid and Barcelona, each passenger can bring one cabin bag (maximum 55 × 35 × 25 cm) and one small handbag (maximum 36 × 27 × 15 cm) free of charge. Additional or oversized luggage (up to 130 × 90 × 50 cm and 30 kg) can be added for €5 during booking or €20 at the station, so it’s worth planning ahead.
The real highlight, though? Watching Spain fly by with rolling hills, olive groves, and even castles peeking through the window. The route feels like a moving postcard, especially around Zaragoza.
Ticketing Advice & Budget Breakdown
Book early for the best deals. I bought my ticket about 3 weeks ahead for just €15. Here’s what my total trip cost:
| Item | Cost (EUR) |
|---|---|
| Ouigo Train Ticket (early booking) | €15 |
| Metro to Barcelona Sants | €1.50 |
| Coffee & croissant at station café | €4 |
| Taxi from Chamartín to my hotel | €10 |
| Total | €30.50 |
Looking for more savings? Try Avlo or book non-peak times, and always check for flash deals or promo codes. Find more tips in Omio's Barcelona train station guide.
Top Tips & Recommendations
- Arrive early at Barcelona Sants to enjoy a coffee and avoid last-minute stress.
- Choose an upper-deck seat if you can, as the views are next-level.
- Pack your own snacks, especially on Ouigo, since there’s no food onboard.
- No Wi-Fi on Ouigo: Download everything ahead of time.
- If you want extra comfort or amenities, AVE trains are worth the splurge.
Scenic Moments You’ll Remember
One thing I loved about the Barcelona to Madrid train is that you see the landscape shift in real-time, from the coast and city to golden fields, olive groves, and rugged mountains. The early sunlight over Zaragoza was unreal. Even if you’re not a morning person, set your alarm because these views are worth it.
Conclusion
If you’re deciding on how to get from Barcelona to Madrid, this is a great train route. It’s fast and smooth, and it turns the journey into a complete experience. Book your Barcelona to Madrid train with Omio, grab a window seat, and let Spain unfold around you. ¡Buen viaje!
About the Author: Nancy Sevilla
- Job Title: Travel and Lifestyle Blogger
- Bio: Travel and lifestyle content creator who shares honest guides, helpful tips, and personal experiences from her global adventures. Based between Spain and the U.S., she specializes in solo travel, digital nomad life, and creating visually compelling content for her blog and social platforms.

FAQs: Trains from Barcelona to Madrid
Find answers to the most common questions about traveling from Barcelona to Madrid 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 Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Popular train stations from Barcelona to Madrid
- 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
- 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
Most popular train connections from Barcelona
More options for your journey from Barcelona to Madrid
Here are some other resources that might have the information you need


