
Trains from Hamburg to Mainz
Lowest Prices
We partner with the top coach & train carriers to bring you the best deals.
No Wanderu Fees
Without any extra fees, we make it easy to book your tickets.
Best Travel Options
We help you find & compare the best buses & trains in one place.
Trip Summary
There are 17 daily trains from Hamburg to Mainz. Traveling by train from Hamburg to Mainz usually takes around 5 hours and 55 minutes, but the fastest Deutsche Bahn train can make the trip in 4 hours and 20 minutes.
Distance | 257 mi (413 km) |
Fastest train | 4h 20m |
Lowest price | €9.95 |
Trains per day | 6 |
Most frequent service | Deutsche Bahn |
Train lines | 6 |
What is the price of a train ticket from Hamburg to Mainz?
In the last month, €31.73 was the average price of a train ticket from Hamburg to Mainz. This is a great price, especially considering the length of the route. You can expect to find tickets at that price or lower if you book your trip at least 15 days in advance. Otherwise, expect to pay around €68.57 more than that for a same-day booking.
Monthly average prices
If you are trying to decide when to travel from Hamburg to Mainz by train so you can score the best possible deal, your best bet would be to plan your trip for August. That’s when the average price for a train ticket is expected to be just €36 – the lowest of the year.
Alternatively, if you plan to travel from Hamburg to Mainz in December, expect to spend more on your train trip, as the average ticket price usually surges to €66 at that time of year. However, if you book your trip ahead of time, you have a high chance of scoring a ticket at a lower price.
Which train should you take from Hamburg to Mainz?
There are 6 train lines with service from Hamburg to Mainz. Deutsche Bahn is the most popular choice with travelers, offering scheduled service on 29 trains each day.
Train | Daily Trips | Avg. Time | Avg. Price |
---|---|---|---|
DB Eurocity | 1 | 6h 8m | €52.26 |
DB Intercity | 1 | 6h 18m | €75.92 |
DB Intercity-Express | 5 | 5h 50m | €69.49 |
Deutsche Bahn | 29 | 5h 45m | €79.85 |
Deutsche Bahn with non-federally owned railway company | 21 | 5h 43m | €81.67 |
FlixTrain | 3 | 6h 12m | €38.33 |
DB Eurocity
DB Eurocity train tickets from Hamburg to Mainz start from €36, and on average cost . Daily there are 1 DB Eurocity schedules to Mainz. DB Eurocity in Hamburg leaves from Hamburg Train Station . And in Mainz trains arrive at Mainz Central Train Station - Exit West .
From Hamburg to Mainz train travel on DB Eurocity takes 6 hours and 8 minutes. If you are looking to get to Mainz faster, DB Eurocity offers more express schedule options with a travel time of 4 hours and 20 minutes.
If you're considering a weeked trip, DB Eurocity offers 2 schedules for you to choose from. You can expect to pay for a one-way train ticket to Mainz.
DB Intercity
DB Intercity train tickets from Hamburg to Mainz start from €41, and on average cost . Daily there are 1 DB Intercity schedules to Mainz. DB Intercity in Hamburg leaves from Hamburg Train Station . And in Mainz trains arrive at Mainz Central Train Station - Exit West and 2 other train stations.
From Hamburg to Mainz train travel on DB Intercity takes 6 hours and 18 minutes. If you are looking to get to Mainz faster, DB Intercity offers more express schedule options with a travel time of 4 hours and 20 minutes.
If you're considering a weeked trip, DB Intercity offers 4 schedules for you to choose from. You can expect to pay for a one-way train ticket to Mainz.
DB Intercity-Express
DB Intercity-Express train tickets from Hamburg to Mainz start from €18, and on average cost . Daily there are 5 DB Intercity-Express schedules to Mainz. DB Intercity-Express in Hamburg leaves from Hamburg Train Station . And in Mainz trains arrive at Mainz Central Train Station - Exit West and 2 other train stations.
From Hamburg to Mainz train travel on DB Intercity-Express takes 5 hours and 50 minutes. If you are looking to get to Mainz faster, DB Intercity-Express offers more express schedule options with a travel time of 4 hours and 20 minutes.
If you're considering a weeked trip, DB Intercity-Express offers 10 schedules for you to choose from. You can expect to pay for a one-way train ticket to Mainz.
Deutsche Bahn
Deutsche Bahn train tickets from Hamburg to Mainz start from €18, and on average cost . Daily there are 29 Deutsche Bahn schedules to Mainz. Deutsche Bahn in Hamburg leaves from Hamburg Train Station . And in Mainz trains arrive at Mainz Nord and 6 other train stations.
From Hamburg to Mainz train travel on Deutsche Bahn takes 5 hours and 45 minutes. If you are looking to get to Mainz faster, Deutsche Bahn offers more express schedule options with a travel time of 4 hours and 20 minutes.
If you're considering a weeked trip, Deutsche Bahn offers 21 schedules for you to choose from. You can expect to pay for a one-way train ticket to Mainz.
Deutsche Bahn with non-federally owned railway company
Deutsche Bahn with non-federally owned railway company train tickets from Hamburg to Mainz start from €18, and on average cost . Daily there are 21 Deutsche Bahn with non-federally owned railway company schedules to Mainz. Deutsche Bahn with non-federally owned railway company in Hamburg leaves from Hamburg Train Station and one other station. And in Mainz trains arrive at Mainz-Gonsenheim and 7 other train stations.
From Hamburg to Mainz train travel on Deutsche Bahn with non-federally owned railway company takes 5 hours and 43 minutes. If you are looking to get to Mainz faster, Deutsche Bahn with non-federally owned railway company offers more express schedule options with a travel time of 4 hours and 20 minutes.
If you're considering a weeked trip, Deutsche Bahn with non-federally owned railway company offers 67 schedules for you to choose from. You can expect to pay for a one-way train ticket to Mainz.
FlixTrain
Part of the FlixBus family, FlixTrain launched in 2018 to offer affordable and sustainable train travel in Germany. Its trains provide Wi-Fi, power outlets, air conditioning, onboard restrooms, and access to an entertainment portal full of movies, games, and music. In addition, each passenger gets a guaranteed seat, so you don't have to worry about standing in any aisles. FlixTrain operates 3 daily trips to Mainz from Hamburg. The train usually departs from Hamburg-Harburg in Hamburg and arrives at Mainz Central Train Station - Exit West in Mainz after about 6 hours and 12 minutes.
Frequently Asked Questions
Is it safe to travel by train from Hamburg to Mainz during the COVID-19 pandemic?
Our train partners have implemented several different policies to keep you safe during the COVID-19 pandemic. From limiting vehicle capacity to enhancing cleaning protocols and upgrading air filters, train carriers are committed to maintaining a safe environment. For details on what each company is doing to ensure their fleet remains safe for travel, click here.
Although masks are no longer required on public transportation, we stand behind CDC guidelines that encourage passengers to wear a mask over their nose and mouth while on the train or in stations.
Please visit our COVID-19 Travel Guide for more information on all carrier policies and the latest travel advisories issued by every U.S. state, Canadian province, and European country.
Can you take a train all the way from Hamburg to Mainz?
How long is the train journey from Hamburg to Mainz?
The distance between Hamburg and Mainz is approximately 257 miles, or 413 kilometers. The average train journey between these two cities takes 5 hours and 55 minutes, although the absolute fastest you could get there is 4 hours and 20 minutes.
Looking for ways to pass the time? Most trains are equipped with Wi-Fi, which means you can stream music, browse social media or get some work done during your ride. That said, in case your train has a spotty signal, or is among the few without Wi-Fi, we also recommend downloading TV shows and movies to your mobile device in advance of your trip. That way the ride will fly by whatever the Wi-Fi situation.
When are trains the most crowded?
On a weekly basis, the greatest number of passengers tend to travel by trains from Hamburg to Mainz on Wednesday. Tickets for Wednesday tend to also be the most expensive. For savvy travelers looking for cheaper priced tickets search for travel departing on Sunday. Sunday also tend to have less passengers which may make boarding faster and let you snag your perfect seat.
When are the first and last trains of the day?
The earliest train departs Hamburg at 00:00 while the last train of the day leaves at 13:00. To see all scheduled departure times, use the search function on this page to get the full schedule for your specific travel dates.
Is there a direct train from Hamburg to Mainz?
There are 17 scheduled trains on most days. 6 of these are direct connections to Mainz. While direct trains may still make stops along the way, you will not need to switch trains at any point. If you're looking to get to your destination faster, a direct train is the convenient and time-efficient choice.
You can also take a train for your return trip from Mainz to Hamburg.
City Information
Hamburg

Image credit: Unsplash

Image credit: Unsplash

Image credit: Unsplash
Hamburg might be often overshadowed by Berlin or Munich, but it certainly is one of Germany’s best hidden gems. A vibrant harbor city with plenty of activities, Hamburg will keep you interested through days and nights. Among the city’s most famous attractions is the Elbphilharmonie, a stunning concert hall that could rival the famous Sydney Opera House. The concert hall also features a public viewing platform that offers a panoramic view of the city and the harbor, a great bonus for visitors who enjoy taking pictures. If you travel with kids, it is a great idea to take them to the Miniatur Wunderland, which many consider to be the largest model railway in the world. If you simply want to take a walk around and enjoy the vibe of the city, Planten und Blomen, nicknamed “the green lungs of the city”, will provide the reprieve you need.
Hamburg’s proximity to the sea allows it to offer the freshest and finest seafood dishes around. Fischereihafen Restaurant is a local favorite that has garnered plenty of attention. For the best beers around, Braugasthaus Altes Mädchen is a popular spot that is worth your attention.
The main bus station in the city is called ZOB Hamburg and it’s located at Adenauerallee 78 in the city center, serving FlixBus and Sindbad, among other carriers. Hamburg Hauptbahnhof is the main railway station in the city. For international air services, Hamburg Airport, the oldest in Germany, is the main airport.
Mainz

Image credit: Pixabay

Image credit: Pixabay

Image credit: Unsplash
Mainz is the state of Rhineland-Palatinate’s capital city and is located along the Rhine River, close to Frankfurt. The city is a cultural center and a transportation hub in the region, known for its delightful wine and historic buildings. The most iconic building in the city is the Mainz Cathedral, a grand Romanesque cathedral over 1,000 years old. The cathedral dominates the historic market square, surrounded by other charming buildings like the iconic half-timbered houses of the area.
Also off the historic market square, you'll find the Gutenberg Museum, dedicated to the history of printing and home to two of Johannes Gutenberg's Bibles. Mainz includes several other noteworthy museums to round out your visit: the Museum of Ancient Seafaring with a focus on Roman ships, Kunsthalle de Mayence, a museum of art, and Landesmuseum Mainz, which focuses on local history.
The Frankfurt Airport is the airport closest to Mainz, and it's easy to take a train to Frankfurt before catching a flight. Of course, trains also connect to other German cities like Stuttgart, Munich, and Hamburg. Mainz is also accessible via intercity bus routes that cover most of Europe.
Station Information
Where is the train station in Hamburg?

Image credit: Jo.Fruechtnicht
Link to image attributionMain departure station: Hamburg Train Station
Although it could be mistaken for a church with its clock tower and arched, windowed facade, the Hamburg Train Station (or Hauptbahnhof) is a bustling hub for intercity trains throughout Germany and into other countries in Europe. Originally opened in 1906, the current station welcomes about 480,000 passengers every day. These passengers travel on Deutsche Bahn and FlixTrain intercity trains, as well as S-Bahn (suburban railway) and U-Bahn (underground railway) trains that run throughout Hamburg. Inside the vast station, you'll find shops, cafes, and the Wandelhalle shopping center in the northern section of the complex.
All train stations in Hamburg:
Hamburg Train Station
Hamburg-Harburg
Need a return trip from Mainz to Hamburg?
Search Train TicketsPlan your next adventure
More trains from Hamburg
Continue by train from Mainz
Check out these popular routes
- Train from London to York
€23+
- Train from London to Manchester
€89+
- London to Oxford Train
€26+
- Manchester to London Train
€76+
- Train from Oxford to London
€25+
- Train from Amsterdam to Berlin
€63+
- Train from Amsterdam to London
€113+
- Train from Washington D.C. to New York
€106+
- New York to Washington D.C. Train
€107+

Wanderu is the simplest way to book bus and train travel.
With just a quick search on Wanderu, you can compare bus and train schedules and prices from hundreds of travel companies in one convenient place to find the trip that works best for you. Wanderu’s simple checkout process makes it easy to book cheap bus and train tickets hassle-free and with no additional fees. Most importantly, as Wanderu is an official partner of all leading bus and train companies, we always have the best bus and train deals out there.
Book coaches and trains on the go with the Wanderu app.
Download our app and snag the best travel deals across North America & Europe.Learn more
- Train Tickets
- Germany
- Mainz
- Hamburg to Mainz