There are 5 ways to get from Pegalajar to Madrid by bus, train (Renfe, Ouigo), car, or train (Renfe)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Bus
best- Take the bus from Jaén to Madrid - Estación Sur de Autobusesbus 601 / ...
5h 5m€30–45Train via Córdoba
- Take the train from Jaen to Cordoba-Centraltrain 13035 / ...
- Take the train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
5h 28m€43–101Drive 345.1 km
- Drive from Pegalajar to Madridcar 345.1 km
3h 32m€48–69Bus via Andújar
- Take the bus from Jaén to Andújarbus Jaén / ...
- Take the bus from Andújar to Madrid Estación Sur de Autobusesbus Cádiz
6h 12m€30–40Train (Renfe)
- Take the train from Jaen to Madrid Chamartíntrain 18033 / ...
6h 31m€46–71
Comparing Your Travel Options
The cheapest way to get from Pegalajar to Madrid is to bus via Andújar which costs €29 - €40 and takes 6h 12m.
The fastest way to get from Pegalajar to Madrid is to drive which takes 3h 32m and costs €45 - €70.
No, there is no direct bus from Pegalajar to Madrid. However, there are services departing from Pegalajar and arriving at Madrid - Estación Sur de Autobuses via Jaén. The journey, including transfers, takes approximately 5h 5m.
No, there is no direct train from Pegalajar to Madrid. However, there are services departing from Jaen and arriving at Madrid-Puerta de Atocha-Almudena Grandes via Cordoba-Central. The journey, including transfers, takes approximately 5h 28m.
The distance between Pegalajar and Madrid is 348 km. The road distance is 345.1 km.
The best way to get from Pegalajar to Madrid without a car is to bus which takes 5h 5m and costs €30 - €45.
It takes approximately 5h 5m to get from Pegalajar to Madrid, including transfers.
Pegalajar to Madrid bus services, operated by Autocares Grupo Samar, depart from Jaén station.
Pegalajar to Madrid train services, operated by Renfe Viajeros, depart from Jaen station.
The best way to get from Pegalajar to Madrid is to bus which takes 5h 5m and costs €30 - €45. Alternatively, you can train via Córdoba, which costs €40 - €110 and takes 5h 28m.
What companies run services between Pegalajar, Andalusia, Spain and Madrid, Spain?
Autocares Grupo Samar operates a bus from Jaén to Madrid - Estación Sur de Autobuses 3 times a day. Tickets cost €30–45 and the journey takes 3h 45m. Alternatively, you can take a bus from Pegalajar to Madrid-Puerta de Atocha-Almudena Grandes via Jaén, Avda. Madrid. 22, Avda. Andalucia. 10, Jaen, and Cordoba-Central in around 5h 28m.
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Jaen to Cordoba-Central
- Ave. Duration
- 1h 45m
- Frequency
- Hourly
- Estimated price
- €17–25
- Website
- Renfe Viajeros
Train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 3m
- Frequency
- Every 4 hours
- Estimated price
- €40–65
- Website
- Renfe Viajeros
Train from Jaen to Madrid Chamartín
- Ave. Duration
- 4h 33m
- Frequency
- Every 4 hours
- Estimated price
- €45–70
- Website
- Renfe Viajeros
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 1h 55m
- Frequency
- Hourly
- Estimated price
- €40–75
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h
- Frequency
- Hourly
- Estimated price
- €29–50
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 1h 56m
- Frequency
- Every 4 hours
- Estimated price
- €26–40
- Website
- Ouigo
- Phone
- +34 984 689 912
- [email protected]
- Website
- samar.es
Bus from Jaén to Madrid - Estación Sur de Autobuses
- Ave. Duration
- 3h 45m
- Frequency
- 3 times a day
- Estimated price
- €30–45
- Schedules at
- samar.es
- Phone
- +34 (0) 953 256 525
- Website
- autobusesjaen.com
Bus from Jaén to Andújar
- Ave. Duration
- 40 min
- Frequency
- Hourly
- Estimated price
- €5
- Schedules at
- autobusesjaen.com
- Phone
- +34 915 304 417
- [email protected]
- Website
- Socibus
Bus from Andújar to Madrid Estación Sur de Autobuses
- Ave. Duration
- 3h 30m
- Frequency
- 3 times a day
- Estimated price
- €25–35
- Website
- Socibus
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
Booking & Getting There
Pegalajar to Madrid bus services, operated by Autocares Grupo Samar, arrive at Madrid - Estación Sur de Autobuses station.
Pegalajar to Madrid train services, operated by Renfe Viajeros, arrive at Cordoba-Central station.
Yes, the driving distance between Pegalajar to Madrid is 345 km. It takes approximately 3h 32m to drive from Pegalajar to Madrid.
There are 400+ hotels available in Madrid.




























