Rome2Rio

Heidelberg to Madrid trains

Find Transport to Madrid

View schedule
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

Trip Overview

The average train between Heidelberg and Madrid takes 26h 17m and the fastest train takes 15h 20m. The train runs, on average, 6 times per week from Heidelberg 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.

26h 17m
Duration
1,903 km
Distance
€303
Average price
6 times a week
Frequency

Heidelberg to Madrid train times

Trains run 6 times a week between Heidelberg and Madrid. The earliest departure is at 7:22 AM in the morning, and the last departure from Heidelberg is at 6:43 PM which arrives into Madrid at 10:42 PM. All services require a transfer at Karlsruhe Hauptbahnhof and take an average of 26h 17m. The schedules shown below are for the next available departures.

Departing Wednesday, November 25, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo27h 59m • 4 changes

Departing Friday, November 27, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo15h 20m • 4 changes
  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe ViajerosRenfe AVE29h 1m • 4 changes

Departing Sunday, November 29, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo27h 59m • 4 changes

Departing Monday, November 30, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo27h 59m • 4 changes

Frequently asked questions

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

Map of how to get from Heidelberg to Madrid.ExpandLaunch map view
  • Distance: 1,903.5 km
  • Duration: 26h 17m

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

You can take a train from Heidelberg, Hauptbahnhof to Madrid-Puerta de Atocha-Almudena Grandes via Karlsruhe Hauptbahnhof, Strasbourg Bahnhof, Strasbourg, Lyon Part Dieu, and Barcelona-Sants in around 16h 34m.

Operators