Datong Travel Guide 2026: Yungang Grottoes & the Hanging Temple for Foreign Visitors

Published: September 21, 2026 | Updated: September 21, 2026 | Reading Time: 12 minutes
Category: Destinations & Culture | For: Foreign Tourists Visiting China

There is a city in northern China where you can stand beneath a 17-metre Buddha carved into sandstone 1,500 years ago in the morning, and by the afternoon walk the creaking wooden walkways of a temple bolted to a vertical cliff — a temple that has hung in the air since before the Tang dynasty. That city is Datong (大同), in Shanxi province, and it is the best two-hour trip from Beijing that almost no foreign visitor takes.

Datong was the capital of the Northern Wei dynasty in the fifth century, and it retains one of Asia's great Buddhist cave-art sites (the Yungang Grottoes, a UNESCO World Heritage Site) plus a building that regularly makes lists of the world's most extraordinary structures (the Hanging Temple). Both have hard booking rules that strand unprepared travellers at the gate — which is exactly what this guide exists to prevent.

We cover how to reach Datong from Beijing and Taiyuan, the two booking systems you must master (including the 2,475-ticket daily cap at the Hanging Temple), a realistic itinerary, autumn and Golden Week timing, what else to see in town, where to stay and eat, and the visa-free angle that makes Datong an easy add-on to a Beijing trip.

Table of Contents

  1. Why Datong, and Why Now
  2. The Yungang Grottoes: Booking & Visiting
  3. The Hanging Temple: The Two-Ticket Trap
  4. Getting There: Rails, Ports & Visa-Free
  5. A 2–3 Day Datong Itinerary
  6. What Else to See in Datong
  7. When to Go: Autumn, and Avoiding Golden Week
  8. Where to Stay & What to Eat
  9. Practical Notes for Foreign Visitors
  10. FAQ

Why Datong, and Why Now

Two things have changed in Datong's favour for foreign travellers. First, in December 2024 China added Shanxi province to its 240-hour visa-free transit scheme, and the permitted travel area for Shanxi is specifically Taiyuan and Datong. In plain terms: if you qualify for the transit policy and fly into Taiyuan, you may travel to Datong and back without a visa. Then in August 2026 the scheme was expanded to 57 nationalities and 65 ports, so more passports qualify than ever.

Second, Datong has quietly become one of China's most talked-about domestic destinations. It is a natural "cool" summer city (average July temperature around 21°C), it is the acknowledged capital of China's surviving ancient timber architecture, and its fame was amplified worldwide by the video game Black Myth: Wukong, whose locations are heavily drawn from Shanxi. The result is a city that is now well known to Chinese travellers but still largely undiscovered by Western ones — which means the experience is superb and the English infrastructure is thin. Plan ahead and you will have the grottoes and the cliff temple almost to yourself (outside national holidays).

The single best reason to go: of China's three great Buddhist grotto complexes, Yungang is the earliest — carved in the fifth century, when Buddhist sculpture in China still visibly carried Indian and Central Asian forms. You are seeing a style that only existed for a short window. Downstairs from that, the Hanging Temple is a genuine engineering miracle. Few trips deliver so much in 48 hours.

The Yungang Grottoes: Booking & Visiting

The Yungang Grottoes (云冈石窟) sit 16 km west of Datong's old city, cut into sandstone at the foot of the Wuzhou Mountains. There are 252 caves and more than 51,000 Buddhist statues, carved between roughly 460 and 525 AD, when Datong (then called Pingcheng) was the Northern Wei capital.

The booking rule that catches people out

Since 1 January 2025, Yungang has been online, real-name booking only. The on-site ticket counters were abolished — not reduced, removed. Turning up without a booking means turning around. Tickets open up to seven days ahead and normally are not sold on the day.

DetailYungang Grottoes
Peak season (April–October)¥120 adult; approx. ¥60 concession
Low season (November–March)¥100
Opening hoursapprox. 08:30–17:30, last entry 16:30 (confirm when booking)
Time needed3–4 hours — do not rush it
Electric cart on siteapprox. ¥15 (worth it; the site is large)

The unmissable moment is Cave 20's open-air seated Buddha, the emblem of Yungang: the cave roof has collapsed, leaving the giant figure exposed to the sky. Photographers say the light turns golden in the mid-afternoon. The Tan Yao Five Caves (16–20), carved on the orders of the monk Tan Yao, are the earliest and the reason art historians make the trip. Bring a guide or rent the audio guide — without context, "looking at rocks" undersells what you are seeing.

Practical rules: flash photography is banned inside the caves (it accelerates the deterioration of the pigments), and tripods and drones are restricted. Wear comfortable non-slip shoes — a full visit is well over 12,000 steps — and bring water and sun protection; the site is exposed.

The Hanging Temple: The Two-Ticket Trap

The Hanging Temple (悬空寺, Xuánkōng Sì) is 65–80 km southeast of Datong, in Hunyuan county, built into the flank of Cuiping Peak above the Jinlong Gorge at Mount Hengshan. It dates to about 491 AD — more than 1,500 years old — and is China's only surviving temple to combine Buddhism, Daoism and Confucianism under one roof, with the three founders sharing a single hall. It hangs roughly 50–58 metres above the gorge floor on timber beams set into the rock, without a single nail.

You are buying two tickets, and the second one matters

The price you read online is not the price. There are two tickets, and the site is deliberately structured so that many visitors discover the second one only when they reach the stairs:

The climbing ticket is capped at 2,475 per day (roughly 1,200 released online and 1,275 sold on site), and the cap is being reduced year on year for conservation. When the climbing tickets sell out, the ¥15 entry ticket usually has not — so people pay to stand below and look up. Decide in advance whether you are paying the ¥115.

How to get a climbing ticket: the official channel is the WeChat mini-program "北岳云游" (Beiyue Yunyou). Online tickets are released at 07:20 each day for the coming seven days, with a second batch released the previous evening (roughly 20:00–23:00). Book the week before, not the night before. Because of a scalper crackdown, online purchase now requires face-recognition verification, and the mini-program can be awkward if you do not read Chinese or do not have a mainland number — a hotel concierge or local guide can help. The on-site counter at the Mount Hengshan Visitor Center sells same-day tickets (morning batch early, afternoon batch around midday); queue very early on busy days and bring your passport.
Arrive by 07:30. The temple opens at 08:00 in peak season (last entry around 17:30). Getting to the visitor centre before the tour coaches is the single best thing you can do for the experience. The walkway is one-way — you cannot turn back — and takes 1–1.5 hours to complete.

Who should not climb: the walkways are narrow, steep and single-file, and the site restricts climbing for visitors with high blood pressure, heart conditions, a fear of heights or limited mobility, and for children under six. If you would rather not climb, the ¥15 entry is a defensible choice — you still get the best photograph.

Getting between the two sites

Yungang and the Hanging Temple are on opposite sides of Datong, so doing both in one day means starting at Yungang when it opens and accepting a compressed afternoon. A direct shuttle runs from Yungang to the Hanging Temple (about ¥39 per person each way, booked via the "Datong Tourist Shuttle" mini-program); sit on the right for a view of the temple as you approach. Private cars cannot drive to the temple gate — you park at the Mount Hengshan Visitor Center and take the shuttle bus (¥20 round trip). Allow 1.5 hours driving each way from the city.

Getting There: Rails, Ports & Visa-Free

RouteDurationTypical fare
Beijing → Datong South (G-train)1h 45m – 2h 30m¥150–250
Taiyuan → Datong1h – 1h 30m¥80–150
Xi'an → Datong3–4h (often via Taiyuan)¥200–400

There are roughly 28 G-trains a day from Beijing to Datong South, so the city is genuinely a day-trip or overnight add-on to a Beijing itinerary. From Datong South station, the K1 bus reaches the Yungang Grottoes for about ¥2 (40 minutes), or a taxi costs ¥30–50. There is no metro in Datong; taxis start at about ¥7 and DiDi (ride-hailing) works well. Within the old city, most sights are walkable.

The visa-free angle: Datong is inside the permitted travel area of China's 240-hour (10-day) visa-free transit for Shanxi province, which covers Taiyuan and Datong only — so if you are transiting to a third country and qualify, you can add Datong without a visa (entry is via Taiyuan Wusu airport, among other ports). Travellers from 50 countries can additionally use the 30-day unilateral visa-free scheme (valid to 31 December 2026). Note that the 240-hour transit rule requires a genuine onward ticket to a different country than you arrived from. Always confirm your nationality, route and permitted area together before booking non-refundable travel.

A 2–3 Day Datong Itinerary

Two nights is the sweet spot. Three if you add the Yingxian Wooden Pagoda and the volcanoes.

Day 1 — Arrive & the old city

Arrive from Beijing by late morning. Afternoon: Huayan Temple in the old city — home to the largest surviving Liao-dynasty timber hall in China and a set of Liao clay sculptures that are why art historians come to Datong at all. Then walk or cycle the free Datong City Wall at dusk for sunset over the old town.

Day 2 — Yungang, then the cliff temple

Yungang at opening (booked ahead), 3–4 hours. Take the shuttle to the Hanging Temple for the afternoon, then return for the evening train — or stay a second night and take it slower. If the one-day double is too compressed, split it: Yungang on Day 2, Hanging Temple + Yingxian Wooden Pagoda (the world's tallest timber pagoda, no nails, leaning gently) on Day 3.

Day 3 (optional) — Wooden Pagoda & departure

Morning at the Yingxian Wooden Pagoda and the Pure Land Temple next door, then back to Datong and out. In the old city, the Nine-Dragon Wall, Shanhua Temple, the Confucian and Daoist temples and the Datong Museum (free, closed Mondays) fill any spare hours.

What Else to See in Datong

SightTicket (approx.)Notes
Huayan Temple¥50 peakLiao timber hall; the "Oriental Venus" clay figures; allow 1.5h
Shanhua Temple¥40Liao/Jin temple, generous layout, rarely busy
Datong City WallFreeCycle the 6 km loop at sunset; rent a bike on site
Nine-Dragon WallFree/small feeLargest Ming glazed-screen wall in China; 15–20 min
Datong MuseumFree (reserve)Northern Wei artefacts; closed Mondays
Yingxian Wooden Pagoda¥5067 m, all wood, no nails, ~1.5h from Datong
Mount Hengshan¥45One of the Five Great Peaks; 3–4h hike; cable car extra
Datong Volcano Group / Earth Forest¥30 / ¥50Optional half-day add-ons outside the city

When to Go: Autumn, and Avoiding Golden Week

Mid-September to late October is the best window. Days are crisp and dry, the old-city ginkgo turns gold, and the light is superb for photography. Datong sits on the northern plateau, so nights are cold even in early autumn — pack layers year-round and expect a big temperature swing.

On Golden Week (1–7 October): Datong is one of the few headline destinations that absorbs China's national holiday reasonably well — considerably better than Xi'an, Beijing or Zhangjiajie — but the Hanging Temple's 2,475-ticket cap is still the bottleneck, and trains and hotels from Beijing spike. If your dates are fixed to the holiday, book the climbing ticket the moment the window opens and lock your train and hotel first. If your dates are flexible, the second and third weeks of October are the sweet spot: autumn weather, far fewer domestic crowds, and easier bookings. Winter (November–February) is cold but peaceful, and the grottoes take on a stark, low-season beauty at lower prices.

Where to Stay & What to Eat

Stay inside the old city if you can — courtyard inns and boutique hotels run roughly ¥200–700 a night, and everything in the walled town is walkable. Avoid the new district outside the wall unless you are driving; it is far from the sights and the night market.

Datong is, unapologetically, a carbohydrate paradise. Do not leave without trying:

Practical Notes for Foreign Visitors

FAQ

Can I visit Yungang Grottoes without booking in advance?
No. Since 1 January 2025 there are no on-site ticket sales — it is online, real-name booking only, normally up to seven days ahead. Reserve through the official WeChat or Alipay mini-program with your passport.
How many climbing tickets does the Hanging Temple release each day?
2,475 in total — roughly 1,200 online and 1,275 on site — and the number is being reduced over time. Book via the "北岳云游" mini-program about a week ahead; online release is at 07:20 daily.
Can I do the Yungang Grottoes and the Hanging Temple in one day?
Yes, but it is tight. Start at Yungang when it opens, take the ¥39 shuttle across town, and accept a compressed 1–1.5 hours at the temple. Two days is far more comfortable.
How do I get to Datong from Beijing?
High-speed rail from Beijing to Datong South takes about 1h 45m–2h 30m on roughly 28 daily G-trains, ¥150–250. From the station, a bus or taxi reaches Yungang in under 45 minutes.
Can I visit Datong visa-free?
Datong sits inside the permitted area of the 240-hour visa-free transit scheme for Shanxi province, which covers Taiyuan and Datong only. Travellers from 50 countries can also use the 30-day unilateral visa-free entry. Check your nationality, route and permitted area together before booking.
Is Datong worth it during Golden Week?
It copes better than most headline Chinese destinations, but the Hanging Temple ticket cap and holiday rail demand still bite. If you can shift to mid-to-late October, you get better weather, smaller crowds and easier bookings.

Related Guides

Ticket prices, opening hours and daily quotas at the Yungang Grottoes and the Hanging Temple change often and are set by the individual scenic areas; the Hanging Temple's climbing-ticket cap is being reduced for conservation. Always confirm current rules on the official mini-programs before you travel. This guide reflects information published as of September 21, 2026.