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


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"

Take the train from Malaga to Madrid

Let the high-speed AVE train whisk you from Málaga to Madrid at speeds of 300 km/h. Operated by Renfe, the high-speed train from Málaga to Madrid takes just 2h 28m on the fastest services. AVE trains on this route run on the Madrid-Málaga high-speed rail line, which supports fast travel between the two cities. The first train leaves Málaga-María Zambrano station at 06:20 and the last service departs at 20:13, with an average of 19 trains per day departing to Madrid from Málaga.

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 Cercanias 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.

AVE trains will get you to Madrid in style, but choosing Preferente (First) Class will give you plenty of legroom, reclining leather armchairs, free WiFi and complimentary drinks and snacks.

Ready to travel? Book your tickets from Málaga to Madrid with ease using our Journey Planner. 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 3h 1m to travel from Málaga to Madrid by train, over a distance of around 258 miles (416 km). There are normally 10 trains per day travelling from Málaga to Madrid and tickets for this journey start from €28.40 when you book in advance.
Journey timeFrom 2h 39m
Price€28.40 - €126.60
Distance258 miles (416 km)
Frequency10 trains per day
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 Sunday 24th Jan 2021. For the full train timetable/schedule, or to search for a later time or date, click here.
09:00 Málaga-María Zambrano11:56 Madrid AtochaAVE 2093 Renfe Get tickets2h 56m, direct
09:10 Málaga-María Zambrano12:36 Madrid AtochaAlvia/Avant 8694 Renfe Get tickets3h 26m, 1 change
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
17:00 Málaga-María Zambrano19:45 Madrid AtochaAVE 2173 Renfe Get tickets2h 45m, direct
19:00 Málaga-María Zambrano21:45 Madrid AtochaAVE 2193 Renfe Get tickets2h 45m, direct
06:30 Málaga-María Zambrano09:10 Madrid AtochaAVE 2063 Renfe Get tickets2h 40m, direct
06:45 Málaga-María Zambrano10:27 Madrid AtochaAlvia/Avant 8664 Renfe Get tickets3h 42m, 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

Train tickets from Málaga to Madrid start at €28.40 one-way for a Standard Class ticket if you book in Advance, however, if you're booking last-minute tickets on the day, the average price is around €83.69.
lowest price found
4 weeksin advance
avg. single price73.60
2 weeksin advance
avg. single price76.34
on the day
avg. single price83.69

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 guide to check when European train operators release their special deals and offers to see if you can find cheap 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 3 hours and 1 minute, with around 10 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 €28.40 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 6 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 06: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 19: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.
Average prices for adult tickets in economy. Discount cards and coach journey excluded. Prices are based on searches made by our customers over the past 6 months. "14 days in advance" includes days 13 and 15. / The information provided is calculated based on scheduled train services for Málaga to Madrid for a typical week day using timetable data for 24/01/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 18/01/2021 for travel on 06/03/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.