Rome2Rio

How to get fromMadrid to Hernaniby train (Renfe), bus, car, plane, or train

Find Transport to Hernani

See all options
QR code to download the Rome2Rio app

Download the Rome2Rio travel app

Scan QR code with your phone to download the app

Download on the App StoreGet it on Google Play

There are 9 ways to get from Madrid to Hernani by train (Renfe), bus, 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.

  1. Train via Zumarraga (Renfe)

    best
    1. Take the train from Madrid Chamartín to Zumarragatrain train Alv / ...
    2. Take the train from Zumarraga to Hernani-Erdiatrain train C1
    5h 28m
    €62–96
  2. Bus

    cheapest
    1. Take the bus from Madrid, Avenida de América to Estación de Autobuses Donostia-San Sebastiánbus bus ALSA - S Mad-Ss / ...
    6h 4m
    €35–60
  3. Drive  446.5 km

    1. Drive from Madrid to Hernanicar car 446.5 km
    4h 33m
    €68–98
  4. Fly to San Sebastián Airport, train

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to San Sebastián Airport (EAS)plane plane MAD - EAS
    2. Take the train from San Sebastián-Donostia to Hernani-Erdiatrain train
    4h 21m
    €62–303
  5. Bus via Madrid - Barajas Airport T4

    1. Take the bus from Madrid - Barajas Airport T4 to San Sebastián - Bus Stationbus bus BlaBlaCar Bus
    6h 46m
    €37–58
  6. Train (Renfe)

    1. Take the train from Madrid-Principe Pio to Hernani Centrotrain train 18061
    7h 23m
    €75–120
  7. Fly to Bilbao Airport, bus

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bilbao Airport (BIO)plane plane MAD - BIO
    2. Take the bus from Airport Loiu Bilbao to Donostia / San Sebastiánbus bus
    4h 48m
    €43–170
  8. Fly to Pamplona Airport, bus

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Pamplona Airport (PNA)plane plane MAD - PNA
    2. Take the bus from Pamplona to Estación de Autobuses Donostia-San Sebastiánbus bus
    5h 34m
    €71–406
  9. Fly to Santander Airport, bus

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Santander Airport (SDR)plane plane MAD - SDR
    2. Take the bus from Santander to Estación de Autobuses Donostia-San Sebastiánbus bus
    7h 8m
    €62–263

Madrid to Hernani by train (Renfe)

Calendar40Weekly Trains
Duration5h 28mAverage Duration
Ticket€62Cheapest Price
See schedules

Comparing Your Travel Options

What companies run services between Madrid, Spain and Hernani, Spain?

You can take a train from Madrid Chamartín to Hernani-Erdia via Zumarraga in around 5h 28m. Alternatively, 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–60 and the journey takes 5h 25m.

Airlines
Train operators
Bus operators

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

Booking & Getting There