China Metro: How to Actually Get Through the Gate

Stuck at the subway gate? Here is how riding the metro in China really works — walk straight through with Alipay, WeChat, a Visa card or Apple Pay, or buy a ticket at the machine, then enter, ride and exit.

The one thing that trips everyone up

Most first-time visitors to China get stuck at a single moment: standing in front of the subway gate, not sure whether to tap, scan, or buy something first. Everything else about the metro — the trains, the signs, the platforms — is easy once you are on the other side.

So this guide is not about payment theory. It is about the actual flow: how you get from the station entrance to the platform, and what to do at that gate.

There are two ways through the gate, and the fastest one needs no ticket machine at all. The picture below is the whole thing on one page — one glance and you see the entire metro process, from the station entrance to tapping out at your stop:

China Metro: four ways to ride — direct entry with an Alipay/WeChat QR code, a contactless card or phone, or buy a ticket at the machine

China metro in one picture — the full process, at a glance.

We cover direct entry first — it is what most visitors should use — then the ticket machine as the universal fallback.

Path 1 — Direct entry (no ticket buying)

This is the easiest way: you already have a credential on your phone or in your wallet, so you skip the machine and go straight to the gate. Direct entry splits into two families — a QR code (Alipay / WeChat) or a tap (Visa card, Apple Pay, transit card).

Option A — QR code (Alipay or WeChat)

The QR is generated inside an app, not bought at a machine.

Points to watch with QR:

A traveller holds a phone showing the Alipay metro QR code over the scanner window of a metro gate — the card reader sits beside it on the same barrier

Option B — Tap a card or phone (Visa, Apple Pay, transit card)

Instead of a QR, you tap a physical card or your phone at the reader.

Points to watch with tap:

A metro gate marked "TAP TO RIDE" listing the accepted schemes — UnionPay, e-CNY, Visa, Mastercard, Amex, JCB, Discover — with a green direction arrow

At the gate with direct entry

The actual moment at the gate:

You never “pay at the gate.” With direct entry the fare is handled automatically on exit.

Path 2 — Buy a ticket, then enter (the fallback)

Use this if your phone is dead, an app will not load, or a foreign card will not tap. Every station has ticket machines (自助售票机) near the entrance, and they always work.

At the ticket machine — step by step

  1. Choose the language. Machines offer a language button (中文 / English / 한국어 / 日本語 …). Tap English first.
  2. Choose your destination. Tap your destination station on the map, or pick the line then the station. The machine shows the fare before you pay.
  3. Choose the number of passengers. Use the + / − buttons to set how many single tickets you need — one ticket per person. The total updates automatically.
  4. Pay. The machine shows a payment screen. You can pay with:
    • Cash (RMB) — notes and coins; the machine gives change.
    • Scan a QR — any Chinese payment app. The machine displays a single merchant QR code, exactly like the one you scan at a shop. Scan it with Alipay, WeChat Pay, UnionPay Cloud QuickPass (云闪付) or any Chinese banking app, then confirm on your phone. It is not a metro-only code, so whichever app you already have set up will work.
    • Bank card — most machines take UnionPay (Chinese bank cards). Many do not accept foreign Visa/Mastercard, so if your foreign card is refused, use cash or scan the QR instead.
  5. Collect your ticket. The machine prints a single-journey ticket — a thin card, or a coin-like token on older lines.

A self-service ticketing machine in a Chinese metro station, showing the on-screen service menu and a "scan to buy a single ticket" QR code

At the gate with a ticket

Enter → Ride → Exit

Enter — clear security first

One thing that surprises nearly every first-timer: every Chinese metro station has a security check, and it comes before the ticket gates, right at the station entrance. It is airport-style but quick:

Only after security do you reach the ticket gates. Then follow the overhead signs to your line (线) and platform (站台).

Ride — watch the line colours

Here is the detail that saves visitors the most confusion: one station often serves several lines, and each line has its own colour. Beijing Line 1 is red, Line 2 is blue; Shanghai Line 1 is red, Line 2 is green, Line 3 is yellow. Signs are colour-coded.

An overhead metro sign in China: line numbers inside coloured boxes (Line 9 in blue, Line 11 in red) with an up arrow and an exit marker

Exit

A row of metro gates with overhead signs: green downward arrows mark the lanes open in your direction, red X marks the ones that are closed

Which way should you use?

For most visitors: set up the Alipay or WeChat metro ride code (the 出行 / 乘车码 transit code) before you arrive — or on hotel Wi-Fi on day one. This is not an ordinary payment QR: it is the transit code inside the app’s 出行 (Travel) service, generated specifically for the metro. One setup covers most major cities, there is nothing to buy at the machine, and you just hold your phone under the gate scanner. Keep Apple Pay or a Visa tap as a fast backup, and the ticket machine as the universal fallback.

City apps & QR notes

For finding the right exit, platform and walking route, Amap (高德地图) or Baidu Maps are far better than Google Maps in China — see the Maps in China guide. Need the apps first? See the China Travel Apps guide. Paying by phone? See Alipay for foreign tourists.

Practical tips

Common mistakes to avoid

The metro is one of the cheapest, fastest and most tourist-friendly ways to move around Chinese cities. Once you have walked through that gate once, the rest is just signs and trains.

Was this guide helpful?

Frequently asked questions

Can foreigners use the metro in China?
Yes. The metro is open to everyone and you do not need a Chinese ID. You can walk through with Alipay, WeChat, a contactless Visa/Mastercard, Apple Pay, or buy a single ticket at any station machine.
Can I use my Visa or other foreign card directly at the gate?
In major cities such as Beijing and Shanghai, metro gates accept foreign contactless cards (Visa, Mastercard, UnionPay International) — just tap the physical card. Not every city supports every card scheme, so look for the contactless symbol and keep a QR or ticket as backup.
Do I pay when I enter or when I leave?
With direct entry (QR, card, Apple Pay) you are charged when you exit — the system links your entry and exit and bills the trip then. With a paper ticket you pay upfront at the machine and the ticket is just collected on the way out.
Do I have to use the same app or card to enter and exit?
Yes. If you enter with Alipay QR, exit with Alipay QR; if you tap a Visa card in, tap the same Visa card out. Mixing methods leaves the gate open and can overcharge or block you next time.
Which QR code do I scan at the metro gate?
The metro QR comes from Alipay or WeChat's '出行' (Travel) service, or the city's own metro app. Open it, pick the city, and a QR appears — hold that same QR to the scanner on the way in and on the way out.
Is Apple Pay accepted on the metro?
Often, yes. Add a China transit card (e.g. 京津冀互联互通卡, 上海交通卡) or a credit card to Apple Wallet and enable Express Transit, then tap your phone or Apple Watch at the gate. Use the same device to enter and exit.

Last updated: 2026-10