Xuankong Temple
Religious Site Cliff-hanging temple near Datong with multi-religious shrines
Built into a cliff on Mount Heng in Shanxi, Xuankong Temple uses wooden terraces and narrow stairways. Sightseers come for the unusual hanging architecture and mixed Buddhist, Taoist and Confucian iconography.
Xuankong Temple, commonly known in English as the Hanging Temple, is a wooden religious complex built into a sheer cliff near Mount Heng (Hengshan) in Shanxi province, China. It is notable for its dramatic location and for combining elements of Buddhism, Taoism and Confucianism within the same complex.
The temple dates to antiquity and is widely described as having origins in the Northern Wei period and later renovations; its principal halls and walkways are supported by beams inserted into the rock face, creating a series of cliffside pavilions and corridors. Visitors go to view the unusual suspended construction and the cliffside corridors, and to reach the site which lies on the southern slope of Mount Heng.
The temple is located approximately 60-70 kilometres south of the city of Datong and is accessed by a short approach from roads serving the Hengshan area.
- Construction method: Built into a cliff face using cantilevered wooden support beams that are anchored into the rock, a distinct example of cliff-hanging architecture.
- Religious significance: The complex integrates Buddhist, Taoist and Confucian elements and is known by the English name "Hanging Temple" or "Hanging Monastery."
How to Get to Xuankong Temple #
The nearest city with visitor services is Datong. From Datong, coaches and local buses run to the Hengshan area; many visitors take organized day tours that combine Xuankong Temple with nearby attractions such as the Yungang Grottoes.
Tips for Visiting Xuankong Temple #
- Approach the Xuankong Temple (Hanging Monastery) from the town of Datong and consider a combined visit with the nearby Yungang Grottoes.
- The temple perches on a cliff and involves narrow wooden walkways; those with mobility concerns should plan accordingly.
- The temple closes or restricts access during severe weather; check local notices in Datong for closures.
Best Time to Visit Xuankong Temple #
Best visited in spring or autumn for comfortable weather and clearer visibility; summers can be hot and hazy.
Weather & Climate near Xuankong Temple #
Xuankong Temple's climate is classified as Warm-Summer Continental (Dry Winter) - Warm-Summer Continental (Dry Winter) climate with mild summers (peaking in July) and freezing winters (coldest in January). Temperatures range from -18°C to 25°C. Semi-arid with limited rainfall with a pronounced dry season.
January
January is the coldest month with highs of -5°C and lows of -18°C. The driest month with just 3 mm and partly cloudy skies.
Comfort
Weather
February
February is freezing with highs of -1°C and lows of -15°C. Almost no rain and partly cloudy skies.
Comfort
Weather
March
March is freezing with highs of 5°C and lows of -8°C. Almost no rain.
Comfort
Weather
April
April is cold with highs of 14°C and lows of -1°C. Light rainfall and partly cloudy skies.
Comfort
Weather
May
May is cool with highs of 21°C and lows of 6°C. Moderate rainfall (35 mm) and partly cloudy skies.
Comfort
Weather
June
June is cool with highs of 24°C and lows of 11°C. Moderate rainfall (56 mm) and partly cloudy skies.
Comfort
Weather
July
July is the warmest month with highs of 25°C and lows of 14°C. The wettest month with heavy rain (117 mm) and partly cloudy skies.
Comfort
Weather
August
August is mild with highs of 24°C and lows of 12°C. Regular rainfall (90 mm) and partly cloudy skies.
Comfort
Weather
September
September is cool with highs of 19°C and lows of 6°C. Moderate rainfall (44 mm) and partly cloudy skies.
Comfort
Weather
October
October is cold with highs of 13°C and lows of 0°C. Light rainfall.
Comfort
Weather
November
November is freezing with highs of 4°C and lows of -9°C. Almost no rain and mostly sunny skies.
Comfort
Weather
December
December is freezing with highs of -3°C and lows of -16°C. Almost no rain.