Rome2Rio

Madrid to Heidelberg trains

Find Transport to Heidelberg

View schedule

Trip Overview

The average train between Madrid and Heidelberg takes 36h and the fastest train takes 26h 39m. The train runs, on average, 5 times per week from Madrid to Heidelberg. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.

36h
Duration
1,900 km
Distance
€376
Average price
5 times a week
Frequency

Madrid to Heidelberg train times

Trains run 5 times a week between Madrid and Heidelberg. The earliest departure is at 8:10 PM in the evening, and the last departure from Madrid is at 8:30 PM which arrives into Heidelberg at 10:51 AM. All services require a transfer at Barcelona-Sants and take an average of 36h. The schedules shown below are for the next available departures.

Departing Friday, October 16, 2026

  •  → 

    Arrives +2 days

    Renfe AVERenfe ViajerosTGV inOuiTGV inOuiDeutsche Bahn Regio (DB Regional)38h 21m • 4 changes

Departing Saturday, October 17, 2026

  •  → 

    Arrives next day

    OuigoRenfe ViajerosTGV inOuiDeutsche Bahn Intercity (DB IC)Deutsche Bahn Regio (DB Regional)26h 39m • 4 changes

Departing Sunday, October 18, 2026

  •  → 

    Arrives +2 days

    Renfe AVERenfe ViajerosTGV inOuiTGV inOuiDeutsche Bahn Regio (DB Regional)38h 21m • 4 changes

Departing Monday, October 19, 2026

  •  → 

    Arrives +2 days

    Renfe AVERenfe ViajerosTGV inOuiTGV inOuiDeutsche Bahn Regio (DB Regional)38h 21m • 4 changes

Departing Tuesday, October 20, 2026

  •  → 

    Arrives +2 days

    Renfe AVERenfe ViajerosTGV inOuiTGV inOuiDeutsche Bahn Regio (DB Regional)38h 21m • 4 changes

Frequently asked questions

Want to know about travelling from Madrid to Heidelberg? 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.

Map of how to get from Madrid to Heidelberg.ExpandLaunch map view
  • Distance: 1,900.1 km
  • Duration: 36h

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, Strasbourg, Karlsruhe Hbf, and Karlsruhe Hauptbahnhof in around 16h 15m.

Operators