There are 10 ways to get from Hamburg to Mainz by train, bus, night train, car, car train, rideshare, or plane
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Hamburg Hbf to Frankfurttrain 22 / ...
4h 32m€94–222Rideshare
cheapest- Take the rideshare from Hamburg to Mainz506.4 km
6h 12m€29Bus
- Take the bus from Hamburg central bus station to Frankfurt central train stationbus FlixBus N33
8h 5m€46–68Night train
- Take the nighttrain from Hamburg Hbf to Frankfurt(Main)Westnighttrain Nj
6h 33m€41–135Drive 507.9 km
- Drive from Hamburg to Mainzcar 507.9 km
4h 19m€75–109Train via Kassel
- Take the train from Hamburg Hbf to Kassel Bahnhof Wilhelmshöhetrain 25 / ...
- Take the train from Kassel Bahnhof Wilhelmshöhe to Frankfurttrain 22 / ...
5h 2m€92–300Train #2
- Take the train from Hamburg Hbf to Mainz, Hauptbahnhoftrain 33 / ...
5h 30m€90–210Car train
- Take the cartrain from Hamburg Hbf to Frankfurtcartrain
6h 40m€102–121Fly from Hamburg Airport
- Fly from Hamburg Airport (HAM) to Frankfurt (FRA)plane HAM - FRA
3h 12m€87–214Train to Hannover Airport, fly
- Take the train from Hamburg Hbf to Hannover Hauptbahnhoftrain
- Fly from Hannover Airport (HAJ) to Frankfurt (FRA)plane HAJ - FRA
4h 25m€143–248
Hamburg to Mainz by train
Comparing Your Travel Options
The cheapest way to get from Hamburg to Mainz is to rideshare which costs €29 and takes 6h 12m.
The fastest way to get from Hamburg to Mainz is to fly which takes 3h 12m and costs €85 - €220.
No, there is no direct bus from Hamburg station to Mainz station. However, there are services departing from Hamburg central bus station and arriving at Mainz central train station via Frankfurt central train station. The journey, including transfers, takes approximately 8h 5m.
Yes, there is a direct train departing from Hamburg Hbf and arriving at Mainz, Hauptbahnhof. Services depart four times a day, and operate every day. The journey takes approximately 5h 30m.
The distance between Hamburg and Mainz is 548 km. The road distance is 507.9 km.
The best way to get from Hamburg to Mainz without a car is to train which takes 4h 32m and costs €90 - €230.
It takes approximately 4h 32m to get from Hamburg to Mainz, including transfers.
Hamburg to Mainz bus services, operated by FlixBus, depart from Hamburg central bus station.
Hamburg to Mainz train services, operated by Deutsche Bahn Intercity (DB IC), depart from Hamburg Hbf station.
The best way to get from Hamburg to Mainz is to train which takes 4h 32m and costs €90 - €230. Alternatively, you can bus, which costs €45 - €70 and takes 8h 5m, you could also fly, which costs €85 - €220 and takes 3h 12m.
What companies run services between Hamburg, Germany and Mainz, Germany?
Deutsche Bahn Intercity (DB IC) operates a train from Hamburg Hbf to Frankfurt hourly. Tickets cost €85–200 and the journey takes 3h 45m. Alternatively, FlixBus operates a bus from Hamburg central bus station to Frankfurt central train station once daily. Tickets cost €40–65 and the journey takes 6h 20m.
- Website
- lufthansa.com
Flights from Hamburg Airport to Frankfurt
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €35–260
Flights from Hamburg Airport to Frankfurt via Dusseldorf
- Ave. Duration
- 2h 45m
- When
- Monday to Wednesday
- Estimated price
- €65–270
Flights from Hamburg Airport to Frankfurt via Munich
- Ave. Duration
- 3h 12m
- When
- Every day
- Estimated price
- €100–250
Flights from Hannover Airport to Frankfurt
- Ave. Duration
- 55 min
- When
- Every day
- Estimated price
- €35–280
- Website
- condor.com
Flights from Hamburg Airport to Frankfurt
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €80–170
- Website
- lufthansa-city.com
Flights from Hamburg Airport to Frankfurt
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €35–260
Flights from Hannover Airport to Frankfurt
- Ave. Duration
- 55 min
- When
- Tuesday
- Estimated price
- €35–280
- Website
- klm.com
Flights from Hamburg Airport to Frankfurt via Amsterdam Schiphol
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- €45–300
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Frankfurt
- Ave. Duration
- 3h 45m
- Frequency
- Hourly
- Estimated price
- €85–200
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Kassel Bahnhof Wilhelmshöhe
- Ave. Duration
- 2h 20m
- Frequency
- Hourly
- Estimated price
- €55–130
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Kassel Bahnhof Wilhelmshöhe to Frankfurt
- Ave. Duration
- 1h 26m
- Frequency
- Hourly
- Estimated price
- €30–75
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Mainz, Hauptbahnhof
- Ave. Duration
- 5h 30m
- Frequency
- 4 times a day
- Estimated price
- €90–210
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Hannover Hauptbahnhof
- Ave. Duration
- 1h 22m
- Frequency
- Every 30 minutes
- Estimated price
- €30–70
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +43 (0) 51717
- Website
- Nightjet
Night train from Hamburg Hbf to Frankfurt(Main)West
- Ave. Duration
- 5h 37m
- Frequency
- Once daily
- Estimated price
- €30–104
- Website
- Nightjet
- Sleeper Carriage
- €98–104
- Couchette Carriage
- €60–75
- Seating Carriage
- €30–40
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Regio (DB Regional)
Train from Kassel Bahnhof Wilhelmshöhe to Frankfurt
- Ave. Duration
- 2h 47m
- Frequency
- Twice daily
- Estimated price
- €35–150
- Website
- Deutsche Bahn Regio (DB Regional)
- Phone
- +49 (0) 221 800 20 820
- [email protected]
- Website
- Urlaubs-Express (UEX)
Car train from Hamburg Hbf to Frankfurt
- Ave. Duration
- 6h 15m
- Frequency
- Twice a week
- Estimated price
- €95–120
- Website
- Urlaubs-Express (UEX)
- Phone
- +49 581 97164164
- [email protected]
- Website
- metronom
Train from Hamburg Hbf to Hannover Hauptbahnhof
- Ave. Duration
- 2h 19m
- Frequency
- Every 3 hours
- Estimated price
- €29
- Schedules at
- metronom
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Hamburg Hbf to Hannover Hauptbahnhof
- Ave. Duration
- 2h 15m
- Frequency
- Twice daily
- Estimated price
- €40–60
- Website
- Österreichische Bundesbahnen
Rome2Rio's guide to FlixBus
Contact DetailsContact Details
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Hamburg central bus station to Frankfurt central train station
- Ave. Duration
- 6h 20m
- Frequency
- Once daily
- Estimated price
- €40–65
- Website
- Flixbus
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar
Rideshare from Hamburg to Mainz
- Ave. Duration
- 6h 12m
- Frequency
- Twice daily
- Estimated price
- €29
- Schedules at
- BlaBlaCar
Want to know more about travelling around Germany
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Heading to Europe? Read this before you buy a Eurail Pass
Read the travel guide
Want to know more about Flixbus?
Read the travel guide
Booking & Getting There
Hamburg to Mainz bus services, operated by FlixBus, arrive at Frankfurt central train station.
Hamburg to Mainz train services, operated by Deutsche Bahn Intercity (DB IC), arrive at Frankfurt station.
Yes, the driving distance between Hamburg to Mainz is 508 km. It takes approximately 4h 19m to drive from Hamburg to Mainz.
Book your Hamburg to Mainz train tickets online with Omio.
Book your Hamburg to Mainz bus tickets online with Omio and FlixBus.
There are 1241+ hotels available in Mainz.
Check out Blablacar's carpooling service for rideshare options between Hamburg and Mainz. A great option if you don't have a driver's licence or want to avoid public transport.



















