Skip to main content
Visa-free transit 240h ✓CNY 6.68 ≈ $1HSR network 45,000 km
Visa CheckerContact
  1. Home
  2. Datong
  3. Hanging Temple (Xuankong Si, Datong)
Hanging Temple (Xuankong Si, Datong)

Hanging Temple (Xuankong Si, Datong)大同悬空寺

The Hanging Temple (悬空寺) is China's most improbable building: a monastery pinned to the sheer cliff of Jinlong gorge beneath Hengshan's west peak in Hunyuan County, Datong — forty timber halls stacked across five stories, carried by beams socketed into the rock and cross-braced by slender struts that look (but do not truly act) as the structure's legs. Founded by the Northern Wei dynasty around 491, it is also a triple-religion oddity: a hall holds Buddha, Laozi and Confucius together. The visit splits in two — a ¥15 gate ticket buys the gorge floor view of the temple hanging above, and a ¥100 climb ticket buys the plank-walkway route through the halls themselves; climb tickets are capped daily and must be booked ahead through the official 'Bei Yue Yun You' (北岳云游) mini-program, since the route sells out in season. It is the standard half-day run from Datong old town, usually paired with the Yungang Grottoes or the Wooden Pagoda at Yingxian.

Datong · Visitor Guide2026-11-17

Quick Answer

Is Hanging Temple (Xuankong Si, Datong) worth visiting?

The temple that hangs on a Hengshan cliff — Xuankong Si in Hunyuan's Jinlong gorge, founded by the Northern Wei around 491, forty halls on plank walkways pinned to a rock face.

Quick facts

TicketViewing gate ¥15; temple climb ¥100 (i.e. ¥115 total for the full route). Climb tickets are capped daily — book ahead via the official 'Bei Yue Yun You' mini-program; on-site windows open early (from about 7:20) but sell out in season.
HoursThe gorge and ticket windows run long hours in season (windows from about 7:20); the climb route operates daylight hours — confirm the season's exact opening at the official Hengshan channels.
Recommended duration2–3 hours: the gorge-floor viewing, the climb route through the halls, and the walkways below.
Best time to visitClear mornings for the gorge light and quieter plank walkways; spring and autumn are the comfortable seasons. Climb tickets sell out in July–August and the golden weeks — book days ahead.
How to get thereIn Jinlong gorge, Hunyuan County, about 1.5 hours southeast of Datong by car or tourist bus; self-drive, chartered car or the Datong–Hengshan tourist lines all reach the gate. From the gate, stairs and paths lead to the viewing floors and the climb entrance.
English signagePartial
Wheelchair accessibleNo
FoundedNorthern Wei, around 491 AD — over 1,500 years of cliff residency
StructureForty timber halls on five levels, carried by rock-socketed beams and slender struts
QuirkOne hall holds Buddha, Laozi and Confucius together — three religions under one roof
TicketViewing gate ¥15 + climb ¥100; daily climb tickets capped — book via 'Bei Yue Yun You'
PositionJinlong gorge below Hengshan's west peak, Hunyuan County, ~1.5 h from Datong

What to expect

The Hanging Temple solves an impossible brief. A Northern Wei-era builder was asked — tradition says to keep the temple safe from floods and falling rock — to raise a monastery where the river scours and the cliff drops, and the answer was to hang it: timber beams socketed deep into the rock face carry forty halls across five levels, while the slender wooden struts bracing the facade are mostly theatrical, taking loads only occasionally. Founded around 491, the temple has hung in the same gorge for over 1,500 years, surviving floods, earthquakes and dynasties by the simple method of being where neither river nor rockslide could reach it.

The temple's second oddity is its faith: in a hall at the junction of the walkways, Buddha, Laozi and Confucius sit side by side — Buddhism, Daoism and Confucianism sharing one small room — which makes Xuankong Si a rare physical document of China's three-teachings harmony. The halls themselves are narrow chambers connected by plank walkways pinned to the cliff; the floorboards creak, the gorge drops away through the slats, and the route through takes twenty to thirty gripping minutes. The ¥15 viewing gate lets those unwilling to climb see the whole construction from the gorge floor, which is itself a photograph people cross provinces for.

Practically, the temple is a half-day from Datong: a 1.5-hour drive to the Hunyuan gorge, then the viewing floors and, for ticket-holders, the climb. Book the ¥100 climb through the official 'Bei Yue Yun You' mini-program days ahead in season — daily caps sell out, and the on-site windows (open from about 7:20) cannot save a latecomer in July. Pair it with the Yungang Grottoes on one Datong day, or with the Yingxian Wooden Pagoda on the Hengshan arc; sturdy shoes and no fear of heights are non-negotiable.

How to get there

Drive or take a tourist bus from Datong southeast about 1.5 hours to Hunyuan County's Jinlong gorge; the gate area opens onto stairs to the gorge-floor viewing, with the climb entrance at the temple's base. Datong–Hengshan tourist lines and chartered cars are the standard options.

Best photo spots

  • The whole temple hanging on the cliff, shot from the gorge-floor viewing platform
  • The slender struts and rock-socketed beams from the walkway level
  • The three-religions hall with Buddha, Laozi and Confucius together
  • The gorge riverbed far below through the walkway slats

Tips

  • Book the ¥100 climb via the official 'Bei Yue Yun You' mini-program days ahead in season — daily caps sell out
  • Do the ¥15 viewing floor even if you skip the climb; the gorge-floor view is the postcard
  • Wear real shoes: the plank walkways are narrow, creaky and unforgiving of sandals
  • Go early — the walkways queue in tour-group waves from mid-morning
  • Pair with Yungang Grottoes (one Datong day) or the Yingxian Wooden Pagoda (the Hengshan arc)

Scams to avoid

  • Scalpers selling 'guaranteed climb tickets' at the gate at multiples of ¥100 — the mini-program is the only legitimate channel
  • Drivers offering 'back-door entry' without tickets — there is no back door; decline
  • Photo services on the walkways charging per shot in the narrowest sections — shoot yourself or wait for the wide landings

Frequently asked questions

How much does the Hanging Temple cost?

The viewing gate is ¥15 and the temple climb is ¥100 — ¥115 total for the full route. Climb tickets are capped daily and booked via the official 'Bei Yue Yun You' mini-program.

Can I see it without climbing?

Yes — the ¥15 gate covers the gorge-floor viewing, which is the classic full-temple photograph; the climb adds the walkways and halls.

How old is it?

Founded by the Northern Wei around 491 AD — the temple has hung in Jinlong gorge for over 1,500 years.

Is it safe to climb?

The route is maintained and railed, but the walkways are narrow and high: sturdy shoes and a head for heights are required; those with vertigo should stay on the viewing floor.

How do I reach it from Datong?

About 1.5 hours by car or tourist bus to Hunyuan's Jinlong gorge — self-drive, chartered car or the Datong–Hengshan tourist lines.

Read next

Other things to do in Datong

Datong City Markets

Datong's old-town market circuit — dawn markets, knife-shaved-noodle shops (刀削面) — The food streets and barbecue rows light up from about 17:00.

Datong Ancient City Walls

Rebuilt Ming-dynasty walls ringing Datong's old city, free to walk since 2016 with lantern-lit night views. Reservation via Alipay. 1–2 hours for a wall-top stroll, best at dusk.

Datong Earth Forest

North China's only known earth-forest landscape — hundreds of earth columns and walls, ten to tens of meters tall, spread over ~3 km of Shifanggou valley at Duzhuang village, Yunzhou District.

Mount Heng (Northern Heng)

The Northern Great Mountain of the Five Sacred Mountains — a Taoist peak in Hunyuan County at 2,016 m, with cliff temples above Datong, and the Hanging Temple at its foot.

Huayan Temple (Datong)

Datong's great Liao-Jin temple complex in the old city — the 1038 Bhagavan Sutra Repository with the smiling 'palms-joined, tooth-revealing' bodhisattva, and the vast 1140 Mahavira Hall.

Jinhuagong National Mine Park

A working coal mine turned national mine park on the Shili River, directly across from the Yungang Grottoes — coal museum — Coal museum ~¥30 adult, ~¥15 concession (as of recent seasons).

Datong City Museum

Free first-class museum anchoring Datong's story — Northern Wei capital Pingcheng, Liao-Jin Western Capital, with the Sima Jinlong lacquer screens among its treasures. 2–3 hours.

Nine Dragon Screen (Datong)

Datong's Ming-era glazed nine-dragon screen wall — built 1392 for Prince Dai's mansion, the oldest and largest nine-dragon screen in China, glazed in cobalt and gold dragons.

Pingxingguan (Pingxing Pass)

The Ming-dynasty pass in the Taihang foothills where the 8th Route Army won China's first great victory over Japan in September 1937 — a free memorial museum, the Qiaogou gorge battlefield.

Shanhua Temple

Datong's 'South Temple' — the largest and most complete Liao-Jin monastery complex in China, its Liao great hall and Jin gate inside the old city walls; 1–1.5 hours, pairing with Huayan Temple.

Datong Volcano Cluster (National Geological Park)

China's largest Quaternary volcanic field in North China — 30+ extinct cones across 129.8 km² of farmland 30 km east of Datong, dormant for ~60,000 years.

Yungang Grottoes (Datong)

Datong's UNESCO cliff of 51,000 Buddhist statues carved 460–525 AD — the largest 5th-century rock-cut complex in China. ¥120. Allow 3–4 hours; bus 3/12 or DiDi from downtown.

Hanging Temple (Xuankong Temple)

A 1,500-year-old temple fused into a sheer cliff face 75 meters above the ground — the only temple in China combining Buddhist, Taoist, and Confucian halls. ¥130. 1–1.5 hours.

Huayan Temple

A pair of Liao-dynasty (907–1125) wooden temples holding one of China's largest surviving ancient halls and a celebrated 1,000-year-old smiling bodhisattva. ¥65. 1.5–2 hours.

Mount Wutai

Holiest Buddhist mountain — 53 temples, Manjusri bodhisattva's seat. UNESCO site. ¥135 entry. Cool summer retreat at 3,058 m. From Datong or Taiyuan.

Nine-Dragon Wall

China's oldest and largest Nine-Dragon Wall — 45.5 m of Ming glazed tile built in 1392 for a prince's mansion, viewable in about 30 minutes. Pair it with Huayan Monastery around the corner.

Yingxian Wooden Pagoda (Sakyamuni Pagoda of Fogong Temple)

A 67-meter all-timber pagoda built in 1056 without a single nail — the oldest and tallest surviving wooden pagoda in the world, 70 km south of Datong. ¥60.

Yungang Grottoes

51,000 Buddhist statues carved into 252 caves across a 1 km sandstone cliff — the largest 5th-century rock-cut temple complex in the world. UNESCO. ¥120. 3–4 hours.

Museums in Datong

Sources