New

Continue planning on any device.

How to get fromMadrid to Heidelbergby plane, train, train (Renfe, Ouigo, TGV), bus, car, or train (Renfe, TGV)

Find Transport to Heidelberg

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 Heidelberg by plane, train, train (Renfe, Ouigo, TGV), bus, car, or train (Renfe, TGV)

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.

  1. Fly to Frankfurt, train

    best
    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Frankfurt (FRA)plane plane MAD - FRA
    2. Take the train from Frankfurt to Mannheim, Hauptbahnhoftrain train
    6h 3m
    €90–268
  2. Train via Barcelona

    1. Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain train Ave
    2. Take the train from Barcelona-Sants to Lyon Part Dieutrain train
    3. Take the train from Lyon Part Dieu to Karlsruhe Hbftrain train Tgv
    4. Take the train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhoftrain train S3 / ...
    15h 41m
    €228–404
  3. Bus

    1. Take the bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Sidebus bus BlaBlaCar Bus
    2. Take the bus from Karlsruhe central train station to Heidelberg Pre Waypointbus bus FlixBus 108 / ...
    27h 35m
    €172–248
  4. Drive  1,721.1 km

    1. Drive from Madrid to Heidelbergcar car 1,721.1 km
    16h 36m
    €315–455
  5. Fly to Stuttgart Airport, train

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Stuttgart Airport (STR)plane plane MAD - STR
    2. Take the train from Hauptbahnhof to Heidelberg, Hauptbahnhoftrain train
    6h 55m
    €112–294
  6. Fly to Strasbourg International Airport, train

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Strasbourg International Airport (SXB)plane plane MAD - SXB
    2. Take the train from Strasbourg to Karlsruhe Hbftrain train
    3. Take the train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhoftrain train
    7h 9m
    €102–321
  7. Fly to Basel, train

    1. Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Basel (BSL)plane plane MAD - BSL
    2. Take the train from Basel SBB to Mannheim, Hauptbahnhoftrain train
    7h 49m
    €99–354
  8. Train

    1. Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Avignon Tgvtrain train 9725
    2. Take the train from Avignon Tgv to Mannheim Hbftrain train Tgv
    16h 27m
    €272–372
  9. Bus via Valladolid

    1. Take the bus from Estación Sur de Autobuses to Valladolidbus bus ALSA - Mad-Cl-Ast / ...
    2. Take the bus from Valladolid to Mannheim central bus stationbus bus FlixBus N1151
    30h 18m
    €172–263

Madrid to Heidelberg by train

Calendar7Weekly Trains
Duration15h 41mAverage Duration
Ticket€228Cheapest Price
See schedules

Comparing Your Travel Options

What companies run services between Madrid, Spain and Heidelberg, Germany?

You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Heidelberg, Hauptbahnhof via Barcelona-Sants, Lyon Part Dieu, Karlsruhe Hbf, and Karlsruhe Hauptbahnhof in around 15h 41m. Alternatively, you can take a bus from Estación Sur de Autobuses to Heidelberg Pre Waypoint via Karlsruhe central train station in around 27h 35m.

Airlines
Train operators
Bus operators

Want to know more about travelling around Germany

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