Best Price Promise

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

Book Cheaper Tickets

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

Efficient Customer Service

Efficient Customer Service

Customer support available 8:00 AM–10:00 PM (GMT), with fast responses to your enquiries.

Fast Changes and Refunds

Fast Changes and Refunds

Seamless rail travel with easy changes and refunds for peace of mind.

  1. Home
  2. Spain Train Journey
  3. Madrid to Barcelona

Madrid to Barcelona train ticket prices

Book cheap train tickets from Madrid to Barcelona with TrainPal, starting at €20.60, with an average price of €96.61*. Board Renfe AVE, Avant, and Avlo high-speed trains, or take iryo and OUIGO trains. Enjoy high-speed travel and excellent services to every corner of Spain. Compare options and start your journey now on TrainPal.
Cheapest

€20.60󰄽

On Wed 4

  • Wed4Nov
  • €25.00󰄽
    Thu5Nov
  • €30.19󰄽
    Fri6Nov
  • €25.00󰄽
    Sat7Nov
  • €30.17󰄽
    Sun8Nov
  • €26.01󰄽
    Mon9Nov
  • €26.02󰄽
    Tue10Nov

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.

DepartsArrivesOperator

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
View More Trains

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.

Price
From €20.60
Departure station
Arrival station
Distance
314 miles (506km)
Journey time
3h 2m
First train
08:50
Last train
20:30
Frequency
33
Train operators

From central Spain to Catalonia: A practical Madrid to Barcelona train travel guide

By Rosaline Nancy Kargbo | Updated August 31, 2026

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.

Not many stations can boast having a botanical garden. The old trainshed now houses an array of cafés and bars for pre-boarding refreshments. Trains to Barcelona typically depart from the upper level (planta primera), whereas some other routes use the ground level (planta baja) - double-check the departures board. If you’ve purchased a Prémium ticket, you have 1.5–2 hours' access to the exclusive Sala Club waiting lounge. Load up on complimentary refreshments and relax until it’s time to board.
Important: Arrive 20–30 minutes before departure to complete security checks (and traveller checks if you’re taking a OUIGO Spain service).

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 Museu Nacional d’Art de Catalunya (MNAC) is one of the best museums in Barcelona, located in the Palau Nacional on Montjuïc, overlooking Plaça d’Espanya.

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.

*Information is subject to change. Please check the latest train timetable before your trip.

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

Planning and booking

How do I book train tickets for the Madrid to Barcelona route?

Book cheap train tickets from Madrid to Barcelona on the TrainPal website or app for a simple and easy experience. Use our Train Journey Planner, a superb tool to plan your wonderful journey in Spain. Just enter the cities or stations of two destinations, add specific information, and choose the best 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

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.

AVE
Avlo
iryo
OUIGO
BÁSICO

BÁSICO

Standard seat (2+2 seating)
Standard seat (2+2 seating)
Silent carriage
Silent carriage
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Free combined Cercanías trains
Free combined Cercanías trains
Free Wi-Fi (PlayRenfe on AVE)
Free Wi-Fi (PlayRenfe on AVE)
Three pieces of luggage
Three pieces of luggage
Collect Renfecitos (Renfe points)
Collect Renfecitos (Renfe points)
Reclining seats
Reclining seats
Reading light
Reading light
Power socket
Power socket
ELIGE ESTÁNDAR

ELIGE ESTÁNDAR

Standard seat (2+2 seating)
Standard seat (2+2 seating)
Silent carriage
Silent carriage
Travel with one small pet (<10kg) for €10 or one large dog (<40kg) for €35
Travel with one small pet (<10kg) for €10 or one large dog (<40kg) for €35
Free combined Cercanías trains
Free combined Cercanías trains
Free Wi-Fi (PlayRenfe on AVE)
Free Wi-Fi (PlayRenfe on AVE)
Three pieces of luggage
Three pieces of luggage
Collect Renfecitos (Renfe points)
Collect Renfecitos (Renfe points)
Reclining seats
Reclining seats
Reading light
Reading light
Power socket
Power socket
ELIGE CONFORT

ELIGE CONFORT

XL Confort seat
XL Confort seat
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Free combined Cercanías trains
Free combined Cercanías trains
Free Wi-Fi (PlayRenfe on AVE)
Free Wi-Fi (PlayRenfe on AVE)
Three pieces of luggage
Three pieces of luggage
Collect Renfecitos (Renfe points)
Collect Renfecitos (Renfe points)
Reclining seats
Reclining seats
Reading light
Reading light
Power socket
Power socket
PRÉMIUM

PRÉMIUM

XL Confort seat
XL Confort seat
Access to the Club Lounge
Access to the Club Lounge
Free Seat selection
Free Seat selection
Free Prémium food and drinks at seat
Free Prémium food and drinks at seat
Travel with one small pet (<10kg) for free
Travel with one small pet (<10kg) for free
Free combined Cercanías trains
Free combined Cercanías trains
Free Wi-Fi (PlayRenfe on AVE)
Free Wi-Fi (PlayRenfe on AVE)
Three pieces of luggage
Three pieces of luggage
Collect Renfecitos (Renfe points)
Collect Renfecitos (Renfe points)
Reclining seats
Reclining seats
Reading light
Reading light
Power socket
Power socket
󰄶
󰄽
BÁSICA

BÁSICA

Standard seat
Standard seat
Two pieces of luggage
Two pieces of luggage
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Access to the Club Lounge for Más Renfe Plata, Más Renfe Oro, or Más Renfe Platino members
Access to the Club Lounge for Más Renfe Plata, Más Renfe Oro, or Más Renfe Platino members
Free Wi-Fi
Free Wi-Fi
Collect Renfecitos (Renfe points)
Collect Renfecitos (Renfe points)
Reclining seats
Reclining seats
Reading light
Reading light
Power socket
Power socket
Vending machines
Vending machines
Luggage storage
Luggage storage
󰄶
󰄽
Inicial

Inicial

Reclinable Confort seats
Reclinable Confort seats
4 seats in a row with foldable tables
4 seats in a row with foldable tables
1 hand luggage and 1 small suitcase for free
1 hand luggage and 1 small suitcase for free
Free combined Cercanías trains
Free combined Cercanías trains
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Power sockets with USB ports
Power sockets with USB ports
Free Wi-Fi
Free Wi-Fi
5G connection
5G connection
HAIZEA café
HAIZEA café
Mobile Bar
Mobile Bar
Singular

Singular

Reclinable Confort seats
Reclinable Confort seats
4 seats in a row with foldable tables
4 seats in a row with foldable tables
1 hand luggage, 1 small and 1 large suitcases for free
1 hand luggage, 1 small and 1 large suitcases for free
Free combined Cercanías trains
Free combined Cercanías trains
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Power sockets with USB ports
Power sockets with USB ports
Free Wi-Fi
Free Wi-Fi
5G connection
5G connection
HAIZEA café
HAIZEA café
Mobile Bar
Mobile Bar
Singular Only YOU

Singular Only YOU

Reclinable Gran Confort XL seats
Reclinable Gran Confort XL seats
3 seats in a row with foldable tables
3 seats in a row with foldable tables
1 hand luggage, 1 small and 1 large suitcases for free
1 hand luggage, 1 small and 1 large suitcases for free
Free combined Cercanías trains
Free combined Cercanías trains
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Power sockets with USB ports
Power sockets with USB ports
Free Wi-Fi
Free Wi-Fi
5G connection
5G connection
HAIZEA café
HAIZEA café
Mobile Bar
Mobile Bar
Infinita Bistró

Infinita Bistró

Reclinable Gran Confort XL seats
Reclinable Gran Confort XL seats
3 seats in a row with foldable tables
3 seats in a row with foldable tables
Three pieces of luggage for free
Three pieces of luggage for free
Free combined Cercanías trains
Free combined Cercanías trains
Travel with one small pet (<10kg) for €10
Travel with one small pet (<10kg) for €10
Free food and drinks at seat
Free food and drinks at seat
Free Seat selection
Free Seat selection
Power sockets with USB ports
Power sockets with USB ports
Free Wi-Fi
Free Wi-Fi
5G connection
5G connection
󰄶
󰄽
OUIGO ESENCIAL

OUIGO ESENCIAL

Standard seat
Standard seat
4 seats in a row with tables
4 seats in a row with tables
1 hand luggage and 1 suitcase for free
1 hand luggage and 1 suitcase for free
Wi-Fi for €3 (OUIFI service)
Wi-Fi for €3 (OUIFI service)
Travel for €10 with 1–2 small pets under 10 kg
Travel for €10 with 1–2 small pets under 10 kg
2 OUIBar cafeterias
2 OUIBar cafeterias
Double-decker train
Double-decker train
OUIGO PLUS

OUIGO PLUS

Select Standard seat for free
Select Standard seat for free
Select XL seats for free (subject to availability)
Select XL seats for free (subject to availability)
1 hand luggage and 2 suitcases for free
1 hand luggage and 2 suitcases for free
Free Wi-Fi
Free Wi-Fi
Free access to OUIFUN (onboard Premium entertainment portal)
Free access to OUIFUN (onboard Premium entertainment portal)
Travel for €10 with 1–2 small pets under 10 kg
Travel for €10 with 1–2 small pets under 10 kg
2 OUIBar cafeterias
2 OUIBar cafeterias
Double-decker train
Double-decker train
󰄶
󰄽

Change and refunds

AVE tickets
Avant tickets
iryo tickets
OUIGO tickets
  • Básico: Non-refundable, changeable for extra €10.
  • Elige Estándar: Free first-time change, reimburse 70% of the total.
  • Elige Confort: Free first-time change, reimburse 70% of the total.
  • Prémium: Free full refund and change
  • Renfe tickets can be refunded and changed through the TrainPal app, supporting both full and partial changes. For more detailed information, please contact us.
    Train ticket typesChangeRefunds
    Básico󰾅󱕤
    Elige Estándar󰾅󰾅
    Elige Confort󰾅󰾅
    Prémium󰾅󰾅
  • Avant trains feature three ticket types: Sencillo (One-way), Ida y Vuelta (Return), and Con enlace (One ticket for two trips). Each ticket allows up to three exchanges. Exchanges on the same day are free, but different-day exchanges incur a 10% fee and any price difference. Cancellations require at least a 15% fee.
  • Renfe tickets can be refunded and changed through our TrainPal app, allowing for both full and partial changes. For further information, please contact us.
    Train ticket typesChangeRefunds
    Sencillo󰾅󰾅
    Ida y Vuelta󰾅󰾅
    Con enlace󰾅󰾅
  • Inicial: Refundable and changeable (excluding missed trains). Changes incur a €10 fee plus any fare difference. Cancel up to seven days before departure for a 70% refund; cancellations within seven days are non-refundable.
  • Singular & Singular Only You: Refundable and changeable. Free time changes on the day of travel; date changes require payment of the fare difference. Cancel at least seven days before departure for an 85% refund; within seven days, receive a 75% refund.
  • Infinita Bistró: Refundable and changeable. Free time changes on the day of travel; date changes require payment of the fare difference. Cancel at least seven days before departure for a 95% refund; within seven days, receive a 90% refund.
  • iryo refunds and ticket changes can both be submitted through our TrainPal app. For more detailed information, please contact us.
    Train ticket typesChangeRefunds
    Inicial󰾅󰾅
    Singular󰾅󰾅
    Singular Only YOU󰾅󰾅
    Infinita Bistró󰾅󰾅
  • ESSENTIAL:Refund and change tickets 30 minutes before departure by including REFUNDABLE TICKET (€8) and FLEX (€7) services at booking.
  • PLUS: Refund and change tickets 30 minutes before departure by including REFUNDABLE TICKET (€8) and FLEX (€7) services at booking.
  • FULL: Unlimited changes and refunds 30 minutes before departure.
  • OUIGO full refunds can be managed through the TrainPal app. For partial refunds and ticket changes, reach out to us directly.
    Train ticket typesChangeRefunds
    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.

    Under 14s get a 40% discount on AVE, Alvia, Avant, and more. Tickets include a seat, are changeable and refundable. Kids up to three travel free; under six travel free on Cercanías.

    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.