Short answer
The four-hour rule. If high-speed rail covers the route in four hours or less, take the train — it is almost always the better journey once you count the airport at each end. If the fastest train takes more than six hours, price a flight before you commit. Between four and six hours, the answer is decided by the airports and stations, not the journey.
Three examples from our own route pages: Beijing to Shanghai is 4h 18m by high-speed rail — train. Beijing to Urumqi is about 30 hours by the fastest train and about four hours by air — plane. Beijing to Harbin is 4h 33m by rail and about two hours in the air — still a train trip, because the rail station is downtown and the flight is not.
The rule is about door to door, not sky time. A two-hour flight with an hour of transfer at each end costs five hours plus a check-in deadline; a four-hour train that leaves and arrives downtown costs four hours and a 30-minute buffer.
Stations versus airports: the real difference
China built its high-speed stations inside the cities and its big airports outside them. That one fact drives most train-versus-plane choices.
In Beijing, the high-speed stations — South, West, Chaoyang and Fengtai — sit on the metro grid, and at South, West and Fengtai the metro connection is inside the station complex, so rail-to-metro transfers skip a second security check. Check the name on your ticket: Shanghai, Xi'an and Harbin each leave from a different Beijing station. The station map is on our Beijing railway stations page.
The airports are a different trip. Beijing Capital (PEK) runs an Airport Express to Dongzhimen, but a taxi to the central districts is roughly an hour and about ¥100; Beijing Daxing (PKX) is far south, so a car is longer and dearer again. Shanghai's Pudong (PVG) sits well east of the city, a ¥150–200 taxi into town, while Hongqiao railway station shares a complex with Hongqiao Airport's Terminal 2, a walk apart. The option-by-option comparison is in our airport to city centre guide.
| High-speed rail | Domestic flight | |
|---|---|---|
| Where it starts | Downtown, usually on the metro | Tens of kilometres out, in most cities |
| Getting to it | Metro, taxi or walk from a city hotel | Airport express, metro, bus or a ¥100–200 taxi |
| Arrive before departure | 30–45 minutes at a major station | Check-in closes 30–45 min before; hubs ask for 90 minutes |
| Security and luggage | One screening; your bag never leaves you | Check-in, security and reclaim at both ends |
| Your document | Passport is the ticket; scan at the gate | Passport plus a boarding pass |
Add those up and the flight starts from behind on anything the train does in four or five hours.
What it costs: second class against a plane ticket
Train fares below are second-class ranges from our own route pages. Flight figures are rough market ranges, not quotes — domestic airfares float with date and how far ahead you book, and a discounted seat can halve the full fare.
| Route | Train, second class | Fastest train | Flight time | Flight, rough range |
|---|---|---|---|---|
| Beijing → Shanghai | ¥550–700 | 4h 18m | 2–2.5h | ¥500–1,490 |
| Beijing → Xi'an | ¥480–595 | 4h 10m | 2h 10m | ¥400–1,200 |
| Shanghai → Hangzhou | ¥73–87 | 45m | no useful flight | — |
| Chengdu → Chongqing | ¥85–220 | 1h 15m | no useful flight | — |
| Beijing → Harbin | ¥595–655 | 4h 33m | ~2h | ¥600–1,300 |
| Beijing → Urumqi | hard sleeper ¥637 soft sleeper ¥982 | ~30h (D) | ~4h 15m | ¥570–4,100 |
| Beijing → Lhasa | hard sleeper ¥720 soft sleeper ¥1,144 | ~40h (Z21) | 4h 30m | ¥1,000+ (indicative) |
Read the table for its shape. On short corridors the train is cheaper and the flight only wins on a deep discount. On the western routes the train is still cheap — a berth across 3,100 km for under ¥1,000 — while the flight is fast but priced by demand. Intercity tickets are a real line item; the wider budget picture is in our China trip cost guide.
When the plane wins
Fly when the train time is measured in a day or more. Four destinations make the case on their own.
- Urumqi. About 3,100 km west. The fastest direct high-speed train is a D-class service at roughly 29h 50m, and the direct overnight sleeper takes about 38 hours. The flight is about 4h 15m. There is no argument to make here.
- Lhasa. The Z21 runs about 40 hours over roughly 3,750 km — two nights on board — and there is no high-speed line into Tibet. Direct flights take about 4h 30m. Foreign passport holders also need a Tibet Travel Permit arranged through a licensed agency before the ticket, which changes the planning, not the verdict.
- Kashgar. China's far west, beyond Urumqi. Direct flights from Beijing run about five hours. By rail the distance is well over 4,000 km and a through trip is measured in days with a change at Urumqi. Fly.
- Dunhuang. The awkward one. Dunhuang sits on a branch line, and far more trains stop at Liuyuan and Liuyuan South about 130 km away, with a road transfer of one and a half to three hours at the end. A direct train from Beijing is well over 20 hours; a flight is about 3h 30m. For most visitors, at least one direction is by air.
When the train wins
On the dense eastern corridors the train does not merely compete, it removes the alternative.
- Beijing–Shanghai. 1,318 km in 4h 18m on the fastest G-train, with roughly 45–50 departures a day in each direction. Second class about ¥550–700.
- Beijing–Xi'an. About 1,216 km in 4h 10m, second class ¥480–595. The flight is around 2h 10m, but Xi'an Xianyang Airport is well outside the city, and the train runs from Beijing West to Xi'an North, both on the metro.
- Shanghai–Hangzhou. About 160 km in as little as 45 minutes, several hundred departures a day, second class from about ¥73. There is no commercial flight worth taking. This is a day trip by rail, not a travel day.
- Chengdu–Chongqing. About 300 km in 1h 15m, roughly 143–150 pairs a day, second class ¥85–220. A same-day return is normal.
Every one of these is a high-frequency corridor: a train every 10 or 20 minutes behaves like public transport, and you never build a day around catching it. These anchor our train routes index, which lists every corridor we cover.
Overnight sleepers: when the night train earns its keep
A sleeper is a third option, and it beats both a plane and a daylight train in one specific situation: the journey is inherently long, and you would rather spend a night on it than lose a day to it.
On a conventional Z, T or K train the choice is hard sleeper — an open bay of six berths with no door — or soft sleeper, a lockable four-berth compartment that costs roughly double. Overnight D trains sell the same idea as second-class and first-class sleeper in newer carriages. Within a class, the lower berth costs most and is the only one you can sit up in.
Where it works: Beijing to Urumqi (hard sleeper ¥637, soft ¥982) and Beijing to Lhasa (hard from ¥720, soft from ¥1,144). You sleep through the crossing and wake in a city, a hotel night and a day saved. Where it does not: any corridor a daytime train covers in four or five hours — you pay more for the berth than a second-class seat and save nothing.
Booking windows, passports and the gate
China Railway opens sales 15 days before departure, counting the departure date, and keeps selling until about 30 minutes before the train leaves. That is short by international standards, and on popular sleeper routes it matters: a berth you would book months out elsewhere may only appear two weeks ahead. Book on the day the window opens.
For foreign visitors the official channel is 12306, at 12306.cn/en or in the 12306 app. Both are English-capable and accept foreign passports, and neither needs a Chinese ID card, phone number or bank card. In brief: register with your passport, set the ID type to passport, copy your name from the passport's machine-readable zone with the surname first, upload the data page, and wait for the identity check — commonly around three working days, so start before you fly, not at the station. The full walkthrough, including payment, is in our 12306 in English guide.
At the station, your passport is the ticket. There is nothing to print or collect: you scan it at the entrance, often again at the departure gate, and sometimes at the platform gate. If a gate rejects it, use the staffed lane beside it — do not retry the machine. When the train is not the answer for the last mile, our guide to DiDi without a Chinese number covers getting from the station to your hotel.
Flights are the mirror image: book further ahead than 15 days, and expect check-in to close 30–45 minutes before departure. The short rail window is the reason you can often decide a China leg only a week out.
The decision table
Find your situation, take the answer.
| Your situation | Choose |
|---|---|
| High-speed train under 4 hours, metro-connected stations | Train. No real contest. |
| Fastest train 4–6 hours, both cities on the metro | Train, unless a cheap flight lands at a convenient airport. |
| Fastest train over 6 hours, flight under 5 | Price the flight. It usually wins door to door. |
| Train is a full day or more (Urumqi, Lhasa, Kashgar) | Fly, or take a sleeper one direction and fly the other. |
| You want to save the hotel night | Overnight sleeper, soft or first-class sleeper. |
| You need to move in the next 15 days | Train. That is inside the rail window; flight prices have risen. |
| Winter, going north-east to Harbin | Train. Snow delays Harbin's airport, not the railway. |
| Travelling to Lhasa | Permit first, then choose — and expect to fly both ways. |
| Heavy luggage, no metro near your hotel | Leans train: the bag never leaves you and there is no reclaim belt. |
Frequently asked questions
How far is too far for a train in China?
As a working rule, under four hours of high-speed rail the train wins; over six hours, price the flight. Between four and six it depends on the airports and stations at each end. Beijing to Xi'an is 4h 10m and Beijing to Shanghai 4h 18m — both are train journeys, not flights.
Is the train or the plane cheaper in China?
On short and mid corridors the train is usually cheaper: Beijing to Shanghai second class is about ¥550–700, while the same flight is a full ¥1,240–1,490 economy fare before the discounts that are often available. Out west, sleeper berths stay cheap — a Beijing to Urumqi hard sleeper is ¥637 — while flights start around ¥570 upwards. Fares move with date and demand, so compare on your own dates.
Do I need to arrive as early at a train station as at an airport?
No. Thirty to 45 minutes is a comfortable buffer at a major Chinese train station; the passport is the ticket and there is no check-in. A domestic flight is the opposite: check-in closes about 30 to 45 minutes before departure, and major hubs ask you to arrive 90 minutes ahead. Add the longer airport transfer and the plane usually loses half a day.
Which long routes are worth flying instead of taking the train?
The far west and the far north-east. Beijing to Urumqi is about four hours by air against roughly 30 hours by the fastest train; Beijing to Lhasa about 4h 30m by air against roughly 40 hours by rail; Beijing to Kashgar about five hours by air, with a train trip measured in days; Beijing to Dunhuang about 3h 30m by air against a direct train of over 20 hours. Harbin is the exception — at 4h 33m by train it stays a rail trip.
How do I book a Chinese train ticket with a foreign passport?
Use 12306, the official platform, at 12306.cn/en or in the 12306 app; both are English-capable and accept foreign passports. Register before you travel, set the ID type to passport, copy your name from the passport's machine-readable zone with the surname first, and wait for the online identity check. Your passport is your ticket at the gate.
How far in advance do Chinese train tickets go on sale?
Fifteen days before departure, including the departure date. The sales window opens each morning and runs until early the next day; refunds and searches run around the clock. Popular sleeper berths and holiday seats sell out fastest, so book on the day the window opens.
Is an overnight sleeper train worth it?
It is when the alternative is a wasted day or an expensive flight. A sleeper moves you overnight and saves a hotel night, which is why Beijing to Urumqi and Beijing to Lhasa are usually done this way. Soft sleeper costs roughly double hard sleeper and buys a door that closes. On a four- or five-hour daytime route, skip it.
Do I need a paper ticket to board a Chinese train?
No. Tickets are electronic and your passport is the ticket. You scan it at the station entrance, often again at the departure gate, and sometimes at the platform gate. If a gate rejects your passport, use the staffed lane beside it.
Related reading
Train times and second-class fares on this page are taken from our own route guides for Beijing–Shanghai, Beijing–Xi'an, Shanghai–Hangzhou, Chengdu–Chongqing, Beijing–Harbin, Beijing–Urumqi, Beijing–Lhasa and Beijing–Dunhuang, and from our 12306 and airport-transfer pages. Flight durations were cross-checked against airline route data on 2 October 2026: Beijing–Urumqi about 4h 15m, Beijing–Lhasa about 4h 30m direct, Beijing–Dunhuang about 3h 30m, Beijing–Kashgar about five hours direct, Beijing–Shanghai about two to two and a half hours. Flight prices are rough market ranges, not quotes — domestic airfares in China are dynamic. China Railway fares, release windows and timetables change; confirm your journey in the 12306 app before relying on any figure here. Nothing here is financial advice.