Skip to main content
Visa-free transit 240h ✓CNY 7.15 ≈ $1HSR network 45,000 km
Visa CheckerContact
  1. Home
  2. Guides
  3. Paying for the Metro with a Foreign Card
China travel guide illustration

Paying for the Metro with a Foreign Card

Foreign cards and the Chinese metro in 2026: which gates take Visa/Mastercard contactless, the Alipay/WeChat transit-code route, single tickets, and city notes.

Quick Answer

Foreign cards and the Chinese metro in 2026: which gates take Visa/Mastercard contactless, the Alipay/WeChat transit-code route, single tickets, and city notes.

L-visa application in 5 stepsallow about 4–7 working days

Everything you need to know

Routes that need a visa

All routes →

The full guide

Quick answer

The reliable route for foreign-card holders on China's metros: link your Visa/Mastercard to Alipay (or WeChat) before the trip, open that app's transit QR code, and scan through — it works at gates in Beijing, Shanghai, Guangzhou, Shenzhen, and most big cities. Direct contactless bank-card gates exist at major Beijing stations and are expanding in Shanghai and elsewhere, but coverage is partial city by city. Cash still buys single-journey tickets at machines and booths everywhere. Last verified October 11, 2026.

Why this matters in 2026

China's metro faregates were built for QR codes and transit cards, and the direct-foreign-card rollout is recent and uneven: Beijing led with contactless Visa/Mastercard gates on its network, Shanghai's official app added foreign-card payment, and other cities are piloting — but no traveler should bet a morning commute on which gate accepts plastic. Meanwhile the QR route has quietly become universal: once your foreign card funds Alipay or WeChat, the same scan-in-scan-out flow works in essentially every Chinese city with a metro. This page gives you both routes plus the fallbacks, so the faregate never becomes the story.

Key facts at a glance

  • Universal route: Alipay or WeChat transit QR code, funded by a linked foreign card — works across Beijing, Shanghai, Guangzhou, Shenzhen, Chengdu, Hangzhou, Xi'an, and most metros
  • Direct contactless: Visa/Mastercard tap-to-ride gates run on Beijing's metro (all lines), with pilots at Shanghai and other cities' stations
  • Single-journey tickets: machines and staffed booths take small cash (CNY 1/5/10 notes); some machines also take QR payments
  • Fares: CNY 3–9 covers most single trips; distance-based up to CNY 15 on the longest runs
  • Setup time: 10–15 minutes to link a foreign card to Alipay/WeChat — do it before flying

Step-by-step walkthrough

Step 1: Link your card before departure

In Alipay: register with your international number, add your Visa/Mastercard under Cards (a small verification charge may apply), done. WeChat Pay runs the same flow. Once linked, every QR payment in China — metro included — draws from your card.

Step 2: Find the transit code in the app

Alipay: the 出行 (Transit/Ride) tab → pick your city → agreement pop-up → done; the QR code lives on the home screen afterward. WeChat: mini-program 乘车码 for the city. The code refreshes itself; you do not need signal in the paid area once it is on screen (cache lasts through a ride).

Step 3: Scan in, ride, scan out

Hold the QR at the gate's scanner window (top of the gate or side panel), wait for the green arrow, walk through. At exit, scan again — the fare deducts automatically. Keep the code screen open; re-opening it from the app home is one tap.

Step 4: Know your direct-card fallbacks

Beijing: look for gates marked with card logos (bank card symbols) — tap your contactless Visa/Mastercard at the reader. Shanghai: the Metro 大都会 app supports foreign-card payment channels. Other cities: assume QR or tickets unless you see the card logo on the gate.

Step 5: Use cash for single tickets

Every station sells single-journey tokens or cards: touch machines take CNY 1 coins and 5/10 notes; staffed booths take cash. Fares CNY 3–9 for most city trips. Buy a return at the same time if your evening return station has thin staffing.

Step 6: Handle the classic failures

QR declined (expired code): reopen the transit tab — it refreshes in 2 seconds. Gate shows red: step back, let the person behind pass, rescan. Card tapped but gate red: use the staffed window; the attendant releases the gate and directs you to pay at the service counter. None of these is rare, none is a problem.

Common scenarios and use cases

1. Day one in Shanghai from Pudong

You land with no SIM: airport Wi-Fi + pre-linked Alipay. Buy nothing — open the Alipay transit code at Line 2's gates and ride to town for CNY 7–8. The QR works on airport Wi-Fi since the code is already cached.

2. Beijing with a contactless card

If your Visa has payWave, skip apps entirely on the metro: find card-logo gates, tap in and out, fare auto-deducts in your home currency. Buses accept it too on many routes.

3. A city without foreign-card gates

Chengdu, Xi'an, Hangzhou: the Alipay/WeChat transit code is the way — identical flow, CNY 2–9 fares. Only if your phone is dead does cash-at-the-booth matter.

4. Group travel with mixed readiness

The QR-equipped rider leads through the wide gate last, holding it for the group; cash riders use machines (queue 2–5 minutes). Station staff routinely wave tourists to the manual gate — accept the help.

Costs and pricing breakdown

  • Typical single ride: CNY 3–9
  • Longest metro runs: up to CNY 15
  • Alipay/WeChat foreign-card fee: usually none for transit amounts
  • Single-ticket cash buffer: keep CNY 20–30 in 1/5/10 notes
  • Airport express fares: Beijing Capital express CNY 25; Shanghai Pudong metro CNY 7–8 (Maglev separate, CNY 50)
  • Day of metro riding: CNY 10–30 for a normal tourist itinerary

Pitfalls to avoid

  1. Landing without the app set up: airport free Wi-Fi is fine for registration but flaky for card verification — link cards at home.
  2. Tapping a non-contactless card repeatedly: if the gate stays red twice, your card lacks payWave — switch to QR; do not keep tapping.
  3. Assuming one city's trick travels: each metro is its own system. The only route that works everywhere is the QR via Alipay/WeChat.
  4. Letting your phone die mid-trip: a power bank (CNY 50–100 to buy) is transit infrastructure in China — carry one.
  5. Queueing at machines during the 18:00 rush: staffed booths or QR bypass the 10-minute single-ticket line entirely.

Alternatives and trade-offs

  • Physical transit cards: Beijing's Yikatong / Shanghai's PSU card at service centers (small deposit) — works when phones fail; cash to buy.
  • Tourist day passes: Shanghai's CNY 18/45 passes; Beijing sells similar — good only at 4+ rides per day.
  • Taxis and ride-hail: all accept Alipay/WeChat with foreign cards; CNY 20–40 covers what a 3-stop metro ride does for CNY 4.
  • Rail-day passes and city cards: some cities bundle attraction+transit cards; check the math — they rarely beat QR for pure transit.

Local context and customs

The faregate is China's most literal interface: it does not negotiate, and the green arrow is the whole conversation. Locals tap through at walking speed without looking — if your first scan draws a pause, the queue behind you will not glare, but you will feel 30 pairs of eyes; this fades by day two. Staff at the booth solve everything from dead codes to lost tickets, and "地铁卡怎么买" with a pointed finger works in every city. Beijing's contactless rollout exists because the capital hosts more international traffic; Shanghai follows its own app-first logic. And note the asymmetry with the street: buses and taxis are friendlier to cash than metro gates ever will be.

Verifying current information

Gate hardware and app payment channels change every few months — faster than guidebooks. Last verified October 11, 2026. Reconfirm through:

  • The city metro's official site/WeChat: search "[城市]地铁 官网" — fare and payment notices
  • Alipay/WeChat transit tabs: current city coverage lists inside the app
  • Station service centers: they know this week's gate behavior
  • Recent traveler reports: Xiaohongshu/Reddit threads dated within a month beat all static lists

Putting it all together

Do one thing before you fly: link your Visa/Mastercard to Alipay and learn where the transit QR lives. On the ground, that single setup rides every metro, bus, and taxi in China. Keep CNY 30 in small notes for ticket machines, a power bank in your pocket, and knowledge that Beijing's card-logo gates accept a direct tap. Foreign-card metro riding in China is not a compatibility puzzle anymore — it is a 10-minute setup and a green arrow.

FAQ

Can I tap my foreign credit card directly at metro gates?

In Beijing, yes — contactless Visa/Mastercard gates run across the network. Other cities are piloting; check for the card logo on the gate or use QR.

Does linking a foreign card to Alipay cost anything?

For transit-sized amounts, no meaningful fee. Larger transfers can carry charges; metro fares do not.

What if my QR code will not refresh underground?

The code caches for the current ride. If it truly dies, the station staff can release the gate and settle at the service counter — a routine five-minute fix.

Are single-ticket machines in English?

Major stations yes (language button top-right); neighborhood stations vary. The staffed booth is always the fallback, and fares are shown on the map anyway.

Do buses also take the Alipay transit code?

Yes — same code in most cities, sometimes a separate bus code in the same tab. Cash boxes take exact change (no cards).

Which is cheapest: QR, card, or ticket?

Identical fares. The difference is only queue time; QR has none, which is why locals use it exclusively.

Can I use someone else's Alipay transit code?

Codes refresh with use — technically possible, practically awkward, and against the rules. Set up your own; it takes ten minutes.

What about the Maglev and airport expresses?

Maglev is a separate fare (CNY 50) — QR or ticket. Airport express trains price like normal metro in most cities (Beijing's dedicated express line aside, CNY 25).

FAQ