The average train between Hamburg and Mainz takes 5h 15m and the fastest train takes 4h 21m. There is a train service every few hours from Hamburg to Mainz. 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 hourly between Hamburg and Mainz. The earliest departure is at 4:27 AM at night, and the last departure from Hamburg is at 10:45 PM which arrives into Mainz at 7:44 AM. All services require a transfer, and take on average 5h 15m. The schedules shown below are for the next available departures.

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