The average train between Hernani and Madrid takes 7h 14m and the fastest train takes 5h 32m. The train service runs several times per day from Hernani to Madrid. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.
Trains run 3 times a day between Hernani and Madrid. The earliest departure is at 8:19 AM in the morning, and the last departure from Hernani is at 11:24 PM which arrives into Madrid at 10:38 AM. All services require a transfer, and take on average 7h 14m. The schedules shown below are for the next available departures.

5h 32m • 1 change

5h 56m • 1 change
Arrives next day

11h 14m • 1 change

5h 32m • 1 change

5h 56m • 1 change
Arrives next day

11h 14m • 1 change

5h 32m • 1 change

5h 56m • 1 change
Arrives next day

11h 14m • 1 change
Want to know about travelling from Hernani to Madrid? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport? What is the quickest option? How much do tickets usually cost? and many more.
No, there is no direct train from Hernani to Madrid. However, there are services departing from Hernani station and arriving at Madrid station via Madrid Chamartín. The journey, including transfers, takes approximately 7h 14m.
Hernani to Madrid train services, operated by Renfe Cercanias, depart from Tolosa station.
Hernani to Madrid train services, operated by Renfe Cercanias, arrive at Madrid Chamartín station.
Book your Hernani to Madrid train tickets online with Renfe Cercanias and Renfe Viajeros.
The distance between Hernani and Madrid is 347.6 km. The road distance is 541 km.
Renfe Viajeros operates a train from Tolosa to Madrid Chamartín 3 times a day. Tickets cost €65–110 and the journey takes 4h 46m.