The cheapest and fastest trains from Hamburg to Mainz
Cheapest price
$252
Average price
$259
Fastest journey
5 h 40 m
Average duration
5 h 54 m
Trains per day
3
Distance
417 km
The best way to find a cheap train ticket from Hamburg to Mainz is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Hamburg to Mainz will cost around $259 if you buy it on the day, but the cheapest tickets can be found for only $252.
It's difficult to get from Hamburg to Mainz without transferring at least once.
ICE 1521 · ICE 517 · 42588:09 AM5h40Hamburg Hbf1:49 PMMainz Hbf$2521One-way2 transfers
ICE 107 · 295228:42 AM6h07Hamburg Hbf2:49 PMMainz Hbf$2621One-way1 transfer
ICE 577 · S88:29 AM5h56Hamburg Hbf2:25 PMMainz Hbf$2621One-way1 transfer
ICE 1521 · ICE 517 · 42588:09 AM5h40Hamburg Hbf1:49 PMMainz Hbf$2521One-way2 transfers
ICE 577 · S88:29 AM5h56Hamburg Hbf2:25 PMMainz Hbf$2621One-way1 transfer
ICE 107 · 295228:42 AM6h07Hamburg Hbf2:49 PMMainz Hbf$2621One-way1 transfer
Travel Information
Compare train, bus, and flight for Hamburg to Mainz
Omio recommends booking the train as it is the most popular option from Hamburg to Mainz among Omio's users. If you are prioritising price take the bus with prices starting from $33. For those with little time consider booking a flight which can get you there in 1h 5m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.1 - 0.4kg. The ticket price range depends on the travel mode: a bus costs an average of $33, and a flight costs an average of $117.
Distance: 259 miles (417 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
$91 Average price | $54 Average price Cheapest | $163 Average price |
6h 49m Average total duration 6h 19m Onboard + 30m Additional time* | 8h 28m Average total duration 7h 58m Onboard + 30m Additional time* | 4h 5m Average total duration Fastest 1h 5m Onboard + 3h 0m Additional time* |
0.1 - 0.4kg CO2 emissions Lowest | 0.4 - 1.0kg CO2 emissions | 1.2 - 2.5kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Hamburg to Mainz train times
The table below shows live departures for Hamburg to Mainz trains for tomorrow, Wednesday, April 1. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
ICE 1521 · ICE 517 · 4258 | On time 6:09 AM Hamburg Hbf | 5h40 | 11:49 AM Mainz Hbf | 2 transfers | |
ICE 577 · S8 | On time 6:29 AM Hamburg Hbf | 5h56 | 12:25 PM Mainz Hbf | 1 transfer | |
ICE 107 · 29522 | On time 6:42 AM Hamburg Hbf | 6h07 | 12:49 PM Mainz Hbf | 1 transfer | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Hamburg to Mainz by train, bus, or flight
Compare train, bus, and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
Apr 02
Apr 03
Apr 04
Apr 05
Apr 06
Apr 07
Apr 08
Why should you book Hamburg to Mainz trains with Omio?
Why book with Omio vs Deutsche Bahn?
- Compare with other providers: On Omio, you can not only buy tickets for Deutsche Bahn, but also compare tickets for the likes of FlixTrain to find the best option for your trip from Hamburg to Mainz.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare Deutsche Bahn with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Hamburg to Mainz.
Why book with Omio over Trainline or Wanderu?
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option from Hamburg to Mainz.
Journey information
Overview: Train from Hamburg to Mainz
Trains from Hamburg to Mainz run on average 6 times per day, taking around 6h 19m. Cheap train tickets for this journey start at $24 (€20) if you book in advance.
The earliest train runs at 00:01, the last at 23:55. The fastest train covers the 259 miles (417 km) distance in 4h 25m.
Distance 259 miles (417 km) |
Average train duration 6h 19m |
Cheapest ticket price $24 (€20) |
Trains per day 6 |
Fastest train 4h 25m |
First train 12:01 AM |
Last train 11:55 PM |
Train companies: Deutsche Bahn, FlixTrain from Hamburg to Mainz trainsDeutsche Bahn, FlixTrain trains will get you between Hamburg and Mainz from $24 (€20). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Deutsche Bahn
A Bordrestaurant (restaurant car) where you can sit and eat.
A Bordbistro (bistro bar) with snacks, hot meals, and drinks to-go.
At-seat service in 1st class: staff will take your order and serve food/drinks directly to your seat.
Regional trains (RE / RB / S-Bahn):
No onboard catering.
You’re welcome to bring your own food and drinks.
Not included by default.
You can add a seat reservation when booking (recommended for busy routes).
Costs around €4.90 per seat (or €5.90 if booked separately later).
First Class:
Yes, always included in the ticket price.
Allowed for free if they can fit in a transport box (max. size: hand luggage).
Must stay in the box for the entire journey.
Large dogs:
Require a separate (paid) ticket — typically half the price of a regular second-class ticket.
Must be leashed and wear a muzzle while on the train.
Cannot sit on seats.
Assistance dogs:
Travel free of charge.
Do not need a muzzle or leash if medically not required.
Allowed to accompany the passenger at all times.
FlixTrain
FAQs: Trains from Hamburg to Mainz
Find answers to the most common questions about traveling from Hamburg to Mainz by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Mainz, this guide helps you travel smarter and with confidence.

popular train stations
Popular train stations from Hamburg to Mainz
- Mon - Fri: 06:00 - 21:30
- Sat - Sun: 08:00 - 20:15
- Free Wi-Fi in the station.
- The station has luggage lockers.
- Le Crobag
- Burger King
- Coffee Fellows
- Havin Grill
- KFC
- Mr. CLOU
- Starbucks
- dean&david
- SPAR Express
- Pommesfreunde
- & more
- Wheelchair friendly with lifts and ramps. Contact the Mobility Service Centre at +49 3065212888 or [email protected].
- Boutique 053 Hamburg Main Station
- IntercityHotel Hamburg Hauptbahnhof
- Park Hyatt Hamburg
- Located in the east hall on the opposite side of the DB ticket office.
- Monday: 07:40 - 18:30
- Tuesday: 07:40 - 18:30
- Wednesday: 07:40 - 18:30
- Thursday: 07:40 - 18:30
- Friday: 07:40 - 18:30
- Saturday: 08:00 - 13:30
- Sunday: 09:00 - 14:30
- Café Bom Dia
- Hünkar
- Yoko Sushi Harburg
- Mathewes Grill
- Hotel Panorama
- Hotel Harburger Hof
- Hotel Jeta
- Hotel Süderelbe
- Monday: 06:00 - 21:00
- Tuesday: 06:00 - 21:00
- Wednesday: 06:00 - 21:00
- Thursday: 06:00 - 21:00
- Friday: 06:00 - 21:00
- Saturday: 07:00 - 20:00
- Sunday: 08:00 - 20:00
- Ethio
- Trattoria Toscana
- Marta
- Pavillon
- Schanzenstern Bio-Restaurant
- Hotel Hamburg Altona
- Hotel Central
- Best Western Raphael Hotel Altona
- Monday: 06:00 - 21:15
- Tuesday: 06:00 - 21:15
- Wednesday: 06:00 - 21:15
- Thursday: 06:00 - 21:15
- Friday: 06:00 - 21:15
- Saturday: 07:00 - 19:00
- Sunday: 08:00 - 20:00
- Mangal
- Asia Wok
- Bistrorante Midi
- McDonald's
- Advena Europa Hotel
- GuestHouse Mainz
- Terminus
- Hotel Moguntia
- McDonald's
- Cafe Extrablatt
- Hans im Glück
- The Big Easy
- Hyatt Regency Mainz
- Favorite Parkhotel
- Ibis Hotel Mainz City
- Hof Ehrenfels
- Pizzeria Venezia
- Kaiser Pide & Kebaphaus
- Alaaeddin Döner
- Super 8 by Wyndham Mainz Zollhafen
More options for your journey from Hamburg to Mainz
Here are some other resources that might have the information you need


