Datong

Hanging Temple

Perched on a sheer cliff of Mount Heng, the Hanging Temple has defied gravity for over 1,500 years. This 4A attraction blends Buddhism, Taoism, and Confucianism in one remarkable structure. With our private guide, you'll skip the confusion and delve into its history, engineering, and spiritual significance effortlessly.

Multi-tiered wooden Hanging Temple built into vertical rock face with balconies
Multi-tiered wooden Hanging Temple built into vertical rock face with balconies

What it is

The Hanging Temple (Xuankong Si) was built during the Northern Wei Dynasty, around 491 AD, and is unique for its integration of three religions: Buddhism, Taoism, and Confucianism. Legend says it was constructed by a single monk, Liao Ran, to meditate in peace away from the world. The temple clings to a cliff face 75 meters above the ground, supported by wooden beams inserted into the rock. Over the centuries, it has survived earthquakes and weathering, a testament to ancient Chinese engineering.

The temple complex consists of 40 halls and pavilions connected by narrow walkways and staircases. Inside, you'll find statues of Buddha, Laozi, and Confucius side by side, reflecting the harmonious coexistence of the three faiths. The architecture is a marvel: the load-bearing structure is primarily the horizontal beams embedded deep into the cliff, with the vertical poles added for visual reassurance. A visit here offers a glimpse into China's religious history and architectural ingenuity.

Highlights

  • Three Religions in One — See Buddhist, Taoist, and Confucian statues sharing the same space, a rare example of religious harmony in China.
  • Cliffside Engineering — Learn how the temple is anchored into the rock with wooden beams, and why it has withstood earthquakes for 15 centuries.
  • Narrow Walkways — Navigate the maze-like corridors and steep staircases that connect the 40 halls, offering thrilling views of the valley below.
  • Panoramic Views — From the temple's upper levels, enjoy sweeping vistas of the Hengshan Mountains and the gorge below.
  • Ancient Artifacts — Admire the well-preserved statues, murals, and inscriptions that date back to the Northern Wei and later dynasties.
Visitors climbing narrow wooden staircase inside Hanging Temple with cliff views
Visitors climbing narrow wooden staircase inside Hanging Temple with cliff views

How to get there

The Hanging Temple is about 65 km southeast of Datong city. From Datong, take a taxi or join a private tour (1.5 hours). Public buses run from Datong Bus Station to Hunyuan County, then a short taxi to the site. We recommend a private car for comfort and to combine with nearby attractions like the Yungang Grottoes. It's best visited as a half-day trip from Datong.

Tickets & practical info

Admission: ¥130 (includes entry to the temple). Opening hours: 8:30-17:30 (April-Oct), 8:30-16:30 (Nov-Mar). Book in advance during peak season; tickets often sell out. Payment: WeChat Pay and Alipay accepted, but foreign cards may not work; bring cash or use our guide's assistance.

Best time to visit

Visit in spring (May-June) or autumn (September-October) for mild weather and fewer crowds. Early morning right at opening is ideal to avoid tour groups and enjoy the temple in relative peace. Summer weekends are busiest; winter offers a stark, quiet beauty but check for icy paths.

Tips from our guides

  • Wear comfortable, non-slip shoes; the walkways are narrow and steep, and some sections require careful footing.
  • Go early: arrive by 8:30 AM to beat the crowds and have better photo opportunities without people in your shots.
  • Photography is allowed, but avoid using flash inside halls to protect the ancient statues and murals.
  • Be mindful of the limited space; move steadily and don't block the walkways for others.
  • Combine with a visit to the nearby Hengshan Mountain and Yungang Grottoes for a full day of exploration.
Close-up of ancient wooden support beams embedded in rock beneath Hanging Temple
Close-up of ancient wooden support beams embedded in rock beneath Hanging Temple

FAQ

Is the Hanging Temple safe to visit?

Yes, it is regularly maintained and safe for visitors. The walkways have railings, and the structure is monitored. However, those with severe acrophobia may feel uneasy.

How long does a visit take?

Most visitors spend 1.5 to 2 hours exploring the temple and taking in the views. Add extra time for photography and crowds during peak hours.

Can I reach the Hanging Temple by public transport?

Yes, but it requires multiple transfers. From Datong, take a bus to Hunyuan County, then a taxi. A private tour is more convenient and time-efficient.

Are there any restrictions on photography?

Photography is generally allowed, but flash is prohibited inside the halls to preserve the artifacts. Drones are not permitted without special permission.

Want to Customize Your Visit?

Tell us your dates, group size and preferences — a dedicated consultant will reach out within 24 hours.

✓

Request received — thank you!

By submitting you agree that we may contact you about your enquiry. We never sell or share your details.