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

Sun, Dec 21
+ Add return
Deutsche Bahn
vlexx
Regionale
iryo
Italo
1,000+ travel companies
Deutsche Bahn
vlexx
Regionale
iryo
Italo
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

$70

Average price

$118

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

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
$701One-way
0 transfers
Deutsche Bahn
06:10AM4h26
Mainz
10:36AMHamburg
$1021One-way
0 transfers
Deutsche Bahn
04:10AM4h26
Mainz
08:36AMHamburg
$1821One-way
0 transfers

Mainz - HamburgCompare Deutsche Bahn, vlexx

deutsche_bahn
$35
4h 26m
8 a day
Power plugs
Wifi
Passengers are allowed to bring hand luggage and one additional larger item free of charge, provided they can carry it themselves
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.
vlexx
$97
4h 56m
1 a day
Power plugs
Wifi

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: 259 miles (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:47 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 $36 (€29) but you can travel from only $27 (€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 259 miles (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 $27 (€21)
Distance
259 miles (417 km)
Average train duration
5h 14m
Cheapest ticket price
$36 (€29)
Trains per day
7
Direct trains
1
Fastest train
4h 26m
First train
00:01
Last train
23:50

Key Takeaways

Train Ticket Prices
  • Budget Options: Train tickets from Mainz to Hamburg start from as low as $36 (€29) if booked well in advance.
  • Standard Fares: Typically, trains cost $131 (€105) depending on the train type and class.
Journey Duration & Frequency
  • On average there are 7 daily trains from Mainz to Hamburg with 1 direct service.
  • The fastest trains can take as little as 4h 26m but the average duration is 5h 14m
Train Operators
  • Travel from Mainz to Hamburg with Deutsche Bahn and vlexx
  • The most booked train company for this route on Omio is Deutsche Bahn.
Stations & Schedule
  • Most trains depart from Mainz Hbf and arrive in Hamburg Hbf
  • First train typically departs at 12:01 AM and the last at 11:50 PM
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 $27 (€21)

Train companies: Deutsche Bahn, vlexx from Mainz to Hamburg trainsDeutsche Bahn, vlexx trains will get you between Mainz and Hamburg from $27 (€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
$35 (€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
$97 (€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
A day trip from Mainz to Hamburg is not feasible as the journey takes 4h 26m. The distance is 259 miles (417 km) and there are 7 train trips available per day.
Three days in Hamburg are generally sufficient to explore major attractions such as the Miniatur Wunderland, Elbphilharmonie, and the historic Speicherstadt, as well as to experience its vibrant neighborhoods and local cuisine.
Train ticket prices from Mainz to Hamburg can vary. The cheapest ticket starts at $36 (€29), while the average price is around $131 (€105).
The train journey from Mainz to Hamburg offers a mix of scenic views, including the picturesque Rhine Valley with its vineyards and castles, especially between Mainz and Koblenz, before transitioning to the more urban and industrial landscapes as you approach Hamburg.
The cheapest way to get from Mainz to Hamburg is by bus, with a cost of around $27 (€21).
In Hamburg, you can explore the vibrant nightlife of the Reeperbahn, enjoy a scenic boat tour of the Port of Hamburg, visit the lively Hamburg Fish Market, and discover the International Maritime Museum. Stroll along the Alster Lakes for picturesque views, and don't miss the Miniatur Wunderland, Elbphilharmonie, Speicherstadt, St. Michael's Church, and Planten un Blomen for diverse attractions and experiences.
The distance by train from Mainz to Hamburg is 259 miles (417 km).
Yes, you can take the train from Mainz to Hamburg.
The train from Mainz to Hamburg takes 4h 26m and runs 7 per day.
The first train from Mainz to Hamburg leaves at 12:01 AM.
The train station in Mainz that goes to Hamburg is Mainz Hbf, which connects to Hamburg Hbf.
The last train from Mainz to Hamburg leaves at 11:50 PM.
Yes, there is a direct train from Mainz to Hamburg. This service operates 1 times per day, provided by Deutsche Bahn.
Unfortunately, there is no night train available from Mainz to Hamburg.

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.
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
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

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