The distance from Malaga to Madrid is about 332 miles (535 km). The most comfortable way to get from Malaga to Madrid is by flight, while the cheapest way is by bus.

Madrid is a dynamic city with many world-class attractions. If you want to get the most out of Madrid, and see Malaga and Andalusia while you’re at it, check out this 14-day itinerary.

By Flight

Duration: 1 hour

Flying is the fastest and easiest way to get from Malaga to Madrid. There are frequent direct flights from Malaga Airport to Madrid, with most fares costing under 100 euros. Flights are operated by Air Iberia and Air Europa.

Note that there are not many public power outlets available at Malaga Airport: make sure your phone is charged before you arrive!

By High-Speed Train

Duration: 2-3 hours

Spain’s state-owned train operator is called Renfe. Renfe frequently runs high-speed AVE trains from Malaga’s main train station (Maria Zambrano) to Puerta de Atocha in Madrid. The AVE trains are modern and comfortable. While prices vary, they are generally under 100 euros.

You can buy train tickets online or at the station. However, by purchasing tickets online, you can avoid paying an additional booking fee at the station. Trains can get crowded around Spanish public holidays, so book in advance.

By Rental Car, Private Transfer, or Rideshare

Duration: 5 hours, more with stops

The fastest route from Malaga to Madrid runs along highway A4. If you have time for sightseeing on the drive up, there are many interesting places you could stop off at along the way. Among these are the historic cities of Granada, Cordoba, and Toledo. Toledo can also easily be visited as a day trip from Madrid.

Some companies, such as BlaBlaCar, offer long-distance rideshares from Malaga (or the surrounding Costa del Sol beach towns) to Madrid. You will have to establish in advance where in Malaga your driver will be picking you up, and where in Madrid they will drop you off. Many drivers have designated pick-up and drop-off points. Be prepared to potentially share your car with other riders, and keep in mind that availability and demand may be affected by Spanish holidays.

By Bus

Duration: 6-7 hours

ALSA runs a reliable bus service throughout the day from Malaga Bus Station (next to the train station) to Madrid’s Estacion Sur (South Station). From Estacion Sur, you can access the rest of the city via the Madrid Metro.

Bus tickets can be purchased online, or from the ALSA ticket office at the bus station. The online fare usually includes a small processing fee. Booking in advance is recommended, as buses occasionally sell out.


Map of How to Get from Malaga to Madrid
Map of How to Get from Malaga to Madrid