Duration 37h 39m
Distance 2159.3 km
Average price 457€
Frequency 5/week

Trip overview

The average train between Madrid and Hamburg takes 37h 39m and the fastest train takes 32h 39m. The train runs, on average, 5 times per week 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.


  1. Madrid-Puerta De Atocha
  2. Barcelona-Sants
  3. Paris Nord
  4. Essen
  5. Hamburg
19h 42m
373€ - 529€

Madrid to Hamburg train times

Trains run five times a week between Madrid and Hamburg. The service departs Madrid at 10:30 in the morning, which arrives into Hamburg at 19:09. All services require a transfer, and take on average 37h 39m. The schedules shown below are for the next available departures.

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.

No, there is no direct train from Madrid to Hamburg station. However, there are services departing from Madrid-Puerta De Atocha and arriving at Hamburg, Hamburg central station via Barcelona-Sants, Paris Gare De Lyon, Paris Nord and Essen. The journey, including transfers, takes approximately 19h 42m.

More details

The distance between Madrid and Hamburg is 1789 km. The road distance is 2159.3 km.

Get driving directions

Madrid to Hamburg train services, operated by Renfe AVE, depart from Madrid-Puerta De Atocha station.

More details

Madrid to Hamburg train services, operated by Flixtrain, arrive at Hamburg, Hamburg central station.

More details

There are 780+ hotels available in Hamburg. Prices start at 52€ per night.

More details

Get the Rome2rio app

Find the best way to get from A to B, anywhere in the world, on your mobile or tablet.

Compare your options: plane, train, bus, car, ferry, bike share, driving and walking directions all in one search.

Learn more about our apps