Skip to main content
Payments · Transport

Paying for metros, taxis and trains in China.

Chinese cities are close to cashless, but transport is where the payment question gets practical: which gate takes what, and what happens when the queue is behind you. Here is how each part of a journey is paid for.

The short answer

Three sentences, then the details by mode.

One app covers most of it

Alipay holds a transport code for each city, a taxi-hailing button and a train-ticket search. If your payment app is already working, transport mostly works too.

Metros take cards too

Several networks now let you tap an ordinary international bank card at the gate. No app, no ticket, no queue at a machine.

Cash still works, slowly

Ticket machines take cash and every station has a staffed window, but change can be a problem and counters are busy. Treat cash as the backup, not the default.

Three ways through the metro gate

Every city supports at least one of these. Big cities usually support all three.

MethodHow it works
Ride code in Alipay or WeChatOpen the transport section, choose the city, complete the one-time identity check, and a ride code is issued. Scan it at the entry gate and again at the exit gate; the fare is calculated by distance and taken from your linked card.
Bank card tap at the gateIn Beijing, Shanghai, Guangzhou and Chengdu you can tap a UnionPay, Visa, Mastercard or American Express card directly at the gate without buying a ticket or installing an app. Beijing also extends this to the S2 suburban line, and Shanghai to the maglev and the city express lines.
Single-journey ticketEvery station has touchscreen machines with an English option. Pay in cash or by QR code. It always works and it is always the slowest option, with no discount.

The mistake that catches newcomers is using the payment code where the ride code belongs. They are two different codes in the same app, and the gate scanner wants the transport one. Turn on the ride code for your first city before you reach the gate.

Where you can tap a bank card

Card tapping is the newest option and the least evenly spread. It saves the most time at a busy station, so it is worth checking before you queue for a machine.

WhereWhat is supported
BeijingThe urban rail network accepts contactless Visa, Mastercard, UnionPay and American Express at gates and ticket machines, including the S2 suburban line.
ShanghaiCard tap is supported across the metro, including the maglev and the city express lines. Short-distance rides may need password-free payment switched on.
Guangzhou and ChengduCard tap at metro gates, and in Chengdu also on city buses at the onboard card reader.
Everywhere elseUse the ride code in Alipay or WeChat, or buy a single ticket. Card acceptance is being rolled out city by city, so the marker at the gate is the live answer.

A maglev trip at Shanghai Pudong is priced separately from the metro and costs more than a normal fare — around 50 yuan one way. Budget for it rather than discovering it at the gate.

Paying for a taxi or a ride-hail

The car is the easy part. Payment is settled automatically at the end of the trip, so you rarely handle money in the vehicle.

Booking inside your payment app

Alipay has a taxi button inside its transport section; WeChat has a ride-hailing entry under its services menu. Both use the card you already linked, so no new setup is needed.

Booking in the DiDi app

The dedicated DiDi app has a full English interface and accepts international cards. It is the better choice if you will take several rides and want a saved payment method.

Street taxis and the meter

Metered taxis still work and can be paid by the driver's QR code. Show your destination in Chinese characters — a map pin on a phone works better than a spoken address.

What cash cannot do

Ride-hailing is charged through the app, so cash is not an option there. Keep a small amount of cash strictly for metered taxis and the rare vendor who needs it.

Paying for a train ticket

Rail is the one part of Chinese transport where booking and paying happen together, often weeks before you travel.

The official channel

China Railway's 12306 English site and app accept passport details and take international payment. Registering and verifying your passport early is what makes the purchase painless.

The agent channel

A booking agent will sell you the same seat with a simpler foreign-card flow and English support. The trade-off is a service fee and a ticket you hold through the agent rather than the railway.

At the station

Your passport is your ticket. You scan the document itself at the gate rather than a paper slip, which is also why the name and number must match exactly.

City cards and stored value

A transport card bought with your passport is useful on a long stay, but it does not help with intercity rail. Keep the two systems separate in your head.

Transport payment questions

Can I use the metro without a Chinese bank account?

Yes. The ride code inside Alipay or WeChat charges the foreign card you already linked, and four major cities let you tap an ordinary international bank card at the gate with no account at all.

Why did the gate reject my QR code?

Usually because a payment code was shown instead of a ride code, or because the ride code for that city was never activated. Open the transport section of the app, confirm the city, and try the gate again.

Do these transport payments carry a fee?

Metro and bus fares are far below the 200 yuan threshold where the foreign-card fee starts, so in practice they are fee-free. A long-distance train ticket bought in one payment can cross the threshold.

What should I do if my card is declined at a gate?

Step to the side rather than holding the queue. Use the ride code instead if you have it, or buy a single ticket from a machine. Card declines at gates are usually an issuer-side check, not a problem with your balance.

Is cash accepted on buses and in taxis?

On buses and metered taxis, yes, though exact change helps. On ride-hailing it is not an option, and on the metro you would be buying a ticket with cash rather than paying at the gate.

Can two people ride on one phone?

Not on a single ride code — each passenger needs a code scanned at their own gate. Two travellers should each activate the city's ride code, or one can use a bank card tap while the other uses a code.

Ride codes need a live connection

A gate will not wait while your phone finds a signal. Compare travel eSIM options so your transport code works underground and on arrival day.

Compare eSIM plans