Mainz to Hamburg train with Deutsche Bahn (ICE,RE,EC)

Tue, Feb 03
+ Add return
Deutsche Bahn
vlexx
Regionale
Regiojet
Northern Rail (3)
1,000+ travel companies
Deutsche Bahn
vlexx
Regionale
Regiojet
Northern Rail (3)
1,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Mainz to Hamburg

Showing times and prices for Feb 04

Cheapest price

€66

Average price

€101

Fastest journey

4 h 26 m

Average duration

4 h 49 m

Trains per day

4

Distance

417 km

Cheap tickets

The best way to find a cheap train ticket from Mainz to Hamburg is to book your journey as far in advance as possible and to avoid traveling at rush hour.

The average ticket from Mainz to Hamburg will cost around €101 if you buy it on the day, but the cheapest tickets can be found for only €66.

Fast trains

Of the 4 trains that leave Mainz for Hamburg on Wed, Feb 04, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Wed, Feb 04 the direct trains cover the 417 km distance in an average of 4 h 49 m but if you time it right, some trains will get you there in just 4 h 26 m .

On Wed, Feb 04 the slowest trains will take 5 h 17 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.

Deutsche Bahn
07:42AM4h47
Mainz
12:29PMHamburg
661One-way
0 transfers
Deutsche Bahn
06:43AM4h47
Mainz
11:30AMHamburg
901One-way
0 transfers
Deutsche Bahn
05:59AM5h17
Mainz
11:16AMHamburg
1221One-way
0 transfers
Deutsche Bahn
08:10AM4h26
Mainz
12:36PMHamburg
1281One-way
0 transfers

Travel Information

Compare bus, train, and flight for Mainz to Hamburg

Omio recommends booking the train as it is the most popular option from Mainz to Hamburg among Omio's users. If you are prioritising price take the bus with prices starting from €21. For those with little time consider booking a flight which can get you there in 1h 7m. 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 €21, and a flight costs an average of €50.

Distance: 417 km

Compare train with

Most popular
Train
Bus
Flight

€105

Average price

€40

Average price

Cheapest

€131

Average price

5h 44m

Average total duration

5h 14m

Onboard

+

30m

Additional time*

8h 22m

Average total duration

7h 52m

Onboard

+

30m

Additional time*

4h 7m

Average total duration

Fastest

1h 7m

Onboard

+

3h 0m

Additional time*

0.1 - 0.4kg

CO2 emissions

Lowest

0.4 - 1.0kg

CO2 emissions

1.2 - 2.5kg

CO2 emissions

Deutsche Bahn

Most popular train company

BlaBlaCar

Most popular bus company

Lufthansa

Most popular airline

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Live departures

Mainz to Hamburg train times

The table below shows live departures for Mainz to Hamburg trains for today, Tuesday, February 3. You can also manually refresh the results below to see updated train journeys.

Last updated at 7:24 AM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahn29691 · ECE 8
Delayed
7:49 AM Mainz Hbf
4h40
12:34 PM 12:34 PMHamburg Hbf
1 transfer
deutsche_bahn4470 · ICE 772
On time
8:49 AM Mainz Hbf
4h40
1:29 PM Hamburg Hbf
1 transfer
Wednesday, February 4
deutsche_bahn5:59 AM Mainz
5h17
11:16 AM Hamburg0 transfersDirect
deutsche_bahn6:43 AM Mainz
4h47
11:30 AM Hamburg0 transfersDirect

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Mainz to Hamburg by bus, train, or flight

Compare bus, train, 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.

Wed
Feb 04
Thu
Feb 05
Fri
Feb 06
Sat
Feb 07
Sun
Feb 08
Mon
Feb 09
Tue
Feb 10

Journey information

Overview: Train from Mainz to Hamburg

GermanyGermany
GermanyGermany
Icon of train

Trains from Mainz to Hamburg run on average 7 times per day, taking around 5h 14m. Cheap train tickets for this journey start at €29 but you can travel from only €21 by bus.

There are 1 trains per day. The earliest train runs at 00:01, the last at 23:50. The fastest train covers the 417 km distance in 4h 26m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from €21
Distance
417 km
Average train duration
5h 14m
Cheapest ticket price
€29
Trains per day
7
Direct trains
1
Fastest train
4h 26m
First train
00:01
Last train
23:50
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from €21

Train companies: Deutsche Bahn, vlexx from Mainz to Hamburg trainsDeutsche Bahn, vlexx trains will get you between Mainz and Hamburg from €21. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

Deutsche Bahn

About
Deutsche Bahn (DB) is Germany’s main train operator, running around 40,000 domestic and international services each day. Its fleet includes a variety of train types: high-speed ICE (Intercity Express) trains, reaching up to 300 km/h; IC (Intercity) and EC (EuroCity) trains for long-distance travel; and IRE (Interregio-Express), RE (Regional Express), and RB (Regionalbahn) services for regional and local connections. While bathrooms are standard on all trains, amenities such as onboard restaurants and free Wi-Fi are available only on certain train types and routes. DB offers a wide range of fares, including Super Saver, Saver, and Flexible tickets, along with discount cards like the BahnCard 25, 50, and 100. Additional options include single tickets, day tickets, and group tickets. Popular routes include Berlin–Munich, Hamburg–Frankfurt, Cologne–Stuttgart, Berlin–Dresden, and Hamburg–Cologne, as well as numerous regional services across Germany.
Luggage & cancellation policy
Average Duration
4h 26m
Cheapest Price
€28
Deutsche Bahn frequency
8 a day
Luggage included
Passengers are allowed to bring hand luggage and one additional larger item free of charge, provided they can carry it themselves
Luggage storage
Luggage can be stored in overhead racks, under the seat, or in designated luggage areas near the doors or in the middle of the carriage.
Cancellation Policy
Tickets can be canceled based on their fare conditions as mentioned in what type of train tickets are refundable?
Refund
If DB cancels a train, passengers are entitled to a full refund of the ticket price.
Amenities on board the train
Wifi
Food sold onboard
Most ICE and many IC/EC trains have:
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.
Seat reservation
Second Class:
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.
Toilets
USB plugs
Accessibility
DB trains are equipped with facilities for passengers with reduced mobility, including wheelchair spaces, accessible restrooms, and assistance services.
Pets
Small pets (e.g. cats, small dogs, etc.):
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.
Quiet zone

vlexx

Luggage & cancellation policy
Average Duration
4h 56m
Cheapest Price
€78
vlexx frequency
1 a day

FAQs: Trains from Mainz to Hamburg

Find answers to the most common questions about traveling from Mainz to Hamburg 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 Hamburg, this guide helps you travel smarter and with confidence.

FAQs
Cheap train tickets from Mainz to Hamburg can start from as little as €29 when you book in advance. The average train ticket price for Mainz to Hamburg is €105; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Mainz to Hamburg is 4h 26m to travel the 417 km long route. Journey times can vary on weekends and holidays, so use our Journey Planner to search for a specific date.
The earliest train from Mainz to Hamburg leaves at 12:01 AM. Plan your trip with the Journey Planner   from Omio.
The latest train from Mainz to Hamburg leaves at 11:50 PM.
Yes,there are 1 direct trains a day from Mainz to Hamburg with Deutsche Bahn. Schedules can vary on holidays or weekends with fewer direct trains.
When taking a train from Mainz to Hamburg, you can count on Deutsche Bahn, vlexx for the best way to get you to Hamburg. You can also check all possible train companies who offer a service between Mainz and Hamburg and compare the amenities they offer before buying a train ticket.
A trip to Hamburg from Mainz is worth doing but not as a day trip with a journey time of 4h 26m each way. Check with Omio app the best way to travel.
The cheapest month for a train from Mainz to Hamburg is July.
It's helpful to compare your options as there are 3 ways to travel between Mainz and Hamburg including taking a bus, train, and flight.

popular train stations

Popular train stations from Mainz to Hamburg

Mainz
Hamburg
The major train station for departures in Mainz is Mainz Hbf. Find all the information you need to know about services, amenities and connections at Mainz Hbf for your trip from Mainz to Hamburg.
Mainz HbfWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
Amenities at train station
WifiWifi
LockersLockers
ShoppingShopping
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Ticket Office Hours
  • 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
ticketOfficeHours
Distance to city center
2 km
Dining
Dining
  • Mangal
  • Asia Wok
  • Bistrorante Midi
  • McDonald's
Hotel
Hotel
  • Advena Europa Hotel
  • GuestHouse Mainz
  • Terminus
  • Hotel Moguntia
Mainz Römisches TheaterWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
Amenities at train station
WifiWifi
LockersLockers
ShoppingShopping
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Distance to city center
1 km
Dining
Dining
  • McDonald's
  • Cafe Extrablatt
  • Hans im Glück
  • The Big Easy
Hotel
Hotel
  • Hyatt Regency Mainz
  • Favorite Parkhotel
  • Ibis Hotel Mainz City
  • Hof Ehrenfels

More options for your journey from Mainz to Hamburg

Here are some other resources that might have the information you need

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone