How to Use China's Metro & Bus with Alipay
(Skip the Ticket Machines)
TL;DR ¡ª The Short Version
- Use Alipay Transit QR ¡ª claim metro and bus codes once per city (2 min each), then scan and ride, no paper tickets, no cash
- No need to buy tickets first ¡ª walk straight to the metro gate or bus scanner and scan your phone
- Foreign cards work ¡ª your Visa or Mastercard linked in Alipay pays for all public transit rides
- Metro: scan in, scan out. Bus: just scan when boarding (no exit scan). Fare calculated automatically.
- Metro signs are bilingual ¡ª Chinese + English on every sign, every station, every announcement. Bus route numbers are Arabic numerals ¡ª easy to spot.
Skip the Ticket Machines
Walk into any Chinese metro station and you'll see a row of ticket machines. Ignore them. Most locals don't bother with them anymore ¡ª locals haven't touched a ticket machine in years. The machines are there for the one person whose phone just died, and for grandparents who never switched to smartphone payments.
Also forget about UnionPay bank cards and physical transit cards. Yes, they exist. But as a foreign traveler, getting a transit card means finding the service counter, showing your passport, filling out a form, and loading money onto a card you'll use for maybe a week. It's not worth the friction.
The only thing you need: Alipay's Transit QR code. It works in most major Chinese cities with public transit ¡ª Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, and dozens more. You'll claim a metro transit code and a bus transit code separately (takes 2 minutes each, one-time per city), then just scan and ride. Alipay charges your linked foreign card automatically.
Part 1: First-Time Setup ¡ª Claim Your Transit Codes
You only do this once per city. The process is the same for metro and bus ¡ª pick one, fill in your passport details, claim the code, then do the other. The exact wording may differ slightly between cities, but the flow is always: select metro or bus ¡ª fill your info ¡ª done.
1 Open Alipay and tap "Transport"
On the Alipay home screen, tap the "Transport" (³öÐÐ) icon ¡ª it's the one with a bus or train. Usually in the top row of shortcuts.
2 Claim your Metro transit code first
Inside Transport, you'll see three options. Ignore "One-card Pass" ¡ª that's a prepaid top-up card. Tap "Metro", then tap the blue button at the bottom ("ǰÍùÁìÈ¡" in Chinese ¡ª"Obtain" or similar in English).
3 Fill in your passport details
A form appears. Fill in your Name and phone number (same as you used when registering Alipay). Tap ID Type and select "Passport". Enter your passport number in the ID No. field. Then tap "Agree and obtain card".
4 Metro code ¡ª done
You'll see a confirmation screen. Your metro transit code is now active.
5 Now claim your Bus transit code
Go back to the Alipay home screen, tap "Transport" again, and this time tap the "Bus" tab. Tap the blue button at the bottom (same position as before).
6 Activate the bus card
A "Select Bus Card" screen appears. Tap "Activate".
7 Fill in your details again and complete
Same as the metro step ¡ª enter your name, select Passport as ID type, enter your passport number, then tap "Agree and receive card". Done. Your Alipay now has both metro and bus transit codes. Payment is automatic through your linked card.
Part 2: How to Ride the Metro
Your codes are ready. Here's the actual experience from station entrance to exit ¡ª with real screenshots from Hangzhou.
1 Go through security
In most Chinese cities, metro stations have a security checkpoint. Put your bag and luggage on the conveyor belt. Any liquids you're carrying (water bottle, etc.) will be checked ¡ª don't try to skip this. It takes 15 seconds. Once through, look for the gates with a green arrow ¡ª those are the entry gates.
2 Open your Metro QR code
Back to Alipay home ¡ªTransport ¡ªMetro tab. Since you've already claimed your code, a QR code appears immediately ¡ª no forms, no waiting.
3 Scan at the gate and enter
Each gate has a small camera on top. Hold your phone screen facing the camera ¡ª about 5 ¡ª cm away. The gate opens immediately. Walk through.
4 Ride ¡ª then scan again to exit
Metro stations are clean, air-conditioned, and bilingual. Platform screen doors, announcements in Chinese and English, arrival times shown to the minute. When you reach your stop, do exactly the same thing at the exit gate: open Alipay ¡ª Transport ¡ª Metro ¡ª hold QR to the camera. The gate opens, Alipay shows "Station exited", and the fare is deducted automatically. Check your Alipay bill to see exactly how much ¡ª typically £¤2¨C8.
Part 3: How to Ride the Bus
Why bother with buses when the metro is so good? Two reasons. First, China's urban bus networks are massive ¡ª any major city runs 100+ bus lines. And in the many Chinese cities that don't have a metro, buses are simply the most convenient way to get around. Second, buses go where metros don't. That scenic lakeside road in Hangzhou? Bus. The old town alleys in Chengdu? Bus. The shortcut from your hotel to a metro station that's just a bit too far to walk? Bus.
One key rule to remember: board at the front door, exit at the back door. The scanner is usually next to the driver.
1 Open your Bus QR code
Alipay home ¡ªTransport ¡ªBus tab. A QR code appears. Same as metro, just a different tab.
2 Scan at the ticket machine by the driver
Board through the front door. To the right of the driver, you'll see a small ticket machine with a camera. Hold your phone screen to the camera. A satisfying "ding" sound, and Alipay shows "Payment successful" with the amount. In Hangzhou, it's £¤2 flat fare. Move toward the back of the bus ¡ª you'll exit through the back door when you reach your stop.
3 No exit scan ¡ª just get off at the back door
Unlike the metro, city buses charge a flat fare ¡ª you only scan when boarding. When your stop comes, walk out the back door. That's it. Use Amap (¸ßµÂµØÍ¼) to track your route in real time so you know when to get off ¡ª Google Maps bus data in China is unreliable.
Common Mistakes (Read Before You Ride)
Every one of these has happened to a traveler I know. Learn from them in 2 minutes instead of discovering them at a crowded metro gate.
1 Trying to buy tickets first
You see the machines, you assume you need a ticket, you stand in line, you fumble with the English menu, and five minutes later you realize it only takes Chinese bank cards or cash. Meanwhile, locals are streaming past you, scanning their phones without breaking stride. Skip the machines entirely ¡ª go straight to the gate with Alipay.
2 Forgetting to scan when exiting
You arrive at your stop, walk through the open exit gate, and pat yourself on the back. Then next time you ride, Alipay charges you extra. The system doesn't know where you got off, so it assumes the worst. Always scan out ¡ª it takes half a second and the gate won't close on you.
3 Using Google Maps instead of Amap
Google Maps shows metro lines but the data is often incomplete ¡ª wrong exit numbers, missing new lines, outdated schedules. Chinese cities are opening new metro lines every few months, and only Chinese map apps keep up. Download Amap (¸ßµÂµØÍ¼) ¡ª it has an English mode for navigation and shows exact metro exit numbers, transfer walking times, and real-time arrival data.
4 Going to the wrong metro exit
This is very Chinese. A single metro station can have 6¨C8 exits ¡ª A, B, C, D, E, F ¡ª each opening to a different intersection. Exit A might put you directly in front of a museum. Exit D might drop you in a shopping mall basement. Exit F might leave you on the wrong side of an 8-lane road with no crosswalk. The difference between exits can be a 10-minute walk. Always check which exit you need before going up. Amap tells you the correct exit number for your destination.
5 Not expecting security checks
In most Chinese cities, metro stations have a security checkpoint at the entrance. You put your bag (and sometimes your water bottle) on a conveyor belt, walk through a metal detector, and pick it up on the other side. It takes 10¨C15 seconds. There's usually no line. It's routine and entirely unremarkable ¡ª but if nobody told you, it'd catch you off guard the first time. Avoid knives, flammable items, large aerosols, or anything obviously prohibited.
6 Boarding the bus through the back door
In many countries, you can board a bus through any door. In China, you generally board through the front door ¡ª that's where the scanner is. The back door is for exiting. Some newer buses have scanners at every door (look for the small rectangular device), but unless you see one, go to the front. Watch what locals do for 5 seconds and follow them.
Things to Know
- Bilingual everything. Station names, line maps, exit signs, platform announcements, transfer directions ¡ª all in Chinese and English. You're unlikely to get lost. Even the ticket machines have an English button (not that you'll need them).
- It's cheap. Most city rides are around £¤2¨C8, while airport or long cross-city trips can cost more. A cross-city journey (e.g., Pudong Airport to Hongqiao in Shanghai, about 60 km) might cost £¤7¨C10 ($1.10). A day of heavy metro riding in most major Chinese cities costs less than a single tube ride in London.
- It's clean and safe. Chinese metro stations are consistently among the cleanest public spaces in the country. Trains are well-lit, stations have attendants, and there's security at every entrance. Late-night rides feel safe.
- Platform screen doors. Every station has glass doors between the platform and the tracks. They open only when the train arrives. You physically cannot fall onto the tracks.
- Transfers are well-signed. When you need to switch lines, follow the color-coded signs. Transfer walking distances are posted (usually 2¨C5 minutes). Some transfers in mega-stations can be long ¡ª People's Square in Shanghai has a transfer passage that's basically an underground street.
- No eating or drinking. It's technically prohibited on most metro systems. Nobody will arrest you for sipping water, but eating a full meal on the train will get you stared at.
- Give up the priority seats. Seats marked with a different color (usually bright orange or yellow) are for elderly, pregnant, disabled, and passengers with children. You can sit there, but give them up if someone needs them.
- Buses are air-conditioned and cheap. City buses cost £¤1¨C2 flat fare. They're modern, clean, and air-conditioned. Bus stops announce upcoming stops in Chinese and sometimes English. Use Amap to track your route in real time so you know when to get off.
- Night buses exist. Most cities have night bus routes (marked with "Y" or "N" prefix). They're less frequent but run after the metro closes. Amap shows them.
FAQ
Do I need to use the ticket machines?
No. Most travelers find Alipay Transit QR far easier. Ticket machines still exist, but they're mainly a backup if your phone isn't working. Many machines only accept Chinese bank cards or cash ¡ª your foreign card likely won't work in them anyway.
Does Alipay Transit QR work in every city?
Yes ¡ª Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, Nanjing, Wuhan, Xi'an, Suzhou, and most major Chinese cities with public transit. Each city has its own transit system, so you'll claim new metro and bus codes the first time you visit. The process is usually the same: pick metro or bus, fill passport details, done. Takes 2 minutes per mode.
What if my phone dies mid-ride?
Find a station attendant near the exit gates. They'll help you ¡ª you may need to pay the fare in cash. This is one of the few scenarios where the ticket machines become relevant, but honestly, just keep your phone charged. Power banks are cheap and everywhere.
Can I use WeChat instead of Alipay?
Yes. WeChat also has a Transit QR feature. The experience is nearly identical. If you've set up WeChat Pay with a foreign card (here's how), you can use it for metro rides too. Most travelers stick with Alipay since they're already using it for everything else.
Is there a daily or weekly pass?
Some cities offer 24-hour, 48-hour, or 72-hour metro passes at the service counter. They're physical cards, usually £¤18¨C25 depending on the city and duration. Worth it if you're doing 6+ rides a day. For most tourists doing 3¨C5 rides daily, pay-per-ride with Alipay is cheaper.
Do I need to claim both metro and bus codes?
Yes, they're separate ¡ª but the process is identical. Claim your metro code first (Transport ¡ª Metro ¡ª fill passport details ¡ª done), then your bus code (Transport ¡ª Bus ¡ª fill passport details ¡ª done). After that, both codes live in the Transport section and you just switch tabs. One-time per city.
Do I scan when getting off the bus?
No ¡ª city buses charge a flat fare (usually £¤1¨C2), so you only scan when boarding. Some longer suburban routes charge by distance and have a scanner at the back door too. When in doubt, look at what other passengers are doing.
Get the Free China Arrival Checklist
Metro setup, DiDi, shared bikes, Alipay walkthrough ¡ª everything you need for getting around Chinese cities, in one PDF.
Get the Free Checklist