Travel safely - Get the latest travel advice and booking info here

Renfe Avlo

The best prices from hundreds of train and coach companies

Join millions of people who use us every day

Travel to thousands of destinations in 45 countries

"Trainline’s take-off has been vertical. It’s the only global digital travel platform of its sort."
"For those travelling by train, the most efficient and trustworthy way to purchase tickets is Trainline."
"If you’re thinking of getting the train the best site to use is"

Travelling from Málaga to Madrid by train

The average journey time by train between Málaga and Madrid is 2 hours and 52 minutes, with around 7 trains per day. However, you can get there in as little as 2 hours and 39 minutes on the fastest AVE services operated by Renfe.

The first train leaves Málaga-María Zambrano station at 05:30 and the last service departs at 18:00.  AVE trains on this route run on the 258-mile (416 km) Madrid-Málaga high-speed rail line, which supports fast travel between the two cities. You’ll hurtle at speeds of up to 300km/h (186 mph) during the journey. For those who want to travel in style, Renfe’s First Class offers wide reclining leather seats, plenty of legroom, free WiFi and complimentary drinks and snacks.

Arriving into Madrid Atocha station, you’ll be at the heart of the Spanish capital. The Royal Palace is just a short hop on the Cercanías metro, while the Museo Nacional del Prado and El Retiro Park are within walking distance of the station. Need more inspiration? Check out our guide to the best things to do in Madrid, including the best restaurants, parks, museums and shops to go to.

Ready to travel? Book your train tickets from Málaga to Madrid with ease using our Journey Planner at the top of the page. View the cheapest tickets and train timetables; when you book, we’ll send your ticket as a convenient eticket, which you can keep handy on your phone.

Málaga to Madrid by train

It takes an average of 2h 58m to travel from Málaga to Madrid by train, over a distance of around 258 miles (416 km). There are normally 12 trains per day travelling from Málaga to Madrid and tickets for this journey start from €15 when you book in advance.
Journey timeFrom 2h 39m
PriceFrom €15
Distance258 miles (416 km)
Frequency12 trains per day
First train05:30
Last train18:00
Departure stationMálaga
Arrival stationMadrid
ChangesDirect trains available
Train and bus operatorsRenfe

Málaga to Madrid train times

Check out the next trains departing from Málaga to Madrid for Saturday 19th June 2021. For the full train timetable/schedule, or to search for a later time or date, click here.
06:44 Málaga-María Zambrano10:32 Madrid AtochaMedia Distancia 13901 Renfe Get tickets3h 48m, 1 change
09:00 Málaga-María Zambrano11:56 Madrid AtochaAVE 2093 Renfe Get tickets2h 56m, direct
09:10 Málaga-María Zambrano12:44 Madrid AtochaAlvia/Avant 8694 Renfe Get tickets3h 34m, 1 change
10:30 Málaga-María Zambrano13:09 Madrid AtochaAVE 2103 Renfe Get tickets2h 39m, direct
14:00 Málaga-María Zambrano16:55 Madrid AtochaAVE 2143 Renfe Get tickets2h 55m, direct
14:15 Málaga-María Zambrano17:15 Madrid AtochaAlvia/Avant 8744 Renfe Get tickets3h 0m, 1 change
14:35 Málaga-María Zambrano17:50 Madrid AtochaAVE 3991 Renfe Get tickets3h 15m, 1 change
16:15 Málaga-María Zambrano19:11 Madrid AtochaAVE 2163 Renfe Get tickets2h 56m, direct
19:00 Málaga-María Zambrano21:45 Madrid AtochaAVE 2193 Renfe Get tickets2h 45m, direct
20:13 Málaga-María Zambrano10:27 Madrid AtochaAlvia/Avant 8704 Renfe Get tickets14h 14m, 1 change

Renfe and AVE trains from Málaga to Madrid

You can travel from Málaga to Madrid on Renfe and AVE trains. When you search for times and tickets, we might also show you some other options with multiple connections or operators if they’re available.

Renfe is the national train operator in Spain. It has the widest network of high-speed trains in Europe, linking major cities with AVE, AV-City, Avant, Alvia, and Euromed trains. Long-distance routes are served by Altaria and Talgo trains, while regional routes are operated by Media Distancia, Regional and Express Regional trains. Renfe also operates on international routes to France and Portugal. Renfe trains offer four different travel classes, depending on the train you’re travelling on – Turista (Standard), Turista Plus (Premium Economy), Preferente (Business Class) and Club (First Class).

AVE is Renfe's flagship high-speed service, with trains capable of reaching up to 193 mph (310 km/h). It’s one of the fastest trains in Europe and connects the main cities of Spain. Most AVE trains offer four comfort classes – Turista (standard class), Turista Plus (wider, more comfortable seats), Preferente (lounge access, wide leather seats, food and drink service) and Club (First Class equivalent, with 1-1 configuration, ultra-wide seats, gourmet food and drink and lounge access). All AVE trains have air conditioning, power sockets, free WiFi and a buffet carriage serving a selection of food and drinks.

Cheap train tickets from Málaga to Madrid

The price of train tickets from Málaga to Madrid starts at €15 one-way for a Standard Class ticket if you book in advance. Booking on the day is usually more expensive and costs can vary depending on the time of day, route or class.

Book in advance

Most of the train companies across Europe release their tickets around three to six months in advance, many of which can be cheaper the earlier you book. If you know the dates you want to travel, you may be able to find some cheaper train tickets from Málaga to Madrid by booking early.§

Be flexible with your travel times

Many of the train services in Europe are also popular commuter services, lots of train companies increase ticket prices during “peak hours” (generally between 06:00 – 10:00 and 15:00 – 19:00 on weekdays). If you can, consider travelling outside of peak hours to find lower priced tickets.

Choose a slower or connecting train

On some of the busier routes, you might also have the option to take a slower or connecting train. It may take a little longer than some high-speed or direct services, but if you have a little extra time on your hands, you might find a cheaper fare. Plus, you'll have more time to enjoy the view of the countryside!

Look out for special deals

Take a look at our handy guides to find out when train operators release their special deals and offers to see if you can find cheap European train tickets for your journey.

For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.

§Some train companies may not offer any Advance ticket types or cheaper deals for early bookings. On rare occasions, train companies may choose to release special offers closer to the date on last-minute or late-release tickets. This is dependent on the individual train operating company you travel with.

Journey details

Want to know more about your journey from Málaga to Madrid? We've compiled some of the most frequently asked questions by our customers to help you plan your journey.

How long does the train from Málaga to Madrid take?

The average journey time by train between Málaga and Madrid is 2 hours and 58 minutes, with around 12 trains per day. The journey time may be longer on weekends and holidays, so use our Journey Planner on this page to search for a specific travel date.

What's the fastest journey time between Málaga and Madrid by train?

The fastest journey time by train from Málaga to Madrid is 2 hours and 39 minutes.

How much does the train from Málaga to Madrid cost?

Train ticket prices from Málaga to Madrid can start from as little as €15 when you book in advance. The cost of tickets can vary depending on the time of day, route and class you book and are usually more expensive if you book on the day.

Is there a direct train from Málaga to Madrid?

Yes, it is possible to travel from Málaga to Madrid without having to change trains. There are 8 direct trains from Málaga to Madrid each day. Though there may be fewer direct services available depending on your exact departure date.

What time does the first train from Málaga to Madrid leave?

The first train from Málaga to Madrid leaves at 05:30. Times and services may vary during weekends and holidays.

What time does the last train from Málaga to Madrid leave?

The last train from Málaga to Madrid leaves at 18:00. Trains that depart in the early morning hours or very late evening may be sleeper services, time and services may also vary during weekends and holidays.

What's the distance between Málaga and Madrid by train?

Trains travelling from Málaga to Madrid cover a distance of around 258 miles (416 km) during the journey.

Looking for more information?

If you’re looking for the return train journey, check out trains from Madrid to Málaga.
The information provided is calculated based on scheduled train services for Málaga to Madrid for a typical week day using timetable data for 06/19/2021. On weekends, holidays or other exceptional times, fewer services may be available. The fare range provided has been found by our customers on Trainline on 07/10/2021 for travel on 07/10/2021 and for adult tickets in economy, discount cards and coach journeys excluded.

Europe’s leading train and coach app

We help customers across Europe make more than 172,000 smarter journeys every day.