Madrid to Barcelona train

Sat, Apr 20
+ 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

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

Sun
Apr 21
Mon
Apr 22
Tue
Apr 23
Wed
Apr 24
Thu
Apr 25
Fri
Apr 26
Sat
Apr 27
Sun
Apr 28
Mon
Apr 29
Tue
Apr 30
Wed
May 01
Thu
May 02
Fri
May 03
Sat
May 04
Sun
May 05
Mon
May 06
Tue
May 07
Wed
May 08
Thu
May 09
Fri
May 10
Sat
May 11

Cheap train tickets and times from Madrid to Barcelona

Showing times and prices for Apr 21

Cheapest

Fastest Journey

2 h 30 m

Average

2 h 44 m

Trains per day

31

Distance

504 km

Cheap train tickets from Madrid to start from $61 with an average ticket price of $64.

The fastest train from Madrid to takes 2h 30m in comparison to an average duration of 2h 44m and covers a distance of 504 km.

31 trains that leave Madrid for every day with 31 travelling directly.

Cheapest
iryo
09:16AM2h45
Madrid-Puerta de Atocha-Almudena Grandes
12:01PMBarcelona Sants
$611One-way
0 transfers
2nd Cheapest
SNCF OUIGO
02:15PM2h30
Madrid-Puerta de Atocha-Almudena Grandes
04:45PMBarcelona Sants
$621One-way
0 transfers
iryo
08:25AM2h45
Madrid-Puerta de Atocha-Almudena Grandes
11:10AMBarcelona Sants
$641One-way
0 transfers
SNCF OUIGO
07:05AM2h45
Madrid-Puerta de Atocha-Almudena Grandes
09:50AMBarcelona Sants
$671One-way
0 transfers
SNCF OUIGO
10:05AM2h55
Madrid-Puerta de Atocha-Almudena Grandes
01:00PMBarcelona Sants
$671One-way
0 transfers

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 Madrid to Barcelona

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.

Pro
IconFast
IconComfortable
IconClean
Contra
IconExpensive
I have traveled from Madrid to Barcelona several tines using AVE and the experience has always been nice good. The trains are very fast and you arrive to Barcelona in less than 3h. Also, the trains are very new and clean. You can choose the silence car if you want to be quiet. There is also a bar inside the train. The price of the tickets is a little bit expensive compared to travelling by bus but it is worth it. It takes 6 more hours if you go by bus.
Pro
IconStaff
IconVolume
IconPunctuality
Contra
IconNeed to change
IconComfort
IconHygiene
About a month ago, I took a trip with Deutsche Bahn from Madrid to Barcelona. The staff on the train were very friendly. They were always smiling. The volume on the train was optimal. The train also arrived in Barcelona on time. Unfortunately, there were many changes of trains, which made the journey difficult. The seats were not comfortable and I could see old coffee stains or food remains. The toilets were also not cleaned and stank. Overall, a satisfactory journey.
Pro
IconWIFI
IconHygiene
IconPersonnel
Contra
IconPrice
IconPunctuality
IconComfort
I travelled from Madrid to Barcelona for work. The wifi connection was excellent. I was therefore able to do my work flexibly on the train. Good attention was paid to hygiene. The toilets were very clean and well maintained. The staff were very friendly. However, I found the price a bit expensive. The train also didn't arrive in Barcelona on time. I also personally found the seats uncomfortable. Overall, a good journey.

Overview: Train from Madrid to Barcelona

distanceDistance312 miles (504 km)
durationAverage train duration2 h 30 min
priceAverage train ticket price$57 (€50)
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 Madrid to Barcelona 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. You can get the cheapest train tickets for this route for as low as $19 (€17), but the average price of train tickets is $57 (€50). Travelers depart most frequently from Madrid-Puerta de Atocha-Almudena Grandes and arrive in Barcelona Sants.

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

AVE, Ouigo and Renfe AVLO trains will get you between Madrid and Barcelona from $24 (€21). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

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.

Madrid to Barcelona train information with iryo:

  • Average Duration: 2 h 30 min
  • Cheapest Price: $24

FAQs: Trains from Madrid to Barcelona

FAQs: Travel by train from Madrid to Barcelona 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 Madrid to Barcelona.
FAQs
Cheap train tickets from Madrid to Barcelona can start from as little as $19 (€17) when you book in advance. The average train ticket price for Madrid to Barcelona is $57 (€50); 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 2 h 30 min   to travel the 312 mile (504 km) long trip, with around there are 12 trains per day. Journey times can vary on weekends and holidays.
The first train from Madrid to Barcelona leaves at 6: 05 AM. Plan your trip with the Journey Planner   from Omio.
The last train from Madrid to Barcelona leaves at 8: 10 PM.
Yes, it is possible to travel from Madrid to Barcelona without having to change trains with AVE or iryo. There are 12 direct trains from Madrid to Barcelona each day. There may be fewer direct services available on weekends or holidays.
Yes, you can take a high-speed train from Madrid to Barcelona 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 Madrid to Barcelona 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 from Madrid to Barcelona on Omio to compare what amenities they may have.
No, there are no night trains, the latest train for this route is 8: 10 PM.

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

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

A trip to Barcelona from Madrid 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 Madrid to Barcelona by train is October.
You have options as you can travel from Madrid to Barcelona 3 different ways: train, bus or flight.

Important Stations and Airports in Madrid and Barcelona

Madrid
Barcelona
Madrid-Puerta de Atocha-Almudena Grandes is the most popular Madrid 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 Madrid for your trip to Barcelona.
Amenities at station
WifiWifi
LockersLockers
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
phone
Phone Number
+34 912432343
ticketOfficeHours
Ticket Office Hours
Mon - Sun: 10: 00 - 20: 00
Public transit options for Madrid-Puerta de Atocha-Almudena Grandes
Metro lines: 1
Bus lines: 10, 14, 24, 26, 32, 37, 54, 57, 59, 85, 86, 102, 121, 203
Train lines: C1, C2, C3, C4, C5, C7, C8, C10
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Madrid Atocha CercaniasParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Príncipe PíoParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Madrid Méndez AlvaroParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Madrid Nuevos MinisteriosParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
address
Address
Madrid
Madrid Aeropuerto T4ParkingATMAccessibility
Amenities at station
ParkingParking
ATMATM
AccessibilityAccessibility
Madrid RecoletosParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Madrid Sol
Estación de Asamblea de Madrid-EntrevíasATMTaxisAccessibility
Amenities at station
ATMATM
TaxisTaxis
AccessibilityAccessibility
PirámidesParkingATMTaxisAccessibility
Amenities at station
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
Madrid
HomeTrainsTrain Times to BarcelonaMadrid 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
More routes, destinations and providers
Currency
Language