How to Book Train Tickets in China as a Foreigner (2026)
China's high-speed rail network is the largest in the world — over 45,000 km of track, trains cruising at 350 km/h, and fares that make flying look expensive. Shanghai to Beijing in 4.5 hours for around ¥550. Shanghai to Hangzhou in 45 minutes for ¥73. Shanghai to Suzhou in 25 minutes for ¥40. Once you figure out how to book tickets, China's rail system becomes one of the best reasons to travel here. This guide covers everything you need to know: from registering on the official 12306 platform, to using Trip.com as a simpler alternative, to actually boarding the train with your passport.
In this guide
12306: The Official Booking Platform
12306 (www.12306.cn) is China Railway's official ticket platform. It's where all tickets are released first, it has no service fees, and it offers the widest selection of routes and schedules. The catch: registering as a foreigner requires some patience.
Registration Process
Download the 12306 app from the App Store or Google Play. Search for "铁路12306" — it has an orange icon with a train.
Open the app and tap the profile icon. Select "Register" and choose "Foreign Passport" as your ID type.
Enter your passport number, full name (exactly as it appears on your passport), nationality, date of birth, and a Chinese phone number for verification.
You’ll receive an SMS code on your Chinese number. Enter it to complete basic registration.
Submit your identity for real-name verification. This is mandatory — China requires real-name registration for all train tickets. Upload a clear photo of your passport info page.
Wait 3-5 business days for verification to be approved. You’ll get a notification in the app once it’s done.
Important: You need a Chinese phone number to register on 12306. If you don't have one yet, check our SIM card guide first. Identity verification can take up to 5 business days, so start this process as early as possible — ideally within your first day in China.
Switching to the English Interface
The 12306 app added an English interface in late 2024, though it's still a bit rough around the edges. To switch:
→ Open the app and tap 我的 (My/Profile) in the bottom-right corner
→ Scroll down and find 设置 (Settings)
→ Look for 语言/Language and select English
→ The app will restart with an English interface
Note that even in English mode, station names and some details still appear in Chinese. It helps to know the Chinese names of your departure and arrival stations — or just copy-paste them from a translation app. The search function accepts pinyin (e.g., "shanghai" or "beijing"), which makes things easier.
Booking on 12306
Once your identity is verified, booking is straightforward: search your route, pick a date, select a train and seat class, confirm your passport details, and pay. Tickets are released 15 days before departure at 8:00 AM China time, so for popular routes during holidays, you'll want to be ready the moment they go on sale.
Trip.com: The Easier Alternative
If dealing with 12306's registration and verification process sounds like too much hassle — especially if you're only in China for a short visit — Trip.com is the go-to alternative for foreigners. It's a fully English-language platform, accepts international credit cards (Visa, Mastercard, Amex), and handles passport-based bookings without requiring Chinese identity verification.
Trip.com vs. 12306 comparison:
→ Language: Full English interface on Trip.com. 12306 has partial English support.
→ Registration: Trip.com takes 2 minutes with an email. 12306 requires a Chinese phone number + 3-5 day identity verification.
→ Payment: Trip.com accepts international cards. 12306 requires Alipay or WeChat Pay.
→ Service fee: Trip.com charges ¥20-40 per ticket as a service fee. 12306 has no service fee.
→ Ticket release: Both access the same ticket pool, but 12306 releases tickets a few seconds earlier.
Our recommendation: Use Trip.com for your first few trips while you get 12306 set up in the background. The ¥20-40 service fee is worth the convenience, especially when you're still getting settled. Once your 12306 identity verification clears, you can switch to save on fees.
Train Types Explained
China's rail system runs several types of trains, each designated by a letter prefix. Here's what they mean:
→ G (高铁 Gaotie): The fastest. High-speed trains running at 300-350 km/h. These are the bullet trains you've seen in photos. Modern, comfortable, and the most popular choice for intercity travel. Shanghai to Beijing in ~4.5 hours.
→ D (动车 Dongche): "Regular" high-speed trains running at 200-250 km/h. Slightly slower than G trains but often cheaper. Same comfort level. Good for medium-distance routes.
→ C (城际 Chengji): Intercity trains connecting nearby cities. Short routes at high speed. Common for trips like Shanghai to Kunshan or Suzhou. Fast and frequent.
→ Z (直达 Zhida): Direct express trains. Older rolling stock, no high-speed track. Mostly overnight sleeper services. Much slower but cheap — Shanghai to Beijing overnight for around ¥300 in a sleeper berth.
→ T (特快 Tekuai): "Special express" trains. Similar to Z trains but with a few more stops. Older, slower, budget-friendly.
→ K (快速 Kuaisu): "Fast" trains — though the name is misleading. These are the slowest category, stopping at many stations. Cheapest option. Mostly used for rural or remote routes not covered by high-speed rail.
For most travelers: Stick with G and D trains. They're fast, clean, punctual, and reasonably priced. Z/T/K trains are fine for budget overnight journeys, but the experience is a significant step down.
Seat Classes and How to Choose
→ Second Class (二等座): The standard seat on G/D trains. 5 seats per row (3+2 configuration). Comfortable, with a fold-down tray, power outlet, and decent legroom. This is what most Chinese travelers book. Shanghai to Beijing: ~¥550.
→ First Class (一等座): 4 seats per row (2+2). Wider seats, more legroom, slightly quieter. About 60% more expensive than second class. Worth it on long journeys (4+ hours). Shanghai to Beijing: ~¥930.
→ Business Class (商务座): Available on some G trains. Fully reclining leather seats, complimentary snacks and drinks, and the most spacious cabin. About 3x the price of second class. Shanghai to Beijing: ~¥1,750. A luxury experience but not essential.
→ Soft Sleeper (软卧): Available on overnight Z/T/K trains. Private-ish compartment with 4 berths (upper and lower). Includes bedding, curtain, and a door that closes. Comfortable for overnight travel.
→ Hard Sleeper (硬卧): Open-plan sleeper with 6 berths per section (upper, middle, lower). No door, no curtain. Budget option for overnight trips. Lower berths are more convenient and slightly more expensive.
For trips under 2 hours, second class is perfectly fine. For 3-5 hour trips, first class is a nice upgrade. Business class is a treat but not a necessity. For overnight journeys, soft sleeper is worth the extra cost over hard sleeper.
Payment Methods
How you pay depends on which platform you use:
→ 12306: Accepts Alipay, WeChat Pay, and China UnionPay cards. International Visa/Mastercard are NOT directly supported. You'll need to set up Alipay or WeChat Pay first — see our WeChat Pay and Alipay setup guide.
→ Trip.com: Accepts Visa, Mastercard, American Express, JCB, and other international cards. Also accepts Alipay and WeChat Pay. This is why Trip.com is easier for newcomers — you can pay with your existing cards.
→ Station window: Cash (CNY), Alipay, WeChat Pay, and UnionPay cards.
Tip: Setting up Alipay or WeChat Pay should be one of your first tasks after arriving. Both apps now allow foreigners to link international cards. Check our step-by-step payment guide and our Essential Apps list to get set up quickly.
The Boarding Process
Chinese train stations operate more like airports than European rail stations. Arrive at least 30 minutes before departure — 45 minutes for major stations like Shanghai Hongqiao during peak hours. Here's what to expect:
Enter the station building. Show your passport at the entrance checkpoint. Some stations have automated gates with passport scanners; if yours doesn’t work, head to the staffed manual lane.
Go through security screening. All bags go through X-ray machines and you walk through a metal detector. Same as airport security but faster. Liquids over 100ml may be confiscated.
Find the waiting hall. Large departure boards display train numbers, destinations, departure times, and gate numbers. Your ticket (paper or e-ticket in the 12306 app) shows your train number.
Wait for boarding to open. Gates typically open 15-20 minutes before departure and close 3-5 minutes before. Listen for announcements or watch the board for your gate number.
Scan your passport at the boarding gate. Automated gates read your passport. If the gate doesn’t recognize your passport, an attendant will manually verify you.
Find your seat. Your ticket shows the car number (车厢) and seat number (座位). For example, "07车 12A" means Car 7, Seat 12A. LED screens above each car door show the car number.
On the train:
→ Power outlets at every seat (or between pairs of seats) — bring a charger
→ Hot water dispensers at the end of each car — free, great for instant noodles or tea
→ Food trolley passes through every 30-60 minutes with snacks, noodles, and drinks
→ WiFi is unreliable on most trains — download maps, content, and translations before boarding
→ Luggage goes in overhead racks or the space behind the last row. Large suitcases fit but space fills quickly — board early if you have big bags
Refund and Change Rules
China Railway has clear refund and change policies. The rules are the same whether you booked through 12306 or Trip.com:
Refund fees:
→ More than 8 days before departure: Free cancellation, full refund
→ 48 hours to 8 days before: 5% cancellation fee
→ 24-48 hours before: 10% cancellation fee
→ Less than 24 hours before: 20% cancellation fee
→ After departure: No refund (but you can change to a later train on the same day at a station window)
Changing tickets:
→ You can change your ticket once for free before departure — change the date, train, or seat class
→ Changes can be made in the 12306 app, on Trip.com, or at any station ticket window
→ If the new ticket costs more, you pay the difference. If it costs less, the difference is refunded
→ After the first free change, subsequent changes count as a refund + new purchase
Note: Trip.com may have its own additional cancellation policies on top of the railway's rules. Check their specific terms when booking. The ¥20-40 service fee is typically non-refundable.
Popular Routes from Shanghai
Shanghai is one of China's biggest rail hubs, with direct high-speed connections to almost everywhere. Here are the most popular routes:
| Destination | Train Type | Duration | Price (2nd Class) |
|---|---|---|---|
| Beijing | G | 4.5 hrs | ~¥550 |
| Hangzhou | G/D | 45 min | ~¥73 |
| Suzhou | G/D | 25 min | ~¥40 |
| Nanjing | G | 1-1.5 hrs | ~¥135 |
| Guangzhou | G | 6.5 hrs | ~¥790 |
| Chengdu | G | 7-8 hrs | ~¥780 |
| Xi'an | G | 6 hrs | ~¥670 |
| Qingdao | G | 4.5 hrs | ~¥500 |
| Wuhan | G | 4 hrs | ~¥410 |
Shanghai to Beijing is the flagship route — frequent departures all day, with the fastest G trains completing the 1,318 km journey in about 4 hours 18 minutes. Morning departures are the most popular; book early for peak times.
Shanghai to Hangzhou is perfect for a day trip or weekend escape. Trains run every few minutes during the day. West Lake, tea plantations, and excellent food await. See our transport guide for getting to the station.
Shanghai to Suzhou is even quicker — just 25 minutes to reach classical gardens, canal towns, and some of the best noodles in China. An easy half-day outing.
Station note: Shanghai has multiple train stations. Shanghai Hongqiao (虹桥站) handles most high-speed G/D trains and is connected to Metro Lines 2, 10, and 17. Shanghai Railway Station (上海站) and Shanghai South (上海南站) serve some routes. Always double-check which station your train departs from.
Booking Tips and Advice
→ Book 15 days in advance. Tickets are released exactly 15 days before departure at 8:00 AM China time. For holiday travel (Chinese New Year, National Day Golden Week, Labor Day), book the second they go on sale — popular routes sell out within minutes.
→ Passport name must match exactly. The name on your ticket must be character-for-character identical to your passport. Any discrepancy — even a middle name issue — and you won't be allowed to board.
→ Keep your passport accessible. You'll need it to enter the station, pass through the boarding gate, and potentially during on-board ID checks. Don't pack it in checked luggage.
→ Download offline maps before boarding. WiFi on trains is spotty at best. Download maps, translation apps, and entertainment before you leave the station.
→ A/F seats are window, C/D are aisle. In second class, A and F are window seats, C and D are aisle seats, and B is the dreaded middle. In first class, A and F are window, C and D are aisle (no middle seat).
→ Use Didi to get to the station. Shanghai Hongqiao is well-connected by metro, but if you have heavy luggage or are in a rush, Didi is the easiest option.
For a complete overview of getting around Shanghai — metro, buses, Didi, and more — see our Getting Around Shanghai guide. And if you're still in your first few days, our 72-Hour Task Flow will help you get essentials like a SIM card and payment apps sorted before you start traveling by train.
Last updated: April 2026. Train schedules, prices, and booking procedures may change. Always verify on Trip.com or 12306 before traveling. This guide is for informational purposes only and does not constitute official advice.
Found this helpful?
Share this guide with anyone traveling in China. For the full first-day workflow, check our 72-Hour Task Flow.