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
Beijing to Datong See YunGang Cave, Hanging Temple (Bullet Train) (opens Viator in a new tab)
- 12–15 hours
- Free cancellation
- Private tour
Datong 8 Hour Charter Yungang Grottoes and Hanging Temple (opens Viator in a new tab)
- 8 hours
- Free cancellation
- Private tour
All-Inclusive Private Day Tour to Wooden Pagoda and Hanging Temple from Datong (opens Viator in a new tab)
- 8–9 hours
- Free cancellation
- Private tour
Beijing-datong yungang grottoes hanging temple with train ticket (opens Viator in a new tab)
- 9 hours
- Free cancellation
- Private tour
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.