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

Sun, Dec 14
+ Add return
Deutsche Bahn
ÖBB | ICE
EuroNight
ÖBB Nightjet
Regionale
1,000+ travel companies
Deutsche Bahn
ÖBB | ICE
EuroNight
ÖBB Nightjet
Regionale
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 Ljubljana

Showing times and prices for Dec 14

Cheapest price

€120

Average price

€137

Fastest journey

13 h 17 m

Average duration

15 h 29 m

Trains per day

2

Distance

896 km

Cheap tickets

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

The average ticket from Hamburg to Ljubljana will cost around €137 if you buy it on the day, but the cheapest tickets can be found for only €120.

Fast trains

It's difficult to get from Hamburg to Ljubljana without transferring at least 4 times.

Deutsche BahnICE 787 · 4027 · RJX 261 · IC 891
10:01AM13h17
Hamburg Hbf
11:18PMLjubljana station
1201One-way
4 transfers
Deutsche BahnICE 789 · ICE 29 · IR 801 · IR 873
12:01PM17h41
Hamburg Hbf
05:42AMLjubljana station
1531One-way
4 transfers

Travel Information

Compare bus, train, and flight for Hamburg to Ljubljana

Omio recommends booking the train as it is the most popular option from Hamburg to Ljubljana among Omio's users. If you are prioritising price take the bus with prices starting from €49. For those with little time consider booking a flight which can get you there in 2h 34m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.3 - 0.8kg. The ticket price range depends on the travel mode: a bus costs an average of €49, and a flight costs an average of €105.

Distance: 896 km

Compare train with

Most popular
Train
Bus
Flight

€99

Average price

€72

Average price

Cheapest

€264

Average price

16h 2m

Average total duration

15h 32m

Onboard

+

30m

Additional time*

17h 55m

Average total duration

17h 25m

Onboard

+

30m

Additional time*

5h 34m

Average total duration

Fastest

2h 34m

Onboard

+

3h 0m

Additional time*

0.3 - 0.8kg

CO2 emissions

Lowest

0.9 - 2.2kg

CO2 emissions

-

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 Ljubljana train times

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

Last updated at 8:41 PM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahnICE 787 · 4027 · RJX 261 · IC 891
On time
9:01 AM Hamburg Hbf
13h17
10:18 PM Ljubljana station
4 transfers
deutsche_bahnICE 789 · ICE 29 · IR 801 · IR 873
On time
11:01 AM Hamburg Hbf
17h41
4:42 AM Ljubljana station
4 transfers

This is the last train of the day.

Find all the dates and times for this journey

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

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
Thu
Jan 01
Fri
Jan 02

Journey information

Overview: Train from Hamburg to Ljubljana

GermanyGermany
SloveniaSlovenia
Icon of train

Trains from Hamburg to Ljubljana run on average 11 times per day, taking around 15h 32m. Cheap train tickets for this journey start at €38 if you book in advance.

The earliest train runs at 00:15, the last at 23:49. The fastest train covers the 896 km distance in 12h 17m.

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
896 km
Average train duration
15h 32m
Cheapest ticket price
€38
Trains per day
11
Fastest train
12h 17m
First train
00:15
Last train
23:49
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, ÖBB | ICE, EuroNight, ÖBB Nightjet from Hamburg to Ljubljana trainsDeutsche Bahn, ÖBB | ICE, EuroNight, ÖBB Nightjet trains will get you between Hamburg and Ljubljana from €38. 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
14h 48m
Cheapest Price
€100
Deutsche Bahn frequency
3 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

ÖBB | ICE

About
The ÖBB ICE is a high-speed train service operated by the Austrian Federal Railways (ÖBB). It is one of the most popular train services in Austria, offering fast and comfortable journeys between major cities. The ICE trains are modern and well-equipped, with comfortable seating, air-conditioning, and power sockets. There are three types of ICE trains: ICE T, ICE S, and ICE Sprinter. The ICE T is the fastest, with speeds of up to 230 km/h, while the ICE S and ICE Sprinter offer slightly slower speeds. The ÖBB ICE offers a range of ticket types, including single tickets, return tickets, and group tickets. Onboard facilities include a restaurant car, free Wi-Fi, and a range of entertainment options. The most popular routes for the ÖBB ICE include Vienna to Salzburg, Vienna to Innsbruck, and Vienna to Graz. These routes offer stunning views of the Austrian countryside and provide a convenient way to travel between major cities.
Luggage & cancellation policy
Average Duration
13h 6m
Cheapest Price
€102
ÖBB | ICE frequency
5 a day
Luggage included
2 pieces of hand luggage and 1 piece of larger luggage free of charge
Luggage storage
Overhead racks, under seats, and designated storage areas at ends of carriages
Cancellation Policy
Cancellation possible according to ticket conditions
Refund
Full refund if train is cancelled by ÖBB
Amenities on board the train
Wifi
Food sold onboard
Restaurant car with hot meals and drinks, bistro service with snacks and beverages, at-seat service in First Class
Seat reservation
First Class: Included in ticket price. Second Class: Optional reservation for €3
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and boarding assistance available
Pets
Small pets in carriers travel free. Large dogs need ticket (50% of regular fare). Guide dogs free
Quiet zone

ÖBB Nightjet

About
ÖBB Nightjet is an Austrian train company that offers overnight services across Europe. It has a range of train types, including the EuroNight, CityNightLine and Nightjet, which all offer comfortable sleeping compartments and couchettes. The EuroNight is the most luxurious option, with private compartments and a restaurant car. The CityNightLine is a more affordable option, with compartments and couchettes, while the Nightjet is the most basic option, with couchettes and reclining seats. Ticket types include Economy, Comfort and Business, with the latter offering the most luxurious experience. Onboard facilities include Wi-Fi, power sockets, a restaurant car and a bar. The most popular routes for ÖBB Nightjet are from Vienna to Munich, Berlin, Zurich, Amsterdam, Prague and Budapest.
Luggage & cancellation policy
ÖBB Nightjet frequency
3 a day
Luggage included
2 pieces of hand luggage and 1 piece of larger luggage included
Luggage storage
Luggage racks above seats, at end of carriages, and under seats. Special storage for bikes and ski equipment.
Cancellation Policy
Cancellation possible according to ticket type conditions
Refund
Full refund if train cancelled by ÖBB
Amenities on board the train
Wifi
Food sold onboard
Restaurant car or bistro available on most routes. Night trains offer breakfast service in sleeper and couchette cars.
Seat reservation
Seat reservations recommended but not mandatory. Additional fee applies. Free for certain ticket types and first class.
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, boarding assistance available with advance notice
Pets
Small pets in carriers travel free. Larger dogs need ticket (50% of 2nd class fare) and muzzle. Guide dogs free.
Quiet zone

EuroNight

About
EuroNight is an international night train service operated by ÖBB, the Austrian Federal Railways. It runs from Austria to many countries in Europe, including Germany, Switzerland, Italy, Hungary, Croatia, Slovenia, and the Czech Republic. The EuroNight trains offer a variety of services, including comfortable sleeping compartments, couchettes, and reclining seats. The ticket types available are Standard, Comfort, and Business Class. Onboard facilities include a restaurant car, a bar, and a bistro. The most popular routes for EuroNight are Vienna to Munich, Vienna to Zurich, and Vienna to Venice.
Luggage & cancellation policy
Average Duration
15h 8m
Cheapest Price
€183
EuroNight frequency
3 a day
Luggage included
2 pieces of hand luggage included in ticket price
Luggage storage
Luggage racks above seats and at end of carriages
Cancellation Policy
Cancellation possible according to fare conditions
Refund
Full refund for canceled services
Amenities on board the train
Food sold onboard
Restaurant car or at-seat dining service depending on route
Seat reservation
Seat reservations mandatory and included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces available, staff assistance for boarding/disembarking
Pets
Small pets in carriers travel free, larger dogs require ticket
Quiet zone

FAQs: Trains from Hamburg to Ljubljana

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

FAQs
Cheap train tickets from Hamburg to Ljubljana can start from as little as €38 when you book in advance. The average train ticket price for Hamburg to Ljubljana is €128; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Hamburg to Ljubljana is 12 h 33 min   to travel the 896 km long trip, with around there are 14 trains per day. Journey times can vary on weekends and holidays.
The first train from Hamburg to Ljubljana leaves at 00: 15. Plan your trip with the Journey Planner   from Omio.
The last train from Hamburg to Ljubljana leaves at 23: 45.
There are 14 trains a day from Hamburg to Ljubljana which require at least one change with Deutsche Bahn or EuroNight. Schedules can vary on holidays or weekends with fewer trains.
For the trip from Hamburg to Ljubljana you can take a train with Deutsche Bahn or EuroNight. Be sure to check out all possible train companies that offer services to Ljubljana from Hamburg on Omio to compare what amenities they may have.
Yes, you can take a night train from Hamburg to Ljubljana with EuroNight. Find all the info regarding night trains in Europe.  
The cheapest month to travel from Hamburg to Ljubljana by train is February.
It's helpful to compare your options as there are 3 ways to travel to Ljubljana from Hamburg including taking a coach, train or flight.

popular train stations

Popular train stations from Hamburg to Ljubljana

Hamburg
Ljubljana
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 Ljubljana.
Hamburg-HarburgWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost 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
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 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
Hamburg DammtorWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost 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
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
2 km
Dining
Dining
  • Hunt Coffee
  • Haerlin
  • Gran Sasso
  • Double Coffee
Hotel
Hotel
  • Hotel Hanseatin
  • Renaissance
  • Hotel Preuß
  • Hotel Amsterdam

More options for your journey from Hamburg to Ljubljana

Here are some other resources that might have the information you need

HomeTrainsTrain Times to LjubljanaHamburg to Ljubljana train

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