Xi Travel Tips: Mastering Xian with Barcode Access – A First-Timers Practical Guide
Hey guys, if you're planning a trip to Xi'an, let me tell you—this city is a dream. Terracotta warriors, ancient city walls, Muslim Quarter’s street food… I spent 5 days here last month, and I left already planning my next visit. But here’s the thing: Xi’an is a city where ancient history meets modern tech, and if you don’t get one thing right, your trip could get frustrating fast: barcode access.
I’ll admit, I almost messed this up. Before I left, I skimmed a few travel blogs and thought, “How hard can it be? Buy tickets, show up, explore.” Wrong. On my first day, I tried to visit the Terracotta Army without pre-booking, and I was turned away at the gate—all tickets for the day were sold out. Cue panic. Luckily, a local grandma overheard my frustration and muttered, “二维码!提前搞!” (QR code! Book in advance!). That’s when I realized: in Xi’an, barcode access (via QR codes or digital tickets) isn’t just a “hack”—it’s essential. So today, I’m breaking down exactly how to use it, where you’ll need it, and how to avoid the mistakes I made. Trust me, your future self will thank me.
First, What Is “Barcode Access” in Xi’an?
Simply put, it’s the digital key to almost everything: museum tickets, metro rides, even some restaurant reservations. Instead of paper tickets or cash, you’ll use a QR code (or sometimes a barcode) stored on your phone to enter attractions, take public transport, or check into hotels. It’s tied to your Chinese ID (or passport for foreigners) and managed via apps or mini-programs on WeChat.

Xi Travel Tips: Mastering Xian with Barcode Access – A First-Timers Practical Guide
Why does this matter? Because Xi’an is popular. The Terracotta Army alone gets 10,000+ visitors daily. If you don’t have a digital ticket, you’re stuck in a 2-hour ticket line—or worse, like I was, turned away. Barcode access skips the lines, saves time, and (for some places) even lets you pick your entry time. It’s the difference between a smooth day and a stressful one.
How to Get Your Barcode Access: Step-by-Step
Okay, let’s get practical. You’ll need two main tools: WeChat (a must-have in China—download it before you go!) and a payment app (Alipay or WeChat Pay, for topping up transport cards). Here’s how to set up barcode access for the big stuff:
For Attractions: Book Tickets Digitally Before You Go
Nearly all major attractions in Xi’an require pre-booking via their official mini-programs on WeChat. I’m talking the Terracotta Army, Big Wild Goose Pagoda, Shaanxi History Museum… you name it.
Step 1: Find the Official Mini-Program
Open WeChat, tap the “+” button in the top-right corner, and search for the attraction’s name in Chinese (this is more reliable than English). For example:
- Terracotta Army: “秦始皇陵博物院” (Qin Shi Huang Mausoleum Museum)
- Shaanxi History Museum: “陕西历史博物馆” (Shaanxi History Museum)
Step 2: Book Your Ticket
Once you’re in the mini-program, look for “预约” (book/reserve). You’ll need to:
- Pick a date and time slot (morning slots are less crowded!)
- Enter your passport details (foreigners need this—make sure your name matches your passport exactly)
- Pay online (WeChat Pay or Alipay; prices are ~120 RMB for Terracotta Army, free for Shaanxi History Museum but requires advance booking—they limit daily entries!)
Step 3: Get Your Barcode Ticket
After booking, you’ll see a “二维码” (QR code) or “条形码” (barcode) in the mini-program. Save this screenshot! This is your ticket. At the gate, just show it to the staff—they’ll scan it, and you’re in.
Pro Tip: For the Shaanxi History Museum, free tickets sell out weeks in advance. I booked mine 10 days before my trip and barely got a morning slot. Set a reminder to book as soon as you know your dates!
For Transport: Use “西安地铁” or “支付宝乘车码”
Xi’an’s metro and buses are super convenient, but forget buying paper tickets—they’re slow, and the lines at rush hour are wild. Barcode access here is your metro pass.
Option 1: Metro Mini-Program (“西安地铁”)
- Open WeChat, search “西安地铁” mini-program.
- Bind your phone number (you’ll get a verification code).
- Tap “乘车码” (ride code) and show it at the metro gate. The fare is automatically deducted from your WeChat Pay (you can top up in the app).
Option 2: Alipay “乘车码”
- Open Alipay, tap “出行” (transport), then “乘车码.”
- Select “西安” and enable “交通码” (transport code).
- Show the QR code at the gate—same as the metro app, but Alipay is more widely used for buses too.
Why this is great: No need to figure out ticket machines, no lost cards, and it works for both metro and buses. I used this every day—cost me maybe 20 RMB total for 5 days of getting around.
For Hotels: Check In with a QR Code
Most mid-range to high-end hotels in Xi’an now offer “扫码入住” (QR code check-in). When you book via Ctrip, Agoda, or directly on the hotel’s WeChat, they’ll send you a QR code. At the hotel, just scan it at the self-service kiosk (or show it to the front desk), and you get your room key—no filling out forms, no passport handover (they already have your details from the booking).
I stayed at a boutique hotel near the Muslim Quarter, and this saved me 20 minutes of waiting in line after a long flight. Bonus: some hotels even use QR codes for room service or gym access—so handy.
Common Barcode Access Problems (and How to Fix Them)
Even with the best prep, things can go wrong. Here are the hiccups I faced—and how to solve them:
Problem 1: “My QR Code Won’t Scan!”
What happened: At the Terracotta Army, my phone died right as I got to the gate. Panic mode.
Fix: Always save your attraction tickets as screenshots in your phone’s photo album (and maybe email them to yourself as a backup). If your phone dies, most attractions have charging stations—or you can borrow a power bank from the info desk (some are free, others require a deposit).
Pro Tip: Bring a portable power bank. I used this one daily—charged my phone while I walked, and never worried about a dead battery.
Problem 2: “I Forgot to Book a Ticket!”
What happened: I assumed I could just show up to the Big Wild Goose Pagoda. Wrong—they only sold 200 tickets for the day, and they were gone by 10 AM.
Fix: For last-minute spots, check the official mini-program first. If it’s sold out, try third-party apps like Ctrip or Fliggy—they sometimes release extra tickets. As a last resort, hire a local guide—they might have connections (but this costs more, so book in advance if you can).
Problem 3: “I’m a Foreigner—My Passport Isn’t Recognized!”
What happened: When booking the Shaanxi History Museum, the mini-program kept rejecting my passport number. I entered it 3 times wrong before realizing: Chinese passports are 18 digits, foreign ones are 9. The app needed the full passport number, including letters.
Fix: Double-check your passport details when booking. If it still doesn’t work, contact the museum’s WeChat customer service (they usually respond within an hour).
Problem 4: “The Metro QR Code Isn’t Working!”
What happened: My first time using the metro, I opened the “西安地铁” app, but the QR code was “loading” for 5 minutes. I missed my train.
Fix: Open the app before you get to the station. If it’s still slow, switch to Alipay’s “乘车码”—it’s more reliable for foreigners. And if all else fails, there’s a “foreigner ticket” machine at major stations (like North Square Station) that takes cash—just bring small bills (10 RMB or 20 RMB).
Beyond the Basics: Other Places You’ll Need Barcode Access
Once you’ve mastered the big stuff, here are a few more ways barcode access makes life easier:
- Restaurant Reservations: Popular spots in the Muslim Quarter (like “老米家大雨泡馍”) use WeChat mini-programs for reservations. Just search the restaurant’s name, pick a time, and show the QR code when you arrive—no waiting in line.
- Voice Guides: At the Terracotta Army, you can rent a voice guide for 20 RMB. Instead of getting a physical device, scan a QR code at the entrance to listen on your phone—way more hygienic!
- Event Tickets: If you’re visiting during a festival (like the Tang Dynasty Dinner Show), tickets are 100% digital. The QR code is your entry—no paper needed.
My Top Tip: Prepare Before You Land
Xi’an is amazing, but barcode access requires a little tech prep. Here’s my pre-trip checklist:
- Download WeChat and Alipay (and link them to a payment method—add a foreign credit card in “Wallet”).
- Search for all attraction mini-programs and follow them (so you get booking reminders).
- Save emergency numbers: Terracotta Museum (029-81399001), Shaanxi History Museum (029-85352324).
- Bring a power bank—your phone will be your lifeline!
Final Thoughts
Xi’an is a city where the past and present collide, and barcode access is the bridge between them. Once you get the hang of it, you’ll spend less time waiting and more time marveling at the Terracotta Army, walking the city walls, and devouring roujiamo (Chinese burgers). I went from stressed-out tourist to relaxed explorer in 3 days, all because I finally “cracked the code” of barcode access.
So go ahead—book that trip, download those apps, and get ready to fall in love with Xi’an. Just don’t forget your QR code. 😉
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
