There are 5 ways to get from Pegalajar to Madrid by train (Renfe, Ouigo), bus, 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.
Train via Córdoba
best- Take the train from Jaen to Cordoba-Centraltrain 13035 / ...
- Take the train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
4h 50m€43–115Bus
cheapest- Take the bus from Jaén - Estación de Autobuses to Estación Sur de Autobusesbus 600
5h 10m€30–45Drive 345.1 km
- Drive from Pegalajar to Madridcar 345.1 km
3h 32m€57–81Bus via Andújar
- Take the bus from Jaén to Andújarbus Jaén / ...
- Take the bus from Andujar to Estación Sur de Autobusesbus Huelva
6h 12m€30–44Train (Renfe)
- Take the train from Jaen to Madrid Chamartíntrain 18033 / ...
6h 19m€46–71
Comparing Your Travel Options
The cheapest way to get from Pegalajar to Madrid is to bus which costs €30 - €45 and takes 5h 10m.
The fastest way to get from Pegalajar to Madrid is to drive which takes 3h 32m and costs €55 - €85.
No, there is no direct bus from Pegalajar to Madrid. However, there are services departing from Pegalajar and arriving at Estación Sur de Autobuses via Jaén - Estación de Autobuses. The journey, including transfers, takes approximately 5h 10m.
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 4h 50m.
The distance between Pegalajar and Madrid is 498 km. The road distance is 345.1 km.
The best way to get from Pegalajar to Madrid without a car is to train via Córdoba which takes 4h 50m and costs €40 - €120.
It takes approximately 4h 50m to get from Pegalajar to Madrid, including transfers.
Pegalajar to Madrid bus services, operated by Autocares Grupo Samar, depart from Jaén - Estación de Autobuses 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 train via Córdoba which takes 4h 50m and costs €40 - €120. Alternatively, you can bus, which costs €30 - €45 and takes 5h 10m.
What companies run services between Pegalajar, Andalusia, Spain and Madrid, Spain?
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 4h 50m. Alternatively, Autocares Grupo Samar operates a bus from Jaén - Estación de Autobuses to Estación Sur de Autobuses once daily. Tickets cost €30–45 and the journey takes 3h 50m.
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Jaen to Cordoba-Central
- Ave. Duration
- 1h 45m
- Frequency
- Hourly
- Estimated price
- €16–24
- Website
- Renfe Viajeros
Train from Cordoba-Central to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 3m
- Frequency
- Hourly
- Estimated price
- €40–65
- Website
- Renfe Viajeros
Train from Jaen to Madrid Chamartín
- Ave. Duration
- 4h 33m
- Frequency
- Hourly
- Estimated price
- €45–70
- Website
- Renfe Viajeros
- Phone
- +34 984 689 912
- [email protected]
- Website
- samar.es
Bus from Jaén - Estación de Autobuses to Estación Sur de Autobuses
- Ave. Duration
- 3h 50m
- Frequency
- Once daily
- Estimated price
- €30–45
- Schedules at
- samar.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
Booking & Getting There
Pegalajar to Madrid bus services, operated by Autocares Grupo Samar, arrive at 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 6961+ hotels available in Madrid.











