Every long-distance trip in China ends at the same fork in the road: a seat on a bullet train, or a bunk on an overnight sleeper train. Here is the whole answer in one sentence — if the fast train covers the route in about six hours or less, sit; if the journey runs past eight hours, the sleeper stops being a compromise and starts being the better buy. The six-hour line is rule of thumb, not a national standard, and the eight-hour one is where it becomes clear; between them the answer depends on your timetable and your wallet, which is the section below.

How many hours each option really takes
The Beijing–Shanghai high-speed line is 1,318 km long and opened on 30 June 2011. The fastest G trains on it run the full distance in about 4 hours 18 minutes[China State Railway Group]; with intermediate stops, most services take between five and a half and six hours. The overnight Z-trains on the same corridor need roughly twelve hours, typically leaving between 19:30 and 21:00 and arriving between 07:00 and 09:00. The berth prices are in the overnight sleeper prices.
That gap is the entire decision. My own rule of thumb: stay seated up to six hours, sleep from eight hours upward. Between six and eight you have to decide what you are optimising for — daylight, money, or sleep — because neither option is clearly wrong.
One wrinkle people forget: many G trains arrive at new, distant stations. Beijing–Shanghai fast trains usually use Beijing South (北京南站) and Shanghai Hongqiao (上海虹桥站), while the classic overnight trains often pull into the older central stations, Beijing Station (北京站) and Shanghai Station (上海站). Add the metro at the fast end — allow forty minutes or so to reach either station and another twenty to get out at the other — and the "4 hours 18 minutes" becomes a door-to-door five and a half at best. The point is only that the fast end is not as fast as the timetable says; the number that decides the trip is the door-to-door one, and it is longer than the board on the platform.
What you are actually buying: seat classes and bunk types
On a G-train there are three cabins. 二等座 (second class) is a 3+2 layout with a fold-down tray and a socket at every pair of seats. 一等座 (first class) is 2+2 with wider seats, more recline and quieter passengers. 商务座 (business class) is 1+2 with a near-flat seat, a pillow, and sometimes a free bottle of water and a snack — pleasant, but roughly three times the second-class fare. Second class, the standard choice, is covered in second class prices and booking.
On a sleeper train the unit is a bunk, not a seat. 硬卧 (hard sleeper) is an open bay with six bunks in three tiers — 上 upper, 中 middle, 下 lower — a small table, a shared window and no door to the corridor. 软卧 (soft sleeper) is a closed compartment with four bunks, a locking door and better bedding. On a handful of routes there is also the 动卧, a sleeper version of the faster electric stock: quicker than a Z-train, pricier than an ordinary sleeper. Every carriage has a boiling-water urn (开水炉) at the end and a tap for cold drinking water; none has a shower. That bunk is the sleeper side of the bullet-train story; bullet-train sleeper prices and berth types is the separate guide.
A night on a hard sleeper, hour by hour
The trip that convinced me: departure 20:10 from Beijing, carriage 12, middle bunk, ¥318. I had chosen the middle bunk to save about ¥30 over the lower one and spent the evening sitting sideways on it, because a middle bunk has roughly 70 cm of headroom — you can sit up straight on a lower bunk, and you cannot on the other two. On this overnight train the carriage attendant came through before 22:00, checked the berths against her list, and swapped the paper ticket for a small numbered bunk card; the knock at 06:40 was her coming back to return the ticket and wake the carriage before arrival.
Lights dimmed around 22:20. Nobody announced it; the ceiling lights just went to a dim strip and the corridor went dark, which is the real signal. I slept in three pieces, woke at 05:50 somewhere south of Nanjing to the sound of the connecting doors between carriages, and bought a ¥10 cup of instant noodles from the dining car, which opened early on this train; on a Z-train there is usually no buffet trolley after it closes, but the urn at the end of the carriage makes a cup of tea or a bowl of instant noodles at any hour, so "the only hot food" is a fair description of breakfast rather than the whole journey. Earplugs are not a luxury on a hard sleeper. Neither is keeping your passport and phone in a zipped pocket you sleep with — I keep mine in the pillow end of the blanket.
Side by side: five ways to ride Beijing–Shanghai
| Option | Journey time | Typical fare | Can you sleep? | Suited to |
|---|---|---|---|---|
| G-train 二等座 second class | 4h18m – 6h | ≈¥553 | Upright, 3+2 | Any daytime trip under six hours |
| G-train 一等座 first class | 4h18m – 6h | ≈¥933 | Upright, 2+2, reclines | Working on a laptop, quiet carriage |
| G-train 商务座 business class | 4h18m – 6h | ≈¥1,748 | Near-flat, 1+2 | Arriving rested, someone else paying |
| 硬卧 hard sleeper | ≈12h overnight | ≈¥300 – ¥330 | Flat bunk, 6 per open bay | Budget, very long hauls, saving a hotel night |
| 软卧 soft sleeper | ≈12h overnight | ≈¥500 – ¥560 | Flat bunk, 4 per closed compartment | Sleep that actually happens; couples and families |
The number that matters in that table is not the fare, it is the second column plus one night's accommodation. A ¥318 hard sleeper replaces a ¥400 hotel room; a ¥553 second-class seat does not. On a corridor like this one, the sleeper is the cheapest bed you will find that also moves 1,300 km while you use it. For the full fare and comfort breakdown by class, see the seat class breakdown.
Choose the bullet train if…
- The route is under six hours. You arrive in daylight, in the centre of the day, with the evening still in front of you.
- You have something to do the next morning that requires a functioning human. Twelve hours upright-adjacent is not sleep, whatever the timetable says.
- You want to see the country. The Yangtze, the rice fields north of it, the endless new towns — it is all visible from a G-train window at 300 km/h.
- You are travelling with children during the day. Movement, snacks, a lavatory you can walk to: easier in a seat than six feet up in a middle bunk.
- You booked late. There are far more G departures than sleepers on almost every route, and the 12306 waitlist (候补) is easier to work with on them, because there are more departures to be moved to.
Choose the sleeper if…
- The journey is eight to thirteen hours and most of it can happen while you are unconscious.
- You are watching money: a bunk plus no hotel night usually beats a seat plus a hotel night by a few hundred yuan.
- You want to land at an old central station instead of a new one 20 km out of town — a real advantage in cities where the high-speed station is a metro ride away.
- You have heavy luggage. Hauling a 28-inch suitcase up onto an overhead rack is an argument in favour of shoving it under a lower bunk at floor level.
- You want the version of China that does not appear in a glossy brochure. Card games on a fold-down table at 21:00, the hot-water urn, the 07:00 arrival announcement — a sleeper carriage is its own small society for one night.
The booking rules that may decide it for you
Almost everything runs through 12306 — the app, the site and the machines in the hall — and everything is real-name: your passport is your ticket. Window sales exist too, and are worth knowing about when the app will not sell you the class you want. Tickets normally go on sale 15 days ahead[Official source], counting the day of travel, at the 12306 app and site (the window has changed more than once, so check the app rather than a blog post — including this one). Sleepers do sell out faster than G-train seats, because a carriage holds far fewer beds than a G-train holds seats — but on the Beijing–Shanghai corridor both sell out on a public holiday, and G trains sell out earlier than people expect, because there are so many of them that nobody books early. On an ordinary date, book the sleeper the day sales open; in a holiday week, book whichever you want the moment the window opens and hold a 候补 waitlist position as a second chance. If a G-train is full, use the 候补 waitlist in the app; it is the single most useful feature for holiday periods. Bring the physical passport to the station — the automated gates read passports at most big stations now, but the fallback is always a human at a staffed lane, and a staffed lane needs the document.
Five hours or less: sit down and watch China go past at 300 km/h. Eight hours or more: buy the bunk, sleep on the problem, and wake up in the city centre with a hotel bill you never paid.
Plan the rest of the trip: all train and metro guides — ticketing rules sourced to official pages.
Sources
Ticketing figures are sourced from the official pages below (checked 2026-11-05); on-board details are reported examples. Limits and fees change — if a number no longer matches when you travel, the source is more current than this post.
- China Railway 12306 (official booking portal): https://www.12306.cn/
- China Railway 12306 — official carry-on luggage rules: https://kyfw.12306.cn/otn/gonggao/luggage.html
- National Railway Administration: https://www.nra.gov.cn/
Machine-readable version
For readers and developers who want structured reference data, Jiunotes also maintains an open dataset of China railway rules and fees (not an official 12306 data feed). Each entry in the JSON carries the rule, the official source URL it was checked against, and the date of that check:
- China Railway Rules & Fees — facts.json (CC BY 4.0)
If a rule here and the dataset ever disagree, tell us which entry and we will re-check both against the official page.