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

Thu, Mar 12
+ Add return
Deutsche Bahn
FlixTrain
Regionale
iryo
Frecciarossa
1,000+ travel companies
Deutsche Bahn
FlixTrain
Regionale
iryo
Frecciarossa
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 Mar 12

Cheapest price

$43

Average price

$89

Fastest journey

4 h 50 m

Average duration

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

Fast trains

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

On Thu, Mar 12 the direct trains cover the 472 km distance in an average of 7 h 31 m but if you time it right, some trains will get you there in just 4 h 50 m .

On Thu, Mar 12 the slowest trains will take 10 h 7 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
10:17AM9h16
Hamburg
07:33PMHeidelberg
$431One-way
0 transfers
FlixTrain
01:50AM10h07
Hamburg
11:57AMHeidelberg
$571One-way
0 transfers
Deutsche Bahn
09:21AM4h50
Hamburg
02:11PMHeidelberg
$911One-way
0 transfers
FlixTrain
12:19PM7h39
Hamburg
07:58PMHeidelberg
$921One-way
0 transfers
Deutsche Bahn
07:28AM5h45
Hamburg
01:13PMHeidelberg
$1611One-way
0 transfers

Travel Information

Compare bus, train, 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 $27. 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 $27, and a flight costs an average of $62.

Distance: 293 miles (472 km)

Compare train with

Most popular
Train
Bus
Flight

$76

Average price

$47

Average price

Cheapest

$161

Average price

7h 7m

Average total duration

6h 37m

Onboard

+

30m

Additional time*

8h 5m

Average total duration

7h 35m

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

Eurowings

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, March 11. You can also manually refresh the results below to see updated train journeys.

Last updated at 2:22 AM
ProviderDepartsDurationArrivesTransfers
Tickets
meinfernbus_flixbusFlixBus+flixbus_flixtrainFlixTrain3:00 AM Hamburg, Zentraler Omnibusbahnhof
10h57
1:57 PM Heidelberg Hbf1 transfer
deutsche_bahnECE 5 · S2
On time
7:29 AM Hamburg Hbf
4h54
12:23 PM Heidelberg Hbf
1 transfer
deutsche_bahnICE 577 · S2
On time
8:29 AM Hamburg Hbf
4h54
1:23 PM Heidelberg Hbf
1 transfer
deutsche_bahnICE 1285 · ICE 577 · S2
On time
8:32 AM Hamburg Harburg
4h51
1:23 PM Heidelberg Hbf
2 transfers
deutsche_bahnICE 1073 · ICE 1095
On time
9:21 AM Hamburg Hbf
4h50
2:11 PM Heidelberg Hbf
1 transfer
flixbus_flixtrainFlixTrain12:19 PM Hamburg Hbf
7h39
7:58 PM Heidelberg Hbf0 transfersDirect
Thursday, March 12
flixbus_flixtrain1:50 AM Hamburg
10h07
11:57 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 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.

Thu
Mar 12
Fri
Mar 13
Sat
Mar 14
Sun
Mar 15
Mon
Mar 16
Tue
Mar 17
Wed
Mar 18
Thu
Mar 19
Fri
Mar 20
Sat
Mar 21
Sun
Mar 22
Mon
Mar 23
Tue
Mar 24
Wed
Mar 25

Why should you book Hamburg to Heidelberg trains with Omio?

Deutsche Bahn 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?

  • Compare with other providers: On Omio, you can not only buy tickets for Deutsche Bahn, 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 with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Hamburg to Heidelberg.

Why book with Omio over Trainline or Wanderu?

  • Multiple modes of transport: Omio allows you to compare travel options including bus, train 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
Icon of train

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

There are 2 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
6h 37m
Cheapest ticket price
$17 (€13)
Trains per day
11
Direct trains
2
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 $17 (€13). 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
$33 (€27)
Deutsche Bahn frequency
12 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
7h 39m
Cheapest Price
$17 (€13)
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 $17 (€13), while the average price is around $76 (€62).
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 2 times per day, provided by Deutsche Bahn, FlixTrain.
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 $17 (€13).
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