Rome2Rio

Madrid to Hamburg trains

Find Transport to Hamburg

View schedule

Trip Overview

The average train between Madrid and Hamburg takes 30h 40m and the fastest train takes 27h 1m. There is at least one train per day from Madrid to Hamburg. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.

30h 40m
Duration
2,647 km
Distance
€674
Average price
Once daily
Frequency

Madrid to Hamburg train times

Trains run once daily between Madrid and Hamburg. The earliest departure is at 12:50 PM in the afternoon, and the last departure from Madrid is at 8:30 PM which arrives into Hamburg at 6:50 AM. All services require a transfer at Barcelona-Sants and take an average of 30h 40m. The schedules shown below are for the next available departures.

Departing Sunday, November 8, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)27h 1m • 4 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)34h 20m • 4 changes

Departing Monday, November 9, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)27h 1m • 4 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)34h 20m • 4 changes

Departing Tuesday, November 10, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)27h 1m • 4 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)34h 20m • 4 changes

Departing Wednesday, November 11, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)27h 1m • 4 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)34h 21m • 4 changes

Departing Thursday, November 12, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)27h 1m • 4 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)34h 21m • 4 changes

Frequently asked questions

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

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

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

Operators