Barcelona

About 2h 30min · 505 km

Madrid to Barcelona by train

The fastest trains from Madrid to Barcelona take about 2h 30min. Here is who runs them, where they leave from and how the train compares with flying.

  • Fastest train2h 30min
  • High-speedYes
  • OperatorsRenfe (AVE), Iryo, Ouigo
  • Distance505 km

Train or plane?

Take the train. Door to door, Madrid–Barcelona by rail usually beats flying once you add airport transfers, security and boarding, and you arrive in the city centre.

Main stations in Madrid

Main stations in Barcelona

Tickets

Book directly with the operators listed above or through a rail booking site. On high-speed routes, prices rise as the train fills up, so booking a few weeks ahead pays off. Rail pass holders usually need to pay for a seat reservation on high-speed and international trains.

Questions travellers ask

How long is the train from Madrid to Barcelona?

The fastest direct trains take about 2h 30min. Slower services and connections take longer.

Who runs trains between Madrid and Barcelona?

Main operators on this route: Renfe (AVE), Iryo, Ouigo.

Is there a high-speed train from Madrid to Barcelona?

Yes. The fastest services on this route run on high-speed lines.

More train routes

Paris – Barcelona Madrid – Seville Madrid – Valencia Madrid – Málaga Barcelona – Valencia All routes

Madrid vs Barcelona

About this data: Journey times are typical fastest direct times and vary by timetable, day and season. Always check the current timetable with the operator before you travel.