Rail Ninja is a reservation service for booking train tickets online. It is not a rail carrier, does not own or operate any trains, and does not represent an official website of any railway company. It is a commercial business that makes it easier for you to book train tickets online.
Timetable for
1k+ routes worldwide
Flexible payments
20+ methods
Real human support
24/7 help
Shortest travel time:
2 h 30 m
Longest travel time:
9 h 2 m
Lowest train ticket cost:
$51
Avg. daily departures:
35
Earliest departure:
05:50
Latest departure:
21:00
Barcelona
Catalonia's capital is a very popular travel destination, welcoming hundreds of tourists daily. Find all you need to know about railway stations in Barcelona!
Show more
Barcelona train stations
Sants Station
Carrer del Rector Triado, 75, 08014, Barcelona, Spain
Barcelona Airport Terminal
08820 El Prat de Llobregat, Barcelona, Spain
505 km
Madrid
The lively capital of Spain boasts quite a few busy train hubs. Check out everything you need to know about railway stations in Madrid.
Show more
Madrid train stations
Pta. Atocha - Almudena Grandes
Plaza Emperador Carlos V, 28045, Madrid, Spain
Chamartin
Agustín de Foxá, 40, Madrid, Spain
Madrid - Atocha Cercanias
28045 , Madrid, Spain
Principe Pio
Paseo del Rey, 1092, Madrid, Spain
Madrid Estacion Sur
Calle Méndez Álvaro 84, 28045, Madrid, Spain

Barcelona to Madrid Train Information

The charming Spanish capital, Madrid, and the popular Catalonian gem, Barcelona, are surely worth seeing at least once in a lifetime. And taking a well-equipped high-speed Barcelona to Madrid train is certainly a great and comfortable option, saving a lot of your time. Below you can find out more about travel from Barcelona to Madrid, the route, and the trains, including answers to frequently asked questions. Or you can enhance your experience and make the most of your Spain trip with the innovative trip planner. Let your imagination go wild with the Spain itinerary builder. Mix the amazing sights into one trip and get ready to dive into the charms of this incredible country!

How far is Barcelona from Madrid?

The distance from Barcelona to Madrid is 505 kilometers which is approximately 314 miles. Although it may seem that traveling on an airplane for your connection between the cities is the wisest choice when covering such a long distance, taking a train from Barcelona to Madrid has proven itself to be a more time-efficient option.

Are there direct train services?

The most popular choice among travelers is the direct train which runs on the route, the high-speed AVE, which can reach the speed of 186 mph. Such trains are operated by the Renfe company and are favored for their onboard comfort and convenience of departure and arrival locations (right in the city centers: the Sants Station in Barcelona and the Puerta de Atocha Station in Madrid).

How long does it take to travel?

As mentioned before, one of the fastest and most advantageous travel options is taking the bullet train. If you’re wondering how long is the train from Barcelona to Madrid, the trip duration varies from 2 hours 30 minutes to 3 hours 10 minutes and the train doesn’t make any stops along the way after its departure.

What time is the first and last train of the day?

Luckily, the fast train from Barcelona to Madrid boasts an extensive schedule with practically hourly departures. Therefore, no matter which day of the week you’ll be traveling, you can count on over 10 options. As a rule, the first train departs at around 6 a.m. and the last train leaves at about 9 p.m.

When to buy tickets - now or in advance?

When it comes to purchasing your train tickets from Barcelona to Madrid, the smartest way to go is “the earlier - the better”, especially if you’re sure about your travel dates. On Rail Ninja you can book rail tickets for departures as early as 2 years in advance. This way can avoid higher rates and safeguard yourself from the unfortunate cases of little or no availability for your specific date or needed departure time, which is possible when booking last-minute.

What is the minimum price of a ticket?

Ticket prices for the bullet train Barcelona to Madrid vary based on the departure time, the chosen coach class, the traveler's age (child or adult), as well as on the proximity to the departure. Generally, ticket prices start from around 100 USD.

What class to choose?

If you plan to take the high-speed AVE Barcelona to Madrid train, you’ll have the choice of several classes: First Class, also called Preferente, or the Second Class, referred to as Turista. All train cars are air-conditioned, modern, and have comfortable seats. First Class cars are more spacious and designed for a smaller number of passengers. You can read more about the seat classes and the train here: AVE high-speed train.

Do you need seat reservation?

Seat reservation is included in the ticket. When booking your ticket you may indicate your preferable seat choice and, depending on the availability, the best option will be provided for you. Information about your assigned seat and the seat number will be displayed in the ticket.

Barcelona to Madrid Train Timetable

Train type
Fastest trip
Longest trip
Earliest
Latest
Departures
Morning trains
2 hrs 30 min
9 hrs 2 min
05:50
11:55
17
Afternoon trains
2 hrs 30 min
7 hrs 8 min
12:00
17:55
13
Evening trains
2 hrs 45 min
3 hrs 12 min
18:00
20:55
4
Night trains
2 hrs 45 min
2 hrs 45 min
21:00
21:00
1

Trains on Barcelona - Madrid Route

Brand name
Train type
Travel time
Price from
Departures
Rating
Iryo
Iryo
Bullet train
2 hrs 45 min
$51
9
AVE
Bullet train
2 hrs 30 min
$53
12
AVE
Train with 1 change
3 hrs 45 min
$80
4
Renfe
Euromed
Train with 1 change
6 hrs 8 min
$81
2
Renfe
Renfe
Train with 1 change
6 hrs 33 min
$83
1
AVLO
Express train
2 hrs 45 min
$53
5
AVLO
Train with 1 change
6 hrs 9 min
$123
1
Renfe
AVE INT
Bullet train
2 hrs 55 min
$84
1
Show more
9.8 / 10 based on 62 reviews

Barcelona to Madrid Train Review & Rating

Really fast and smart connection, very clean and modern trains

Caroline K. about traveling from Barcelona to Madrid