The average train between Mainz and Hamburg takes 5h 26m and the fastest train takes 4h 22m. The train service runs several times per day from Mainz 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.
Trains run every 2 hours between Mainz and Hamburg. The earliest departure is at 5:09 AM in the morning, and the last departure from Mainz is at 11:14 PM which arrives into Hamburg at 8:30 AM. All services require a transfer, and take on average 5h 26m. The schedules shown below are for the next available departures.

4h 27m • 1 change

5h 16m • 1 change

5h 15m • 1 change

4h 22m • 1 change

4h 27m • 1 change

5h 16m • 1 change

5h 15m • 1 change

4h 22m • 1 change

4h 22m • 1 change

5h 15m • 1 change

4h 23m • 1 change

5h 15m • 1 change

4h 22m • 1 change

5h 15m • 1 change

4h 23m • 1 change

5h 15m • 1 change

4h 27m • 1 change

5h 16m • 1 change

5h 15m • 1 change

4h 22m • 1 change
Want to know about travelling from Mainz 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 Mainz to Hamburg. However, there are services departing from Mainz station and arriving at Hamburg station via Hamburg Hbf. The journey, including transfers, takes approximately 5h 26m.
Mainz to Hamburg train services, operated by vlexx, depart from Frankfurt station.
Mainz to Hamburg train services, operated by vlexx, arrive at Hamburg Hbf station.
Book your Mainz to Hamburg train tickets online with vlexx and Deutsche Bahn Intercity (DB IC).
The distance between Mainz and Hamburg is 413.7 km. The road distance is 550 km.
Deutsche Bahn Intercity (DB IC) operates a train from Frankfurt to Hamburg Hbf hourly. Tickets cost €90–410 and the journey takes 3h 43m.