Rome2Rio

Heidelberg to Madrid trains

Find Transport to Madrid

View schedule

Trip Overview

The average train between Heidelberg and Madrid takes 19h 1m and the fastest train takes 16h 11m. 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.

19h 1m
Duration
1,898 km
Distance
€375
Average price
Once daily
Frequency

Heidelberg to Madrid train times

Trains run once daily between Heidelberg and Madrid. The earliest departure is at 6:10 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 19h 1m. The schedules shown below are for the next available departures.

Departing Thursday, October 15, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo16h 11m • 4 changes

Departing Friday, October 16, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo16h 11m • 4 changes

Departing Saturday, October 17, 2026

  •  → 

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

    Arrives next day

    Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)TGV inOuiTGV inOuiOuigo26h 43m • 4 changes
  •  → 

    Arrives next day

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

Departing Monday, October 19, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo16h 11m • 4 changes

Departing Tuesday, October 20, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo16h 11m • 4 changes

Departing Wednesday, October 21, 2026

  •  → 

    Deutsche Bahn Regio (DB Regional)Deutsche Bahn Intercity (DB IC)TGV inOuiRenfe Viajerosiryo16h 11m • 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,897.8 km
  • Duration: 19h 1m

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

Operators