Students! Get 15% off your first app booking and 5% off all future trips.

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

Sat, Jan 24
+ Add return
Deutsche Bahn
FlixTrain
Regionale
iryo
Italo
1,000+ travel companies
Deutsche Bahn
FlixTrain
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 Hamburg to Heidelberg

Showing times and prices for Jan 25

Cheapest price

$25

Average price

$61

Fastest journey

4 h 47 m

Average duration

6 h 8 m

Trains per day

5

Distance

472 km

Cheap tickets

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

The average ticket from Hamburg to Heidelberg will cost around $61 if you buy it on the day, but the cheapest tickets can be found for only $25.

Fast trains

Of the 5 trains that leave Hamburg for Heidelberg on Sun, Jan 25, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Sun, Jan 25 the direct trains cover the 472 km distance in an average of 6 h 8 m but if you time it right, some trains will get you there in just 4 h 47 m .

On Sun, Jan 25 the slowest trains will take 8 h 45 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
06:24AM4h47
Hamburg
11:11AMHeidelberg
$251One-way
0 transfers
FlixTrain
12:50AM9h43
Hamburg
10:33AMHeidelberg
$691One-way
0 transfers
FlixTrain
05:49AM8h45
Hamburg
02:34PMHeidelberg
$701One-way
0 transfers
Deutsche Bahn
04:18AM4h51
Hamburg
09:09AMHeidelberg
$711One-way
0 transfers
Deutsche Bahn
06:28AM5h45
Hamburg
12:13PMHeidelberg
$711One-way
0 transfers

Travel Information

Compare train, bus, and flight for Hamburg to Heidelberg

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

Distance: 293 miles (472 km)

Compare train with

Most popular
Train
Bus
Flight

€61

Average price

€37

Average price

Cheapest

€150

Average price

6h 26m

Average total duration

5h 56m

Onboard

+

30m

Additional time*

7h 9m

Average total duration

6h 39m

Onboard

+

30m

Additional time*

4h 10m

Average total duration

Fastest

1h 10m

Onboard

+

3h 0m

Additional time*

0.1 - 0.4kg

CO2 emissions

Lowest

0.5 - 1.2kg

CO2 emissions

1.4 - 2.8kg

CO2 emissions

Deutsche Bahn

Most popular train company

FlixBus

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

Hamburg to Heidelberg train times

The table below shows live departures for Hamburg to Heidelberg trains for tomorrow, Sunday, January 25. You can also manually refresh the results below to see updated train journeys.

Last updated at 6:30 PM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahn4:18 AM Hamburg
4h51
9:09 AM Heidelberg0 transfersDirect
deutsche_bahn6:24 AM Hamburg
4h47
11:11 AM Heidelberg0 transfersDirect
deutsche_bahn6:28 AM Hamburg
5h45
12:13 PM Heidelberg0 transfersDirect
flixbus_flixtrain9:48 AM Hamburg
8h45
6:33 PM Heidelberg0 transfersDirect
deutsche_bahn5:46 PM Hamburg
6h31
12:17 AM Heidelberg0 transfersDirect

Find all the dates and times for this journey

Compare prices and tickets Hamburg to Heidelberg 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.

Sun
Jan 25
Mon
Jan 26
Tue
Jan 27
Wed
Jan 28
Thu
Jan 29
Fri
Jan 30
Sat
Jan 31

Why should you book Hamburg to Heidelberg trains with Omio?

Deutsche Bahn (ICE,RE,EC,IC) as well as FlixTrain offer trains services from Hamburg to Heidelberg. Omio is an official ticket reseller for all your travel options from Hamburg to Heidelberg.

Why book with Omio vs Deutsche Bahn (ICE,RE,EC,IC)?

  • Compare with other providers: On Omio, you can not only buy tickets for Deutsche Bahn (ICE,RE,EC,IC), but also compare tickets for the likes of FlixTrain to find the best option for your trip from Hamburg to Heidelberg.
  • 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 (ICE,RE,EC,IC) with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Hamburg to Heidelberg.

Why book with Omio over Trainline and Rail Europe?

Multiple modes of transport
  • Multiple travel company options: While Deutsche Bahn (ICE,RE,EC,IC) tickets can be bought on Deutsche Bahn (ICE,RE,EC,IC)'s website or third party sellers, Omio allows you to compare with the likes of FlixTrain to help you choose the right option for your journey from Hamburg to Heidelberg.
  • 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 Heidelberg.

How far in advance should I book train tickets from Hamburg to Heidelberg?

The best time to book your train from Hamburg to Heidelberg is 35 days before departure. See how prices for trains change on the Hamburg to Heidelberg route.
Prices are for one-way tickets for one passenger from Hamburg to Heidelberg per month. Insights are sourced from fares found by Omio users in the last 12 months. Current prices may differ as prices vary depending on the time of day, class or how far in advance you book your train from Hamburg to Heidelberg.

ReviewsReviews for the rail journey from Hamburg to Heidelberg

userReviewImage
userReviewLogo
The customer opinion was acquired via Cimenio. Cimenio incentivises its users for giving an honest opinion and proving the booking with a photo of the travel ticket.
Advantages
Iconfavourable
IconGood comfort
Disadvantages
Iconwas late
The journey was really very relaxed, we arrived in Heidelberg without having to change trains. The price-performance ratio is excellent. There is even wifi and power sockets on the train. The train was a little late, but the service was still very friendly. It was also possible to reserve tickets and you were then allocated a specific seat. The train and the toilets were really clean. Rubbish bins were available.

Journey information

Overview: Train from Hamburg to Heidelberg

GermanyGermany
GermanyGermany
Train Ticket Prices
  • Budget Options: Train tickets from Hamburg to Heidelberg start from as low as $29 (€23) if booked well in advance.
  • Standard Fares: Typically, trains cost $76 (€61) depending on the train type and class.
Journey Duration & Frequency
  • On average there are 11 daily trains from Hamburg to Heidelberg with 1 direct service.
  • The fastest trains can take as little as 4h 47m but the average duration is 5h 56m
Train Operators
  • Travel from Hamburg to Heidelberg with Deutsche Bahn and FlixTrain
  • The most booked train company for this route on Omio is Deutsche Bahn.
Stations & Schedule
  • Most trains depart from Hamburg Hbf and arrive in Heidelberg Hbf
  • First train typically departs at 12:02 AM and the last at 11:50 PM
Distance
293 miles (472 km)
Average train duration
5h 56m
Cheapest ticket price
$29 (€23)
Trains per day
11
Direct trains
1
Fastest train
4h 47m
First train
00:02
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
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

Train companies: Deutsche Bahn, FlixTrain from Hamburg to Heidelberg trainsDeutsche Bahn, FlixTrain trains will get you between Hamburg and Heidelberg from $29 (€23). 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 47m
Cheapest Price
$25 (€20)
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

FlixTrain

About
FlixTrain is a German railway company owned by FlixMobility, the parent company of FlixBus. Since 2018, it has connected major German cities such as Hamburg, Cologne, Stuttgart, Berlin, and Frankfurt, and also operates routes in Sweden, including Stockholm to Gothenburg. All FlixTrain services run on 100% renewable energy. Onboard facilities include air conditioning, toilets, USB ports, power outlets, generous legroom, and free Wi-Fi on most trains. Food and drinks are available, and every ticket guarantees a seat. Passengers can bring luggage free of charge, provided it fits in the racks. Popular German routes include Berlin–Hamburg, Frankfurt–Stuttgart, and Cologne–Hamburg, offering a sustainable and comfortable way to travel
Luggage & cancellation policy
Average Duration
8h 36m
Cheapest Price
$21 (€17)
FlixTrain frequency
2 a day
Luggage included
1 piece of hand luggage (max 7kg) and 1 piece of luggage (max 20kg)
Luggage storage
Overhead racks and designated luggage areas
Cancellation Policy
Cancellation possible according to ticket type conditions
Refund
Full refund if train is cancelled by operator
Amenities on board the train
Wifi
Food sold onboard
Snacks and drinks available for purchase from onboard service
Seat reservation
Seat reservation included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and accessible toilets available
Pets
Small pets in carriers allowed free, larger dogs require paid ticket and muzzle
Quiet zone

FAQs: Trains from Hamburg to Heidelberg

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

FAQs
Train ticket prices from Hamburg to Heidelberg can vary. The cheapest ticket starts at $29 (€23), while the average price is around $76 (€61).
The train from Hamburg to Heidelberg takes 4h 47m and runs 11 per day.
The distance by train from Hamburg to Heidelberg is 293 miles (472 km).
The first train from Hamburg to Heidelberg leaves at 12:02 AM.
The last train from Hamburg to Heidelberg leaves at 11:50 PM.
Yes, there is a direct train from Hamburg to Heidelberg. This service operates 1 times per day, provided by Deutsche Bahn.
Unfortunately, there is no night train available from Hamburg to Heidelberg.
The train station in Hamburg that goes to Heidelberg is Hamburg Hbf, which connects to Heidelberg Hbf.
The cheapest way to get from Hamburg to Heidelberg is by train, with a cost of around $29 (€23).
The train journey from Hamburg to Heidelberg offers a variety of scenic views, including glimpses of the serene Lower Saxony countryside, picturesque towns along the way, and stretches of the Rhine Valley, known for its vineyards and castles.
A day trip from Hamburg to Heidelberg is not feasible as the journey takes 4h 47m each way. However, there are 11 train trips available per day for this route.
In Heidelberg, you can visit the historic Heidelberg Castle for panoramic views, stroll along the Old Bridge for picturesque scenery, and take a scenic walk on the Philosopher's Walk. Explore Hauptstrasse, one of Europe’s longest pedestrian streets, and discover Heidelberg University. The Church of the Holy Spirit offers Gothic architecture in the Old Town. Enjoy a family-friendly day at Heidelberg Zoo or learn about pharmacy history at the German Pharmacy Museum within the castle. A boat tour on the Neckar River provides unique city views, and nearby Baden region offers delightful wine tasting tours.
For a fulfilling experience, spending 2 to 3 days in Heidelberg allows you to explore the historic Heidelberg Castle, stroll along the Philosopher's Walk, and enjoy the vibrant atmosphere of the Old Town.
Yes, you can take the train from Hamburg to Heidelberg.

popular train stations

Popular train stations from Hamburg to Heidelberg

Hamburg
Heidelberg
The major train station for departures in Hamburg is Hamburg Hbf. Find all the information you need to know about services, amenities and connections at Hamburg Hbf for your trip from Hamburg to Heidelberg.
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
  • Mon - Fri: 06:00 - 21:30
  • Sat - Sun: 08:00 - 20:15
ticketOfficeHours
Distance to city center
2 km
Wifi
Wifi
  • Free Wi-Fi in the station.
Lockers
Lockers
  • The station has luggage lockers.
Dining
Dining
  • Le Crobag
  • Burger King
  • Coffee Fellows
  • Havin Grill
  • KFC
  • Mr. CLOU
  • Starbucks
  • dean&david
  • SPAR Express
  • Pommesfreunde
  • & more
Accessibility
Accessibility
  • Wheelchair friendly with lifts and ramps. Contact the Mobility Service Centre at +49 3065212888 or [email protected].
Hotel
Hotel
  • Boutique 053 Hamburg Main Station
  • IntercityHotel Hamburg Hauptbahnhof
  • Park Hyatt Hamburg
Information Desk
Information Desk
  • Located in the east hall on the opposite side of the DB ticket office.
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: 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
ticketOfficeHours
Distance to city center
13 km
Dining
Dining
  • Café Bom Dia
  • Hünkar
  • Yoko Sushi Harburg
  • Mathewes Grill
Hotel
Hotel
  • Hotel Panorama
  • Hotel Harburger Hof
  • Hotel Jeta
  • Hotel Süderelbe
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: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
ticketOfficeHours
Distance to city center
5 km
Dining
Dining
  • Ethio
  • Trattoria Toscana
  • Marta
  • Pavillon
Hotel
Hotel
  • Schanzenstern Bio-Restaurant
  • Hotel Hamburg Altona
  • Hotel Central
  • Best Western Raphael Hotel Altona

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