Rome2Rio

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

28h 57m
Duration
2,647 km
Distance
€607
Average price
Twice daily
Frequency

Hamburg to Madrid train times

Trains run twice daily between Hamburg and Madrid. The earliest departure is at 5:45 AM in the morning, and the last departure from Hamburg 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 28h 57m. The schedules shown below are for the next available departures.

Departing Friday, November 27, 2026

  •  → 

    Arrives next day

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

Departing Saturday, November 28, 2026

  •  → 

    Arrives next day

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

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

Frequently asked questions

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

What companies run services between Hamburg, 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