There are 8 ways to get from Madrid to Hernani by bus, train (Renfe), car, plane, or train
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 Madrid, Avenida de América to Estación de Autobuses Donostia-San Sebastiánbus Alsa / ...
5h 58m€35–75Train via Burgos (Renfe)
- Take the train from Madrid Chamartín to Burgos Rosa De Limatrain Alv / ...
- Take the train from Burgos Rosa De Lima to Hernani Centrotrain 18061
6h 3m€68–131Drive 446.5 km
- Drive from Madrid to Hernanicar 446.5 km
4h 33m€71–102Fly to San Sebastián Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to San Sebastián Airport (EAS)plane MAD - EAS
- Take the train from San Sebastián-Donostia to Hernani-Erdiatrain
4h 35m€47–304Bus via Madrid - Barajas Airport T4
- Take the bus from Madrid - Barajas Airport T4 to San Sebastián - Bus Stationbus BlaBlaCar Bus
6h 53m€36–72Train (Renfe)
- Take the train from Madrid-Principe Pio to Hernani Centrotrain 18061
7h 27m€75–120Fly to Bilbao Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bilbao Airport (BIO)plane MAD - BIO
- Take the bus from Airport Loiu Bilbao to Donostia / San Sebastiánbus
5h 3m€48–171Fly to Pamplona Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Pamplona Airport (PNA)plane MAD - PNA
- Take the bus from Pamplona to Estación de Autobuses Donostia-San Sebastiánbus
5h 52m€65–380
Madrid to Hernani by bus and foot
Questions & Answers
The cheapest way to get from Madrid to Hernani is to bus which costs €35 - €75 and takes 5h 58m.
The fastest way to get from Madrid to Hernani is to drive which takes 4h 33m and costs €70 - €110.
No, there is no direct bus from Madrid to Hernani. However, there are services departing from Madrid, Avenida de América and arriving at Hernani - Urbieta Kalea via Donostia - Urbieta Kalea 38. The journey, including transfers, takes approximately 5h 58m.
Yes, there is a direct train departing from Madrid-Principe Pio and arriving at Hernani Centro. Services depart twice daily, and operate every day. The journey takes approximately 7h 27m.
The distance between Madrid and Hernani is 462 km. The road distance is 446.5 km.
The best way to get from Madrid to Hernani without a car is to bus which takes 5h 58m and costs €35 - €75.
It takes approximately 5h 58m to get from Madrid to Hernani, including transfers.
Madrid to Hernani bus services, operated by ALSA, depart from Madrid, Avenida de América station.
Madrid to Hernani train services, operated by Renfe Viajeros, depart from Madrid Chamartín station.
The best way to get from Madrid to Hernani is to bus which takes 5h 58m and costs €35 - €75. Alternatively, you can train via Burgos, which costs €65 - €140 and takes 6h 3m.
What companies run services between Madrid, Spain and Hernani, Spain?
ALSA operates a bus from Madrid, Avenida de América to Estación de Autobuses Donostia-San Sebastián every 3 hours. Tickets cost €35–75 and the journey takes 5h 25m. Alternatively, you can take a train from Madrid Chamartín to Hernani Centro via Burgos Rosa De Lima in around 6h 3m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to San Sebastián Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €35–290
Flights from Adolfo Suárez Madrid–Barajas Airport to Bilbao Airport
- Ave. Duration
- 1h 5m
- When
- Every day
- Estimated price
- €30–100
Flights from Adolfo Suárez Madrid–Barajas Airport to Pamplona Airport
- Ave. Duration
- 1h 5m
- When
- Every day
- Estimated price
- €55–360
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bilbao Airport
- Ave. Duration
- 1h 1m
- When
- Every day
- Estimated price
- €35–140
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid Chamartín to Burgos Rosa De Lima
- Ave. Duration
- 1h 54m
- Frequency
- Every 3 hours
- Estimated price
- €35–60
- Website
- https://www.renfe.com/es/en
Train from Burgos Rosa De Lima to Hernani Centro
- Ave. Duration
- 3h 9m
- Frequency
- 4 times a day
- Estimated price
- €30–50
- Website
- https://www.renfe.com/es/en
Train from Madrid-Principe Pio to Hernani Centro
- Ave. Duration
- 7h 27m
- Frequency
- Twice daily
- Estimated price
- €75–120
- Website
- https://www.renfe.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid Chamartín to Burgos Rosa De Lima
- Ave. Duration
- 1h 35m
- Frequency
- 3 times a day
- Estimated price
- €45–85
- Website
- https://www.renfe.com/es/en
- Phone
- +34 912 32 03 20
- [email protected]
- Website
- renfe.com
Train from San Sebastián-Donostia to Hernani-Erdia
- Ave. Duration
- 16 min
- Frequency
- Hourly
- Estimated price
- €1–2
- Website
- https://www.renfe.com/es/en/suburban
- Phone
- +34 910 207 007
- Website
- alsa.com
Bus from Madrid, Avenida de América to Estación de Autobuses Donostia-San Sebastián
- Ave. Duration
- 5h 25m
- Frequency
- Every 3 hours
- Estimated price
- €35–75
- Website
- https://www.alsa.com/en/
Bus from Pamplona to Estación de Autobuses Donostia-San Sebastián
- Ave. Duration
- 1h 15m
- Frequency
- Every 2 hours
- Estimated price
- €6–14
- Website
- https://www.alsa.com/en/
- Phone
- +3 318 576 2228
- Website
- blablacar.co.uk
Bus from Madrid - Barajas Airport T4 to San Sebastián - Bus Station
- Ave. Duration
- 5h
- Frequency
- Once daily
- Estimated price
- €35–70
- Website
- https://www.blablacar.co.uk/bus
- Phone
- +34 900 121 400
- [email protected]
Bus from Airport Loiu Bilbao to Donostia / San Sebastián
- Ave. Duration
- 1h 20m
- Frequency
- Hourly
- Estimated price
- €11–17
- Schedules at
- gipuzkoa.avanzagrupo.com
- Book at
- online.pesa.net
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
More Questions & Answers
Madrid to Hernani bus services, operated by ALSA, arrive at Estación de Autobuses Donostia-San Sebastián station.
Madrid to Hernani train services, operated by Renfe Viajeros, arrive at Burgos Rosa De Lima station.
Yes, the driving distance between Madrid to Hernani is 446 km. It takes approximately 4h 33m to drive from Madrid to Hernani.
Book your Madrid to Hernani train tickets online with Omio.
There are 1692+ hotels available in Hernani.






















