Barcelona to Madrid train

Mon, Jun 24
+ Add return
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

Cheap train tickets and times from Barcelona to Madrid

Showing times and prices for Jun 25

Cheapest

Fastest Journey

2 h 29 m

Average

2 h 55 m

Trains per day

38

Distance

504 km

Cheap train tickets from Barcelona to start from $42 with an average ticket price of $47.

The fastest train from Barcelona to takes 2h 29m in comparison to an average duration of 2h 55m and covers a distance of 504 km.

38 trains that leave Barcelona for every day with 38 travelling directly.

Cheapest
iryo
08:55PM2h45
Barcelona Sants
11:40PMMadrid-Puerta de Atocha-Almudena Grandes
$421One-way
0 transfers
2nd Cheapest
Renfe AVE
09:25PM2h30
Barcelona Sants
11:55PMMadrid-Puerta de Atocha-Almudena Grandes
$451One-way
0 transfers
iryo
07:48PM2h52
Barcelona Sants
10:40PMMadrid-Puerta de Atocha-Almudena Grandes
$461One-way
0 transfers
Renfe REGIONAL EXPRESS
09:03AM9h06
Barcelona Sants
06:09PMMadrid Chamartín
$491One-way
0 transfers
iryo
07:05PM2h30
Barcelona Sants
09:35PMMadrid-Puerta de Atocha-Almudena Grandes
$501One-way
0 transfers

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

Tue
Jun 25
Wed
Jun 26
Thu
Jun 27
Fri
Jun 28
Sat
Jun 29
Sun
Jun 30
Mon
Jul 01
Tue
Jul 02
Wed
Jul 03
Thu
Jul 04
Fri
Jul 05
Sat
Jul 06
Sun
Jul 07
Mon
Jul 08
Tue
Jul 09
Wed
Jul 10
Thu
Jul 11
Fri
Jul 12
Sat
Jul 13
Sun
Jul 14
Mon
Jul 15

More than 1,000 travel companies trust us to sell their tickets all in one place.

Deutsche Bahn
Renfe
Italo
Frecciarossa

ReviewsReviews for the rail journey from Barcelona to Madrid

userReviewImage
userReviewLogo
The customer opinion was acquired via Cimenio. Cimenio incentivises its users for giving an honest opinion and proving the booking with a photo of the travel ticket.
Pros
IconComfortable
IconFast
IconClean
Cons
IconExpensive
I have used the train from Barcelona to Madrid in many occasions in the last years and my experience with this trip has always been very good. I have used the AVE Renfe, and it takes between 2,30h-3h (depending on the stops) from Barcelona to Madrid. The train is very comfortable and clean. The seat reservation is included in the price. The train also has a bar in the middle with different options for food and beverages. I am very satisfied with this service and I will keep using it.
Pros
Icongood wifi
Iconkind staff
Icongood service
This trip was great and definitely gets the five stars. A huge praise goes to the service, because my orders were delivered very quickly and my food was very fresh and very tasty. I also found the staff very friendly and the cleanliness of the train. It was also very quiet on the train. I was also very comfortable and well-equipped, including with regard to wifi, as my wifi was very good. In general, a great and also punctual train and at a great price, I pass this trip on.

Overview: Train from Barcelona to Madrid

distanceDistance312 miles (504 km)
durationAverage train duration2 h 30 min
priceAverage train ticket price$67 (€59)
frequencyTrain frequency12 a day
changesDirect trainYes, there are 12 direct trains a day
carriersTrain companiesAVE, Ouigo, Renfe AVLO, iryo, Renfe Regional Exprés, Renfe or Renfe AVE INT

Trains from Barcelona to Madrid cover the 312 miles (504 km) long journey taking on average 2 h 30 min with our travel partners like AVE, Ouigo, Renfe AVLO, iryo, Renfe Regional Exprés, Renfe or Renfe AVE INT. Normally, there are 12 trains operating per day, including direct services available. While the average ticket price for this route costs around $67 (€59), you can find the cheapest train ticket for as low as $21 (€18). Travelers depart most frequently from Barcelona Sants and arrive in Madrid-Puerta de Atocha-Almudena Grandes.

Train companies: AVE, Ouigo and Renfe AVLO from Barcelona to Madrid trains

For as little as $21 (€18) you can travel by train from Barcelona to Madrid with AVE, Ouigo and Renfe AVLO. Omio will show you the best deals, schedules and tickets available for this trip.

AVE offers excellent high-speed train services in Spain, including the route from Barcelona to Madrid. Omio, as an official Renfe AVE partner, shows you AVE train schedules so you can choose the fastest and cheapest Barcelona to Madrid train ticket. The distance from Barcelona to Madrid on AVE is approximately 312 miles (504 km) and prices start as low as $26 (€23) on Omio.

Renfe AVE has a wide variety of ticket types with special offers such as Promo, Promo + and Flexible tickets. If you are a regular Renfe customer, you can apply discount cards such as the Gold Card and the + Renfe Youth 50 Card at Omio when purchasing an AVE ticket.

The AVE trains are the most popular from Renfe, with the most schedules throughout the day. Their trains offer a restaurant, WiFi, bathrooms, entertainment on board and, most importantly, the highest speed to reach your destination. As one of the fastest trains in the entire world, AVE trains reach speeds up to 192 mph (310 kmh) on select routes and connect the main Spanish cities in just a few hours. Reserve your AVE tickets with Omio today!

AVE from Barcelona to Madrid train information:

  • Average Duration: 2 h 30 min
  • Cheapest Price: $26
  • AVE frequency: 12 a day

What are Travel Experts Saying about the train Barcelona to Madrid?


Trains from Barcelona to Madrid

The distance between Barcelona and Madrid is 314 miles (516 km). On this route, you can find Barcelona to Madrid train trips, which take an average of 2 hours 30 minutes. You can book a train ride from AVE, which runs 14 times from Barcelona to Madrid. The first AVE high-velocity train departs at 8:00 a.m. from the Barcelona Sants train station. The trains offer onboard dining, Wi-Fi, and you can watch films or listen to music on board.

Barcelona to Madrid Train Time: Daily Departures

If you want to use the AVE train from Barcelona to Madrid, you should keep in mind the train runs on this route fourteen times every day. The first train departs from the Barcelona Sants train station at 8:00 a.m., and the last departs at 8:00 p.m., so you can always catch a train at different times of the day if you want to book a train to Madrid from Barcelona.

How long is the train journey from Barcelona to Madrid?

When you take trains from Barcelona to Madrid, it will take you at least 2h and 45min. This is a one-way trip, so it depends on the provider you choose. If you’re traveling with Renfe AVE, the longest journey takes up to 9h and 4min and departs from Barcelona Sants at 9:03 a.m. and arrives at Madrid Chamartin station at 6:07 p.m. This is the cheapest rate on this route, so if you’re on a tight budget and don’t mind the longer time, then you might want to consider it.

Aerial view of Montjuic in Barcelona. Source: Shutterstock

What is/are the departure and arrival stations for trains from Barcelona to Madrid?

Departure train station: The departure train station preferred for trains from Barcelona to Madrid is the Barcelona Sants train station. The station is located 2.5 miles (4 km) from downtown Barcelona, so you need only 15min on bus or taxi to get to the station. At the Barcelona Sants train station, you get different facilities, including parking, car rental, and shops. Passengers can use free Wi-Fi at the airport, and there are restaurants if you need something to eat.

Arrival train station: The arrival train station for people traveling by train from Barcelona to Madrid is the Madrid-Puerta de Atocha Train Station. From the airport, you can access the airport using urban buses, which also run on routes around Madrid city and neighboring towns. Also, you could use a taxi from the station to your preferred destination in Madrid. At the train station, you can find restaurants and coffee shops, luggage storage services, facilities for passengers with reduced mobility, and first-class club lounges. Also, the station offers ATMs, shops, a tourist office, and parking.

Which train companies travel from Barcelona to Madrid?

If you look to travel by train from Barcelona to Madrid, you can use Renfe AVE on this route. This is a high-speed train running from Barcelona to Madrid, giving passengers a comfortable way to travel on this route. The train departs from the Barcelona Sants train station and arrives at Madrid-Puerta de Atocha train station. Both train stations are served by public transport options and also offer amenities like restaurants and cafes. While on the journey, you can connect to the PlayRenfe free Wi-Fi, which offers you access to exclusive content. The network is good enough to check emails, enjoy social media, and chat with your friends. Onboard the train, you get special menus, which include menus for children, people with diabetes, people with celiac disease, and Muslims. Besides, you get films and music on board at no cost. The train service offers several channels with different styles, including pop, classical, and jazz.

Night trains Barcelona

If you want to travel with the night train, the last AVE train from Barcelona to Madrid departs at the Barcelona Sants station at 8:00 p.m. The trains arrive at 11:17 p.m. in Madrid. Mostly, AVE travels by day, so if you want a night train, you might want to consider an alternative like Costa Brava.

AVE trains from Barcelona to Madrid

Renfe AVE offers high-speed, long-distance trains that you can use if you’re looking for a train to Madrid from Barcelona. The company runs up to 14 times from Barcelona to Madrid and offers direct services on this route. Depending on when you book the trip, it will take at least 2h and 45min. However, you can also find a cheaper option that takes up to 9h on the same route.

Trains from Barcelona to Madrid: Sustainability Travel

Airplanes have the worst carbon footprint of the available modes of transportation at 1.83 pounds of CO2 per passenger mile. Cars come second as the most polluting option for transportation at 1.17 pounds of CO2 per passenger mile. Trains follow at 0.41 pounds of CO2 per passenger mile. Buses are the most sustainable of the four options as they have a footprint of 0.17 pounds of CO2 per passenger mile. As you can see, the high-speed train is one of the best transportation options if you’re conscious of sustainability.

Train Barcelona to Madrid: Services on Board

The AVE is a long-distance train that allows you to choose your level of comfort and the features you like. There are three classes, including the Basic, Elige (pick and mix), and the Premium class. The Basic class offers a standard seat, while the Premium class offers comfortable seating equipped with wider seats and more space. If you have luggage, Renfe AVE allows up to 3 pieces of luggage onto the train, as long as the sum of the luggage does not exceed 55 lbs (25 kg). For people with disabilities, AVE offers several options, so you can specify while booking if you’re traveling in your wheelchair, if you have displacement difficulties, or if you have visual and hearing disabilities. This allows the train service to prepare to help you have a smooth experience.

How to get cheap train tickets from Barcelona to Madrid?

The cheapest tickets you can find for trains from Barcelona to Madrid trips are available from Alsa. To find good deals, you can book via platforms likeOmio, where you can browse rates based on the different routes available. Also, the rates can differ depending on when you choose to depart, so keep this in mind when booking. Booking online is the best way to get discounts, so check the schedules and the different train stations in Barcelona to compare rates. Among the ideas you can explore to save money when booking a train to Madrid from Barcelona, you should book in advance. Also, if you’re flexible with travel dates, you can book your tickets for days when prices will be better. Another idea is to settle for a connecting train, which, although slower, will allow you to save more.

Royal Palace in Madrid. Source: Shutterstock

To Madrid by Train—Travel Tips

Madrid is one of the best places in Europe you can visit on vacation. First, the weather is good throughout the year, as it’s predominantly sunny, making it a great place to visit and sightsee. Also, Spain offers some of the best culinary delights, and you can find the best tapas here. Consider places like Mercado San Miguel for gourmet local cuisine. You should also visit the Royal Palace of Madrid, one of the most impressive monuments in Europe. It’s majestic, and you can go inside to explore the beauty. If you want a park where you can relax and have fun, Retiro Park is a good place to visit while in Madrid. At night, Madrid offers good nightlife, which you can enjoy at local bars and trendy nightclubs. If you want to be involved in events, you should look forward to annual events like:

  • La Paloma Festival
  • Los Veranos de la Villa
  • Madrid Jazz Festival
  • Madrid Pride Week
  • Nochevieja (New Year's Eve)

FAQs: Trains from Barcelona to Madrid

FAQs: Travel by train from Barcelona to Madrid easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Barcelona to Madrid.
FAQs
Cheap train tickets from Barcelona to Madrid can start from as little as $21 (€18) when you book in advance. The average train ticket price for Barcelona to Madrid is $67 (€59); however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The train time between Barcelona and Madrid is on average 2 h 30 min   for the 312 mile (504 km) long journey, but the time it takes to go from Barcelona to Madrid by train can vary depending on specific dates or if traveling on weekends and holidays.
The first train from Barcelona to Madrid leaves at 7: 03 AM. Plan your trip with the Journey Planner   from Omio.
The last train from Barcelona to Madrid leaves at 8: 25 PM.
Yes, there are 12 direct trains a day from Barcelona to Madrid with AVE, Ouigo, iryo or Renfe Regional Exprés. Schedules can vary on holidays or weekends with fewer direct trains.
Yes, you can take a high-speed train from Barcelona to Madrid with Ouigo or iryo. Overall you can travel with the following companies: AVE, Ouigo, Renfe AVLO, iryo, Renfe Regional Exprés, Renfe or Renfe AVE INT.
For the journey from Barcelona to Madrid you can take a train with AVE, Ouigo, Renfe AVLO, iryo, Renfe Regional Exprés, Renfe or Renfe AVE INT. Be sure to check out all possible train providers that offer services between Barcelona and Madrid on Omio to compare what amenities they may have.
No, there are no night trains, the latest train for this route is 8: 25 PM.

When departing from Barcelona, you have various train station options to start your journey from including Barcelona Sants, Barcelona and Passeig de Gràcia station. When arriving in Madrid, you can end your route in train stations like Madrid-Puerta de Atocha-Almudena Grandes, Madrid Chamartín and Madrid Atocha Cercanias.

Passengers board the train most frequently from Barcelona Sants, which is located around 1.4 miles (2.3 km) away from the city centre, and they get off the train at Madrid-Puerta de Atocha-Almudena Grandes, located 1.4 miles (2.2 km) away from the city centre.

A trip to Madrid from Barcelona is worth doing but not as a day trip with a journey time of 2 h 30 min each way. Check with Omio app   the best way to travel.
The cheapest month to travel from Barcelona to Madrid by train is January.
You have options as you can travel to Madrid from Barcelona 3 different ways: train, bus or flight.

Important Stations and Airports in Barcelona and Madrid

Barcelona
Madrid
Barcelona Sants is the most popular Barcelona railway station for Omio travelers, but it's not the only one. Read all the information you need to know about the main train stations in Barcelona for your trip to Madrid.
Amenities at station
WifiWifi
LockersLockers
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
phone
Phone Number
+34 934956020
ticketOfficeHours
Ticket Office Hours
Mon - Sun: 06: 00 - 22: 00
Public transit options for Barcelona Sants
Metro lines: L3, L5
Bus lines: A1, A2
Train lines: AVE, Alvia, Euromed, Talgo, Trenhotel, TGV, Avant, Intercity, R1, R2, R2 Nord, R2 Sud, R3, R4, RG1, R11, R12, R13, R14, R15, R16, R17
Passeig de Gràcia stationParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility

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
More routes, destinations and providers
Currency
Language