Skip to content
Transport

China Metro for Foreigners 2026: Tap Your Card or Scan Alipay

Yes. In 2026 foreigners can tap an overseas contactless card at Beijing and Shanghai metro gates, or scan an Alipay or WeChat code in Shanghai. Set up Alipay before you fly and keep a card as backup.

Reviewed by Frank, FounderChecked against 7 official sources6 min read
Metro sign for transfer to Line 4
Short answer

The answer in 3 points

  1. Foreigners can ride the Shanghai metro by scanning a metro QR code inside Alipay or WeChat Pay, or by tapping an overseas contactless card (Visa, Mastercard, American Express, JCB or UnionPay) at the fare gate.
  2. Beijing takes the same cards at the gate and says QR code payments are supported on its rail network.
  3. Set up Alipay before you fly, and carry one contactless card as a backup.
How do foreigners pay for the metro in China in 2026?Can you tap a foreign Visa or Mastercard at the metro gate?Sources

This page covers Beijing and Shanghai. Other Chinese cities have their own rules, so check each one before you go.

How do foreigners pay for the metro in China in 2026?

You have four ways in. Most visitors usually need only the first two.

Method Beijing Shanghai
Tap a contactless foreign card at the gate All 29 lines take China UnionPay, Mastercard, Visa, JCB and American Express "Tap to Ride" takes eligible UnionPay, Visa, Mastercard, American Express and JCB cards, and eligible e-CNY hard wallets
Scan a QR code in an app QR code payments are supported on the rail network Shanghai Metro online service inside Alipay or WeChat, or the Shanghai Metro Daduhui app
Buy a single-journey ticket at a machine Machines take foreign chip, magnetic-stripe and phone NFC cards with international logos Machines sell single tickets priced by distance
Use a city transport card BEIJING PASS, a prepaid card for buses, rail lines and taxis Shanghai Public Transportation Card, which can also be loaded onto a phone or watch

Prepare two ways to pay before you leave home: a contactless international credit or debit card, and a verified mobile wallet. If one fails at a gate, you use the other. If you travel as a family or group, each person needs their own card or phone code.

The BEIJING PASS mainly suits longer stays, since a contactless card already works at every Beijing metro gate.

Bright modern platform of Beijing Metro, equipped with platform screen doors and route signs

Can you tap a foreign Visa or Mastercard at the metro gate?

Yes, in both cities. Hold your physical card or phone close to the sensor on the gate.

Beijing. Overseas Mastercard and Visa cards have worked at the gates since 13 September 2024, and JCB and American Express were added on 15 June 2025. The service covers all 29 operating lines (including the two airport express lines, the Xijiao Line and the Yizhuang T1 Line) and 523 stations, plus Suburban Railway Line S2. You do not need to buy a ticket or download an app first. The same five card networks work for buying tickets and topping up at stations.

Shanghai. Eligible contactless UnionPay, Visa, Mastercard, American Express and JCB cards can be tapped at the gates under "Tap to Ride", and so can eligible e-CNY hard wallets.

Three habits save trouble:

  • Tap in and tap out with the same physical card or phone wallet.
  • Tell your bank before you leave that you will travel in China, so it does not block transport payments as unusual activity.
  • At a busy airport station after a long flight, tap your card rather than queue at a ticket machine.

Turnstile contactless payment zone supporting multiple payment schemes

How do you ride the metro with Alipay or WeChat Pay?

Shanghai. Open the Shanghai Metro online service inside Alipay or WeChat Pay and scan the QR code at the gate, including when you change lines. The Shanghai Metro Daduhui app works too, and Mastercard holders can link their card to it. Before you reach the gate, check that Shanghai is the city selected in your app's transit tab. A wrong city is a common reason for a code to fail.

Beijing. QR code payments are supported across the rail network, but the city's pages do not say which app's code to use. Check in Alipay or WeChat before you go.

You can add Visa, Mastercard, JCB, Diners Club, Discover and China UnionPay cards to Alipay, and the same cards plus American Express to WeChat Pay. Scan the QR code that carries the logo of the app you are using.

Do the setup at home, not in a busy station concourse: register, verify your identity and link your bank card. Arrange mobile data before you fly so your phone works when you land. These guides walk you through it:

One app for all Shanghai transit. The Suishenxing app (also called Shanghai MaaS) gives you one transit code for buses, ferries and subway lines. It supports Alipay, WeChat Pay and UnionPay QuickPass, and you can link Visa, Mastercard, Discover, Diners Club and JCB cards.

Alipay travel page with subway QR code for transit payment

What does the Shanghai metro cost?

Fares depend on distance on a network of more than 900 km of track and 21 lines. Shanghai government pages from 2023 and 2024 give these figures. Downtown ticket fares start at ¥3 for trips up to 6 km. Downtown ticket fares then rise by ¥1 for every further 10 km. Suburban lines are priced separately. Airport Link Line ticket fares start at ¥4. A one-day metro pass costs ¥18 and a three-day metro pass costs ¥45. Neither pass covers the maglev, which has its own combined pass. Check the current fare at the station.

What should you do if your card or QR code fails at the gate?

Step aside and go to a self-service ticket machine or a staffed ticket window. In both cities you can buy a single-journey ticket there with a foreign bank card.

Shanghai. Machines sell single-journey tickets for one trip between two stations, priced by distance. Card machines at all metro stations take Visa, Mastercard, China UnionPay and Discover.

Beijing. Self-service machines take chip cards, magnetic-stripe cards and phone NFC cards with international logos such as Mastercard and Visa. Ticket windows at subway and high-speed rail stations handle foreign bank cards, and more than 1,000 card machines are installed across these stations.

Keep a second card on another network and a little cash in case your bank blocks a payment. If you still cannot get through, ask staff at the service desk. If one person's card keeps failing, buy single-journey tickets for the whole group so you stay together.

Plan your trip with LocalKey

For the rest of your city transport, our DiDi guide covers ride-hailing, our 12306 train ticket guide explains intercity trains, and the China planning hub collects our payment and transit advice.

If you would rather have the trip planned and booked for you, LocalKey arranges private China tours in two ways:

  • Independent: you travel on your own with the LocalKey app and 24/7 backup, with no full-time guide on any day. A local guide, airport pickup or a private car and driver can be added on request.
  • Private Guided: an English-speaking private guide and a private car throughout.

For a metro-ready itinerary in Beijing or Shanghai, speak with a 1:1 specialist on WeChat or WhatsApp, 7×24.

How LocalKey helps

A private China trip, planned one-to-one around you.

We sort hotels, trains, transfers and timing around your arrival, and brief you on what to carry before you fly.

Independent

We book hotels, trains and tickets, and you travel on your own with the LocalKey app and 24/7 backup. A guide or a private car are optional add-ons.

How Independent works

Private Guided

Your own guide and private car every day, so sights, meals and transfers are handled with you.

How Private Guided works
FrankYour consultant for TransportSpeaks Mandarin, English, and Japanese

Send your dates and what you want to see. Frank and the LocalKey team reply within 24 hours.

Plan with Frank
  • Licensed China travel agency since 2009 · L-GD-CJ00271
  • Private trips only, no group departures
  • WhatsApp and WeChat support 24/7

Was this article helpful?

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.

Private trip request

Share the constraints that matter. Short is fine; specific is better.

Trip type interest (optional)