Xi’an’s Digital Gates: A Tourist’s Practical Guide to Navigating China’s Smart Entry System
Let me start this by saying: I’m not a tech whiz. I’m the kind of person who still asks Siri how to set a alarm and occasionally forgets to charge my phone overnight. So when I booked my trip to Xi’an—home of the Terracotta Warriors and those Instagram-worthy city walls—I heard about China’s “digital gate system” and my first thought was: Uh-oh, am I going to spend my entire vacation confused by QR codes?
Turns out, it’s not as scary as it sounds. But it is something you need to prepare for. After a week navigating Xi’an’s smart gates—from airport immigration to subway stations to ancient temples—I’ve learned a thing or two. Consider this your no-fluff, from-one-tourist-to-another guide to making China’s digital system work for you, not against you.
First Things First: What Is the “Digital Gate System”?
Honestly, “digital gate system” is a fancy term for a bunch of interconnected apps and scanners that handle everything from health checks to payments to entry tickets. In Xi’an, you’ll mostly interact with two key players:

Xi’an’s Digital Gates: A Tourist’s Practical Guide to Navigating China’s Smart Entry System
- “Shaanxi Yikatong” (陕西一码通): The all-in-one health and travel pass. Think of it as your “digital ID” for the province. It’ll show your COVID-19 test results, vaccination status, and travel history—super important for entering almost any public space.
- “Alipay” or “WeChat Pay”: Your wallet for everything. You’ll use these to pay for buses, buy snacks, or even enter some attractions (more on that later).
The goal? To reduce physical contact and make sure everyone’s safe. For tourists, that means a bit of setup upfront, but smooth sailing once you’re sorted.
Step 1: Before You Leave Home—Get Your Apps Ready
Don’t wait until you land in Xi’an to download these. Trust me, trying to set them up with a slow tourist SIM card is stressful. Do this at home:
A. Download Alipay or WeChat Pay
Both are essential, but Alipay is slightly more tourist-friendly (it has an English toggle). Here’s how to set one up:
- Download the app: Search “Alipay” in your phone’s app store.
- Sign up: Use your phone number (you’ll need a Chinese SIM to verify it, but more on that below). If you don’t have one, some countries let you sign up with an international number—check your local app store.
- Add a payment method: Link your credit/debit card. I used my Visa, and it worked seamlessly.
Pro tip: WeChat Pay is trickier for foreigners—you often need a Chinese friend to help verify your account. Stick with Alipay unless you’re already a WeChat whiz.
B. Pre-Register for Shaanxi Yikatong
This app is non-negotiable. You can’t enter a hotel, museum, or even some restaurants without it. Here’s how to avoid long lines at the airport:
- Download “Shaanxi Yikatong” from your app store (it’s in Chinese, but the icon is a green square with a white “码” character).
- Open it and tap “注册” (Register). You’ll need to enter your name, passport number, and phone number.
- Complete the health declaration: Answer questions like “Have you had a fever in the last 24 hours?” and “Have you been to a high-risk area recently?”. Be honest—they’ll cross-check with your immigration records.
- Save your QR code: Once registered, you’ll get a green QR code (this is your “health code”). Screenshot this! If your phone dies, you can’t re-enter without Wi-Fi.
C. Get a Chinese SIM Card (or eSIM)
To use Alipay and Yikatong, you need a Chinese phone number. You can buy a SIM card at Xi’an Xianyang International Airport (Level 1, Arrivals Hall)—look for the “China Unicom” or “China Mobile” counters. A tourist SIM costs ~¥100-150 and includes 5-10GB of data, valid for 30 days.
Alternative: If your phone supports eSIM, buy one online before you leave. I used Airalo’s “China Tourist eSIM”—it activated instantly and saved me 20 minutes at the airport.
Step 2: Landing in Xi’an—Navigating the Airport’s Digital Gates
Okay, you’ve landed. Deep breath. The airport’s digital gates are actually less intimidating than they sound. Here’s the flow:
- Immigration: As you approach the passport control desk, an officer will scan your passport. Then, they’ll ask to see your “Shaanxi Yikatong” QR code. Just open the app, show them the green code, and smile—they’ll stamp your passport and you’re through!
- Baggage Claim: Standard stuff, but keep your phone handy—you might need to show Yikatong again to enter the baggage area.
- Exit the Airport: After collecting your bags, you’ll see signs for “Transportation.” To get into the taxi/ride-share pickup zone, you’ll need to scan Yikatong at a gate. Just hold your phone up to the scanner, and it’ll beep—then you’re free to grab a cab!
Note: If your Yikatong turns yellow or red (don’t panic!), it usually means you missed a step in the health declaration. Find an airport staff member in a red vest—they’ll help you fix it.
Step 3: Getting Around the City—Digital Gates on the Go
Xi’an’s public transport is amazing, and it’s all digital. Here’s what you need to know:
A. Subways: Tap, Don’t Ticket
Xi’an’s subway system is clean, efficient, and cashless. To enter:
- Open Alipay and go to the “Transportation” section (it’s a train icon).
- Tap “Add Card” and select “Xi’an Metro.”
- Hold your phone over the scanner at the gate—it’ll beep, and you’re in!
Pro tip: The subway doesn’t have ticket machines, so you must use Alipay. It works for exits too—no need to worry about calculating fares.
B. Buses: Scan and Go
Buses are even easier—no gates, just a scanner by the driver. When you board:
- Open Alipay’s “Transportation” section.
- Tap “Bus Code” (it’s a bus icon).
- Show the QR code to the driver—they’ll scan it, and you’re good to go.
Cost: Buses are ¥1-2, depending on distance. The app automatically deducts the fare when you scan.
C. Taxis/Ride-Shares: WeChat or Alipay
Taking a taxi? No need to carry cash—just tell the driver your destination (have it written in Chinese, e.g., “大雁塔” for Big Wild Goose Pagoda), and pay via Alipay or WeChat when you arrive. The driver will show you a QR code, or you can ask them to scan yours.
Ride-shares (Didi) are also popular, but you need a Chinese number to sign up. Stick to taxis if you didn’t get a SIM.
Step 4: Visiting Attractions—Digital Tickets and Health Checks
This is where the digital system shines. No more standing in line for tickets—just scan and enter!
A. The Terracotta Warriors: Book Online, Scan In
The #1 rule for the Terracotta Warriors: BOOK TICKETS ONLINE. You can’t buy them at the gate anymore—everything is digital. Here’s how:
- Open “Shaanxi Yikatong” and tap “Travel” (旅游).
- Select “Terracotta Warriors” (兵马俑) and choose your date/time.
- Pay via Alipay—you’ll get a QR code ticket.
- At the entrance, scan your Yikatong and the ticket QR code. The gate will open, and you’re in!
Pro tip: Go early (8-30 AM) to avoid crowds. The digital gates make entry fast, but lines build up by 10 AM.
B. City Walls: Pay on the Spot, Scan to Enter
The Xi’an City Wall is a must-do—you can rent a bike and ride around the top! Tickets are sold at the gate, but you still need Yikatong to enter:
- At the ticket office (e.g., South Gate), pay with Alipay. They’ll give you a confirmation number.
- At the gate, open Yikatong and show the QR code. The scanner will verify your ticket purchase, and you’re in!
Bonus: Some sections of the wall have digital lockers for your bags—scan Yikatong to rent one!
C. Muslim Quarter: No Tickets, But Scans Galore
The Muslim Quarter is a food paradise, but you’ll need Yikatong to enter some restaurants (especially indoor ones). Just look for a QR code scanner by the door—scan Yikatong, and grab a bowl of roujiamo (Chinese hamburger) or liangpi (cold noodles) without a worry!
Step 5: Staying Connected—Wi-Fi, Data, and Charging
One last thing: your phone’s battery will be your best friend (and worst enemy) with all this scanning. Here’s how to stay powered up:
- Public Wi-Fi: Most hotels, restaurants, and subway stations have free Wi-Fi, but you’ll need to scan Yikatong to connect (it’s called “CMCC” or “ChinaNet”).
- Power Banks: Bring a portable charger—you’ll be using your phone nonstop. I bought a cheap one at the airport for ¥50, and it lasted 3 days.
- Charging Stations: Some subway stations and attractions have charging ports, but they’re rare. Better to rely on your own power bank.
Final Thoughts: You’ve Got This!
By the end of my trip, I was actually grateful for the digital gate system. It meant no lost tickets, no fumbling for cash, and shorter lines. The key is preparation: download the apps, get a SIM card, and screenshot everything (just in case).
Xi’an is an incredible city—between the Terracotta Warriors, the city walls, and the Muslim Quarter, you’ll be busy. But with China’s digital system on your side, you can spend less time stressing and more time eating paomo (bread soup) and marveling at ancient history.
So go ahead, book that ticket. With a little prep, you’ll navigate Xi’an’s digital gates like a pro. Happy travels!
Xi’an Airport Transfer Service
Private English-speaking driver service in Xi’an operated directly by Bruce Zhang. 24/7 airport pickup and hotel transfer for foreign travelers.
Helpful for Your Trip in Xi’an
Skip the Lines, Savor the Stories: My VIP Entry Guide to Xi’an
2026-07-27Traveling Xi’an Smart: How Online Booking Made My Trip Seamless and Stress-Free
2026-07-27Navigating Xi’an’s Face Recognition Entry Systems: A Tourist’s Practical Guide
2026-07-27Xi’an Traveler’s Guide: Navigating the City with China’s Visitor Platforms
2026-07-26Navigating Xi’an’s Tour Entry System: A Traveler’s Practical Guide
2026-07-26Xi’an Travel Hack: How a Ticket Issuing App Saved My Trip and 5 Hours in Queues
2026-07-26Xi’an Travel Tips: Navigating Ticket Codes Like a Local
2026-07-25Unlocking Xi’an: A Traveler’s Guide to the China Museum Gate and Beyond
2026-07-25Visiting Xi’an: A Practical Guide to China’s Attraction Regulations
2026-07-23Traveling Xi’an Like a Local: Smart Destination Management Tips for Tourists
2026-07-23
