Short answer: not reliably. Alipay transport QR codes are the default for foreign visitors. Some Beijing metro gates accept foreign cards, but that does not mean every station or every city does.
The default: Alipay transport code
Open Alipay, choose Transport, select the correct city, and show the QR code at the gate. This is the most consistent foreigner-friendly method. Check that the city is correct before you scan; a code for the wrong city will not work.
The card-tap exception
Chinese government guidance documents foreign-card gate payments on parts of Beijing’s metro network. That is a specific, partial rollout, not a nationwide promise. Do not plan around tapping a Visa or Mastercard at every station.
If the QR code fails
Buy a single-journey ticket at a staffed counter or a ticket machine. Keep some cash or a working card as backup. Station staff can help with the machine if the interface is Chinese-only.
Before you travel
Link and verify Alipay before you fly, test the transport screen, and save a screenshot of the city selection. If you will rely on the metro, keep a physical ticket option in mind for the first day.
For the full metro, DiDi and taxi workflow, read our China metro and DiDi guide.
Read the full guide
An English-first guide to city transport in China: using Alipay metro QR codes, booking a DiDi with an overseas number, finding pickup points and keeping a payment fallback.
Open How to use China's metro, DiDi and taxis as a foreign visitorSources & primary references
We can turn this into a route.
Route Check from $49, Custom Itinerary from $149. No payment until we confirm the scope.
Ask the Trip Desk