Rome2Rio

Hamburg Hbf 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 Hamburg Hbf and Madrid takes 29h 27m and the fastest train takes 27h 12m. The train service runs several times per day from Hamburg Hbf 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.

29h 27m
Duration
2,647 km
Distance
€607
Average price
Twice daily
Frequency

Hamburg Hbf to Madrid train times

Trains run twice daily between Hamburg Hbf and Madrid. The earliest departure is at 5:45 AM in the morning, and the last departure from Hamburg Hbf is at 10:45 PM which arrives into Madrid at 8:57 AM. All services require a transfer at Koeln Hbf and take an average of 29h 27m. The schedules shown below are for the next available departures.

Departing Sunday, November 29, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE27h 12m • 4 changes
  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo28h 7m • 4 changes

Departing Monday, November 30, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE27h 12m • 4 changes
  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo28h 7m • 4 changes
  •  → 

    Arrives +2 days

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE34h 12m • 4 changes

Departing Tuesday, December 1, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo28h 7m • 4 changes
  •  → 

    Arrives +2 days

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE34h 12m • 4 changes

Departing Wednesday, December 2, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo28h 7m • 4 changes
  •  → 

    Arrives +2 days

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo34h 17m • 4 changes

Departing Thursday, December 3, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiiryo28h 7m • 4 changes

Departing Friday, December 4, 2026

  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE27h 12m • 4 changes
  •  → 

    Arrives next day

    Deutsche Bahn Intercity (DB IC)EurostarSociété Nationale des Chemins de fer Français (SNCF)TGV inOuiRenfe AVE28h 32m • 4 changes

Frequently asked questions

Want to know about travelling from Hamburg Hbf 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 Hamburg Hbf to Madrid.ExpandLaunch map view
  • Distance: 2,647.4 km
  • Duration: 29h 27m

What companies run services between Hamburg Hbf, Germany and Madrid, Spain?

You can take a train from Hamburg Hbf to Madrid-Puerta de Atocha-Almudena Grandes via Koeln Hbf, Paris Nord, Paris Gare De Lyon, and Barcelona-Sants in around 19h 52m.

Operators