
Best Price Promise
If you find train tickets for a cheaper price elsewhere, let us know and we'll refund the difference*.

Book Cheaper Tickets
Save more with a variety of promo codes. Book on the TrainPal app with no booking fees.

Efficient Customer Service
24/7 fast customer service with prompt responses to your queries.

Fast Changes and Refunds
Seamless rail travel with easy changes and refunds for peace of mind.
Barcelona to Madrid train ticket prices
€37.35
On Fri 04 Sep
Barcelona to Madrid train times
The quickest travel time from Barcelona to Madrid is 3h 2m, with a standard duration of 3h 17m. 23 trains are running daily on this route, with the earliest train at 05:45 and the latest at 3h 17m. For more information on train schedules, prices, delays, and cancellations, browseTrainPal. Stay informed with real-time updates to ensure a seamless journey in Spain.
| Departs | Arrives | Operator | ||
|---|---|---|---|---|
12:00 Barcelona-Sants | 3h 44m, Direct | 15:44 Madrid-Puerta De Atocha | Renfe | Find tickets |
13:13 Barcelona-Sants | 3h 24m, Direct | 16:37 Madrid-Puerta De Atocha | iryo | Find tickets |
13:27 Barcelona-Sants | 3h 2m, Direct | 16:29 Madrid-Puerta De Atocha | Renfe | Find tickets |
13:50 Barcelona-Sants | 3h 2m, Direct | 16:52 Madrid-Puerta De Atocha | OUIGO Spain | Find tickets |
14:50 Barcelona-Sants | 3h 2m, Direct | 17:52 Madrid-Puerta De Atocha | iryo | Find tickets |
Barcelona to Madrid train journey information
Access detailed Renfe, iryo, and OUIGO train information from Barcelona to Madrid, including departure and arrival times, stations, distance, journey duration, train companies, and price options. Check train times and prices for a hassle-free trip.
Speedy travel to the heart of Spain: Barcelona to Madrid train
From frequent departures to unbeatable prices, there are many reasons to opt for rail. Relax on a super-fast ride from one city to another, without the hassle of travelling to and from airports.
Find your way across Spain, get inspiration for your itinerary and buy cheap train tickets with TrainPal. Enjoy easy digital booking, seat selection and 24/7 customer support for Renfe’s AVE, Avlo and Alvia services, as well as those of operators like iryo and OUIGO Spain.
Planning your journey: Trains from Barcelona to Madrid
Departure station: Departing from Barcelona Sants
The city’s most important transport hub, Barcelona Sants, is the well-connected starting point for your Barcelona to Madrid train. Arrive at one of the many Rodalies (commuter) trains, metro (lines L3 and L5 to Sants Estació), bus or taxi straight to the main entrance on Plaça dels Països Catalans.
Barcelona Sants’ modern concourse has no shortage of shops and eateries to grab last-minute essentials or a bite to eat before boarding. Trains to Madrid Atocha depart from platforms 1–6. Purchased a Prémium ticket? Tuck into a selection of warm and chilled drinks as well as refreshments at the Sala Club lounge once you’ve passed the baggage control area (access available 1.5–2 hours before your train leaves).
Arrival station: Arriving at Madrid Atocha
Step off the train from Barcelona, and you’re only a short stroll from the capital’s historic centre. Madrid Atocha, or Madrid-Puerta de Atocha-Almudena Grandes, is the oldest and largest station in the city. Onward travel couldn’t be easier. The station is served by eight Cercanías (commuter) lines: C-1, C-2, C-3, C-4, C-5, C-7, C-8 and C-10. If you have a Renfe AVE or iryo train ticket from Barcelona to Madrid, take advantage of the Combinado Cercanías deal and get a free connecting trip up to four hours after arrival. Alternatively, hop on a Line 1 Madrid Metro service from Estación del Arte or Atocha Renfe station. Taxis pick up passengers outside the exit on the top floor as well as the western exit on the ground floor.
Choosing your train: Operators from Barcelona to Madrid
Barcelona to Madrid train services are offered by three companies. The onboard experience varies widely from operator to operator and depending on which ticket you choose. See exactly what you get with each and book tickets for a service that’s the right fit.
Renfe AVE
- Avg. duration: 3h 26m
- Departure and arrival stations: Barcelona Sants to Madrid Atocha
- Stops: Direct or connecting via Zaragoza-Delicias
- Onboard perks: Free Wi-Fi access, PlayRenfe entertainment portal, quiet carriages, power sockets, café bar
- Best for: Most frequent departures (around one every hour), flexibility and fewer restrictions, free Combinado Cercanías connection, generous luggage allowance (three bags measuring 85 x 55 x 35 cm each and weighing 25 kg in total, plus a small item of hand luggage)
iryo
- Avg. duration: 3h 17m
- Departure and arrival stations: Barcelona Sants to Madrid Atocha
- Stops: Direct or connecting via Zaragoza-Delicias
- Onboard perks: Complimentary Wi-Fi, quiet coach, plug and USB charging, onboard dining
- Best for: Cheap base fares, comfy leather seats, frequent service (around once an hour), space to work on board, free Combinado Cercanías connection, shorter trips (one item of hand luggage (36 x 27 x 15 cm max.) and one cabin-sized bag (55 x 35 x 25 cm max.) permitted)
OUIGO Spain
- Avg. duration: 3h 16m
- Departure and arrival stations: Barcelona Sants to Madrid Atocha
- Stops: Direct
- Onboard perks: Charging, buffet co at your seat, buffet coaches, OUIFUN entertainment portal
- Best for: Cheapest fares, family deals, short trips with minimal baggage (one piece of hand luggage (36 x 27 x 15 cm) and one cabin bag (55 x 35 x 25 cm) permitted), add-on options to tailor your trip (e.g., boarding for pets, extra baggage (prices from €5 (~£4.30) for a large 200 cm, 25 kg suitcase))
What to see and do in Madrid: Top highlights near the station
Museo Reina Sofía
El Retiro Park
Madrid Atocha also sits around the corner from an urban oasis and UNESCO World Heritage Site. One of the largest parks in the capital, El Retiro is perfect for strolling, grabbing a coffee or spotting birds - including peacocks. Other highlights include the Crystal Palace, rose garden and Velázquez Palace exhibition hall.
La Campana
Looking for a local delicacy? You’re about 25 minutes from La Campana, a no-frills neighbourhood bar famous for its fried calamari bocadillo sandwich, classic tapas dishes and sangria. The portions are generous and will certainly hit the spot. Eat in or take it away and enjoy nearby sights like Plaza Mayor or Athens Park.
Barcelona to Madrid train travel guide
Discover the travel guide from Barcelona to Madrid on TrainPal. With an average duration of 3h 17m, you can experience a memorable journey on Renfe AVE high-speed trains, as well as iryo and OUIGO trains.

Planning and booking
How do I book train tickets for the Barcelona to Madrid route?
How do I find the best deals on AVE train tickets from Barcelona to Madrid?
Discover affordable AVE train tickets from Barcelona to Madrid on TrainPal. Book your tickets up to 90 days in advance to maximise savings. We offer special discounts for students and seniors. For additional savings, consider purchasing a Return ticket and using our discount codes. Experience budget-friendly travels with TrainPal.
Are there any direct trains from Barcelona to Madrid?
No, you need to transfer on the route from Barcelona to Madrid. TrainPal can help you compare times, prices, and detailed transfer information. We strive to plan your journey with less worry and rush.
What is the frequency of AVE trains from Barcelona to Madrid?
23 trains travel from Barcelona to Madrid every day. TrainPal provides a variety of information you may find useful. Stay updated with live train times to determine the best time to leave home, ensuring a smooth journey and saving you time, effort, and worry.
How long does it take to travel from Barcelona to Madrid by train?
The fastest route from Barcelona to Madrid takes 3h 2m, while the average travel time is 3h 17m. Check detailed departure and arrival times for both stations. Use TrainPal to stay informed with live schedules.
How much does a train ticket from Barcelona to Madrid cost?
The most affordable train ticket from Barcelona to Madrid is €37.35, with an average price of €90.45*. Stay updated on TrainPal for real-time price changes. Reduce travel spending to enjoy more at your destination.

Onboard services
What classes of service are available on the AVE train from Barcelona to Madrid?
AVE trains from Barcelona to Madrid provide free WiFi, power outlets, and allowance for up to three bags, regardless of ticket type. Passengers can enjoy the cafeteria or mobile catering bar service. Boxed meals are available from €5.50 for Básico and Elige tickets, while Prémium ticket holders benefit from free meals.
Can I bring luggage and bicycles on the AVE train from Barcelona to Madrid?
Yes, AVE allows three pieces of luggage up to 25 kg total. Foldable bicycles are permitted; non-foldable bikes must be disassembled and placed in a bag not exceeding 140 x 90 x 40 cm.
How early should I arrive at the train station for the AVE train from Barcelona to Madrid?
Plan to be at the train station 30 minutes before departure for security and boarding. If you have luggage or it's a busy period, arrive 45-60 minutes prior. Always check your ticket and TrainPal guidelines for accuracy.
Barcelona to Madrid train classes
For trains from Barcelona to Madrid, compare the services offered by different classes on AVE, Avlo, Iryo, and OUIGO. Easily plan your journey for your next trip.

BÁSICO

ELIGE ESTÁNDAR

ELIGE CONFORT

PRÉMIUM

BÁSICA

Inicial

Singular

Singular Only YOU

Infinita Bistró

OUIGO ESENCIAL

OUIGO PLUS
Change and refunds
| Train ticket types | Change | Refunds |
|---|---|---|
| Básico | | |
| Elige Estándar | | |
| Elige Confort | | |
| Prémium | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| Sencillo | | |
| Ida y Vuelta | | |
| Con enlace | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| Inicial | | |
| Singular | | |
| Singular Only YOU | | |
| Infinita Bistró | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| OUIGO ESENCIAL | | |
| OUIGO PLUS | | |
How to buy cheap Renfe and iryo train tickets

Train Journey Planner offers cheap train tickets with clear route details, including price, time, and company. Labels highlight the best options. Save more with discount codes

Being the cheapest AVE ticket option, it is non-refundable. Nevertheless, you can alter your ticket for a €10 fee and any applicable fare difference.

Travel with Avlo's Básica (Basic) tickets starting from €7 on eight routes. Easily change or refund your ticket for an additional €8 fee. Moreover, each Básica ticket allows you to bring two children under 14 for €5 each.

Get 20% off with Avant's Return tickets instead of purchasing separate ones. Both tickets are changeable. Cancellations incur a minimum 15% fee, and cancelling one ticket costs 40% of its price.

Experience comfortable travel with iryo Inicial fare, featuring reclining leather seats, extra legroom, individual armrests, and power outlets. Tickets can be refunded and changed with conditions. Travel in style and flexibility with iryo.

The double-decker OUIGO trains are high-speed and low-cost, making trips like Madrid to Barcelona feel shorter. You can bring two small pieces of luggage for free.


Get an 8% discount off the total price when travelling in a group of 4 to 9 people. Tickets are non-changeable but refundable, with fees ranging from 5% to 30% of the total price.
* The lowest price is based on historical data to predict the cheapest fare over the next 7 days, but actual prices may vary.
























New user welcome pack