Rome2Rio

Madrid to Hamburg trains

Find Transport to Hamburg

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 Madrid and Hamburg takes 30h 9m and the fastest train takes 26h 59m. 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 9m
Duration
2,647 km
Distance
€668
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:51 AM. All services require a transfer at Barcelona-Sants and take an average of 30h 9m. The schedules shown below are for the next available departures.

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

Departing Sunday, November 15, 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 16, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)EurostarDeutsche Bahn Intercity (DB IC)26h 59m • 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 9m

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