- Must visit
Museo Nacional del Prado
Spain’s premier art museum, famed for masterpieces by Velázquez, Goya, and El Greco. A cornerstone of Madrid’s Golden Triangle of Art and a top priority for first-time visitors.
Cheapest price
$46
Average price
$88
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
32
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 $88 if you buy it on the day, but the cheapest tickets can be found for only $46.
Of the 32 trains that leave Barcelona for Madrid on Sat, Jun 20, 32 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Jun 20 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 Sat, Jun 20 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.
03082
06570
06540
06420
06350
03080
06070
06180
06320
06570Omio 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 $29. For those with little time consider booking a flight which can get you there in 4h 16m. 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 $60.
Distance: 313 miles (504 km)
Most popular Train | Bus | Flight | Driving |
|---|---|---|---|
$52 Average price Cheapest | $70 Average price | $249 Average price | $124 Average price (fuel + tolls) |
5h 37m Average total duration 5h 7m Onboard + 30m Additional time* | 6h 45m Average total duration 6h 15m Onboard + 30m Additional time* | 7h 16m Average total duration Fastest 4h 16m Onboard + 3h 0m Additional time* | 6h 16m Average total duration (door-to-door) |
0.2 - 0.5kg CO2 emissions Lowest | 0.5 - 1.3kg CO2 emissions | 1.5 - 3.0kg CO2 emissions | - CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline | Your own car or car rental |
Direct Options | Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
This is compared to other travel options from Barcelona to Madrid:
A train is $18 (€15) less than a bus for this route with tickets for a bus from Barcelona to Madrid costing on average $70 (€58).
A train is $196 (€161) less than a flight for this route with tickets for a flight from Barcelona to Madrid costing on average $249 (€204).
Other travel options to Madrid take longer:
Train takes on average 5h 7m.
Bus takes on average 6h 15m.
The journey is about 1h 9m faster (5h 7m by train vs 6h 16m by car) and roughly $72 (€59) cheaper once you factor in fuel and tolls ($52 (€43) vs $124 (€101)). You'll also arrive in the city centre rather than hunting for parking, and you can work, read, or watch the landscape go by instead of concentrating on the road.
Direct services run with iryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo.
Driving is still worth considering if you want to stop along the way or need a car once you arrive.
The table below shows live departures for Barcelona to Madrid trains for today, Friday, June 19. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
03662 | Delayed 5:37 AM 7:27 AMBarcelona Sants | 3h10 | 8:47 AM 8:47 AMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06420 | On time 7:35 AM Barcelona Sants | 3h30 | 11:05 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06080 | On time 7:50 AM Barcelona Sants | 3h25 | 11:15 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03082 | On time 8:00 AM Barcelona Sants | 3h44 | 11:44 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03080 | On time 8:25 AM Barcelona Sants | 3h02 | 11:27 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06012 | Delayed 8:45 AM Barcelona Sants | 3h31 | 10:16 AM 10:16 AMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03092 | On time 9:00 AM Barcelona Sants | 3h24 | 12:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03304 | On time 9:55 AM Barcelona Sants | 3h49 | 1:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | On time 10:40 AM Barcelona Sants | 3h17 | 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 10:45 AM Barcelona Sants | 3h04 | 1:49 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03112 | On time 11:00 AM Barcelona Sants | 3h17 | 2:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 11:18 AM Barcelona Sants | 3h24 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03322 | On time 12:00 PM Barcelona Sants | 3h44 | 3:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06320 | On time 12:14 PM Barcelona Sants | 3h02 | 3:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
09730 | On time 12:50 PM Barcelona Sants | 3h28 | 4:18 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | Delayed 1:13 PM Barcelona Sants | 3h24 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03130 | On time 1:27 PM Barcelona Sants | 3h02 | 4:29 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | Delayed 1:50 PM Barcelona Sants | 3h02 | 2:52 PM 2:52 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03308 | On time 2:00 PM Barcelona Sants | 3h44 | 5:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03140 | Delayed 2:25 PM Barcelona Sants | 3h01 | 3:26 PM 3:26 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 2:50 PM Barcelona Sants | 3h02 | 5:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03152 | On time 3:00 PM Barcelona Sants | 3h17 | 6:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03150 | On time 3:25 PM Barcelona Sants | 3h02 | 6:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06360 | On time 3:52 PM Barcelona Sants | 3h24 | 7:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03162 | On time 4:00 PM Barcelona Sants | 3h44 | 7:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03160 | On time 4:25 PM Barcelona Sants | 3h02 | 7:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03172 | On time 4:58 PM Barcelona Sants | 3h18 | 8:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 5:20 PM Barcelona Sants | 3h02 | 8:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03170 | On time 5:25 PM Barcelona Sants | 3h02 | 8:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 5:40 PM Barcelona Sants | 3h02 | 8:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03182 | On time 6:00 PM Barcelona Sants | 3h44 | 9:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03180 | On time 6:25 PM Barcelona Sants | 3h02 | 9:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03192 | On time 6:40 PM Barcelona Sants | 3h37 | 10:17 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:53 PM Barcelona Sants | 3h17 | 10:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03190 | On time 7:25 PM Barcelona Sants | 3h02 | 10:27 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06200 | On time 7:40 PM Barcelona Sants | 3h02 | 10:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03310 | On time 8:00 PM Barcelona Sants | 3h44 | 11:44 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | Delayed 8:20 PM Barcelona Sants | 3h28 | 9:48 PM 9:48 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06210 | On time 8:28 PM Barcelona Sants | 3h24 | 11:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Saturday, June 20 | |||||
03062 | 5:50 AM Barcelona Sants | 3h50 | 9:40 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
03302 | 6:35 AM Barcelona Sants | 3h17 | 9:52 AM 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 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.
By Nancy Sevilla
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.

Barcelona to Madrid thumbnail image with Sagrada Familia in background
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.
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.

Barcelona to Madrid thumbnail image with Sagrada Familia in background

The exterior of a high-speed train at the station platform
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.
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.
Nancy Sevilla Describes Train Journey from Barcelona to Madrid Nancy Sevilla describes her personal experience on a high-speed train journey from Barcelona to Madrid, highlighting how she booked the trip on Omio, the amenities of the Ouigo train, and the scenic views along the way. 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.
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.

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) |
|---|---|
| Ticket price | €15 |
| Food & drinks | €4 |
| Travel to departure station | €1.50 |
| Travel from arrival station | €10 |
| Total | € 30.5 |
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!


Trains from Barcelona to Madrid run on average 37 times per day, taking around 5h 7m. Cheap train tickets for this journey start at $29 (€24) but you can travel from only $26 (€21) by bus.
There are 37 trains per day. The earliest train runs at 05:40, the last at 21:15. The fastest train covers the 313 miles (504 km) distance in 3h 2m.
Distance 313 miles (504 km) |
Average train duration 5h 7m |
Cheapest ticket price $29 (€24) |
Trains per day 37 |
Direct trains 37 |
Fastest train 3h 2m |
First train 5:40 AM |
Last train 9:15 PM |
Cheapest Month Sep |
Cheapest Day Sat |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Sun |
Best time to book 91 days |
Discover the best of Madrid — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Madrid trip today.
Spain’s premier art museum, famed for masterpieces by Velázquez, Goya, and El Greco. A cornerstone of Madrid’s Golden Triangle of Art and a top priority for first-time visitors.
Madrid’s leading modern art museum, best known for Picasso’s Guernica alongside major works by Dalí and Miró. Essential for modern and contemporary art lovers.
A major museum spanning European painting from the Renaissance to the 20th century. Its broad collection complements the Prado and Reina Sofía perfectly.
Madrid’s most famous park, ideal for walking, boating, and relaxing among monuments and formal gardens. A top city experience for nearly every visitor.
Madrid’s best-known avenue, lined with historic architecture, theaters, shops, and rooftop views. Energetic by day and night, it is one of the city’s defining walks.
The symbolic heart of Madrid and a major meeting point, home to the Kilómetro Cero marker and famous public celebrations. Constantly busy and central.
Madrid’s signature chickpea stew, traditionally served in stages with broth, vegetables, chickpeas, and assorted meats. It is one of the city’s most emblematic comfort dishes.
A classic Madrid sandwich of fried squid rings in crusty bread, especially associated with bars around Plaza Mayor. It is a simple local staple and iconic snack.
A rich traditional stew made with tripe, chorizo, and morcilla in a paprika-forward sauce. It is a historic tavern dish closely linked to Madrid cuisine.
Prestigious flamenco venue with acclaimed dining, known for refined Spanish cuisine in an intimate historic setting. It combines performance and high-end gastronomy.
Historic traditional restaurant famous for roast suckling pig and Castilian classics. It offers an old-world atmosphere and is one of Madrid’s most iconic dining rooms.
Well-known classic restaurant celebrated for huevos rotos and traditional Spanish cooking. It is a long-established spot with a lively, polished tavern feel.
Moderate for Western Europe. Museums and transport are reasonable, while central hotels and fine dining cost more.
Service is usually included. Locals often round up or leave EUR 1-2 in cafés and 5-10% at restaurants for very good service. Tipping is appreciated, not required.
Official public transport app
Madrid-Puerta de Atocha-Almudena Grandes, Madrid -> Sol, Madrid
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.
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.
| 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.
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.

Most Barcelona to Madrid trains use the Barcelona Sants to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare Barcelona and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Barcelona Sants is 1 km from Barcelona city centre. Public transport options include:
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 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
Hotspots in and near restaurants. ATMs are in the central part of the station.
The ticket office is open Mon - Sun: 06:00 - 22:00. Information desks are located in various locations inside the station.
Luggage storage is staffed and automatic. Open daily from 05:30 to 21:00. Lost and found is available at the station.
Available at Barcelona Sants: Parking, Taxis, WC.
Available at Barcelona Sants: Bike Parking, Bike Rental, Car Rental.
Accessibility facilities are available at Barcelona Sants: All areas of the station have full disability access facilities.
Nearby hotels include Apartments Eixample, Apartment Guell, Sweet Inn Callao.
Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:
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 options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King
Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.
The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.
Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.
Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.
Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.
Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.
Here are some other resources that might have the information you need