
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
Customer support available 8:00 AM–10:00 PM (GMT), with fast responses to your enquiries.

Fast Changes and Refunds
Seamless rail travel with easy changes and refunds for peace of mind.
Barcelona to Madrid train ticket prices
€30.18
On Sat 24
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
Enjoy the travel guide from Barcelona to Madrid on TrainPal. With an average duration of 3h 17m, you can take a great trip 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?
Yes. Direct trains from Barcelona to Madrid include multiple stops. TrainPal displays the names and arrival times for each stop. Additionally, our interface highlights departure and arrival stations, train types, and various ticket or class options.
What is the frequency of AVE trains from Barcelona to Madrid?
There are 37 trains running daily from Barcelona to Madrid. TrainPal offers a wealth of information that you might find interesting. Stay informed with live train times to know the optimal time to leave home, ensuring a seamless 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 cheapest train ticket from Barcelona to Madrid is €30.18, with an average price of €95.05*. Stay informed on TrainPal to check real-time prices as they may vary. Spend less on the journey, and save more for the destination.

Onboard services
Is there Wi-Fi on the AVE train from Barcelona to Madrid?
On AVE trains from Barcelona to Madrid, all ticket types include free WiFi, power outlets, and allowance for up to three bags. A cafeteria or mobile catering bar is accessible to all passengers. Boxed meals start at €5.50 for Básico and Elige tickets, while Prémium ticket holders enjoy complimentary meals.
Can I bring luggage and bicycles on the AVE train from Barcelona to Madrid?
Yes, AVE permits three pieces of luggage with a total weight of up to 25 kg. Foldable bicycles are allowed; non-foldable bikes must be disassembled and bagged within 140 x 90 x 40 cm.
How early should I arrive at the train station for the AVE train from Barcelona to Madrid?
Arrive at the train station 30 minutes early for security checks and boarding. For luggage or peak times, arrive 45-60 minutes early. Always double-check your ticket and TrainPal instructions for accuracy.
Barcelona to Madrid train classes
Planning a trip from Barcelona to Madrid? Discover and contrast the service offerings across different classes on AVE, Avlo, Iryo, and OUIGO to ensure a smooth journey.

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

Get cheap train tickets from Train Journey Planner with clear route details, including price, time, and company. Labels mark the best options. Save extra 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.

Avlo's Básica (Basic) tickets start at €7 for eight routes. You can change or refund for an €8 fee. Each ticket allows two children under 14 to travel 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.

Experience high-speed, low-cost travel with OUIGO's double-decker trains, ideal for trips from Madrid to Barcelona. You can carry two small pieces of luggage for free. Enjoy a fast and affordable journey with OUIGO.


Receive an 8% discount on the total price for groups of 4 to 9 travellers. Tickets are non-changeable but refundable, with fees ranging from 5% to 30% of the total price. Maximise your savings with our group travel discount.
* 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