How buying train tickets in China actually works
The high-speed rail network in China is the easiest part of most trips, once you understand the booking system. I still remember my first attempt in 2014, when I walked up to a window in Xi’an with a scrap of paper and a phrasebook, and the clerk shook her head at my handwritten characters. Today the process is far more tourist-friendly, but it still runs on its own logic. If you learn a few rules before you travel, you will save hours and avoid the sold-out trains that wreck a careful itinerary.
This guide covers where to buy, what the classes mean, how far ahead to book, and the identity rules that catch first-timers. I will flag the facts that change, and for those I will tell you to confirm with the official 12306 site or app rather than trust a number I print here.
The two places to buy: 12306 and the travel apps
The official channel is China Railway’s 12306 platform, available as a website (12306.cn) and a mobile app. It sells every seat on every train, and it opens sales 15 days before departure (the window has been 15 days in recent years; confirm the current figure, as it has shifted between 10 and 30 days over time). The catch for foreigners is verification: you need a Chinese phone number and a passport registered to the account, and the app’s interface is mostly in Chinese.
Most overseas visitors use a reseller instead. Trip.com (formerly Ctrip) lists Chinese high-speed trains in English, accepts foreign cards, and handles the passport detail for you. The trade-off is a small service fee, often a dollar or two per ticket, and a slightly later release of the cheapest fares. For a first trip I think the fee is worth the sanity. If you want the absolute base fare and you have a Chinese SIM, 12306 is the cheapest route.
| Channel | Language | Payment | Best for |
|---|---|---|---|
| 12306 app/site | Chinese | Chinese bank card, Alipay, WeChat | Cheapest fare, locals |
| Trip.com | English | Foreign credit card | First-time foreign visitors |
| Station ticket window | Chinese (some English signs) | Cash, card, Alipay | Last-minute, help with passes |
| Station machines | Chinese, limited English | Passport scan, card | Collecting pre-booked tickets |
A note on paper tickets: China has moved to e-tickets. Since 2020, most stations let you board by scanning your passport at the gate, no paper needed. Keep the booking QR or confirmation number anyway, because older lines and some border regions still issue a physical slip. When in doubt, arrive early and ask the uniformed staff at the red “service” desk.
What the train letters mean
Train codes tell you the speed and comfort. G trains (gao tie) are the fastest, running 300 km/h on dedicated lines between big cities; a Beijing to Shanghai G train takes about 4.5 hours. D trains (dong che) are also fast but stop more and run a touch slower. C trains are short commuter high-speed services near megacities. Z, T, and K are the slower conventional trains, cheap and often overnight, where the berths matter more than the speed.
For most tourists, G and D are the ones you want. They are clean, punctual to the minute, and have decent toilets and a dining car. I have taken a K train overnight exactly once for the experience, and I would not repeat it for anything longer than a night if I had a G alternative.
Seat classes and what you get
On high-speed trains the main split is second class, first class, and business class. Second class is a 2+3 row layout with a tray table and a footrest that barely exists; it is perfectly comfortable for trips under five hours and costs the least. First class is 2+2 with wider seats and a real recline; for a long haul like Beijing to Guangzhou I pay the difference without hesitation. Business class is a lie-flat pod at roughly triple the second-class fare, worth it only if you are treating the train as a flight replacement.
Sleeper trains use soft sleeper (four bunks to a cabin, a door you can close) and hard sleeper (six open bunks, no door). The names mislead: hard sleeper is not uncomfortable, just less private. I would pick a soft sleeper for any trip over eight hours, because the door and the four-berth layout let you sleep.
How far ahead to book
Sales open about 15 days out. For ordinary weekdays on busy routes, booking three to five days ahead is usually fine. For the big moves, such as leaving a city the day before a holiday or traveling on a Friday evening, the good trains sell out within hours of opening. I book the moment the window opens for any trip that touches a festival period. If your dates are fixed, set an alarm for the release time, which is 08:00 Beijing time.
The official English resellers let you pre-register a trip and auto-buy at release. I used this for a Spring Festival-adjacent Beijing to Xi’an run and got a seat that friends who slept in missed by an hour.
Passport, names, and the gate rules
Your ticket is tied to your passport number. The name you enter must match the machine-readable line on your passport exactly, including the order of surname and given name. At the station you scan your passport at the gate; the gate reads the number, not a barcode on paper. Get this wrong and the gate flashes red and a crowd forms behind you.
Arrive at least 30 minutes before departure for a major station like Beijing South or Shanghai Hongqiao. These places are enormous, and the security check plus the walk to your platform can eat 20 minutes. Our guide to navigating Chinese train stations walks through the layout so you are not running.
Refunds and changes
You can refund or change a ticket through the same channel you bought it, with a fee that grows as departure nears. More than eight days out is often free or near-free; within 48 hours the fee climbs to around 15 to 20 percent. The exact refund schedule changes, so check the rate shown at checkout rather than quoting me. Miss the train and the ticket is usually worthless, though a same-day change to a later train on the same route is sometimes possible at the window.
Quick facts
- Book through 12306 for the base fare or a reseller like Trip.com for English and foreign cards.
- Sales open about 15 days before travel; set an 08:00 Beijing-time alarm for popular routes.
- G and D trains are the fast ones; Z, T, K are slower and often overnight.
- Your passport is your ticket; match the name exactly and scan at the gate.
- Second class is fine for short hops; first class pays off on long lines.
- Arrive 30 minutes early at the big stations; they are huge.
Frequently asked questions
Can I buy a ticket at the station on the day?
Sometimes, if the train is not full, but for any popular route on a weekday evening the seats are gone by mid-morning. I would never count on same-day purchase for a trip I care about.
Do I need a paper ticket?
Usually no. Most stations accept passport scan at the gate. Keep your booking number on your phone in case the scanner misreads your passport.
Why was my name rejected?
The order of surname and given name on 12306 often differs from your instinct. Match the passport’s machine line exactly, and try swapping the fields if the system objects.
Is food available on board?
Yes, there is a trolley and a dining car on G and D trains, plus you can order delivery to your seat on some routes through the app. Prices run high; I bring snacks and a bottle of water from the station shop.
Can I choose a seat?
On 12306 you can pick a window or aisle preference, and some trains let you choose the exact seat. Resellers usually assign for you but show the choice before payment.
What about luggage?
There is no strict weight limit like an airline, just size. Big cases go in the racks at the car ends or above the seats. Keep valuables with you; theft is rare but the overhead bins are open.
Should I take the train or fly?
It depends on the city pair and the distance. Our train vs flight guide breaks down when each wins, and our two-week China itinerary shows how trains tie a route together.
Planning your rail route
The network makes it easy to string cities together: Beijing, Xi’an, Chengdu, Guilin, Shanghai, and Guangzhou all sit on fast lines. Build the rail legs first, then fill the days between with food and sightseeing. If you want a route planned around the trains that actually have seats on your dates, send us your arrival city and window and we will sketch a season-aware plan that avoids the sold-out traps. The booking is the easy part; the timing is what trips people up.
Written by the ChinaTravelFood editorial team.
