China's high-speed rail is the fastest way between cities. Beijing to Shanghai is roughly 4.5 hours by train, which beats a flight once you add airport time. Booking is straightforward once you understand the official system, called Railway 12306.
Use the official 12306 system
The official channel is Railway 12306, a website and app with English interfaces. You can also book through third parties like Trip.com, which add a fee but offer a more familiar experience and English support. For the best price, use the official app.
Tickets are tied to your passport
China uses real-name ticketing. When you buy, you register with your passport details, and the ticket links to that identity. At most major stations the gates scan your passport directly, so you don't need a paper ticket.
Train types and seat classes
Trains are labeled by a letter that tells you the speed.
| Prefix | Type | Notes |
|---|---|---|
| G | High-speed | Fastest, for long-distance routes |
| D | High-speed / EMU | Slightly slower, often cheaper |
| K / T / Z | Conventional | Slower overnight or regional trains |
High-speed trains offer second, first, and business class. Second class is comfortable and what most people choose; first class just means wider seats and more legroom.
Watch the station name
Big cities have multiple stations. Beijing alone has Beijing South, Beijing West, Beijing, and others. Confirm you're booking from the right one, because the wrong station can put you an hour across the city.
When to book
Tickets go on sale roughly two weeks before departure, though the window shifts and tightens around holidays. For popular routes and national holidays like the early-October break, book as early as you can. Trains do sell out.
Arrive 40–60 minutes early. Every station has security screening at the entrance, and the larger ones are enormous.
Frequently asked questions
Usually not. At most stations your passport is scanned at the gate and linked to your ticket electronically.
Yes. The Railway 12306 app and website support English and accept registration with a foreign passport.
Third parties are fine but add a fee. Use the official app for the best price, or Trip.com if you want English support.
You can usually change to a later train before departure, subject to availability. Check at the station counter, as policies vary.