Madrid to Barcelona train with AVE

Tue, 29 Sept
+ Add return
AVE
Renfe AVLO
SNCF OUIGO
iryo
Deutsche Bahn
2,000+ travel companies
AVE
Renfe AVLO
SNCF OUIGO
iryo
Deutsche Bahn
2,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Madrid to Barcelona

Showing times, prices and bookable tickets for 29 Sept

Cheapest price on 29 Sept

54S$

Average ticket price on 29 Sept

105S$

Fastest journey on 29 Sept

3 h 2 m

Average journey duration on 29 Sept

3 h 2 m

Trains on 29 Sept

39

Distance

504 km

Cheap tickets

The best way to find a cheap train ticket from Madrid to Barcelona is to book your journey as far in advance as possible and to avoid travelling at rush hour.

The average ticket from Madrid to Barcelona will cost around 105S$ if you buy it on the day, but you can find cheap train tickets today for only 54S$.

Fast trains

On Tue, 29 Sept, we found 39 trains from Madrid to Barcelona, including 39 direct services.

These direct trains cover the 504 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .

The slowest trains will take 3 h 2 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.

  • SNCF OUIGO06415
    8:10 PM3h18
    Madrid-Puerta de Atocha-Almudena Grandes
    11:28 PMBarcelona Sants
    54 S$1One-way
    0 changes
  • iryo06021
    2:42 PM3h31
    Madrid-Puerta de Atocha-Almudena Grandes
    6:13 PMBarcelona Sants
    56 S$1One-way
    0 changes
  • iryo06151
    3:52 PM3h02
    Madrid-Puerta de Atocha-Almudena Grandes
    6:54 PMBarcelona Sants
    56 S$1One-way
    0 changes
  • iryo06161
    4:37 PM3h02
    Madrid-Puerta de Atocha-Almudena Grandes
    7:39 PMBarcelona Sants
    56 S$1One-way
    0 changes
  • AVE03201
    8:30 PM3h17
    Madrid-Puerta de Atocha-Almudena Grandes
    11:47 PMBarcelona Sants
    58 S$1One-way
    0 changes

Live departures

Madrid to Barcelona train times

The table below shows live departures for Madrid to Barcelona trains for today, Monday, 28 September. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
AVE4:57 PM Madrid
3h02
7:59 PM Barcelona0 changesdirect
AVE5:34 PM Madrid
3h46
9:20 PM Barcelona0 changesdirect
AVE6:30 PM Madrid
3h17
9:47 PM Barcelona0 changesdirect
AVE6:34 PM Madrid
3h46
10:20 PM Barcelona0 changesdirect
AVE7:30 PM Madrid
3h17
10:47 PM Barcelona0 changesdirect
iryo062616:09 AM Madrid-Puerta de Atocha-Almudena Grandes
3h26
9:35 AM Barcelona Sants0 changesdirect
AVE033016:16 AM Madrid-Puerta de Atocha-Almudena Grandes
3h08
9:24 AM Barcelona Sants0 changesdirect
SNCF OUIGO064716:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h23
9:45 AM Barcelona Sants0 changesdirect
AVE030636:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h23
9:50 AM Barcelona Sants0 changesdirect
AVE030716:57 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
9:59 AM Barcelona Sants0 changesdirect
iryo060717:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
10:24 AM Barcelona Sants0 changesdirect
AVE030817:57 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
10:59 AM Barcelona Sants0 changesdirect
iryo060818:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
11:24 AM Barcelona Sants0 changesdirect
iryo062818:50 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
11:52 AM Barcelona Sants0 changesdirect
AVE030918:57 AM Madrid-Puerta de Atocha-Almudena Grandes
3h09
12:06 PM Barcelona Sants0 changesdirect
SNCF OUIGO065019:31 AM Madrid-Puerta de Atocha-Almudena Grandes
3h27
12:58 PM Barcelona Sants0 changesdirect
iryo060119:57 AM Madrid-Puerta de Atocha-Almudena Grandes
3h24
1:21 PM Barcelona Sants0 changesdirect
AVE0330310:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
1:44 PM Barcelona Sants0 changesdirect

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Madrid to Barcelona by coach, train or flight

Compare coach, train and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.

Mon
28 Sept
Tue
29 Sept
Wed
30 Sept
Thu
01 Oct
Fri
02 Oct
Sat
03 Oct
Sun
04 Oct
Mon
05 Oct
Tue
06 Oct
Wed
07 Oct
Thu
08 Oct
Fri
09 Oct
Sat
10 Oct
Sun
11 Oct
Mon
12 Oct
Tue
13 Oct
Wed
14 Oct
Thu
15 Oct
Fri
16 Oct
Sat
17 Oct
Sun
18 Oct

Why should you book Madrid to Barcelona trains with Omio?

AVE as well as Renfe AVLO, SNCF OUIGO, iryo and more offer trains services from Madrid to Barcelona.
Omio is an official ticket reseller for all your travel options from Madrid to Barcelona.

Why book with Omio vs AVE?

  • Compare with other providers: On Omio, you can not only buy tickets for AVE, but also compare tickets for the likes of Renfe AVLO, SNCF OUIGO or iryo to find the best option for your trip from Madrid to Barcelona.
  • Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
  • Compare all your options: Omio allows you to compare AVE with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Madrid to Barcelona.

Why book with Omio over Rome2rio, Raileurope or Trainline?

  • Compare with other providers: On Omio, you can also compare tickets for the likes of Renfe AVLO, SNCF OUIGO or iryo to find the best option for your trip from Madrid to Barcelona.
  • Multiple modes of transport: Omio allows you to compare travel options including bus, train and flight to find the ideal travel option from Madrid to Barcelona.

How far in advance should I book train tickets from Madrid to Barcelona?

The best time to book your train from Madrid to Barcelona is 91 days before departure. See how prices for trains change on the Madrid to Barcelona route.
Prices are for one-way tickets for one passenger from Madrid to Barcelona per month. Insights are sourced from fares found by Omio users in the last 12 months. Current prices may differ as prices vary depending on the time of day, class or how far in advance you book your train from Madrid to Barcelona.

Journey information

Overview: Train from Madrid to Barcelona

SpainSpain
SpainSpain
Icon of train

Trains from Madrid to Barcelona run on average 40 times per day, taking around 3h 3m. Cheap train tickets for this journey start at 14S$ but you can travel from only 8S$ by coach.

There are 40 trains per day. The earliest train runs at 00:14, the last at 21:15. The fastest train covers the 504 km distance in 2h 37m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Coach from 8S$
Distance
504 km
Average train duration
3h 3m
Cheapest ticket price
14S$
Trains per day
40
Direct trains
40
Fastest train
2h 37m
First train
12:14 AM
Last train
9:15 PM
Cheapest Month
Mar
Cheapest Day
Sat
High Season
Apr - Jun
Low Season
Jan - Mar
Busiest Day
Tue
Least Busy Day
Sun
Best time to book
91 days
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Coach from 8S$

Train companies: AVE, iryo, SNCF OUIGO, Renfe AVLO from Madrid to Barcelona trainsAVE, iryo, SNCF OUIGO, Renfe AVLO trains will get you between Madrid and Barcelona from 8S$. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

AVE

About
Travel comfortably with AVE, Renfe’s high-speed trains. AVE connects major cities across Spain at speeds of up to 310 km/h (193 mph), offering a fast and smooth travel experience. Ticket options include Promo, Promo+, and Flexible fares to suit different budgets, along with discount cards such as the Gold Card and +Renfe Youth 50 Card for eligible travelers. AVE trains feature modern amenities including comfortable seating, Wi-Fi, power outlets, and onboard catering, making them a convenient and enjoyable way to travel across Spain.
Luggage & cancellation policy
Average AVE Duration
2h 37m
Cheapest AVE Price
15S$
AVE frequency
22 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage free of charge
Luggage storage
Overhead racks, end of carriages, and designated areas between seats
Cancellation Policy
Refund conditions depend on ticket type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with hot and cold meals, snacks, and beverages. At-seat service in Preferente (First) Class
Seat reservation
Included in ticket price for all classes
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance services available
Pets
Small pets under 10kg in carriers allowed free. Larger dogs require paid ticket and muzzle. Guide dogs free.
Quiet zone

iryo

About
iryo is a new brand from railway operator ILSA operating in Spain since 2022. iryo uses Frecciarossa 1000 trains which are modern, can travel at up to 360km/h and have a minimal environmental impact. iryo’s Frecciarossa trains have different classes, all of which come with free unlimited WiFi, power sockets, toilets and an onboard entertainment portal where you can watch films and TV series. The main classes are: Infinita Class, Singular Café Class, Singular Class, Inicial Class. These new trains take 2 hours and 30 minutes to travel between Madrid and Barcelona. They depart from Madrid Atocha and Barcelona Sants stations, and stop in Zaragoza along the way. iryo services also cover Madrid, Cuenca, Valencia, Alicante, Córdoba, Seville and Málaga.
Luggage & cancellation policy
Average iryo Duration
2h 37m
Cheapest iryo Price
20S$
iryo frequency
13 a day
Luggage included
1 cabin bag (36x56x26cm) and 1 handbag (36x30x10cm)
Luggage storage
Overhead compartments and designated luggage areas
Cancellation Policy
According to fare conditions
Refund
Full refund provided
Amenities on board the train
Wifi
Food sold onboard
Restaurant car with Mediterranean cuisine, at-seat service in both classes
Seat reservation
Included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers allowed free. Large dogs need paid ticket
Quiet zone

SNCF OUIGO

About
SNCF OUIGO is a low-cost train service launched in 2013 by SNCF, the French national railway company. It offers budget-friendly travel on both high-speed (Ouigo Grande Vitesse) and conventional (Ouigo Vitesse Classique) lines in France, and also to Belgium and Spain. OUIGO trains are characterized by a \no-frills\" approach, featuring a single class of seating and minimal onboard amenities to keep ticket prices low. While the high-speed services utilize specially reconfigured TGV trains, Ouigo Vitesse Classique uses older locomotive-hauled rolling stock for even cheaper fares on slower routes."
Luggage & cancellation policy
Average SNCF OUIGO Duration
2h 37m
Cheapest SNCF OUIGO Price
14S$
SNCF OUIGO frequency
5 a day
Luggage included
1 cabin bag (max 36x27x15cm) and 1 small bag included
Luggage storage
Overhead racks and designated areas at end of carriages
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled by OUIGO
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation mandatory and included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available for passengers with reduced mobility
Pets
Small pets in carriers (max 45x30x25cm) for €5. Large dogs not allowed except guide dogs

Renfe AVLO

About
Renfe Avlo is Spain’s low-cost high-speed rail service operated by the national rail company Renfe. Serving routes between major cities such as Madrid, Zaragoza, Barcelona, Valencia, Tarragona, Girona, and Figueres, Avlo trains reach speeds of up to 186 mph (300 km/h). All tickets are for Economy Class (“Básica”) with assigned seating and include onboard services such as free Wi-Fi, entertainment via the PlayRenfe app, power sockets, and vending machines. Child tickets are available for ages 0–13, while passengers aged 14 and over require an adult ticket. Each fare includes a backpack and hand luggage (55x35x25 cm, no weight limit), with the option to upgrade for extra baggage. Prices start from as low as €7, making Avlo a budget-friendly way to travel between Spain’s most popular destinations.
Luggage & cancellation policy
Average Renfe AVLO Duration
2h 37m
Cheapest Renfe AVLO Price
23S$
Renfe AVLO frequency
4 a day
Luggage included
1 cabin bag (55x35x25cm) and 1 personal item (35x30x20cm)
Luggage storage
Overhead racks and spaces between seats
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers under 10kg allowed free. Service animals allowed

FAQs: Madrid to Barcelona train

Find answers to the most common questions about traveling from Madrid to Barcelona by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Barcelona, this guide helps you travel smarter and with confidence.

FAQs
Cheap train tickets from Madrid to Barcelona can start from as little as 14S$ when you book in advance. The average train ticket price for Madrid to Barcelona is 99S$; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Madrid to Barcelona is 2h 37m to travel the 504 km long route. Journey times can vary on weekends and holidays, so use our Journey Planner to search for a specific date.
The earliest train from Madrid to Barcelona leaves at 12:14 am. Plan your trip with the Journey Planner from Omio.
The latest train from Madrid to Barcelona leaves at 9:15 pm.
Yes, there are 40 direct trains a day from Madrid to Barcelona with AVE, Renfe AVLO, SNCF OUIGO, iryo. Schedules can vary on holidays or weekends with fewer direct trains.
Yes, there are multiple high-speed train options for your journey from Madrid to Barcelona. You can choose between iryo. iryo trains take around 2h 37m
When taking a train from Madrid to Barcelona, you can count on AVE, Renfe AVLO, SNCF OUIGO, iryo for the best way to get you to Barcelona. You can also check all possible train companies who offer a service between Madrid and Barcelona and compare the amenities they offer before buying a train ticket.
A trip to Barcelona from Madrid is worth doing but not as a day trip with a journey time of 2h 37m each way. Check with Omio app the best way to travel.
It's helpful to compare your options as there are 3 ways to travel between Madrid and Barcelona including taking a coach, train and flight.

popular train stations

Important Stations and Airports in Madrid and Barcelona

Most Madrid to Barcelona trains use the Madrid-Puerta de Atocha-Almudena Grandes to Barcelona Sants station pair. Use this guide to compare Madrid and Barcelona train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.

Departure train stations in Madrid
Arrival train stations in Barcelona

Which Madrid station do trains to Barcelona leave from?

Trains from Madrid to Barcelona leave from Madrid-Puerta de Atocha-Almudena Grandes. The station is 2 km from Madrid city centre at Glorieta Emperador Carlos V, 28045 Madrid, Spain.
Madrid-Puerta de Atocha-Almudena GrandesGlorieta Emperador Carlos V, 28045 Madrid, Spain+34 912432343WifiLockersParkingDiningATMTaxisAccessibilityWCHotelLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
City-centre transport

Getting to Madrid-Puerta de Atocha-Almudena Grandes from Madrid city centre

Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:

TrainC3, C4, C4a, C4b · 5m · 2S$ · every ~15 min
Bus26, 32 · 6m · 2S$ · every ~60 min
Subway1 · 6m · 3S$ · every ~24 min

Madrid-Puerta de Atocha-Almudena Grandes train station facilities and services

Madrid-Puerta de Atocha-Almudena Grandes has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.

Food and drink

Food options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King

Wi-Fi and ATMs

Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.

Tickets and information

The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.

Luggage and lost property

Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.

Parking, taxis and toilets

Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.

Bike and car services

Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.

Accessibility

Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.

Shops, hotels and contact

Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.

More options for your journey from Madrid to Barcelona

Here are some other resources that might have the information you need

HomeTrainsTrains in SpainMadrid to Barcelona train

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone