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

Tue, Dec 09
+ 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 Dec 11

Cheapest price

$40

Average price

$54

Fastest journey

5 h 45 m

Average duration

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

Fast trains

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

On Thu, Dec 11 the direct trains cover the 472 km distance in an average of 7 h 4 m but if you time it right, some trains will get you there in just 5 h 45 m .

On Thu, Dec 11 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.

FlixTrain
09:578h36
Hamburg
18:33Heidelberg
$401One-way
0 transfers
FlixTrain
00:509h43
Hamburg
10:33Heidelberg
$411One-way
0 transfers
FlixTrain
09:179h16
Hamburg
18:33Heidelberg
$521One-way
0 transfers
FlixTrain
09:488h45
Hamburg
18:33Heidelberg
$541One-way
0 transfers
Deutsche Bahn
17:466h31
Hamburg
00:17Heidelberg
$821One-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 today, Wednesday, December 10. You can also manually refresh the results below to see updated train journeys.

Last updated at 5:57 AM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahnICE 73 · EC 219
On time
7:24 AM Hamburg Hbf
4h47
12:11 PM Heidelberg Hbf
1 transfer
deutsche_bahnICE 1577
On time
7:28 AM Hamburg Hbf
5h45
1:13 PM Heidelberg Hbf
0 transfersDirect
deutsche_bahnICE 1577 · ICE 279 · RE 19275
On time
7:28 AM Hamburg Hbf
5h20
12:48 PM Heidelberg Hbf
2 transfers
deutsche_bahnICE 575 · ICE 1577
On time
8:24 AM Hamburg Hbf
4h49
1:13 PM Heidelberg Hbf
1 transfer
deutsche_bahnICE 75 · ICE 117
On time
9:24 AM Hamburg Hbf
4h47
2:11 PM Heidelberg Hbf
1 transfer
deutsche_bahnICE 1579
On time
9:28 AM Hamburg Hbf
5h45
3:13 PM Heidelberg Hbf
0 transfersDirect
flixbus_flixtrainFlixTrain · FlixTrain10:17 AM Hamburg Hbf
9h16
7:33 PM Heidelberg Hbf1 transfer
Thursday, December 11
flixbus_flixtrain12:50 AM Hamburg
9h43
10:33 AM Heidelberg0 transfersDirect

This is the last train of the day.

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.

Thu
Dec 11
Fri
Dec 12
Sat
Dec 13
Sun
Dec 14
Mon
Dec 15
Tue
Dec 16
Wed
Dec 17
Thu
Dec 18
Fri
Dec 19
Sat
Dec 20
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

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
Icon of train

Trains from Hamburg to Heidelberg run on average 11 times per day, taking around 5h 56m. Cheap train tickets for this journey start at $28 (€23) if you book in advance.

There are 1 trains per day. The earliest train runs at 00:02, the last at 23:50. The fastest train covers the 293 miles (472 km) distance in 4h 47m.

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
Distance
293 miles (472 km)
Average train duration
5h 56m
Cheapest ticket price
$28 (€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

Train companies: Deutsche Bahn, FlixTrain from Hamburg to Heidelberg trainsDeutsche Bahn, FlixTrain trains will get you between Hamburg and Heidelberg from $28 (€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
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.
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.
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.
Train ticket prices from Hamburg to Heidelberg can vary. The cheapest ticket starts at $28 (€23), while the average price is around $75 (€61).
The train from Hamburg to Heidelberg takes 4h 47m and runs 11 per day.
The cheapest way to get from Hamburg to Heidelberg is by train, with a cost of around $28 (€23).
The last train from Hamburg to Heidelberg leaves at 11:50 PM.
The first train from Hamburg to Heidelberg leaves at 12:02 AM.
Yes, you can take the train from Hamburg to Heidelberg.
Unfortunately, there is no night train available from Hamburg to Heidelberg.
Yes, there is a direct train from Hamburg to Heidelberg. This service operates 1 times per day, provided by Deutsche Bahn.
The distance by train from Hamburg to Heidelberg is 293 miles (472 km).
The train station in Hamburg that goes to Heidelberg is Hamburg Hbf, which connects to Heidelberg Hbf.

popular train stations

Popular train stations from Hamburg to Heidelberg

Hamburg
Heidelberg
The major train station for departures in Hamburg is Hamburg-Harburg. Find all the information you need to know about services, amenities and connections at Hamburg-Harburg 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
  • 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
Hamburg-BarmbekWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost 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
2 km
Dining
Dining
  • Most wanted Burger
  • LüttLiv
  • T.R.U.D.E.
  • Schweinske Barmbek
Hotel
Hotel
  • Hotel am Stadtpark
  • IntercityHotel Hamburg-Barmbek
Hamburg AirportWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost 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
6 km
Dining
Dining
  • McDonald's
  • St. Pauli
  • Scoom
  • McCafé
Hotel
Hotel
  • Leonardo Inn Airport

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