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

Sun, Dec 21
+ 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 Dec 21

Cheapest price

€56

Average price

€95

Fastest journey

4 h 26 m

Average duration

4 h 33 m

Trains per day

3

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 €95 if you buy it on the day, but the cheapest tickets can be found for only €56.

Fast trains

Of the 3 trains that leave Mainz for Hamburg on Sun, Dec 21, 3 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Sun, Dec 21 the direct trains cover the 417 km distance in an average of 4 h 33 m but if you time it right, some trains will get you there in just 4 h 26 m .

On Sun, Dec 21 the slowest trains will take 4 h 47 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
561One-way
0 transfers
Deutsche Bahn
06:10AM4h26
Mainz
10:36AMHamburg
821One-way
0 transfers
Deutsche Bahn
04:10AM4h26
Mainz
08:36AMHamburg
1461One-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, Saturday, December 20. You can also manually refresh the results below to see updated train journeys.

Last updated at 3:52 AM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahnICE 1022
On time
7:20 AM Mainz Hbf
5h51
1:11 PM Hamburg Hbf
0 transfersDirect
deutsche_bahn4752 · ECE 8
On time
7:49 AM Mainz Hbf
4h40
12:29 PM Hamburg Hbf
1 transfer
deutsche_bahn52831 · ICE 1074
On time
8:10 AM Mainz Hbf
4h27
12:37 PM Hamburg Hbf
1 transfer
deutsche_bahn4484 · ICE 772
On time
8:49 AM Mainz Hbf
4h40
1:29 PM Hamburg Hbf
1 transfer

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.

Sun
Dec 21
Mon
Dec 22
Tue
Dec 23
Wed
Dec 24
Thu
Dec 25
Fri
Dec 26
Sat
Dec 27
Sun
Dec 28
Mon
Dec 29
Tue
Dec 30
Wed
Dec 31
Thu
Jan 01
Fri
Jan 02
Sat
Jan 03

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 €20 when you book in advance. The average train ticket price for Mainz to Hamburg is €76; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The train time between Mainz and Hamburg is on average 4 h 14 min   for the 416 km long journey, but the time it takes to go from Mainz to Hamburg by train can vary depending on specific dates or if traveling on weekends and holidays.
The first train from Mainz to Hamburg leaves at 00: 01. Plan your trip with the Journey Planner   from Omio.
The last train from Mainz to Hamburg leaves at 23: 53.
Yes, it is possible to travel from Mainz to Hamburg without having to change trains with Deutsche Bahn. There is 1 direct train from Mainz to Hamburg each day. There may be fewer direct services available on weekends or holidays.
When taking a train from Mainz to Hamburg, you can count on Deutsche Bahn or FlixTrain 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.
No, there are no night trains, the latest train for this route is 23: 53.

Passengers board the train most frequently from Mainz Hbf, which is located around 1.9 miles (3.1 km) away from the city centre, and they get off the train at Hamburg Hbf, located 1.8 miles (2.9 km) away from the city centre.

A trip to Hamburg from Mainz is worth doing but not as a day trip with a journey time of 4 h 14 min each way. Check with Omio app   the best way to travel.
The cheapest month to travel from Mainz to Hamburg by train is November.
It's helpful to compare your options as there are 3 ways to travel between Mainz and Hamburg including taking a train, coach or 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