China · Sleeper · Scenic

Shanghai to Lhasa: train Z164/Z165

Train Z164 leaves Shanghai in the evening and reaches Lhasa forty-five hours later, covering 4,372 kilometres via Nanjing, Zhengzhou, Xi'an, Xining and Golmud.

Shanghai → Lhasa

Sleeper · Scenic

Unbranded long-distance passenger train crossing the Qinghai–Tibet plateau beside a high-altitude lake.
Unbranded long-distance passenger train crossing the Qinghai–Tibet plateau beside a high-altitude lake. · AI-generated editorial illustration by Rail Atlas
Experience
Rail enthusiasts · Slow travellers
Route
Shanghai → Lhasa
Time aboard
45h 03m

Why go overnight

Distance becomes part of the journey

Two nights on board buys you a continuous transect of China: the crowded Yangtze delta, the loess country around Xi'an, the dry Qinghai basin and finally the Tibetan plateau, where the train runs for hours across grassland at over 4,000 metres with herds of antelope and snow peaks on both sides.

Aboard overnight

Life between departure and arrival

Because you gain altitude slowly rather than flying in, most people arrive in Lhasa better acclimatised.

Shanghai to Lhasa: train Z164/Z165: 2 Z165 25T trains at Xining Railway Station
Shanghai to Lhasa: train Z164/Z165: 2 Z165 25T trains at Xining Railway Station · Photo: Baycrest · CC BY-SA 2.5

Through the night

The route across the map

Permits for Tibet must be arranged before you buy the ticket, and berths sell out far ahead in summer.

The published route runs from Shanghai to Lhasa via Nanjing, Zhengzhou, Xi'an, Xining, Golmud.

4372 km · Shanghai to Lhasa

Key stops

Shanghai Railway StationNanjingZhengzhouXiningGolmudLhasa

Shanghai Railway StationLhasaNanjingZhengzhouXi'anXiningGolmud
China · geographic corridor through verified stops · indicative alignment, not exact track geometry
  1. Shanghai Railway Station

    China

  2. Nanjing

    China

  3. Zhengzhou

    China

  4. Xi'an

    China

  5. Xining

    China

  6. Golmud

    China

  7. Lhasa

    China

Sleeper / night

What to know before you choose

01

What the night is like

Train Z164 leaves Shanghai in the evening and reaches Lhasa forty-five hours later, covering 4,372 kilometres via Nanjing, Zhengzhou, Xi'an, Xining and Golmud. It is the longest single passenger run in China. Beyond Xining the train joins the Qinghai–Tibet railway, where the carriages are supplied with extra oxygen for the climb over the Tanggula pass, the highest point on any railway in the world.

02

What defines the route

Shanghai Railway Station to Lhasa via Nanjing, Zhengzhou, Xi'an, Xining, Golmud

03

Before you book

Reservation: required. Direct online booking is recorded. A Tibet travel permit is required in addition to the ticket, and soft-sleeper berths on the Lhasa trains sell out weeks ahead in summer.

Verified 2026-09-28

Plan the ride

Plan the overnight journey

Use the verified journey, booking, season and onboard facts below to decide how to take this experience. Unknowns stay explicit.

Time aboard
45h 03m
Reservation
Required
Booking
Direct online booking recorded
Rail pass
Not verified
Price context
China Railway publishes fixed fares by class of berth; check the operator for the current price.
Timing
Check the current operating calendar
On board
No journey-specific onboard feature is currently verified

This guide does not imply a product variant unless a separate comparison decision is published.

Evidence on demand

Practical reality

Route, onboard, season, fit and booking detail remain available without interrupting the journey above. Unknowns stay visible.

Time & itinerary

45h 03m

View route map and verified stops

Shanghai → Lhasa

The published route runs from Shanghai to Lhasa via Nanjing, Zhengzhou, Xi'an, Xining, Golmud.

4372 km · Shanghai to Lhasa

Key stops

Shanghai Railway StationNanjingZhengzhouXiningGolmudLhasa

Shanghai Railway StationLhasaNanjingZhengzhouXi'anXiningGolmud
China · geographic corridor through verified stops · indicative alignment, not exact track geometry
  1. Shanghai Railway Station

    China

  2. Nanjing

    China

  3. Zhengzhou

    China

  4. Xi'an

    China

  5. Xining

    China

  6. Golmud

    China

  7. Lhasa

    China

When to go
  1. JanRuns
  2. FebRuns
  3. MarRuns
  4. AprRuns
  5. MayRuns
  6. JunRuns
  7. JulRuns
  8. AugRuns
  9. SepRuns
  10. OctRuns
  11. NovRuns
  12. DecRuns
  • Runs
Year-round
Runs

Jan: Runs year-round; summer is peak and berths are hardest to get.

These months show when the train runs, which is a service fact. How good each month is for the experience has not been rated yet, so no month is presented as better than another.

Month-by-month notes
  • Jan: Runs year-round; summer is peak and berths are hardest to get.
  • Feb: Runs year-round; summer is peak and berths are hardest to get.
  • Mar: Runs year-round; summer is peak and berths are hardest to get.
  • Apr: Runs year-round; summer is peak and berths are hardest to get.
  • May: Runs year-round; summer is peak and berths are hardest to get.
  • Jun: Runs year-round; summer is peak and berths are hardest to get.
  • Jul: Runs year-round; summer is peak and berths are hardest to get.
  • Aug: Runs year-round; summer is peak and berths are hardest to get.
  • Sep: Runs year-round; summer is peak and berths are hardest to get.
  • Oct: Runs year-round; summer is peak and berths are hardest to get.
  • Nov: Runs year-round; summer is peak and berths are hardest to get.
  • Dec: Runs year-round; summer is peak and berths are hardest to get.
Good for

Good fit for

  • Rail enthusiasts

    Especially good

    The train and the line itself are a large part of the reason to travel.

  • Slow travellers

    Especially good

    A long journey where the time on board is the point.

  • Photographers

    Especially good

    Published photography score is high for this route's landscapes and structures.

Think twice if

  • You sleep on board

    An overnight service, not a daytime sightseeing run.

  • You cannot just turn up

    A reservation is required for this journey.

  • Booking takes some effort

    Verified as difficult to book.

How it scores

Our current editorial assessment, for comparing journeys, a considered judgement, not a measurement.

SceneryExceptional
ComfortModerate
Character of the trainStrong
Show the full editorial profile

More subjective

UniquenessExceptional
Iconic statusExceptional
PhotographyExceptional
Travelling with childrenLimited

Not rated yet: value for money, food & drink, seat quality, onboard service, slow travel quality, romance, remoteness.

Step-free access and assistance are set out with the practical detail further down rather than reduced to a score.

Reservation & booking
Reservation
Required
Booking difficulty
Difficult

Not yet verified: typical price, rail pass validity. We leave these blank rather than guess.

  • A Tibet travel permit is required in addition to the ticket, and soft-sleeper berths on the Lhasa trains sell out weeks ahead in summer.

This is the operator's own reservation entry point. Fares and availability are confirmed there, not here. Journey length: 45h 03m. Checked 27 Oct 2026 · China Railway 12306 (official ticketing).

Sources & freshness

The detailed source record remains at the end of this guide. Review the evidence.

Your next step

Choose the accommodation, then confirm it with the operator.

A Tibet travel permit is required in addition to the ticket, and soft-sleeper berths on the Lhasa trains sell out weeks ahead in summer.

Check availability with China State Railway Group (China Railway) (opens in a new tab)

This is the operator's own reservation entry point. Fares and availability are confirmed there, not here.

Far by Rail is a discovery guide, not a live timetable or booking service. Confirm times, fares and availability with the operator.

Sources & freshness

Journey information is reviewed against published material and maintained as sources change.

Last reviewed 27 Oct 2026.

Official sources