Trains from Barcelona to Madrid

Tue, May 22

Best Price

Real-time comparison

Easy Booking

Direct access to over 600 train, bus and flight partners

Customer Satisfaction

More than 20 million users from over 120 countries

Deutsche Bahn
National Rail
National Express
Tue, May 22
Wed, May 23
Thu, May 24
Fri, May 25
Sat, May 26
Sun, May 27
alsa$ 40
alsa$ 40
alsa$ 40
alsa$ 40
alsa$ 40
alsa$ 40
alsa$ 40
renfe_ave$ 85
renfe$ 51
renfe$ 51
renfe$ 51
renfe$ 51
renfe$ 51
renfe$ 51
air_europa$ 71
vueling$ 71
air_europa$ 58
vueling$ 61
air_europa$ 78
air_europa$ 66
air_europa$ 98

Barcelona to Madrid Train Information

Avg. Train Duration:190
Trains arrive in:Madrid
Trains depart from:Barcelona
Train Ticket Price:$ 66
Distance:504 Kms
Train Companies:Renfe AVE, Renfe

Trains from Barcelona to Madrid

Trains in Spain are a convenient way to travel between cities, with a number of companies offering domestic and international train routes. Trains traveling from Barcelona to Madrid are operated by Renfe, Spain's national train company. There are usually 20-30 trains traveling from Barcelona to Madrid per day. All trains are direct. Most Barcelona to Madrid trains are high-speed Renfe AVE trains, which take between 2:30 and 3:10 hours to arrive at Madrid's Atocha train station. Rare journeys use slower regional trains, which take approximately 9 hours to arrive at Madrid's Chamartin train station. These journeys on regional trains are usually significantly cheaper than traveling on AVE trains. The first train departs Barcelona at 5:50 a.m. while the last leaves at 9:15 p.m.

Barcelona to Madrid Train Cost

Average prices for Renfe trains from Barcelona to Madrid when you book in advance

Booking Period

Average Price

Same Day


1 Day in Advance


1 Week in Advance


2 Weeks in Advance


1 Month in Advance


3 Months in Advance


Barcelona to Madrid Trains: General Information

Travelers in Spain can offset some of the cost of Barcelona to Madrid train tickets by planning ahead and booking tickets as far in advance as possible.

  • autobus All Barcelona to Madrid trains are run by Renfe.
  • autobus All Renfe trains are direct, depart from Barcelona's Sants train station and arrive at either Madrid's Puerta de Atocha or Chamartin train station.
  • autobus The Barcelona to Madrid train journey takes as little as 2 hours and 30 minutes to arrive in Madrid.
  • autobus Most travelers book their Barcelona to Madrid train tickets approximately 1 day in advance of the travel date.

Based on GoEuro's travel data, as the table above clearly illustrates, ticket prices on Barcelona to Madrid trains decrease the further you book in advance:

  • It is 8% cheaper on average to book a Barcelona to Madrid train a day ahead of time rather than purchasing a ticket at the station.
  • It is 30% cheaper on average to purchase Barcelona to Madrid train tickets 1 week ahead of when you intend to travel.
  • Barcelona to Madrid train costs are 35% cheaper on average when booked 1 month in advance as opposed to purchasing a train ticket the day of.

Taking the Train from Barcelona

Most trains from Barcelona to Madrid leave from Barcelona Sants station, but some services also depart from Barcelona Passeig De Gracia as well. Both stations are centrally located and easy to reach - Barcelona Sants, the city's main transport hub, is well served by local taxis and also has a large car park for travelers driving to the station. The station also lies on two branches of Barcelona's busy Metro system, Blue Line L5 and Green Line L3.

Getting into Madrid by Train

Well known as Spain's fashion capital, Madrid's museums and galleries are packed with works by renowned artists, well-manicured parks, and the beautiful royal palace is a popular destination with business and leisure travelers alike. Madrid Atocha station is the main termination point for trains from Barcelona to Madrid. A busy transport hub, the station welcomes both local, national and international services and even boasts a tropical garden on the main concourse. Onward journeys are easy from Atocha, which connects to the wide-reaching Madrid Metro on Blue Line 1, and is well served by both taxis and public buses, as well as local trains and high speed regional trains to and from destinations further afield.

Always on the go?

Get the FREE GoEuro app now