Short answer
The direct high-speed train runs from Shanghai Hongqiao (上海虹桥) to Hong Kong West Kowloon (西九龙) in roughly 8 to 9 hours, with the fastest service around 8 hours. That is a full travel day. There is also an overnight high-speed sleeper on the same corridor that takes about 11 hours and gets you in in the morning — for many travellers that is the better buy, because you trade a wasted day for a night's sleep.
Expect second class somewhere between roughly ¥770 and ¥1,150, first class around ¥1,450–¥1,815, and business class from about ¥2,850 upward. This is a long-haul route with dynamic pricing, so the spread is real and the fare you see depends on the date.
The thing that makes this route different from any other Chinese train journey: the border checkpoint is inside the station. Hong Kong and mainland immigration are both handled at West Kowloon under the "co-location" arrangement, so there is no separate land crossing to negotiate. But the train only runs two to three times a day, so book early — this is not a turn-up-and-go corridor.
The route at a glance
Shanghai Hongqiao is the city's main high-speed rail terminal, connected to Hongqiao airport and to metro lines 2, 10 and 17. West Kowloon is a three-minute covered walk from MTR Austin station and eight to ten minutes from Kowloon station on the Airport Express.
| Detail | What to expect |
|---|---|
| Terminals | Shanghai Hongqiao (上海虹桥) → Hong Kong West Kowloon (西九龙) |
| Distance | Roughly 1,600–1,900 km depending on how the route is measured |
| Fastest daytime journey | About 8 hours (published figures range from 7 h 46 m to 9 h 5 m) |
| Overnight sleeper | About 11 hours, arriving in the morning |
| Trains per day | Two to three daytime services, plus the sleeper |
| Station hours at West Kowloon | 06:00–00:00 daily |
| Main stops | Hangzhou, Nanchang, Changsha, Shenzhen |
Train numbers on this route have changed more than once as services were reworked, so do not plan around a specific number you read somewhere. Search the route on 12306 for your date and take whatever the timetable gives you.
Fares by class
Published fare ranges from several route guides, all of which note that fares move with season and demand. Use them to budget, then confirm on 12306.
| Class | Typical one-way fare | Notes |
|---|---|---|
| Second class | Roughly ¥770 – ¥1,150 | 3+2 seating, power at every seat. What most people buy. |
| First class | Roughly ¥1,450 – ¥1,815 | 2+2 seating in a smaller cabin. On an eight-hour run the extra room is worth more than it is on a short hop. |
| Business class | From about ¥2,850 upward | Available only on some mainland trains. |
| Overnight soft sleeper | Around ¥900 | On the EMU sleeper service. Second class, premium class and sleeper class are the classes offered. |
Some published figures for this route are quoted in US dollars and convert to noticeably different yuan amounts — second class has been quoted anywhere from about US$135 to US$175. That is dynamic pricing doing its job. The only fare that matters is the one 12306 shows you at checkout.
Why frequency is the real constraint
On the Guangzhou–Shenzhen corridor you can ignore the timetable. Here you cannot. This route carries only a couple of daytime trains plus the overnight, and they are long-haul services that fill up along the line. If your date is fixed and your train is full, there is no "next one in twenty minutes".
How to book a cross-border ticket
You can book this on 12306, on the MTR high-speed rail site, or through a third-party platform. The official channel has no markup; the others add a fee for a friendlier interface and better English support.
- Check that you can legally enter Hong KongMost nationalities get visa-free access to Hong Kong for 14 to 90 days depending on the passport. Check your own country's arrangement — it is separate from your mainland China visa.
- Check your mainland status for the return legIf you are coming back into the mainland, you need a valid Chinese visa or visa-free eligibility. The two directions are governed by different rules.
- Register or log in with your passportOn 12306 the booking name must match the machine-readable zone of your passport exactly. Fix any mismatch days before travel, not at the station.
- Pay via Alipay or WeChat Pay12306 does not take foreign cards directly. Both wallets accept foreign-issued cards after passport verification.
- Know the refund rules before you commitCross-border tickets have different refund terms from domestic ones. MTR's published policy returns 50% within 48 hours of departure, 70% from 48 hours to 14 days, and 95% at 15 days or more. 12306's own terms differ slightly. Read them before you pay.
At West Kowloon: how the border works
West Kowloon is not a normal Chinese station. Both sides of the border are inside the building. The layout, from MTR's own passenger guidance:
| Level | What happens there |
|---|---|
| B1 | Ticketing hall, real-name ticket check, security screening |
| B3 | Departure concourse — immigration and boarding gates |
| B4 | Platforms |
| B2 | Arrival hall — immigration on the way in |
Arriving in Hong Kong from the mainland
- Board normally at Shanghai HongqiaoYou pass mainland security and the ID check as on any domestic train. You do not clear exit immigration in Shanghai.
- Disembark at West Kowloon onto B4Take the escalators up to the B2 arrival hall.
- Clear mainland exit formalitiesThis is where you formally leave mainland China, inside Hong Kong, before you have entered Hong Kong.
- Cross the marked boundary lineAn indoor corridor with a painted line on the floor separates the mainland port area from the Hong Kong port area.
- Clear Hong Kong immigration entryYou receive a landing slip. Then Hong Kong customs, and you are out in the public concourse.
Signage through both immigration zones is in English, Traditional Chinese and Simplified Chinese, so this is navigable without any Chinese.
Departing from Hong Kong to the mainland
The process reverses and, importantly, happens before you board: check in at B1, go down to B3, clear Hong Kong exit, cross the boundary line, clear mainland entry, then go to the platform. You cannot treat West Kowloon like an ordinary station and arrive two minutes before departure.
Alternatives worth knowing
- Transfer via Shenzhen North, Guangzhou South or Changsha South. Published guides put the total journey at roughly 8.5–10 hours with more departure choices, and second-class fares around ¥1,055–¥1,150 across the legs.
- Fly. Shanghai to Hong Kong is around 2.5 hours in the air. Once you add airport transfers at both ends the gap narrows, but if your time is worth more than your money, the plane wins on this route.
- Ride to Shenzhen and cross by land. Shenzhen's Futian station is the cross-border station, and trains from Futian to West Kowloon take about 14–29 minutes. You can also cross at Luohu on foot from Shenzhen station.
One side note: West Kowloon is also a port for China's 240-hour visa-free transit scheme, which lets eligible nationals enter the mainland without a visa for up to ten days when transiting to a third country. It is a transit policy with strict conditions, read the rules rather than assuming.
Frequently asked questions
How long is the train from Shanghai to Hong Kong?
About 8 to 9 hours on the daytime services, with the fastest published times around 8 hours. The overnight high-speed sleeper takes roughly 11 hours and arrives in the morning.
How much does the Shanghai to Hong Kong train cost?
Published second-class fares run from roughly ¥770 to ¥1,150, first class around ¥1,450–¥1,815, and business class from about ¥2,850 up. Fares are dynamic, so confirm on 12306 for your date.
Do I clear immigration at Shanghai or in Hong Kong?
In Hong Kong. Travelling mainland to Hong Kong, you board normally at Hongqiao and clear mainland exit and then Hong Kong entry on arrival at West Kowloon, both inside the station under the co-location arrangement.
How early should I arrive at West Kowloon?
MTR recommends 45 minutes before departure for a normal passenger and 60 minutes for first-timers, families, or anyone needing extra time. All check-in and immigration procedures close 30 minutes before departure.
Do I need a visa for Hong Kong if I have a China visa?
They are separate. A Chinese visa does not grant you entry to Hong Kong, and Hong Kong visa-free access does not grant you entry to the mainland. Check both directions against your own passport.
How many trains a day run between Shanghai and Hong Kong?
Only two to three daytime services plus an overnight sleeper. This is a low-frequency route, so book as soon as your dates are fixed rather than assuming you can take the next one.
Is there a sleeper train from Shanghai to Hong Kong?
Yes, an overnight high-speed EMU sleeper service runs on this corridor, taking roughly 11 hours with a soft sleeper fare around ¥900. Second class, premium class and sleeper class are the classes offered on it.
Can I get a refund if my plans change?
Cross-border tickets have their own refund terms. MTR's published policy returns 50% within 48 hours of departure, 70% from 48 hours to 14 days, and 95% at 15 days or more; 12306's own schedule differs slightly. Check the terms of whichever channel you book through.
Related reading
Journey times, fares, service frequency and the West Kowloon immigration sequence were compiled from MTR High Speed Rail's official passenger guidance and fare pages, TravelChinaGuide's Shanghai–Hong Kong and Hong Kong–Shanghai high-speed train pages, China Highlights' Hong Kong–Shanghai page, and station guides for West Kowloon, cross-checked against live departure listings. Fares and schedules on this corridor change with season and demand, confirm your specific journey on 12306 or the MTR site before you rely on any figure here.