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 50m and the fastest train takes 26h 25m. The train service runs several times 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 50m
Duration
2,647 km
Distance
€476
Average price
Twice daily
Frequency

Madrid to Hamburg train times

Trains run twice 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:52 AM. All services require a transfer at Barcelona-Sants and take an average of 30h 50m. The schedules shown below are for the next available departures.

Departing Tuesday, December 1, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)26h 25m • 5 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)34h 22m • 5 changes

Departing Wednesday, December 2, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)26h 25m • 5 changes
  •  → 

    Arrives +2 days

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

Departing Thursday, December 3, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)26h 25m • 5 changes
  •  → 

    Arrives +2 days

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

Departing Friday, December 4, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)EurostarDeutsche Bahn Intercity (DB IC)26h 59m • 5 changes
  •  → 

    Arrives +2 days

    Renfe AVETGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)40h 45m • 5 changes

Departing Saturday, December 5, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)28h 25m • 5 changes
  •  → 

    Arrives +2 days

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

Departing Sunday, December 6, 2026

  •  → 

    Arrives next day

    Renfe ViajerosTGV inOuiSociété Nationale des Chemins de fer Français (SNCF)Nederlandse Spoorwegen (NS)Deutsche Bahn Intercity (DB IC)Deutsche Bahn Intercity (DB IC)26h 25m • 5 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.4 km
  • Duration: 30h 50m

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, Brussel-Zuid, Brussel-Zuid / Bruxelles-Midi, and Köln Hbf in around 20h 30m.

Operators