There are 5 ways to get from Málaga to Madrid by train (Renfe, Ouigo), bus, rideshare, plane, or car
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena GrandesAve
2h 39m€15–90Bus
- Take the bus from Málaga to AndujarAlgeciras
- Take the bus from Andujar to Estación Sur de AutobusesHuelva
7h 30m€41–71Rideshare
- Take the rideshare from Málaga to Madrid501.8 km
6h 8m€20–40Fly
- Fly from Málaga Airport (AGP) to Adolfo Suárez Madrid–Barajas Airport (MAD)AGP - MAD
2h 51m€35–135Drive 501.4 km
- Drive from Málaga to Madrid501.4 km
5h 41m€79–114
Málaga to Madrid by train
Questions & Answers
The cheapest way to get from Málaga to Madrid is to rideshare which costs €20 - €40 and takes 6h 8m.
The fastest way to get from Málaga to Madrid is to train which takes 2h 39m and costs €15 - €90.
No, there is no direct bus from Málaga to Madrid. However, there are services departing from Málaga and arriving at Estación Sur de Autobuses via Andujar. The journey, including transfers, takes approximately 7h 30m.
Yes, there is a direct train departing from Malaga Maria Zambrano and arriving at Madrid-Puerta de Atocha-Almudena Grandes. Services depart hourly, and operate every day. The journey takes approximately 2h 39m.
The distance between Málaga and Madrid is 513 km. The road distance is 501.4 km.
The best way to get from Málaga to Madrid without a car is to train which takes 2h 39m and costs €15 - €90.
The train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes takes 2h 39m including transfers and departs hourly.
Málaga to Madrid bus services, operated by Socibus, depart from Málaga station.
Málaga to Madrid train services, operated by Renfe AVE, depart from Malaga Maria Zambrano station.
The best way to get from Málaga to Madrid is to train which takes 2h 39m and costs €15 - €90. Alternatively, you can bus, which costs €40 - €75 and takes 7h 30m, you could also fly, which costs €35 - €140 and takes 2h 51m.
What companies run services between Málaga, Spain and Madrid, Spain?
Renfe AVE operates a train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes every 3 hours. Tickets cost €26–90 and the journey takes 2h 39m. Three other operators also service this route. Alternatively, you can take a bus from Málaga to Estación Sur de Autobuses via Andujar in around 7h 30m.
Transport is disrupted due to the Russia-Ukraine war. Read more
- Website
- aireuropa.com
Flights from Málaga Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- €30–120
- Website
- iberia.com
Flights from Málaga Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- €35–100
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 39m
- Frequency
- Every 3 hours
- Estimated price
- €26–90
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 44m
- Frequency
- 5 times a day
- Estimated price
- €25–90
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 46m
- Frequency
- 3 times a day
- Estimated price
- €15–60
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 15m
- Frequency
- Twice daily
- Estimated price
- €40–60
- Website
- https://www.renfe.com/es/en
- Phone
- +34 915 304 417
- socibus@socibus.es
- Website
- socibusventas.es
Bus from Málaga to Andujar
- Ave. Duration
- 3h
- Frequency
- Twice daily
- Estimated price
- €16–21
- Website
- https://socibusventas.es/en/
Bus from Andujar to Estación Sur de Autobuses
- Ave. Duration
- 3h 30m
- Frequency
- 3 times a day
- Estimated price
- €25–50
- Website
- https://socibusventas.es/en/
Rome2Rio's guide to BlaBlaCar.es
Contact Details
- Website
- blablacar.com
Rideshare from Málaga to Madrid
- Ave. Duration
- 6h 8m
- Frequency
- Hourly
- Estimated price
- €20–40
- Book at
- blablacar.es
Want to know more about travelling around Spain
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
Is ride-sharing platform BlaBlaCar right for you?
Read the travel guide
More Questions & Answers
Málaga to Madrid bus services, operated by Socibus, arrive at Andujar station.
Málaga to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Málaga to Madrid is 501 km. It takes approximately 5h 41m to drive from Málaga to Madrid.
Book your Málaga to Madrid train tickets online with Omio.
There are 6754+ hotels available in Madrid.
Check out Blablacar's carpooling service for rideshare options between Málaga and Madrid. A great option if you don't have a driver's licence or want to avoid public transport.




















