The ride code, not the ticket machine: how to move through a Chinese metro
The line snaking back from the metro ticket machine is, almost always, the wrong line to stand in. Most of the people in it are visitors doing what the signage seems to ask. The locals walked past them, phone already open, and were through the gate before the machine finished printing a token. Watch the flow at a station like People's Square (人民广场, Rénmín Guǎngchǎng) in Shanghai at eight in the morning and the pattern is unmistakable: the machines serve the confused, the phones serve everyone else.
The ride code lives inside the app you opened for lunch
If you set up Alipay (支付宝, Zhīfùbǎo) or WeChat Pay (微信支付, Wēixìn Zhīfù) to buy a bowl of noodles, you are already carrying a metro ticket. Both apps hold a transit function — in Alipay tap the 出行 (chūxíng, travel) tile on the home grid; in WeChat, open the mini-program search and type 乘车码 (chéngchē mǎ, ride code). Tap it and a rotating QR fills the screen. That code is your fare, and you never touch the plastic card or the paper-thin blue token the counter wants to sell you.
Setup runs entirely on the foreign card or Alipay Tour Pass most travellers already load on arrival — no Chinese bank account, no mainland phone number beyond the one you registered the app with. The first time you use the code it may show a small preauthorised hold, often a token amount like ¥5, then it deducts the real fare per trip. If nothing debits after a ride, check that you actually scanned out; distance-based systems leave the trip open until you do.
Every city runs its own code, so re-register on arrival
China has no single nationwide metro card inside the app. Each city registers separately the first time you open the ride code there — Shanghai, Beijing, Chengdu (成都), Guangzhou (广州) each want their own one-tap activation, and it takes a few seconds and one confirmation. The code that carried you this morning in Shanghai shows a setup screen when you land in Chengdu at night. The fare structures differ too, and all of them are distance-based rather than flat. Shanghai and Beijing both start around ¥3 for the first stretch and climb by a couple of yuan every several kilometres; Chengdu and Guangzhou open nearer ¥2. A cross-city hop from central Beijing to the airport line is the exception — the Capital Airport Express (机场线, jīchǎng xiàn) is a fixed ¥25 and worth knowing before you scan in.
Hours are consistent enough to plan around but not to gamble on. Most lines open near 05:30 and the last trains leave terminal stations around 22:30 to 23:00, with a handful of downtown lines in Shanghai and Guangzhou running past midnight on Friday and Saturday. The dot-matrix board on the platform counts down to the next train in minutes and seconds; at rush hour on Shanghai Line 2 or Beijing Line 10 that number rarely climbs above three.
The gate reads light, so hold the phone flat
At the turnstile the scanner sits in a small angled window near the top of the gate, glowing faint red. Hold the screen flat against it rather than waving the phone past; the reader wants the whole square still for a beat, and the gate answers with a green arrow and a soft chirp. Brightness matters more than people expect — a dimmed screen or an aggressive battery-saver setting is the usual reason a code refuses to read, so turn brightness up before you reach the barrier.
On the way out you scan again. Because fares run on distance, not a flat rate, the same code has to close the trip it opened, and a phone that died between stations turns a ¥4 ride into a conversation at the service window (客服中心, kèfú zhōngxīn) by the exit gates. Keep a little charge in reserve, or carry the power bank that every convenience store near a station sells for around ¥30.
Before the gate, there is always the belt
Every metro entrance runs a security check, 安检 (ānjiǎn), and it is not optional. Bags ride an X-ray belt, and if you carry a water bottle a guard may ask you to take a sip in front of them — a quick test, not a search. It moves fast once you stop treating it as an ordeal and start treating it as a doorway: bag off your shoulder before the belt, phone and keys stay in your pocket, and you rejoin the flow in seconds. The one thing that stops the line is a lighter or a sealed litre of liquid, both of which the belt will flag.
The order is fixed and reversing it costs you time. Belt first, then the ride code at the gate — walk up to the turnstile with your QR already open and a queue of thirty people behind you does not notice you at all.
进站先过安检,再刷乘车码——顺序反了,就得重新排队。
Getting it right the first time
Install Alipay or WeChat and load a foreign Visa or Mastercard before you fly; both now accept them directly, and Alipay's Tour Pass is a ring-fenced wallet if you would rather not expose the card itself. On landing, open the ride code once in the city you are actually in and let it register — do this on airport wifi, not at the gate with a queue building behind you. Keep your screen bright, keep some battery, and remember the code has to scan in and scan out. The single mistake worth avoiding is the obvious one: do not join the token line. It is almost always visitors, it is almost always slower, and the fare it sells you is the same one already sitting in the app you used for lunch.
Drafted with AI assistance · published daily · reviewed by the Welcl Buddy editorial collective on a rolling basis. Corrections welcome at designloversko@gmail.com.