Access Shanghai上海 · Shanghai

How to Pay for the Shanghai Metro — Three Ways, One Trap

Three things get you through a Shanghai Metro gate: a rechargeable Transportation Card, a QR code inside Alipay or WeChat Pay, or a contactless bank card or phone. All three work at every gate on the network. The trap is not choosing one of them. It’s mixing them between entry and exit.

The three ways to pay

A physical Transportation Card is bought and topped up at station machines, refundable on a deposit when you leave the city. It needs no phone, no signal and no battery, which makes it the most reliable option for a short trip.

A QR code inside Alipay or WeChat Pay is scanned at the gate rather than tapped. Both apps now accept foreign bank cards, which our guide to setting up Alipay or WeChat Pay with a foreign card covers in detail. Verification can take a day and sometimes fails on the first attempt, so this is not a same-day fix.

A contactless bank card, or a phone carrying Apple Pay or Google Pay, taps directly on the same reader as the Transportation Card. It needs no Chinese account and no top-up. Your own bank sets any overseas transaction fee, so check that before relying on it for daily use.

How the fare is actually worked out

Shanghai Metro fares are distance-based, not flat. The gate you tap on records where your trip starts. The gate you tap off calculates the distance traveled and charges accordingly. Short hops cost less than trips that cross several lines. The exact bands and the current fares are published by the operator, Shanghai Shentong Metro Group, and they are the only source worth trusting on the day you travel.

This is also why tapping out matters as much as tapping in. Skip it, and the gate has no distance to calculate. It falls back to charging the maximum possible fare for that trip, on the assumption you rode as far as the network allows.

Discover the beauty of Venice's Grand Canal lined with historic buildings and boats under clear skies

The trap: entry and exit must match

Every gate ties an open trip to one specific payment token — one Transportation Card, one QR session inside one app, or one tokenised bank card. The exit gate checks for that same token. If it doesn’t find it, the trip isn’t closed. It’s stuck.

This produces three common failures for visitors carrying more than one payment method:

  • Entering with an Alipay QR code and trying to exit with WeChat Pay. The gate rejects the second code because it has no open trip attached to it.
  • Entering with a contactless bank card and exiting with a phone on Apple Pay linked to a different card. Same rejection, same reason.
  • Entering with a physical Transportation Card, then losing phone battery or the card itself before exit. There is nothing left to tap, and the trip has no way to close.

In each case, the fix is the same principle: reopen the exact session you entered with. If that was an app, the same app and the same linked card usually clears the gate. If the phone is dead, or the card is gone, the automatic gate cannot resolve it. You need a staff member.

Every manned station has a service counter or a booth near the gates. Staff can look up an open trip by its entry timestamp and station, close it manually, and — where a maximum fare was already deducted at exit — refund the difference once the correct distance is confirmed. Keep the approximate time you entered; it is the detail staff ask for first.

The working rule for a visitor is simple: pick one payment method before you enter the station, and use only that one to leave it. Don’t switch apps mid-trip, and don’t hand your phone to someone else to tap out on your behalf.

Venetian architecture with a canal and boat in Venice, Italy

What else can trigger the maximum fare

Chinese metro systems generally impose a timeout on how long a trip can stay open, on the logic that a passenger who has been “inside” the paid zone for many hours has probably left through an unpaid route or bypassed a gate. Staying in the system past that window can trigger the same maximum-fare fallback as a mismatched tap-out, even with the correct card. The exact time limit is set and published by the operator, not by us, so confirm it on Shanghai Metro’s own site rather than assuming a figure here.

For residents: what changes over a year

Frequent riders generally settle on one method and stick with it, precisely to avoid the mismatch trap. A Transportation Card can be topped up at station machines, at some convenience stores, and inside Alipay or WeChat mini-programs, with the deposit refundable at designated points the operator lists. A contactless bank card sidesteps top-ups entirely, since it is billed like any other card purchase, subject to your bank’s own foreign transaction terms. Either way, the same rule applies on ride two thousand as on ride one: tap out with what you tapped in with.

A Venice vaporetto cruising with passengers on a sunny day, showcasing travel delight

Before you rely on any of this

Alipay and WeChat both depend on a working phone and a data connection, and neither works the way you expect if your two-factor login for banking or email routes through a blocked service — our audit of what does not work in China covers the setup to check before you fly. The network itself keeps earlier hours than visitors from Tokyo or Seoul expect; see how much earlier the Shanghai Metro actually shuts before planning a late return. Both pieces sit in our Getting Around archive, alongside the wider Money & Your Phone section on paying for anything in the city once you land. How we source and check pages like this one is explained on our About page.

Experience the historic charm of Venice with motorboats weaving through Canal Grande

Access Shanghai is an independent guide written from published, checkable sources. We have not visited the places described here and we do not publish personal recommendations or invented ‘local favorites’ — where something is singled out as notable, we say who says so. Opening times, fares, closures and prices change at short notice, so treat everything here as a starting point and confirm with the museum, operator or venue directly before building a day around it. We give no advice on visas, insurance, health or safety; use your own government’s official guidance for those.

We do not book anything. Access Shanghai is a guide. It sells nothing, takes no bookings or reservations, handles no payments, and holds no tickets, rooms or seats. Some links here lead to travel companies, and some of those are affiliate links that may earn this site a commission at no extra cost to you. Any booking you make is a contract between you and that company, under its own terms, prices and cancellation rules. We are not a party to it and have no responsibility for it — including availability, prices, changes, cancellations, refunds or anything that goes wrong on the trip. Check the details with the company before you pay.