Vienna to Hamburg by train

The direct ÖBB Nightjet runs overnight from Vienna to Hamburg; daytime trains take around 10 to 12 hours, usually with a change.

Speicherstadt canal and brick warehouses in Hamburg at night
Typical duration
10 hours
Changes
Direct service (one change)
Origin
Vienna
Destination
Hamburg
Countries
Austria, Germany

Where to book

Train tickets

  • Omio

    Omio connects you with over 1,000 transport providers - trains, buses, flights, and more - to simplify your travel planning.

    Check times & prices
  • Rail Europe

    Rail Europe is a leading travel tech company specializing in European train bookings for over 15,000 travel professionals worldwide.

  • Trainline

    Trainline sells rail and coach tickets worldwide on behalf of major UK and European transport companies.

Train service

Find places to stay in Hamburg

Bright bedroom with white bedding and a breakfast tray on the bedBrowse stays in HamburgHotels and apartments via Booking.com

Frequently asked questions

Is there a direct train from Vienna to Hamburg?

Yes. The ÖBB Nightjet runs directly from Vienna to Hamburg overnight. Daytime options vary by date and often involve at least one change.

How long is the train from Vienna to Hamburg?

Plan on roughly 10 to 12 hours for many daytime journeys, with the fastest connections around 9 to 10 hours on some dates. The Nightjet runs overnight, so the timing is better judged as an evening departure and next-morning arrival.

Is the Nightjet from Vienna to Hamburg worth it?

It is often the best choice if you want a direct journey and can book a couchette or sleeper at a reasonable price. A seat is cheaper, but it is much less comfortable for a full overnight trip.

Can I use Interrail or Eurail from Vienna to Hamburg?

Yes, but you still need a paid reservation or accommodation supplement for the Nightjet. For daytime trains, check the exact trains in your pass planner and consider reserving a seat for such a long trip.

Where should I book Vienna to Hamburg train tickets?

Check Nightjet or ÖBB for the overnight train, and compare ÖBB with Deutsche Bahn for daytime options. Rail Europe, Omio, and Trainline can also help compare times and prices, but review fees and ticket conditions before paying.

Which Hamburg station should I choose?

Hamburg Hbf is the main central station and the safest default for most visitors. Hamburg-Altona can be better if you are staying in western Hamburg or your train continues there.

More routes