Skip to content
← China Guide
Transport

China Metro for Foreigners 2026: Alipay Ride Code, Not a Paper Ticket

Ride the metro in China as a foreigner in 2026. Activate the Alipay ride code before you fly, scan in and out, and keep a single-journey ticket as backup.

Frank Zhang5 min read
Reviewed: August 17, 2026 by LocalKey China travel desk. We update route, policy, payment, and transport guidance when official or practical details change.

Share

Link copied

The short version

Ride the metro in China as a foreigner in 2026. Activate the Alipay ride code before you fly, scan in and out, and keep a single-journey ticket as backup.

Ride the metro in China as a foreigner in 2026. Activate the Alipay ride code before you fly, scan in and out, and keep a single-journey ticket as backup. Then enquire for a custom independent trip.

The short version

TL;DR: Finish Alipay first (Visa or Mastercard, passport check). Open the Transport / 乘车码 tab, pick the city you are in, and scan the QR at the gate in and out. WeChat Pay is the backup after its 1 to 3 day real-name review. A paper single-journey ticket still works. Do not plan a whole Shanghai trip on tapping a foreign contactless card at the gate.

You need data for the QR. Get the eSIM working before the first station. Metro is not 12306: no passport at the gate, no real-name seat.

If you want the first city hops written into a roadbook, or a private car for the airport and late nights, send a travel enquiry.

I am Frank Zhang. I founded LocalKey Travel and I live in Suzhou. I take the metro more days than I take DiDi. For a visitor the friction is the first gate, not the map. English names are on the walls. The QR is what fails if you set it up on airport Wi-Fi.

Why should I use the metro instead of DiDi for every hop?

Because the metro is the grid. Shanghai, Beijing, Shenzhen, Guangzhou, Chengdu, Hangzhou, and Suzhou all run late enough for a normal dinner. A DiDi is the last mile and the suitcase run. Using a car for every three-stop hop is how a first day disappears in traffic.

Security is the tax. Bags go through an X-ray at every station. Budget two extra minutes, more at rush hour. Large suitcases fit if they fit the belt. Knives and big lighters do not.

What is the easiest way for a foreigner to pay in 2026?

The Alipay ride code. Shanghai government already tells visitors they can link a foreign Visa or Mastercard to Alipay without a Chinese number (Shanghai Government Alipay FAQ). The metro ride code sits on top of that wallet.

  1. Set up Alipay at home. Card visible. Passport cleared. A shop-QR test done.
  2. Open Alipay. Find Transport, Travel, or 乘车码. The label moves. Search 乘车码 if the icon hid.
  3. Select the city you are standing in. Beijing and Shanghai are different codes. Do not ride Shanghai on a leftover Beijing code.
  4. Brightness up. Scan in. Scan out. The fare posts after the exit scan.

WeChat has 乘车码 too. It sometimes asks for a +86 number. If it does, stay on Alipay. Do not fight WeChat at the gate.

A physical city card (Shanghai transport card, Beijing Yikatong) is the no-phone backup. Deposit plus cash top-up at a counter. Useful if the phone dies. Not the first setup I would do on landing.

How do I scan the ride code at the gate?

Open the code before you join the line. A lock-screen or a dead brightness setting is how people bounce off the reader.

Hold the QR on the glass for a second. In, then the same at exit. Distance fares need both scans. If you only scan in, you will get a penalty fare or a stuck code the next day.

Phone in a thick case, or a cracked screen protector, sometimes will not read. Take the case off once. If the gate stays red, step aside and try the next reader. Do not hold up the queue refreshing Alipay in the doorway.

Bags go through X-ray first, then the gate. Do the security line before you fumble for the QR.

Does a foreign contactless card tap work?

Treat it as a bonus in Beijing, not a plan in Shanghai.

Beijing's subway has been reported since 2024–2025 as accepting overseas contactless Visa, Mastercard, UnionPay, JCB, and Amex on the full network, tap in and tap out, no app. I have not got an official English page I trust enough to make that your only method. Carry Alipay anyway.

Shanghai: do not expect a foreign contactless tap on every line. Maglev and a subset of lines have been reported. The ride code is still the everyday method. Ticket machines have an English mode if the QR dies.

Other cities: assume QR or a single-journey ticket. Confirm nothing from a Beijing tap story.

What about buses, Suzhou, and a second city?

The same Alipay ride code usually covers city buses. Scan as you board. Switch the city in the app when you change cities. Suzhou is not Shanghai. The code you activated at PVG will not be the one you want at Suzhou Railway Station.

If you ride two cities in one day, open the Transport tab and check the city name before the first gate. That one glance saves a declined QR and a walk back to the machine.

What usually goes wrong?

  1. Alipay is not actually ready. Card missing, or passport still in review. The ride code looks like a QR and then the gate says no.
  2. Wrong city code. Yesterday's Beijing code in Shanghai.
  3. No data. Screenshot of an old QR will not pay. Get the eSIM live first.
  4. WeChat Pay still under review. That 1 to 3 day clock does not care that you are at People's Square.
  5. Phone brightness or a dirty reader. Next gate, not a longer stare.

If the QR fails, buy a single-journey ticket at the machine (English button) or the counter. Cash or a tap on some machines. Then fix Alipay on a bench, not in the doorway.

Ready to travel, not just ride

Metro covers the grid. DiDi covers the last mile. 12306 covers the city-to-city trains. A 240-hour visa-free entry does not change any of those three.

Send a travel enquiry for a custom independent trip: self-guided with a roadbook, or private car and optional guide. We can put the first metro day and the airport transfer on the same list.

Share

Link copied
0Shares0Copies0Forwards

Expert review

LK

LocalKey China travel desk

Visa, payment, rail, and first-arrival review

Our team checks official policy pages, route logic, payment setup, rail timing, and first-timer friction before a guide is published.

Official-source checkedFirst-timer practicalMeet LocalKey

Last reviewed August 17, 2026

Was this article helpful?

Rate this article

Discussion

LocalKey editor

Discussion is coming soon. For now, send route-specific questions through contact and we will reply within 24h.

Sign in to join later

From here

Want a route check before you book flights?

Send the messy version: dates, passport, entry city, and what you want from China. A real consultant will reply within 24h.

Want this turned into a private China route?

Plan your trip

START A CONVERSATION

Where would you like to begin in China?

Tell us how much time you have, who you are travelling with, and what first caught your curiosity.