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.

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.

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:
- Alipay guide for foreigners and WeChat Pay guide for foreigners
- UnionPay guide for foreigners, for card types and networks
- eSIM and SIM guide for China, for mobile data
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.

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.
Sources
- Beijing Municipal Government: Beijing Subway supports tap-and-go with 5 overseas cards (16 June 2025)english.beijing.gov.cnChecked Oct 30, 2026
- Beijing Municipal Government: Beijing Subway tap-and-go with five card networks (26 March 2026)english.beijing.gov.cnChecked Oct 30, 2026
- Beijing 12345 hotline: Subway payment methods for foreign visitors (25 September 2025)english.beijing.gov.cnChecked Oct 30, 2026
- Beijing Municipal Government: Beijing Subway now supports overseas bank cards (14 September 2024)english.beijing.gov.cnChecked Oct 30, 2026
- Shanghai Municipal Government: Getting around Shanghai (December 2024)english.shanghai.gov.cnChecked Oct 30, 2026
- Shanghai Municipal Government: How to take metro in Shanghai (December 2023)english.shanghai.gov.cnChecked Oct 30, 2026
- Guide to Payment Services in China (English edition, July 2026, via the PRC Embassy in the US)us.china-embassy.gov.cnChecked Oct 30, 2026




