The Hanging Monastery

Perched on the vertical rock face of Mount Hengshan near Datong, Xuankong Si is one of the rare Chinese monasteries to bring together the three major religious traditions under one roof, suspended dozens of meters above the canyon.

Clinging to the vertical cliff face of Mount Hengshan, some 60 kilometers southeast of Datong, the suspended monastery of Xuankong Si has defied gravity for over 1,500 years. Built on beams anchored into the rock, it brings together Buddhism, Taoism, and Confucianism beneath a single roof—a rare singularity in China. The complex of 40 halls connected by wooden walkways overlooks the gorges of Jinlong Canyon.

Quick Facts at a Glance

  • Access: from Datong by bus or taxi to Hunyuan, then local shuttle to the site.
  • Recommended duration: 1.5 to 2 hours on-site.
  • Dress code: no strict requirements, though respectful attire is recommended in worship halls.
  • Restrictions: walkways are narrow; not recommended for people with vertigo or severely limited mobility.
  • Accessibility: very limited due to stairs and suspended walkways.

What You'll See

The monastery contains approximately 40 halls spread across several levels, connected by wooden galleries with red-painted railings. Inside, over 80 statues in bronze, iron, clay, and stone represent the three religious traditions coexisting here. The central hall, dedicated to the three founders—Buddha, Laozi, and Confucius—united on a single altar, exemplifies this unique doctrinal fusion.

History and Context

The founding of Xuankong Si dates back to the late Northern Wei dynasty, around the 5th–6th century. The site was expanded under the Tang, Jin, and Ming dynasties. Its elevated location served a practical purpose: protecting buildings from canyon floods and rockfalls. The support beams, driven into the rock at precise angles, distribute loads in such a way that the monastery's own weight reinforces its structural stability.

Highlights of Your Visit

The Suspended Walkways

Moving from one hall to another on these wooden galleries, suspended dozens of meters above the ground, is the central experience of the site. The plunging view over the gorges and the rocky cliff face emerging behind the pillars creates a sense of complete immersion in verticality.

The Hall of Three Religions

A rare example of an altar uniting Shakyamuni Buddha, Laozi, and Confucius side by side, this hall illustrates the religious tolerance that characterized certain periods of Chinese history. The statues, finely crafted, mostly date from the Ming and Qing dynasties.

The Integrated Rock Face

Several halls use the cliff itself as a rear wall. The raw rock, sometimes sculpted, blends with lacquered wood—a dialogue between nature and architecture that gives the place its unique character.

Etiquette and Visit Guidelines

  • Speak softly in worship halls; monks may be conducting services.
  • Do not touch the statues or wooden architectural elements.
  • Respect the prescribed circulation path on the walkways to avoid congestion.
  • No smoking on site.

Photography Tips

Morning light, before the sun rises too high, illuminates the monastery's façade without backlighting. From the canyon floor, sufficient distance allows you to frame the entire structure against the cliff face. Inside the halls, light is dim: a camera with good low-light performance or a lightweight tripod is useful. Photography is generally permitted, except where otherwise noted in certain halls.

Location and Access

Xuankong Si is located in Hunyuan district, approximately 65 km southeast of Datong. From Datong, regular buses serve Hunyuan; local shuttles or taxis complete the journey to the site. The monastery is often combined with a visit to the Yungang Caves, a UNESCO World Heritage site located west of Datong.

Nearby Attractions

  • Yungang Caves — A complex of 252 Buddhist caves carved into the cliff face, housing over 51,000 statues dating from the 5th century.
  • Mount Hengshan (Shanxi) — One of the five sacred mountains of Taoism, where Xuankong Si occupies the foothills.
  • Datong Old Town — Restored city walls, Huayan Temple, and Ming architecture to explore before or after your excursion.
?

Frequently asked questions

Spring (April–May) and autumn (September–October) offer pleasant temperatures and moderate crowds. Summer is peak tourist season; arrive early in the morning to avoid congestion on the walkways.

Yes, this is the classic excursion from Datong. The Yungang Caves are typically visited in the morning, then you head to Hunyuan in the afternoon. Plan for a full day and arrange organized transportation to optimize travel times.

The narrow walkways and steep stairs make the visit physically demanding. Young children and people with reduced mobility will face difficulties. Older children, with supervision, typically enjoy the spectacular nature of the place.

Photography is generally permitted in outdoor spaces and most halls. Some active worship halls may restrict it; respect signage on-site.

No strict requirements, though respectful dress is appropriate in religious spaces. Avoid very short shorts or overly casual attire out of respect for the site's sacred nature.

Allow between 1.5 and 2 hours to explore all the halls and enjoy the views from the walkways without rushing.

Interested in this visit?

We can include it in your personalised itinerary.