
How to get from Málaga to Madrid
On Routavio you can compare the ways from Málaga to Madrid by price and travel time.
- 417 km as the crow flies
- 24 train departures a day with Renfe
Compare the train, bus and flight options. Then check them for your own date.
Start with the whole journey.
We compared the ways to travel from Málaga to Madrid. The most useful door-to-door route takes 2h 54m by train with no transfer. The two cities are about 417 km apart in a straight line. The price and operators below come from a real route search.
This fare comes from a search on October 11, 2026 and has not been refreshed since. Run a live search for today's price.
417 km
Málaga to Madrid: cheapest or fastest?
Pick a tab: the legs, the timing and the difference from the others all change with it.
- 1Málaga → Madridtrain
Renfe·2h 54m
The best balance of price and time we found on this route.
Which date should you go?
The amounts on each day are fares seen earlier, not live offers. A day with no figure is one we have not priced, not one without a service.
Departures from Málaga to Madrid
Renfe runs 24 scheduled departures a day, the first at 05:47 and the last at 20:00.
| Operator | Departures a day | First | Last |
|---|---|---|---|
| Renfetrain | 24 | 05:47 | 20:00 |
| Ouigotrain | 3 | 06:29 | 21:10 |
All departuresRenfe
- 05:47
- 07:00
- 07:48
- 09:27
- 10:35
- 11:56
- 14:51
- 15:38
- 17:03
- 17:52
- 18:47
- 20:00
All departuresOuigo
- 06:29
- 13:46
- 21:10
Departure times come from operator timetables and are local time at the origin. Where a row shows no times, the frequency is the operator's own and the timetable is not published to us. Times can change on holidays and at short notice; confirm with the operator before you travel.
Departure and arrival


Ticket prices on this route
What each way of travelling costs, as the operator publishes it. These describe the route rather than a date you pick, and they refresh once a day. Booking opens at our partner Omio.
Omio last refreshed these on Tue, Oct 20
Operators seen on these journeys
On this route you travel with Renfe; Routavio does not add a booking fee.
How the trip from Málaga to Madrid works
Start with a Renfe train from Málaga to Madrid, about 2h 54m. In total it's roughly €15 over 2h 54m, direct, no transfers.
Málaga to Madrid: common questions
How long does it take to get from Málaga to Madrid?
The most useful route takes about 2h 54m by train, with no transfer.
When is the first train from Málaga to Madrid?
The first train with Renfe leaves at 05:47 and the last at 20:00, from Malaga, according to the published timetable.
How many train departures a day are there from Málaga to Madrid?
24 a day with Renfe, between 05:47 and 20:00.
Which station does the train from Málaga to Madrid leave from?
Malaga with Renfe, according to the published timetable.
How far is Madrid from Málaga?
About 417 km in a straight line. The real route on the ground or in the air is longer.
How much does Málaga to Madrid cost?
On the upcoming dates we checked, the cheapest fare ranged from €17 to €38. Run a live search for your own date to see today's price.
Which operators run Málaga to Madrid?
On this route you travel with Renfe.
What is the cheapest way to get from Málaga to Madrid?
Usually a flexible date, or leaving from a nearby airport. A live search puts every option for your dates side by side.
Can I book directly?
Yes. Routavio sends you straight to the operator or an independent third-party provider. We never add a booking fee. The final fare and availability are confirmed by that provider.
Other ways people search Málaga to Madrid
- how to get from Málaga to Madrid
- Málaga to Madrid travel time
- Málaga to Madrid distance
- cheapest way from Málaga to Madrid
Sources and method
Routes are calculated by Routavio's multimodal engine from operator timetables and flight data. Durations come from timetables, and prices are the most recent observation, not a guarantee.
Operators: Renfe
Route calculated: 12 Oct 2026
Prices checked: 11 Oct 2026
