How to Book China Train Tickets on 12306 (Step-by-Step for Foreigners)

When I first started planning my China travel, the railway booking system looked like an unsolvable puzzle. Everyone kept telling me to “just use 12306,” but as a foreigner I had no idea where to begin. If you are traveling in China and want to move between cities quickly and cheaply, learning how to book China train tickets on 12306 is one of the most useful skills you can pick up. The good news: it is completely doable, even with a foreign passport and limited Mandarin. In this guide I will walk you through the whole process exactly as I have done it myself, from registering your passport to collecting your seat.

What Is 12306, and Why Should You Use It?

12306 (officially China Railway Customer Service Center) is the only official platform run by China Railway that sells tickets for every train in the country. There is no third-party company that “owns” the inventory — Trip.com, Ctrip, and travel agents all pull from the same 12306 pool. Booking directly on 12306 means you pay the exact face value, you see the real-time seat map, and you avoid service markups. For a foreign traveler who wants control and the lowest price, 12306 is the system to learn.

The platform comes in two flavors: the website at www.12306.cn and the mobile app simply called “铁路12306” (Railway 12306). The app is what most locals use, and it is the version I recommend for foreigners because it supports an English toggle and pushes instant notifications when your ticket status changes.

Step 1: Download the App and Register Your Passport

Start by installing the 12306 app from your phone’s app store. Open it and tap the profile icon, then choose “Register” (注册). You will be asked for a mobile number — this is mandatory, because 12306 uses SMS verification. If your home SIM cannot receive Chinese SMS, grab a local travel eSIM or SIM card first (more on that in our guide to using an eSIM or SIM card in China as a tourist).

When filling in your details, this is the single most important rule: enter your name EXACTLY as it appears on your passport, letter for letter, including any spaces or hyphens. The system uses a “real-name” system, and a mismatch between your booking and your passport will get you turned away at the gate. I once watched a traveler at Beijing South Railway Station miss his train because he typed “Bob” instead of his full given name “Robert” — the gate scanner rejected the ticket and there was no time to fix it.

Step 2: Passport Verification and the Real-Name Rule

China’s railway uses a strict real-name policy. Every ticket is tied to one passport number, and you must present that same passport to board. There is no selling, transferring, or “will call under a friend’s name.” After registering, the app may ask you to complete a quick face-scan or take your passport to a railway station ticket window for one-time verification. In most cases, foreigners can complete verification at any blue self-service machine or staffed window on arrival — just bring your passport.

passport verification at China railway machine
Foreign passport open on a railway ticket machine during real-name verification

A small tip from experience: do this verification early, on your first day in China, so you are never blocked from buying a last-minute ticket later in your trip.

Step 3: Searching Routes and Reading the Results

Tap the “Ticket” (车票) tab and enter your departure and arrival cities, plus your travel date. Major routes are frequent and fast. A few classics I have ridden:

  • Beijing to Xi’an — the G-series high-speed train covers about 1,200 km in roughly 4.5 hours. This is the train you want if you are heading to see the Terracotta Warriors near Xi’an.
  • Shanghai to Hangzhou — a short, sweet 1-hour hop on the high-speed line, perfect for a day trip to the West Lake in Hangzhou.
  • Chengdu to Chongqing — under 1.5 hours and a great connector if you are combining panda-watching with hotpot.

When results appear, you will see train codes: G (gaotie, high-speed >300 km/h), D (dongche, bullet ~200–250 km/h), Z/T/K (regular overnight and slower services). For tourists, G and D trains are the sweet spot — clean, quiet, and punctual to the minute.

Step 4: Choosing Your Seat Class

On high-speed trains there are three main classes:

  • Second Class (二等座) — the standard economy seat. Comfortable, with power outlets and a tray table. This is what I book 90% of the time; it is affordable and perfectly fine for trips under five hours.
  • First Class (一等座) — wider seats in a 2+2 layout, more legroom, quieter carriage. Worth it for longer rides or if you want to work on the train.
  • Business Class (商务座) — lie-flat seats, lounge access, and a small meal. A splurge, but on an overnight-length journey it can beat a hotel night.

The app shows a simple seat-availability chart with colored squares. Tap your preferred class, then choose a seat if you have a preference (window, aisle, or specific carriage). On busy routes like Beijing–Shanghai during holidays, grab whatever is available — I have learned to book the moment tickets release, which is 15 days ahead for most trains.

second class high speed train interior China
Interior of a second-class carriage on a Chinese high-speed train with blue seats

Step 5: Payment — Alipay, WeChat, or International Card

This is where many foreigners get stuck, so let me be precise. The 12306 app accepts:

  1. Alipay and WeChat Pay — the easiest if you have linked an international card to either app (see our guide to paying with Alipay and WeChat in China for setup).
  2. International bank cards — since 2024, 12306 has supported Visa, Mastercard, and JCB directly in the app for foreign users. You add the card under “Payment Methods” and pay in RMB; your bank handles the conversion.
  3. UnionPay — if your home card is UnionPay-branded.

The seats are held for only about 30 minutes during payment, so have your card or wallet ready before you hit “Submit Order.” I keep a screenshot of my card handy, because typing a long number into a moving train’s spotty connection once cost me a seat I wanted.

If your payment keeps failing on 12306, do not panic — link an international card to Alipay first, since that route tends to be the most reliable for foreign users. Spend a few minutes studying your departure station’s layout before travel day so you are not racing the clock at the gate.

Step 6: Collecting Your Ticket

Here is the part that surprises people: as a foreigner, you usually cannot just scan your phone and walk in. You must collect a physical ticket (a blue magstripe card) at the station, because the gate scanners read your passport number printed on the ticket, not a QR code.

Go to any 12306 self-service machine (look for the passport-reading slot, usually marked with a foreigner icon), insert your passport, and the machine prints your ticket. Alternatively, join the “Priority / Foreigner” window — many big stations have one — and a clerk prints it for you. Arrive at least 45 minutes early the first time, because queues and machine confusion are real. Keep that ticket safe: you need it to enter AND exit the platform, and to board.

collected China train ticket and passport
Blue magstripe railway ticket and passport on a station counter

The Trip.com Alternative (and When to Use It)

If the app still feels intimidating, or you want an all-English interface with customer support in your timezone, Trip.com is a legitimate alternative that books the same 12306 seats. The trade-off is a small service fee and slightly delayed inventory. I use Trip.com when I am booking at odd hours or for a group, and I use 12306 directly when I want the cheapest fare or the widest seat choice. Neither is “wrong” — they serve different moments.

For authoritative, up-to-date official information straight from the operator, the China Railway 12306 English service page is the source I check before any major trip, especially around Spring Festival when schedules shift.

A Couple of First-Hand Lessons

Let me close with two stories that cost me nothing but a little stress to learn. On my second trip, I arrived at Shanghai Hongqiao station ten minutes before departure, sure I could “just show my passport.” The gate would not open without the printed ticket, and the collection machine had a queue. I missed the train and bought a later one. Now I collect tickets the night before whenever I can.

The other lesson: seat numbers. Chinese trains number seats like “05A” — even numbers and the letter “A”/”F” are window seats, “C”/”D” are aisle. On a 2+3 second-class layout, knowing this let me quietly swap with a friendly local who wanted the aisle. Small thing, but it made a five-hour ride much nicer.

Train travel turned out to be my favorite way to see the country — cheaper than flying, central stations, and a front-row view of the landscape rolling by. Once you have booked China train tickets on 12306 a couple of times, it becomes second nature. Pair it with a solid plan like our 2-week China itinerary and you will be gliding between cities like a local.

Planning a multi-city route? Map your train hops onto a bigger plan first — our shows which cities are realistically connectable by high-speed rail so you do not waste a travel day.

Before you ride, sort out your entry paperwork — our [China tourist visa application guide](https://www.chinatravelplaces.com/china-tourist-visa-application/) explains the documents you will need, and you must carry the same passport you used to book your tickets.