
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
£20.11
On Thu 12
Barcelona to Madrid train times
The quickest travel time from Barcelona to Madrid is 3h 2m, with a standard duration of 3h 18m. 32 trains are running daily on this route, with the earliest train at 06:35 and the latest at 3h 18m. 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 | ||
|---|---|---|---|---|
15:00 Barcelona-Sants | 3h 17m, Direct | 18:17 Madrid-Puerta De Atocha | Renfe | Find tickets |
15:52 Barcelona-Sants | 3h 24m, Direct | 19:16 Madrid-Puerta De Atocha | iryo | Find tickets |
16:00 Barcelona-Sants | 3h 44m, Direct | 19:44 Madrid-Puerta De Atocha | Renfe | Find tickets |
16:58 Barcelona-Sants | 3h 18m, Direct | 20:16 Madrid-Puerta De Atocha | Renfe | Find tickets |
17:20 Barcelona-Sants | 3h 2m, Direct | 20:22 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
Explore the travel guide from Barcelona to Madrid on TrainPal. With an average duration of 3h 18m, you can enjoy a wonderful trip on Renfe AVE high-speed trains, along with iryo and OUIGO trains.

Planning and booking
How do I book train tickets for the Barcelona to Madrid route?
Are there any discounts available for 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 stops along the way from Barcelona to Madrid on the AVE train?
Yes, there are direct trains from Barcelona to Madrid with multiple stops along the route. TrainPal will show you the names and arrival times of each stop. In addition, our interface also presents the departure and arrival stations, train types, and ticket types or class options.
What is the frequency of AVE trains from Barcelona to Madrid?
There are 32 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.
What is the travel time from Barcelona to Madrid by train?
Travel from Barcelona to Madrid in as little as 3h 2m, with the average trip taking 3h 18m. Check detailed departure and arrival times for both stations. Stay updated with TrainPal for live schedules.
How much does a train ticket from Barcelona to Madrid cost?
You can find the cheapest train ticket from Barcelona to Madrid for £20.11, with an average price of £75.78*. Check TrainPal regularly for real-time price updates, as they may change. Cut travel costs and keep extra cash for your 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, not exceeding 25 kg in total. Foldable bicycles are allowed; non-foldable bicycles must be disassembled and placed in a bag measuring no more than 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

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.

Purchasing Avant's Return tickets saves you 20% compared to separate tickets. Both can be changed. Cancellations incur at least a 15% fee; cancelling one ticket costs 40% of its price.

Travel in comfort with iryo Inicial fare, offering reclining leather seats, ample legroom, individual armrests, and power outlets. Tickets are refundable and changeable under conditions. Experience a luxurious and adaptable journey 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.


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.
More train routes
* 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