The journey from Madrid to Málaga used to take a full day by car. Today, the Spanish high-speed trains whiz through the Andalusian mountains at nearly 300 km/h, taking you from the capital directly to the Costa del Sol in under three hours.
Here is our complete guide to the train journey from Madrid (Atocha station) to the heart of Málaga (María Zambrano station).
Quick Overview: Train Madrid to Málaga
- Travel time: Approx. 2 hours and 40 minutes (direct train).
- Train companies: Renfe (AVE/Avlo), Iryo, and Ouigo.
- Price: From around €15 when booked early, up to €80+ on the day of travel.
Which train company should you choose?
Thanks to the railway network in Spain opening up to competition, it is no longer a monopoly. This means much lower prices for you! Here are your options for Málaga:
- AVE & Avlo (Renfe): AVE is Spain's flagship. Because they started this route first, they have the most daily departures. Avlo is Renfe's own low-cost alternative.
- Iryo: The red Italian train is a favorite for many. The trains are brand new, extremely quiet, and feature a fantastic café car on board.
- Ouigo: The French double-decker challenger. Known for slashing prices (often the cheapest tickets), but be aware of strict luggage rules.
How to avoid the booking chaos
Trying to book tickets on the Spanish train companies' own websites can be a frustrating experience (especially if the site suddenly switches from English to Spanish halfway through the payment process).
We always recommend using Trainline. The big advantage is that the app compares the prices of AVE, Iryo, and Ouigo on the exact same screen. You simply choose the cheapest train, pay with your regular credit card, and get the QR code right on your phone. It doesn't get any easier!
Compare train times and prices at Trainline here
Ready for the Costa del Sol? Check out the best places for accommodation in Málaga city and the region, and get inspired by amazing things to do in Málaga.

