Madrid to Málaga by Train
The AVE links the capital to the Costa del Sol in about two and a half hours, dropping you a short walk from Málaga's old town and beaches — and the gateway to the whole southern coast.
The journey, stop by stop
From Madrid Puerta de Atocha the AVE races south across the plains of La Mancha and through the mountains of Andalusia, some trains calling at Córdoba, before arriving at Málaga María Zambrano.
How long does it take?
The fastest direct trains cover the route in around 2h 30m, with several departures a day. Check the live schedule for your date.
Who runs the route?
The route is served by Renfe AVE, with low-cost Iryo and Ouigo on some departures. Comparing them in one search finds the best time and fare.
Madrid to Málaga train price (2026)
Advance fares start from around €30 with Renfe, and less on Iryo or Ouigo, rising closer to departure.
| Operator | From | Journey time | Frequency |
|---|---|---|---|
| Renfe AVE | ~€30 | 2h 30m | Several daily |
| Iryo / Ouigo | ~€19 | 2h 35m | Several daily |
Prices are indicative advance fares. Check live availability for your exact date.
How to get the best fare
- Book early. The cheapest saver fares sell out first — booking ahead can be dramatically cheaper than buying on the day.
- Travel off-peak. Mid-morning and mid-week departures tend to be quieter and cheaper.
- Consider first class — on many routes the upgrade is modest and very comfortable.
- Compare in one place to see every departure at a glance.
Málaga: gateway to the Costa del Sol
Beyond the city itself — with its cathedral, Picasso museum and beaches — Málaga is the rail gateway to the whole southern coast. Towns like Marbella and Nerja have no train station, so most visitors arrive by AVE to Málaga and continue by bus or transfer along the Costa del Sol.
Ready to go? Check live Madrid → Málaga times and fares and book your seat on Trainline — secure checkout, mobile tickets, every operator in one search.
Prefer to compare every rail operator? Check schedules & book →
Opens in a new tab — come back here anytime.