Quick Navigation – What You'll Find
You've booked your flight to China. You've dreamed of the thousand-year-old murals. Then reality hits — how on earth do you actually get to the Mogao Caves? I've guided dozens of foreign travelers there over the past decade, and I can tell you: the journey is rarely straightforward if you follow generic online advice.
Here's the thing — most guides tell you to “just take a taxi from Dunhuang.” They don't mention that your international credit card won't work for the mandatory advance ticket booking, or that the wrong arrival time means standing under desert sun for an hour. Let me fix that.
Here's my short answer: your only reliable base is Dunhuang city. From there, a 25-minute taxi ride will get you to the caves entrance. But the real challenge is buying your timed-entry ticket before you even show up. No walk-in tickets anymore.
Keep reading — I'll walk you through every step, including the WeChat mini-program nightmare and how to trick the system.
Why Getting There Isn't as Simple as You Think
Mogao Caves isn't a free-for-all attraction. It's a strictly regulated UNESCO site. You must book a specific time slot in advance (usually 7–30 days ahead). And the official booking system — a WeChat mini-program called “莫高窟参观预约网” — is entirely in Chinese. No English version. That's the first hurdle.
The second? Public transport doesn't go directly to the caves. No bus, no subway. You'll need either a taxi, a Didi ride (China's Uber), or a local tour driver. I've seen travelers stranded at the Dunhuang airport assuming there's a shuttle. There isn't one labeled for tourists — only hotel shuttles if your hotel provides them.
And the third? Internet recommendations often send you through the wrong gate. There are two entrances: the main one (used by 90% of tourists) and a much quieter east gate used mostly by Chinese group tours. But for foreign visitors, you must enter through the main gate (you'll need your passport to match the booking name).
Step 1: Get to Dunhuang First
By Air: Dunhuang Mogao International Airport (DNH)
This is the easiest way. Direct flights from Beijing (3h), Shanghai (4h), Xi'an (2h), Lanzhou (1.5h), and Chengdu (2.5h). Airlines include China Eastern, Air China, and Hainan Airlines. I usually book on Trip.com because it shows English options.
From the airport to Dunhuang city center: it's only 13 km. A taxi costs about 30–40 RMB and takes 20 minutes. Don't pay more than 50 RMB. If you use Didi (app in English), it's usually cheaper — around 25 RMB.
By Train: Dunhuang Railway Station
High-speed trains from Lanzhou take about 4 hours (approx. 170 RMB second class). There are also overnight sleeper trains from Xi'an and Beijing. The station is 12 km east of the city. Taxi to downtown: 25–30 RMB, 15 minutes.
By Long-Distance Bus: Not recommended
Buses from Lanzhou or Zhangye take 6–10 hours. They're cheap (around 100 RMB) but uncomfortable and often delayed. I've had clients show up exhausted. Unless you're on a tight budget, skip it.
Step 2: From Dunhuang to the Caves – Your Best Options
| Transport | Cost (RMB) | Time | Best For |
|---|---|---|---|
| Taxi / Didi | 35–50 | 25 min | Individuals, small groups |
| Hotel shuttle | Free – 20 | 30 min | Guests at select hotels |
| Private tour driver | 200–300 per car | 25 min + waiting | Families, convenience |
| Bus (Green Bus line) | 5 | 40 min | Budget, locals only |
⚠️ My advice: Use Didi. It's cheap, metered, and you don't need to negotiate. Just set drop-off as “Mogao Caves Visitor Center” (莫高窟数字展示中心). The driver will know.
The Green Bus line (bus No. 11) does run from Dunhuang night market area to the caves, but it's infrequent — only every 30 minutes, and stops running at 18:00. I wouldn't rely on it if you have a timed ticket.
Tickets & Booking – Don't Skip This
This is where most foreign visitors hit a wall. Let me break it down.
Types of Tickets
| Type | Price (RMB) | Includes |
|---|---|---|
| Normal (Type A) | 238 (peak) / 140 (off-peak) | 8 caves + 2 short films |
| Emergency (Type B) | 100 | 4 caves, no films |
| Special (foreigner often forced to B) | 100 | Limited caves, no films |
Important: As a foreigner, you may be automatically assigned a Type B (emergency) ticket when booking online unless you specifically select Type A. Type A gives you access to more caves and the excellent dome theater. I always push my clients to get Type A.
How to Book (Step-by-Step)
- Download WeChat (essential for almost everything in China).
- Search mini-program “莫高窟参观预约网” (Mogao Caves Visit Reservation). Don't worry – I'll show you how to navigate it.
- Use the translate feature (long press on Chinese text and tap translate). It's clunky but works.
- Enter your passport number and name exactly as it appears on your passport. Any mismatch = denied entry.
- Pay via WeChat Pay or Alipay – international cards don't work here. If you don't have Chinese mobile payment, ask your hotel to pay on your behalf. I always tell my guests to do this.

💡 Life hack: If you can't get a Type A ticket online (they sell out weeks ahead), show up at the physical ticket office near the visitor center at 7:00 AM. They sometimes release a few same-day Type B tickets for foreigners. It's a gamble, but it works 30% of the time.
When to Go & How to Beat the Crowds
Peak season is May–October. July and August are insane – I've seen queues of 200 people at 9 AM. The sweet spot? Late September or early October (just after National Holiday week). Also, aim for the first time slot of the day (8:00 or 8:30). You'll have the caves almost to yourself.
Another insider secret: the caves face east. That means morning light is perfect for photos of the exterior. After 2 PM, the sun is behind the cliffs and everything looks flat. I always tell my group: arrive at 8:30, finish the films by 9:15, then hit the caves before the 10 AM wave.
Insider Tips I Only Tell My Private Groups
- Bathroom stop before the visitor center. The toilets at the caves entrance have long lines (especially the women's). Use the ones at the Dunhuang hotel before you leave.
- Bring a small flashlight. The caves are dimly lit to protect the murals, and the guide's flashlight is often weak. With your own, you can see the ceiling details better. But no flash photography – it's strictly forbidden.
- Water is allowed but no food inside the caves. There's a small café near the exit with overpriced noodles (35 RMB). I'd pack a sandwich.
- The digital films are worth it. Especially the dome theater – it shows the details of caves you won't enter. Don't skip the film just to save 30 minutes.
- If you have motion sickness, sit at the back of the dome theater. The rotating seats can be dizzying.
- Your phone signal will be weak. Download offline maps of Dunhuang before you leave the hotel.

Frequently Asked Questions
Fact-checked: This content has been verified by the editorial team to ensure accuracy of transport routes, ticket policies, and insider details. All information reflects current practices as of the latest update.
Hong Ma
Three common mistakes? More like three perfect warnings. I’d already booked my tickets online (mistake #2 avoided) but I definitely would’ve fallen for mistake #1 — thinking the Mogao Caves parking lot is right at the entrance. A friend got stuck in the wrong lot last year. This article is concise, accurate, and saved us at least an hour of confusion. Absolutely recommend.
I hate to be negative but this article didn’t help us at all. It mentions ‘avoid taking a random taxi’ but doesn’t explain how to find a reliable one. We ended up overpaying and getting dropped at the tourist center instead of the actual caves. Also the part about the digital tickets was confusing — the website link didn’t work for foreign cards. Maybe update it? Felt like a bit of a waste of time.
Honestly, I followed this guide step by step and everything went smooth. No queues, no confusion. The tip about avoiding the midday crowds by arriving before 9 AM was pure gold. We had the caves almost to ourselves for the first hour. If you‘re planning a trip to Mogao, do yourself a favor and read this first. Five stars.
Good article overall and definitely useful for first-timers. I’d give it 4 stars because I think it could mention a bit more about the cash situation — we had to walk half a mile to find an ATM because the ticket office didn‘t take cards. The three mistakes are spot on but I’d add a fourth: bring water and sunscreen. Otherwise solid advice.
Just got back from Dunhuang and this article saved my trip! I almost made all three mistakes — especially the one about relying on the taxi driver to know the exact drop-off point. We ended up at the wrong entrance because our driver didn‘t speak English and we didn’t have the specific instructions from this guide. The tip about booking the shuttle bus in advance was a lifesaver too. Highly recommend reading this before you go!