Travel Barcelona to Madrid

Barcelona to Madrid Train: Schedules, Tickets & Prices

Trains from Barcelona to Madrid take around 2h 37m to 3h 24m, with tickets starting from 30 EUR to 152 EUR.

Train from Barcelona to Madrid

Board a train at Barcelona Sants for a journey from Barcelona to Madrid. The ride usually takes around 2 hours 37 minutes, arriving at Madrid Puerta de Atocha, with tickets starting from 30 EUR. Be sure to reserve your seat in advance.

Popular departures: Barcelona Sants
Popular arrivals: Madrid Puerta de Atocha

Prices: 30 EUR to 152 EUR

Duration: 2h 37m – 3h 24m ⏱

Hop on train from Barcelona to Madrid for EUR 30 Hop on train from Barcelona to Madrid in 2h 37m Experience train from Barcelona to Madrid for EUR 30 Travel with train from Barcelona to Madrid in 2h 37m Journey with train from Barcelona to Madrid in 2h 37m

View all Train tickets →

Distance Barcelona to Madrid

The distance between Barcelona and Madrid is 505.7 kilometers.

Train from Barcelona to Madrid Details

Find key information about the Train from Barcelona to Madrid, including travel time, prices and stations.

Train
Average price
71 EUR
 
Cheapest
30 EUR
Average duration
3h 1m
 
Shortest
2h 37m
Number of departures
38
05:45 - 21:05
Tickets
 
Stations
Departure stations
Arrival stations
Barcelona Sants
Madrid Puerta de Atocha
Operators
Renfe, OUIGO, iryo
 

Train Routes & Schedules from Barcelona to Madrid

Begin at Barcelona Sants, which serves as the single departure point for the train connection between Barcelona and Madrid. Trains operate from 05:45 until 21:05, and the journey usually takes around 2h 37m to 3h 24m. Train ticket prices start from 30 to 152 EUR, with arrival at Madrid Puerta de Atocha at the end of the route. Refer to the train timetable for Barcelona to Madrid to see which services run during the day and choose the option that best fits your plans.

Train Timetable: Barcelona Sants → Madrid Puerta de Atocha

  • 05:45 09:02 3h 17m 71 EUR
  • 07:05 10:07 3h 2m 74 EUR
  • 07:50 11:07 3h 17m 55 EUR
  • 08:00 11:19 3h 19m 62 EUR
  • 08:25 11:02 2h 37m 58 EUR
  • 08:45 12:02 3h 17m 63 EUR
  • 09:00 11:52 2h 52m 74 EUR
  • 09:55 13:19 3h 24m 132 EUR
  • 10:40 13:32 2h 52m 40 EUR
  • 10:45 13:49 3h 4m 64 EUR
  • 11:00 13:52 2h 52m 152 EUR
  • 11:25 14:42 3h 17m 58 EUR
  • 12:00 15:19 3h 19m 74 EUR
  • 12:14 15:16 3h 2m 58 EUR
  • 12:50 15:52 3h 2m 62 EUR
  • 13:20 16:37 3h 17m 57 EUR
  • 13:27 16:04 2h 37m 37 EUR
  • 13:50 16:27 2h 37m 36 EUR
  • 14:00 17:19 3h 19m 62 EUR
  • 14:50 17:52 3h 2m 68 EUR
  • 15:00 17:52 2h 52m 87 EUR
  • 15:25 18:02 2h 37m 58 EUR
  • 15:55 19:12 3h 17m 82 EUR
  • 16:00 19:19 3h 19m 74 EUR
  • 16:25 19:02 2h 37m 132 EUR
  • 16:58 19:51 2h 53m 62 EUR
  • 17:20 20:22 3h 2m 62 EUR
  • 17:25 20:02 2h 37m 102 EUR
  • 17:40 20:17 2h 37m 36 EUR
  • 18:00 21:19 3h 19m 87 EUR
  • 18:25 21:02 2h 37m 132 EUR
  • 18:40 21:52 3h 12m 87 EUR
  • 18:53 22:10 3h 17m 62 EUR
  • 19:25 22:02 2h 37m 132 EUR
  • 19:40 22:42 3h 2m 57 EUR
  • 20:00 23:19 3h 19m 37 EUR
  • 20:40 23:43 3h 3m 30 EUR
  • 21:05 23:58 2h 53m 37 EUR

Check all Train tickets →

Frequently Asked Questions Train Barcelona to Madrid

Below you will find answers to the most common questions about traveling from Barcelona to Madrid by train.

How long is the train from Barcelona to Madrid?

The train from Barcelona to Madrid takes about 2 hours 37 minutes to 3 hours 24 minutes, so it is a fairly quick way to travel between the two cities. If you are planning a train journey on this route, it is worth checking the exact departure you want because travel times can vary a little.

What do train tickets for Barcelona to Madrid usually cost?

Train tickets for Barcelona to Madrid usually range from 30 EUR to 152 EUR, depending on the departure and how early you book. For a train trip on this route, prices can change quite a bit, so it helps to compare options before choosing.

Where does the train from Barcelona to Madrid depart and arrive?

The train from Barcelona to Madrid departs from Barcelona Sants and arrives at Madrid Puerta de Atocha. If you are taking this train service, those are the main stations to keep in mind when planning your trip.

How often do trains run between Barcelona and Madrid?

There are 38 train departures on the Barcelona to Madrid route, so you have several options across the day. That makes the train connection flexible for travelers who want to choose a departure that fits their schedule.

What is the first and last train departure from Barcelona to Madrid?

The first train departure from Barcelona to Madrid is at 05:45, and the last train departure is at 21:05. If you are planning a train journey on this route, these times give you a good idea of the daily range.

Can I book train tickets for the Barcelona to Madrid route in advance?

Yes, it is a good idea to book train tickets for Barcelona to Madrid in advance, especially if you want more choice in departure times and fares. Since this train route has multiple options, early booking can make it easier to find a train trip that suits your plans.

Is the train journey between Barcelona and Madrid a practical option for a day trip?

The train journey between Barcelona and Madrid is practical for travelers who want a fast city-to-city connection, since the trip takes only a few hours. With departures spread through the day, the train service can work well for a day trip if your schedule is flexible.

What should I know before taking the train from Barcelona to Madrid?

Before taking the train from Barcelona to Madrid, it helps to know that the route runs from Barcelona Sants to Madrid Puerta de Atocha and that travel time can be around 2 hours 37 minutes to 3 hours 24 minutes. Checking your train tickets, departure time, and station details in advance can make the train trip smoother.


More Train routes from and to Barcelona or Madrid

Planning more than just Barcelona to Madrid?

You’re currently viewing Train options for Barcelona to Madrid. If your trip includes more destinations, the TicketRoutes Travel Planner lets you compare different transport types and multiple routes in one place.

Open Travel Planner

Ideal for multi-city trips and flexible travel plans.