Rome2Rio

Heidelberg to Madrid trains

Find Transport to Madrid

View schedule

Trip Overview

The average train between Heidelberg and Madrid takes 26h 14m and the fastest train takes 15h 20m. There is at least one train per day 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 14m
Duration
1,903 km
Distance
€333
Average price
Once daily
Frequency

Heidelberg to Madrid train times

Trains run once daily 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 14m. The schedules shown below are for the next available departures.

Departing Wednesday, November 4, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo28h 24m • 4 changes

Departing Thursday, November 5, 2026

  •  → 

    Arrives next day

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

Departing Friday, November 6, 2026

  •  → 

    Arrives next day

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

Departing Sunday, November 8, 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 Viajerosiryo27h 59m • 4 changes

Departing Monday, November 9, 2026

  •  → 

    Arrives next day

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

Departing Tuesday, November 10, 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 14m

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 33m.

Operators