Quick Answer
Use Trip.com if you want the easiest English booking flow with foreign-card payment and support. Use 12306 if you want the official channel and are willing to handle identity verification and a less polished English experience. In both cases, the passenger name and passport number must match the passport you will carry to the station.
China has the world's largest high-speed rail network, connecting every major city. The trains are fast, generally punctual, and often more pleasant than flying for city-to-city routes. Beijing to Shanghai takes roughly 4 hours 18 minutes to 5 hours 30 minutes depending on the train; Xi'an to Chengdu is roughly 3.5 hours. For many journeys under 5 hours, the train wins once you factor in airport time.
I've been riding these trains since they launched. The experience is genuinely good — clean, quiet, comfortable seats, power outlets at every seat, reasonable food in the dining car. The booking process for foreigners has historically been the only friction. That friction is mostly gone now.
Insider note
G trains (高铁, high-speed) are the fastest and most comfortable. D trains (动车) are slightly slower but also good. C trains are commuter intercity services. For inter-city travel on your itinerary, look for G trains — they're the ones that run at 300+ km/h and have the best seat selection.
Trip.com vs 12306
Trip.com
- Language: full English.
- Foreign passport handling: straightforward for most visitors.
- Payment: Visa, Mastercard, American Express, and PayPal are commonly supported.
- Service fee: usually around ¥25–50 per ticket.
- Support: 24/7 English customer support.
- Best for: most short-term foreign travelers.
12306 official site/app
- Language: basic English on the international site; the Chinese app has the full feature set.
- Foreign passport handling: supported, but identity verification and account setup can take extra effort.
- Payment: no service fee, but the official payment flow can be less friendly to some foreign cards.
- Support: primarily Chinese.
- Best for: long-term residents, Mandarin speakers, and travelers who want the official channel.
Our recommendation: Use Trip.com. The small service fee is worth the saved frustration. If you're staying in China long-term and have Alipay set up, 12306 is worth learning — it's cheaper and has the full ticket inventory.
Step-by-step: Booking on Trip.com
Go to Trip.com and select "Trains"
Available at trip.com or via the Trip.com app. Select "Trains" from the main navigation. Make sure you're on the correct country version — the international version (trip.com) accepts foreign cards, the Chinese version (ctrip.com) may not.
Enter your route and date
Enter departure and arrival cities in English — the search is smart enough to handle "Beijing" and "Shanghai." Select your travel date. China Railway ticket release times can vary by route and station, so treat "about 15 to 30 days ahead" as the practical planning window and book as soon as your dates are fixed.
Choose your train and seat class
Results show all available trains for that day. G trains are fastest (high-speed, 300+ km/h). D trains are slightly slower. Filter by departure time. Select Second Class for value; First Class for more space. Business Class is the most comfortable but roughly 3× the price.
Enter passenger details exactly as on your passport
This is critical. Enter your full name exactly as it appears on your passport — including any middle names, hyphens, or abbreviations. First name, last name order. The ticket and passport must match exactly to board the train.
Pay with your international card
Trip.com accepts Visa, Mastercard, American Express, and PayPal. If your card is declined, try a different card or PayPal — this occasionally happens with some international banks. The charge will appear in USD or your local currency at the current exchange rate.
Use your passport at the station
China Railway uses real-name ticketing. For most high-speed rail trips, your passport is the key document for entering, boarding, and exiting. 12306 states that the itinerary sheet and reimbursement receipt are not tickets. Save your booking confirmation, but expect to use the same passport number that was used for the booking.
Book China trains in English
Trip.com supports foreign passports and international credit cards with 24/7 English support.
Search trains on Trip.com →
Seat classes explained
商务座 Business Class
Beijing–Shanghai: ~¥1,748 ($240)
Fully reclining seats (lie-flat on some trains), extra width, meal service, priority boarding. Worth it for overnight journeys or if you value space on long routes.
一等座 First Class
Beijing–Shanghai: ~¥933 ($128)
4-across seating (2+2), more legroom than second class, comfortable for 4–6 hour journeys. Good balance of price and comfort. Most travelers' sweet spot.
二等座 Second Class
Beijing–Shanghai: ~¥553 ($76)
5-across seating (3+2), comparable to economy on a European high-speed train. Perfectly comfortable for most journeys under 5 hours. The most popular class.
Popular routes and travel times
- Beijing → Shanghai: 4h 18m to 5h 30m by G train; second class around ¥553; 50+ daily departures.
- Beijing → Xi'an: 4h 30m to 5h by G train; second class around ¥515; 20+ daily departures.
- Xi'an → Shanghai: 6h to 7h by G train; second class around ¥699; 15+ daily departures.
- Xi'an → Chengdu: about 3h 30m by G train; second class around ¥263; 20+ daily departures.
- Shanghai → Hangzhou: 45m to 1h by G train; second class around ¥73; 100+ daily departures.
- Chengdu → Chongqing: about 1h 15m by G train; second class around ¥139; 80+ daily departures.
Boarding with a foreign passport
China's rail system uses real-name ticketing — the name on your ticket must match your ID exactly. Boarding with a foreign passport is slightly different from domestic passengers:
Bring the original passport used for the booking. If your booking confirmation says you need to handle anything at a counter, go to the ticket window and show your passport and booking confirmation number. Allow time for this on your first trip.
E-tickets: For most routes, the booking is linked to your identity document. Do not assume a screenshot or itinerary sheet is enough by itself; the passport is what matters at the station.
Security check: All Chinese train stations have airport-style security. Bags through X-ray, walk through scanner. Allow an extra 20–30 minutes for this.
Find your platform: Platform gates open about 15–30 minutes before departure. Your ticket shows the carriage number and seat number.
Foreign passport at the gate: Most gates have automated barriers that scan Chinese ID cards. For foreign passports, look for a staff member at the gate — they'll manually verify your ticket and passport. This is routine and takes 30 seconds.
What to know at the station
Chinese train stations are large — often significantly bigger than European or American equivalents. The Beijing West station, for example, handles over 200,000 passengers per day. A few things to know:
Arrive at least 45 minutes early for your first journey — 30 minutes for security, 15 for ticket collection if needed
Waiting halls by departure: Unlike airports, you wait in a hall and are only called to the platform shortly before departure
Food on board: All high-speed trains have a dining car selling snacks and basic hot meals. Quality is decent; bring your own snacks if you're picky
WiFi on trains: Most G trains have free WiFi — connection quality varies, but it handles messaging and light browsing
Power outlets: All seats have power outlets (Chinese and European plug types). Bring your adaptor
Common mistakes foreigners make
❌ Name doesn't match passport
The most common issue. "John A. Smith" on your ticket won't match "John Alan Smith" on your passport. Use your full name exactly as printed on your passport, including middle names.
❌ Arriving too close to departure
Unlike an airport where you can sometimes run to the gate, Chinese trains will leave without you. Security and ticket collection take time. Budget 45 minutes.
❌ Booking the wrong station
Major Chinese cities have multiple stations. Beijing has 6 (Beijing, Beijing West, Beijing South, Beijing North, Beijing East, Beijing Fengtai). Always check which station your train departs from — they're sometimes 40 minutes apart by taxi.
❌ Not booking far enough in advance
Popular trains (morning departures, Friday/Sunday travel) sell out. For Beijing–Shanghai and Xi'an–Shanghai, book 2+ weeks ahead during peak periods (Golden Week, Chinese New Year, summer school holidays).
Related planning guides
- 10-day China itinerary — day-by-day plan using the train network.
- How to use Alipay — useful for paying at stations and inside Chinese travel apps.
- Book on Trip.com — English booking with foreign-card support.
Sources & Verification
All factual claims in this guide are verified against the primary sources listed below. Official Chinese government sources take priority.
- 12306 English FAQ: ticketing and ID rules — China Railway 12306 English FAQ on real-name ticketing, passport purchase, and e-ticket rules.
- 12306 English FAQ: itinerary sheet and station process — China Railway 12306 English FAQ on itinerary sheets, changes, refunds, and station queues.
- China Train Apps for Foreigners: 12306 & Trip.com Booking Guide — Trip.com guide for foreign travelers booking China train tickets.
- Beijing to Xi'an High-Speed Train Tickets — Route-specific train schedule and foreign-passport booking reference.
- Xian to Shanghai Train Schedule and Ticket Price — Route-specific high-speed rail schedule and fare reference.
- China by train — The Man in Seat 61 — Comprehensive field-tested booking and boarding guide for international passengers, covering Trip.com vs 12306 and real traveler experience.
- China Itinerary: The Perfect Two Week Itinerary — Stoked to Travel field-tested rail travel reference.