background

Barcelona to Madrid Trains

04
Apr

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.

background

Our free app for every step of your journey — travel planning has never been easier!

apps qr codeapp store icongoogle store icon
background
Barcelona
505 km
Madrid
Shortest travel time:2 h 30 m
Earliest departure:05:50
Longest travel time:9 h 2 m
Lowest train ticket cost:$45
Avg. daily departures:32
Latest departure:21:00

Barcelona to Madrid Train Information

video

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!

Popular questions about Barcelona to Madrid Trains

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

Morning trains
Fastest trip2 hrs 30 min
Longest trip9 hrs 2 min
Earliest05:50
Latest11:50
Departures16
Afternoon trains
Fastest trip2 hrs 45 min
Longest trip6 hrs 9 min
Earliest12:00
Latest17:00
Departures10
Evening trains
Fastest trip2 hrs 45 min
Longest trip3 hrs 12 min
Earliest18:00
Latest20:55
Departures5
Night trains
Fastest trip2 hrs 46 min
Longest trip2 hrs 46 min
Earliest21:00
Latest21:00
Departures1
background

Trains on Barcelona - Madrid route

Extensive Network

One platform, 34+ destinations, 700+ routes around the globe.

Convenient Booking

We speak your language and offer over 20 payment methods.

Excellent Rating

Read authentic Rail Ninja reviews and see what our travelers say about us.

Flexible Planning

You can conveniently book train tickets for up to a year in advance!

Real Human Support

Need a hand? Contact our customer support before or during your trip.