
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.
Madrid to Barcelona train ticket prices
€20.60
On Wed 4
Madrid to Barcelona train times
The quickest travel time from Madrid to Barcelona is 3h 2m, with a standard duration of 3h 17m. 33 trains are running daily on this route, with the earliest train at 08:50 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 | ||
|---|---|---|---|---|
17:22 Madrid-Puerta De Atocha | 3h 20m, Direct | 20:42 Barcelona-Sants | iryo | Find tickets |
17:27 Madrid-Puerta De Atocha | 3h 44m, Direct | 21:11 Barcelona-Sants | Renfe | Find tickets |
17:57 Madrid-Puerta De Atocha | 3h 2m, Direct | 20:59 Barcelona-Sants | Renfe | Find tickets |
18:32 Madrid-Puerta De Atocha | 3h 12m, Direct | 21:44 Barcelona-Sants | iryo | Find tickets |
18:57 Madrid-Puerta De Atocha | 3h 2m, Direct | 21:59 Barcelona-Sants | Renfe | Find tickets |
Madrid to Barcelona train journey information
Access detailed Renfe, iryo, and OUIGO train information from Madrid to Barcelona, including departure and arrival times, stations, distance, journey duration, train companies, and price options. Check train times and prices for a hassle-free trip.
From central Spain to Catalonia: A practical Madrid to Barcelona train travel guide
Zoom from Madrid to Barcelona for a fraction of the price of standard flights. You won’t have to worry about airport transfers or arriving hours in advance, either. To make things even easier, TrainPal can take care of every aspect of your Spanish train trip - from seat selection to customer support in English.
Find the latest information and securely book tickets for Renfe trains (AVE, Avlo and Alvia) and other operators, including iryo and OUIGO Spain.
Planning your journey: Trains from Madrid to Barcelona
Departure station: Departing from Madrid Atocha
All direct Madrid to Barcelona trains depart from the conveniently located Madrid Atocha station (formally known as Madrid-Puerta de Atocha-Almudena Grandes). The capital’s largest and oldest rail hub is right by the historic centre and linked to eight Cercanías commuter lines (C-1, C-2, C-3, C-4, C-5, C-7, C-8 and C-10). Passengers can also take a Line 1 Madrid Metro train to either Estación del Arte or Atocha Renfe station.
Arrival station: Arriving at Barcelona Sants
About three and a half hours later, you’ll be in the heart of Barcelona. Trains from Madrid stop at Barcelona Sants station, the city’s main rail gateway. It’s only four minutes away from the city centre on a Rodalies (commuter) train to Barcelona Plaça de Catalunya. If you’ve travelled with Renfe AVE or iryo, the trip is on the house with the Combinado Cercanías offer. Scan your barcode at the ticket barriers. Barcelona Sants station is also served by lines L3 and L5 of the Barcelona Metro network from Sants Estació. A taxi rank is outside the main exit on Plaça dels Països Catalans.
Renfe AVE vs iryo vs OUIGO Spain: Which Madrid to Barcelona train tickets should you buy?
You’ve got a choice between three operators running trains from Madrid Atocha to Barcelona Sants. Standard services and luggage allowances vary more widely compared to UK rail companies, so be sure to check how each company differs before purchasing your tickets.
Compare the overall onboard experience and journey information below to book the most suitable service.
Renfe AVE
- Avg. duration: 3h 26m
- Departure and arrival stations: Madrid Atocha to Barcelona Sants
- Stops: Direct or connecting via Zaragoza-Delicias, Camp De Tarragona
- Onboard perks: Free Wi-Fi, quiet carriages, PlayRenfe entertainment portal, power sockets (remember your adapter!), café bar
- Best for: Most frequent departures (two an hour on average), flexibility and fewer restrictions, travelling with more luggage (three bags measuring 85 x 55 x 35 cm and weighing a total of 25 kg permitted, plus a small piece of hand luggage), free Combinado Cercanías connection
iryo
- Avg. duration: 3h 17m
- Departure and arrival stations: Madrid Atocha to Barcelona Sants
- Stops: Direct or connecting via Camp De Tarragona, Zaragoza-Delicias
- Onboard perks: Free Wi-Fi connectivity, onboard catering, plug and USB charging, quiet coach
- Best for: Comfy leather seating, working space, free onward travel (Combinado Cercanías ticket), frequent hourly service, short stays with minimal luggage (one piece of hand luggage (36 x 27 x 15 cm max.) and one cabin bag (55 x 35 x 25 cm max.)), affordable base fare
OUIGO Spain
- Avg. duration: 3h 14m
- Departure and arrival stations: Madrid Atocha to Barcelona Sants
- Stops: Connecting via Zaragoza-Delicias, Camp de Tarragona
- Onboard perks: Individual at-seat charging, buffet coaches, OUIFUN entertainment portal
- Best for: Cheapest tickets, family discounts, travelling light (one piece of hand luggage (36 x 27 x 15 cm) and one cabin-sized bag (55 x 35 x 25 cm) allowed, optional add-ons to ticket (e.g., pets, extra baggage (from €5 (~£4.30) for a large 200 cm suitcase under 25 kg)
What to see and do in Barcelona: Top highlights near the station
La Model Cultural Centre
Having served as a men’s prison until 2017, La Model is now a symbolic historical site becoming more integrated into the city. Explore the panopticon-style design and original cells while getting a unique glimpse into the city’s social and political evolution. La Model is six minutes away from Barcelona Sants station.
Arenas de Barcelona shopping centre
A ten-minute stroll down the road will take you to another fabulous, converted space offering shopping with a view. Arenas is a bullring turned shopping centre filled with household names, dining outlets and a 12-screen cinema. Head up to the rooftop for magnificent 360-degree views of the city.
Museum MNAC
The museum houses an impressive collection of Catalan art spanning more than 1,000 years, including Romanesque, Gothic, Renaissance, Baroque and Modernisme works.
Magic Fountain of Montjuïc
Arriving in the evening? Set aside time to catch the Magic Fountain’s spectacular show set to beautiful music and changing lights. The gigantic fountain between Plaça d’Espanya and Montjuïc sprays 2,600 litres of recycled water per second through 3,620 jets - an unmissable display. Check the schedule for start times throughout the year, and head to the fountain an hour ahead to get a good spot.
Madrid to Barcelona train travel guide
Enjoy the travel guide from Madrid to Barcelona 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 Madrid to Barcelona route?
What is the best way to book AVE train tickets from Madrid to Barcelona?
Find cheap AVE train tickets from Madrid to Barcelona on TrainPal. Book train tickets up to 90 days in advance to save money. We also offer student discounts and senior fares. For extra savings, buy a Return ticket and use our discount codes. Enjoy budget-friendly travel with TrainPal.
Are there any direct trains from Madrid to Barcelona?
No, you need to transfer on the route from Madrid to Barcelona. TrainPal helps you compare times, prices, and transfer details. We aim to make your journey as smooth and worry-free as possible.
What is the frequency of AVE trains from Madrid to Barcelona?
A journey from Madrid to Barcelona caters to 33 trains every day. TrainPal shows you lots of information you may be interested in. Stay informed with live train times, ensuring you know the best time to leave home, guaranteeing the continuity of your journey, and saving you time, effort, and worry.
How long does it take to travel from Madrid to Barcelona by train?
The fastest travel time from Madrid to Barcelona is 3h 2m, with the average taking 3h 17m. Check the detailed departure and arrival times for both stations. Stay informed with TrainPal to get live schedules.
How much does a train ticket from Madrid to Barcelona cost?
You can find the cheapest train ticket from Madrid to Barcelona for €20.60, with an average price of €96.61*. 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 Madrid to Barcelona?
AVE trains from Madrid to Barcelona 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 Madrid to Barcelona?
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 Madrid to Barcelona?
Ensure you reach the station 30 minutes ahead for security checks and boarding. For luggage or during peak times, aim to arrive 45-60 minutes early. Always confirm your ticket and TrainPal instructions for the most accurate information.
Madrid to Barcelona train classes
Planning a trip from Madrid to Barcelona? 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 affordable train tickets with comprehensive route details, such as price, time, and company. Labels identify the best options. Use discount codes to save more.

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.

With Avlo's Básica (Basic) tickets starting at €7 on eight routes, you can change or refund for €8. Each ticket lets you 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 comfortably with iryo Inicial fare, featuring reclining leather seats, extra legroom, individual armrests, and power outlets. Tickets are refundable and changeable with conditions. Enjoy a luxurious and flexible journey with iryo.

Travel quickly and affordably with double-decker OUIGO high-speed trains, perfect for routes like Madrid to Barcelona. You can bring two small pieces of luggage for free. Enjoy a budget-friendly and swift journey.


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.
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