Malaga to Madrid by train
Direct Renfe and iryo trains cover Málaga to Madrid in about 2h39, arriving at Puerta de Atocha (Almudena Grandes); departures vary by date.

Direct Renfe and iryo trains take about 2h39 from Málaga María Zambrano to Madrid Puerta de Atocha (Almudena Grandes), with departures varying by date.
Málaga to Madrid train at a glance
| Detail | What to expect |
|---|---|
| Fastest journey | About 2 hours 39 minutes |
| Typical journey | About 2 hours 50 minutes |
| Normal service pattern | Direct high-speed trains, with departures varying by date |
| Distance | Around 416 km |
| Departure station | Málaga María Zambrano |
| Arrival station | Madrid Puerta de Atocha (Almudena Grandes) |
| Operators | Renfe and iryo |
| Changes | Direct trains are available |
The fastest journey takes about 2 hours 39 minutes and a typical journey takes about 2 hours 50 minutes. Direct high-speed departures are available, but the number, times and stops depend on the date.
Direct trains and operators
Renfe operates AVE, Avlo and other Larga Distancia services on the Málaga to Madrid corridor. iryo also runs high-speed trains between the two cities. Both connect central stations, so the train avoids the airport transfer that a flight would require.
A direct train is usually the simplest option for this journey. Direct departures normally operate, but service frequency is not fixed across dates. When booking, use the departure and arrival times, train number and any intermediate stops to choose the right service.
Renfe and iryo use different fare families. A lower headline fare can come with stricter change or refund conditions or fewer included extras, so the cheapest first price is not always the best fit.
Stations and local connections
Málaga María Zambrano is the departure station and has local transport links. Allow time to find the departure board and platform when you arrive.
Puerta de Atocha (Almudena Grandes) is the Madrid arrival station. Plan around its 05:00 to 01:00 opening hours; metro, bus, taxi and Madrid Cercanías connections are available. The station also has facilities for passengers with reduced mobility.
Some Renfe AVE and Larga Distancia tickets include a free Combined Cercanías trip. Your entitlement and local journey depend on the ticket, so read the benefit attached to your booking before using it.
Tickets, fares and choosing a train
Booking ahead can help you find lower Renfe fares. Discounts are available for children, young people, seniors and other eligible travellers. The fare depends on the date, train and conditions attached to the ticket.
iryo's four fare families are Inicial, Inicial Superior, Infinita and Infinita Bistró. They combine different levels of flexibility and onboard options. Each fare's inclusions determine whether an upgrade is useful.
When both operators have suitable departures, compare the complete ticket: total price, departure and arrival stations, seat or comfort options, luggage conditions and change or refund rules. A slightly later train can be better value when it includes the flexibility or allowance you need.
Before you travel
Temporary speed restrictions can cause delays outside iryo's control. For Renfe bookings, use the train-status service. On the day, use the live status for your train and keep the train number and station names with your ticket.
At Málaga María Zambrano, follow the destination and departure time on the board before joining a queue. At Madrid Puerta de Atocha (Almudena Grandes), allow time to reach your metro, Cercanías, bus or taxi connection after leaving the long-distance platforms. Arrange reduced-mobility assistance through the current operator and station channels before travel if you need it.
For a return journey, use the exact station printed on the ticket. City searches can hide the difference between a long-distance station and a local stop.
Train or flight
For most city-centre trips, a direct train is the straightforward choice. It keeps the journey on one service and avoids airport transfers. It is especially useful when a roughly three-hour ride and a central arrival suit your plans; consider the complete door-to-door time if you are also considering a flight.
Where to book
Train tickets
- Check times & prices
Omio
Omio connects you with over 1,000 transport providers - trains, buses, flights, and more - to simplify your travel planning.
Rail Europe
Rail Europe is a leading travel tech company specializing in European train bookings for over 15,000 travel professionals worldwide.
Trainline
Trainline sells rail and coach tickets worldwide on behalf of major UK and European transport companies.
Train service
- Check times & prices
iryo is a private high-speed rail operator in Spain, serving major corridors from Madrid to cities including Barcelona, Valencia, Alicante, Seville and Malaga.
Official website - Check times & prices
Renfe is Spain’s national railway operator, offering high-speed, long-distance, and regional train services with extensive domestic coverage.
Official website
Find places to stay in Madrid

Frequently asked questions
How long is the train from Málaga to Madrid?
The fastest journeys take about 2 hours 39 minutes, while a typical journey takes about 2 hours 50 minutes. The exact time depends on the date and train.
Are there direct trains from Málaga to Madrid?
Yes. Direct high-speed trains are available, including Renfe and iryo services. The number of departures and any intermediate stops vary by date.
How often do trains run from Málaga to Madrid?
Direct high-speed departures normally operate on the corridor, but there is no fixed daily count for every date. Available times depend on the date-specific timetable.
Which stations do Málaga to Madrid trains use?
Trains leave from Málaga María Zambrano and arrive at Madrid Puerta de Atocha (Almudena Grandes). The exact stations for each service appear on its ticket.
Which operators run trains from Málaga to Madrid?
Renfe operates AVE, Avlo and Larga Distancia services, while iryo runs high-speed trains on the corridor. Their fares include different conditions and onboard options.
Can Málaga to Madrid trains be delayed?
Temporary speed restrictions can cause delays outside iryo's control. Use the live train-status service close to departure, and leave time for onward transport in Madrid.