Foreigners can ride metro and city buses in mainland China by buying a single-trip card at a station, getting a stored-value transit card with a passport, or scanning a QR ride code from Alipay; in Beijing, an overseas-issued Mastercard or Visa taps straight through the gates on all 27 urban rail lines and the S2 suburban line. China has metro in 55 cities.
Official channels. MOFCOM 2025 Guide — the source for the national metro and bus payment rules, the 55-city figure and the Beijing card tap-through; Beijing Subway — the passenger hotline 96165 and the Beijing network. Last checked (2026-11).
What it covers
This guide explains how a foreign visitor or short-stay resident pays for metro and city bus rides in mainland China. It covers the three main payment methods — single-trip cards, stored-value transit cards and QR ride codes — plus the special Beijing option where an overseas bank card works straight at the gate. The facts come from the 2025 Guide for Foreign Business People Working and Living in China, issued by MOFCOM and other ministries, and from the Beijing Subway official English site.
What you need
To use the metro you need one of three things: a single-trip card for one ride, a stored-value transit card for regular riding, or a QR ride code in a mobile payment app. For a stored-value transit card, take your passport to the ticket window; a single-trip card needs no ID. For the QR code, you need a Chinese mobile payment app such as Alipay with your identity confirmed in the app. Payment for a card is accepted by domestic and foreign bank cards, RMB cash and mobile payment apps, subject to the acceptance sign at the counter.
Which cities have metro
China has metro in 55 cities, from Beijing [Ministry of Commerce — Guide to Working and Living in China for Foreign Business People (2025 Edition) 》)], Shanghai, Guangzhou and Shenzhen to many provincial capitals and regional centres. If you are in a city with a metro, you will usually find ticket machines and staffed windows at every station. Buses run in far more places, and payment rules differ a little by city. This guide follows the national rules set out in the 2025 MOFCOM guide.
How to buy a single-trip ticket
The simplest way to ride is a single-trip card bought at the station. You can get one at a ticket window or a self-service ticket machine. Payment for the card is accepted by domestic or foreign bank cards, RMB cash or mobile payment apps, subject to the acceptance sign at the counter. The card is for one ride only: feed it into the entry gate, keep it, and feed it into the exit gate machine on the way out, where it is retained.
On a bus, pay with RMB cash and have change ready, because drivers usually do not give change. Some buses also take QR codes, but cash is the most direct method.
Step-by-step: your first metro ride
Once you have a card or a QR code, the ride is the same everywhere. At the entry gate, insert a single-trip card, tap a stored-value card or scan your Alipay QR code; the gate opens and you go through. Ride to your stop. At the exit gate, do the same again — insert, tap or scan — and the gate opens. If you bought a single-trip card, it is used up on the way out. On a bus the reader is at the front door: scan or tap to board, and scan or tap again to alight on systems that charge by distance. The steps themselves are simple; the only real preparation is deciding which payment method suits how often you will ride.
Getting a stored-value transit card
If you ride often, buy a stored-value transit card (a "一卡通" / transit smart card). You get one at a metro station ticket window by showing your passport. It holds a balance that you recharge, and you tap it at the gate to enter and exit. You can pay for the card with domestic and foreign bank cards, RMB cash and mobile payment apps, depending on the acceptance sign at the counter.
For buses, get a separate bus card at a bus company outlet with your passport. You tap it to board and, on some systems, again to alight. The stored-value metro card works on the metro and, in many cities, on buses too; check the acceptance sign or ask at the window.
Paying by QR ride code
Some mobile payment apps and metro operator apps support a QR "ride code" (乘车码). With Alipay, open the app, tap 出行 (Travel), select the city and complete identity verification. You then get a metro QR code to scan at the gate to enter and exit. The fare comes out of your Alipay balance. The method works where the app and the local metro support ride codes, and you set it up once per city.
On a bus you can scan the same kind of Alipay QR code to board and alight, after the same identity check. It is handy if you would rather not carry cash or a separate card.
Beijing: tap your foreign card
Beijing is the first mainland city to let overseas bank cards tap straight through the metro gates. With an overseas-issued Mastercard or Visa, you tap your card at the gate to enter and exit on all 27 Beijing urban rail lines and the suburban railway S2 line [Ministry of Commerce — Guide to Working and Living in China for Foreign Business People (2025 Edition) 》)]. There is no ticket to buy and no app to download; the fare is charged to your card. This is a direct tap-through, not a phone-based payment.
This option covers metro and the S2 line only. For Beijing buses you still need cash, a bus card or an Alipay QR code.
City buses
On city buses a foreigner has three options. Pay RMB cash and have change ready, because drivers usually do not give change. Get a bus card at a bus company outlet with your passport — it is stored-value and works like the metro card. Or scan an Alipay QR code to board and alight, after the identity check in the app. Fares are set by each city: Beijing metro runs CNY 3-9 and city buses start at CNY 2; Shanghai metro starts at CNY 3. The payment methods are the same family everywhere.
What-if edge cases
If you lose a stored-value card, refund rules vary by city and you may not get the balance back — keep it safe. If your overseas card fails at a Beijing gate, check that it is enabled for international contactless use, since some banks require activation; otherwise use a single-trip card or a QR ride code. If you use a QR code, finish the identity check before you reach the gate. For help on the Beijing network, call the passenger hotline 96165, which is listed on the Beijing Subway official English site.
Comparison table: three ways to pay on the metro
| Method | How to get it | What you need | Where it works |
|---|---|---|---|
| Single-trip card | Buy at a station ticket window or self-service machine | Cash, bank card or mobile payment, per the acceptance sign | One ride on the metro in any of the 55 cities |
| Stored-value transit card | Buy at a metro station ticket window with a passport | Passport and payment by cash, bank card or mobile app | Metro, and often buses, in the city where issued |
| QR ride code (Alipay) | Open Alipay, tap 出行, select the city, confirm your identity | Alipay account with your identity confirmed | Metro and buses in cities that support Alipay ride codes |
Official channels
For the national rules, see the MOFCOM 2025 Guide for Foreign Business People Working and Living in China, which sets out the 55-city figure, the passport rule for stored-value cards and the Beijing card tap-through. For Beijing specifics, see the Beijing Subway official English site, which lists the passenger hotline 96165.
For more on urban transport, see the life hub and the article on shared bikes. For setting up Alipay and mobile payments, see China internet for tourists: what works.