There are 9 ways to get from Andalusia 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 Grandestrain 6189 / ...
2h 51m€35–120Rideshare
cheapest- Take the rideshare from Málaga to Madrid501.5 km
6h 8m€21–45Bus
- Take the bus from Estación de Autobuses de Málaga to Madrid Estación Sur de Autobusesbus Algeciras / ...
7h 28m€25–61Fly from Seville Airport
- Fly from Seville Airport (SVQ) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane SVQ - MAD
2h 57m€30–158Drive 501.9 km
- Drive from Málaga to Madridcar 501.9 km
5h 43m€78–113Fly from Málaga Airport
- Fly from Málaga Airport (AGP) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane AGP - MAD
2h 46m€37–153Fly from Almería Airport
- Fly from Almería Airport (LEI) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane LEI - MAD
3h€72–234Fly from Jerez Airport
- Fly from Jerez Airport (XRY) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane XRY - MAD
2h 47m€62–324Fly from Federico García Lorca Granada-Jaén Airport
- Fly from Federico García Lorca Granada-Jaén Airport (GRX) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane GRX - MAD
3h 8m€33–255
Andalusia to Madrid by train
Comparing Your Travel Options
The cheapest way to get from Andalusia to Madrid is to bus which costs €25 - €65 and takes 7h 28m.
The fastest way to get from Andalusia to Madrid is to fly which takes 2h 46m and costs €35 - €160.
No, there is no direct bus from Andalusia to Madrid. However, there are services departing from Parque - Pl. Marina and arriving at Madrid Estación Sur de Autobuses via Estación de Autobuses de Málaga. The journey, including transfers, takes approximately 7h 28m.
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 51m.
The distance between Andalusia and Madrid is 513 km. The road distance is 501.9 km.
The best way to get from Andalusia to Madrid without a car is to train which takes 2h 51m and costs €35 - €120.
The train from Malaga Maria Zambrano to Madrid-Puerta De Atocha-Almudena Grandes takes 2h 51m including transfers and departs hourly.
Andalusia to Madrid bus services, operated by Interbus, depart from Estación de Autobuses de Málaga station.
Andalusia to Madrid train services, operated by iryo, depart from Malaga Maria Zambrano station.
The best way to get from Andalusia to Madrid is to train which takes 2h 51m and costs €35 - €120. Alternatively, you can bus, which costs €25 - €65 and takes 7h 28m, you could also fly, which costs €29 - €160 and takes 2h 57m.
What companies run services between Andalusia, Spain and Madrid, Spain?
iryo operates a train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes every 2 hours. Tickets cost €45–85 and the journey takes 2h 51m. Three other operators also service this route. Alternatively, Interbus operates a bus from Estación de Autobuses de Málaga to Madrid Estación Sur de Autobuses 4 times a day. Tickets cost €24–60 and the journey takes 6h 20m.
- Website
- iberia.com
Flights from Seville Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 5m
- When
- Every day
- Estimated price
- €25–150
Flights from Málaga Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 17m
- When
- Every day
- Estimated price
- €35–150
Flights from Almería Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- €60–220
Flights from Almería Airport to Adolfo Suárez Madrid–Barajas Airport via Seville Airport
- Ave. Duration
- 3h 20m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €60–220
Flights from Jerez Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- €45–210
Flights from Federico García Lorca Granada-Jaén Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €24–200
- Website
- aireuropa.com
Flights from Seville Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 5m
- When
- Every day
- Estimated price
- €21–120
Flights from Málaga Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €30–130
- Website
- ryanair.com
Flights from Málaga Airport to Adolfo Suárez Madrid–Barajas Airport via Tangier
- Ave. Duration
- 3h 10m
- When
- Sunday and Monday
- Estimated price
- €35–180
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 51m
- Frequency
- Every 2 hours
- Estimated price
- €45–85
- Website
- Iryo
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 49m
- Frequency
- Hourly
- Estimated price
- €65–120
- Website
- Renfe AVE
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 51m
- Frequency
- Every 4 hours
- Estimated price
- €35–60
- Website
- Ouigo
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 14m
- Frequency
- 3 times a day
- Estimated price
- €60–95
- Website
- Renfe Viajeros
- Phone
- +34 916 52 00 11
- [email protected]
- Website
- grupointerbus.com
Bus from Estación de Autobuses de Málaga to Madrid Estación Sur de Autobuses
- Ave. Duration
- 6h 20m
- Frequency
- 4 times a day
- Estimated price
- €24–60
- Schedules at
- grupointerbus.com
Rome2Rio's guide to BlaBlaCar.es
Contact Details
- Website
- BlaBlaCar.es
Rideshare from Málaga to Madrid
- Ave. Duration
- 6h 8m
- Frequency
- Hourly
- Estimated price
- €21–45
- Schedules 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
Booking & Getting There
Andalusia to Madrid bus services, operated by Interbus, arrive at Madrid Estación Sur de Autobuses station.
Andalusia to Madrid train services, operated by iryo, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Andalusia to Madrid is 502 km. It takes approximately 5h 43m to drive from Andalusia to Madrid.
Book your Andalusia to Madrid train tickets online with Omio and 12go.asia.
Book your Andalusia to Madrid bus tickets online with 12go.asia.
There are 7058+ hotels available in Madrid.
Check out Blablacar's carpooling service for rideshare options between Andalusia and Madrid. A great option if you don't have a driver's licence or want to avoid public transport.

























