Local Tips · 7 min read
Mastering the 'Last Mile': A Guide to Bike-Sharing in Shanghai and Beijing
Unlock Shanghai and Beijing like a local. Learn how to use Meituan, HelloBike, and Qingju via Alipay or WeChat without a Chinese bank account.

For international travelers in Shanghai or Beijing, the "last mile"—the distance between a metro station and your hotel or a hidden dumpling shop—can be the most exhausting part of the day. While taxis are affordable and the metro is world-class, nothing beats the efficiency and local flavor of China’s massive bike-sharing network.
Quick Answer: How to Rent a Bike in China as a Foreigner
You do not need a Chinese bank account or a separate bike app to rent a bicycle in China. The easiest way for foreigners to unlock a bike is through the Alipay or WeChat apps, which you likely already have for payments.
- Open Alipay and use the built-in "Scan" function on the QR code located between the handlebars or on the rear lock of any blue (HelloBike) or yellow (Meituan) bike.
- Verify your identity (usually a one-time prompt to confirm your name and passport number already linked to your payment account).
- Unlock and ride. When finished, park in a designated zone and manually slide the lock (for older models) or tap "End Ride" in the app (for newer Bluetooth-controlled models).
Why Bike-Sharing is Essential in Shanghai and Beijing
In cities as dense as Beijing and Shanghai, traffic congestion can turn a 2-kilometer taxi ride into a 20-minute ordeal. Conversely, both cities are remarkably flat and equipped with dedicated, barrier-protected bike lanes.
Locals use bike-sharing (共享单车 - gòngxiǎng dānchē) to bypass gridlock and reach destinations that are just a bit too far to walk. For a traveler, it’s the best way to explore the leafy alleys of Shanghai’s Former French Concession or the historic hutongs of Beijing where cars often cannot enter.
The Three Major Players
You will see thousands of bikes lining the sidewalks. They are color-coded by the company that operates them:
| Bike Color | Brand Name | Best App to Use | Local Insight |
|---|---|---|---|
| Yellow | Meituan (美团) | Meituan or Alipay | Extremely common; bikes are usually sturdy and well-maintained. |
| Blue | HelloBike (哈啰出行) | Alipay | Owned by Ant Group (Alipay), so the integration is the most seamless for foreigners. |
| Green | Qingju (青桔) | WeChat or Didi | Operated by Didi (the ride-hailing giant). Great if you already use the Didi mini-program. |
| Red/Silver | Mobike | Now Meituan | You may see old Mobikes, but they are now managed through the Meituan system. |
Step-by-Step: How to Unlock Your First Bike
1. Preparation: The Payment Setup
As noted in official transportation guides, you must have Alipay or WeChat Pay set up before you hit the streets. Ensure your international Visa or Mastercard is linked.
Tripilot Planning Tip: To use these apps smoothly while navigating, you'll need a constant data connection. Consider purchasing a China-specific eSIM before arrival to ensure you can scan QR codes and load maps instantly without hunting for public Wi-Fi.
2. Finding a Bike
Bikes are everywhere, but they are most concentrated near metro exits and major intersections. Look for a bike that appears to be in good condition. Check the tires and the chain; if the seat is turned backward, it’s a local "code" that the bike is broken.
3. Scanning and Permissions
- For HelloBike (Blue): Open Alipay > Scan > Point at the QR code on the handlebars.
- For Meituan (Yellow): Open Alipay or the Meituan Mini-Program within WeChat > Scan.
- For Qingju (Green): Open the Didi Mini-Program in WeChat > Bike icon > Scan.
If it’s your first time, the app will ask for permission to use your location and verify your identity. Since your Alipay/WeChat is already verified with your passport, this is usually just a one-click confirmation.
4. The Ride
Once the lock clicks open, you are ready. Most bikes have a front basket for small bags. Do not carry passengers; these bikes are strictly for one person.
Rules of the Road and Local Etiquette
While cycling in China is generally safe, the sheer volume of electric scooters (e-bikes) can be intimidating.
- Stay in the Bike Lane: Most major roads in Beijing and Shanghai have dedicated lanes separated by a fence or a line of trees. Stay inside these.
- Watch for E-bikes: Delivery drivers on silent e-bikes move fast. They will often honk to let you know they are passing on your left. Stay predictable.
- Follow the Signals: Cyclists are expected to follow the same traffic lights as cars, though you will see locals occasionally creeping forward. As a visitor, it is safer to wait for the green light.
- No Sidewalk Riding: In central districts of Shanghai and Beijing, riding on the sidewalk is often prohibited and can result in a small fine from traffic wardens.
Parking: The "P-Zone" Rule
This is where most foreigners run into trouble. You cannot simply leave a bike anywhere.
- Look for White Lines: Cities have designated parking areas marked with white rectangular lines on the sidewalk.
- Check the App Map: The app will show "P" icons or shaded areas. If you try to lock the bike outside of a designated zone, the app may refuse to end the trip or charge you a "management fee" (usually 2–5 RMB).
- No-Go Zones: Areas like Tiananmen Square or the immediate vicinity of the Bund have strict "No Parking" rules. If you enter these zones, your app might start beeping, warning you to turn back.
How to End Your Ride
- Manual Locks: Some older bikes require you to manually slide the red or black lever on the rear wheel lock. Once locked, the app will automatically stop the timer.
- Smart Locks: Most newer bikes (especially Qingju and Meituan) have no manual lever. You must tap "End Ride" (结束行程) in the app. The bike will then electronically lock itself.
Pricing and Payment
Bike-sharing is incredibly cheap compared to Western standards.
- Pay-per-ride: Typically 1.5 RMB to 2.5 RMB for the first 15–30 minutes, with small increments thereafter.
- Passes: If you are staying for a week, look for a "7-day pass" in the app. These often cost less than 15 RMB and allow for unlimited rides (under 30-60 mins each).
- Automatic Deduction: The fare is automatically deducted from your linked Alipay or WeChat balance/card once the ride ends.
Troubleshooting Common Issues
- The QR Code is Scratched: Vandalism is rare but happens. If the code won't scan, try the code on the rear wheel lock. If both are unreadable, find another bike.
- The Bike Won't Lock: If the manual lever is stuck, check if a spoke is blocking it. Move the bike slightly and try again. If it’s a smart lock and won't end the ride, check your GPS signal; you might be in a "No Parking" zone.
- Bluetooth Issues: Ensure your phone’s Bluetooth is turned on, as many bikes use it to communicate with the app for unlocking and locking.
- Account Flagged: If the app asks for a Chinese ID number (18 digits), you are likely using the standalone app. Switch to the Alipay Mini-Program instead, which is designed to accept international passport verification.
Summary Checklist for Travelers
- Apps: Download Alipay and WeChat; link your international card.
- Verification: Ensure your identity is verified in the app (Passport upload).
- Data: Have a working SIM or eSIM for real-time GPS and scanning.
- Inspection: Check brakes and tires before unlocking.
- Parking: Only park in white-lined boxes or zones marked 'P' in the app.
By using the Alipay or WeChat mini-programs, you bypass the biggest hurdle for foreigners—registration—and gain access to the most flexible transport system in China's two greatest metropolises.
FAQ
Do I need a Chinese phone number to use bike-sharing?
Not necessarily. If you use the Alipay or WeChat mini-programs, you can usually use the international phone number linked to your payment account. However, having a local connection (eSIM or SIM) is essential for the app to function.
Can I use one phone to unlock two bikes for my partner?
Generally, no. Most bike-sharing apps limit one active ride per account to prevent theft and ensure insurance coverage for the rider. Your partner will need their own app and account.
What happens if I park in a 'No-Parking' zone?
The app will use GPS to detect your location. You may be unable to lock the bike, or you will be charged a 'dispatch fee' (usually between 2 and 30 RMB) to cover the cost of a worker moving the bike to a legal area.
Are helmets required for bicycles in China?
While helmets are legally required for e-bikes (scooters) in many cities, they are not strictly enforced for shared bicycles. However, for your safety, it is always recommended, though shared bikes do not come with them.