Rome2Rio

Madrid to Hamburg Hbf trains

Find Transport to Hamburg Hbf

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 Hbf takes 30h 29m and the fastest train takes 26h 25m. There is at least one train per day from Madrid to Hamburg Hbf. 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 29m
Duration
2,647 km
Distance
€476
Average price
Once daily
Frequency

Madrid to Hamburg Hbf train times

Trains run once daily between Madrid and Hamburg Hbf. 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 Hbf at 1:15 PM. All services require a transfer at Barcelona-Sants and take an average of 30h 29m. The schedules shown below are for the next available departures.

Departing Friday, November 27, 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, November 28, 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

Departing Sunday, November 29, 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 20m • 5 changes

Departing Monday, November 30, 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 21m • 5 changes

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

Frequently asked questions

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

What companies run services between Madrid, Spain and Hamburg Hbf, 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