Skip to main content

Photo: BRUNNER Emmanuel (Manu25), Public domain, via Wikimedia Commons

Northern China

Hanging Temple

The Hanging Temple, also called Xuankong Si, is a complex of halls built against a cliff in Hunyuan County, near Datong in Shanxi, China. Its wooden buildings sit above the valley floor near Mount Heng.

Visitors follow narrow stairs and raised walkways between the halls, with views of the surrounding cliffs and valley. A visit often takes about one to two hours. You can go on your own or join a guided trip from Datong, often paired with the Yungang Grottoes.

Book tickets and tours

Prices and availability come from Viator. When you book through these links, we may earn a commission at no extra cost to you.

Frequently asked questions

How long should I spend at the Hanging Temple?
Allow about one to two hours to see the halls and walkways. Crowds and how much time you spend looking around can affect your visit.
Should I book tickets or a tour ahead?
Hours and prices can change, so check current details before going. Tickets and guided tours can be booked below.
How do I get to the Hanging Temple?
The temple is in Hunyuan County, outside Datong. Many visitors travel by car or join a day tour from Datong, often combining it with the Yungang Grottoes.
What should I expect on the temple walkways?
The route includes narrow stairs and raised walkways between the halls. Take your time, and wear comfortable shoes for walking.

More sights in Northern China

More things to do in Northern China