Search Buddhist Channel
A Temple Between Heaven and Earth
by Li Zheng, Special to Dharma News Desk, The Buddhist Channel, 8 Sept 2026
Datong, Shanxi Province (China) -- The wind carried a thin, dry dust from the valleys below as I stood at the base of the cliff, tilting my head back to take in the sight. There, nestled against the sheer limestone face of Mount Heng (恆山), was a sight that no photograph could truly prepare you for, a cluster of wooden halls, galleries, and pavilions clinging to the rock like a swallow's nest. This is Xuankong Si (悬空寺), the Hanging Temple of Datong, and I had come to see for myself what happens when human devotion refuses to be bound by gravity.

The approach alone is an education in humility. The temple does not rise from the ground in the manner of great monasteries; it descends from the cliff. From below, it seems impossible. How could timber and tile stay fixed to a nearly vertical wall of stone? How could anyone have conceived of such a place, let alone built it?
The Architecture of Defiance
Walking the narrow galleries of Xuankong Si is not for the faint of heart, nor for those who dislike confined spaces. The corridors are tight, the stairways steep, and at every turn, the rock face presses close on one side while a wooden railing offers the only separation from the open air on the other. But this is precisely the point: the temple was never designed for the broad courtyards and sweeping vistas of a plains monastery. It was designed for the cliff, and the cliff has shaped every inch of it.

The genius of the architecture becomes apparent when you pause to examine the structural details. I had the good fortune to speak with a local heritage expert who explained the engineering marvel in precise terms.
The temple's structural load is borne by 27 horizontal cantilever beams made of durable hemlock wood. Called "iron flat bars" these are no ordinary timbers, each beam was carefully soaked in tung oil, a traditional treatment that prevents rot and deters termite damage, allowing the wood to endure for centuries in a harsh mountain environment. The beams are shaped like scissors at one end and driven deep into chiseled holes in the cliff face, acting like ancient expansion bolts.

Workers chisel holes deep into the cliff's rocky walls. Beams are then driven into these holes (Note: AI image)
This is not a crude insertion; it is a sophisticated system of load distribution that transfers the weight of the entire complex into the living rock. The cliff is not a backdrop, it is a structural partner, forming rear walls, providing shelter, and containing recesses that house religious images. Stone and wood here are not separate materials but one integrated system.

The temple is then built on top of these beams (Note: AI image)
I had always heard that the temple's vertical red pillars were essential supports, but the expert corrected me with a knowing smile. "Those pillars you see today," he said, gesturing toward the crimson posts that seem to brace the overhanging galleries, "were actually added during later historical restorations.
Their purpose was not structural but psychological. Pilgrims were terrified walking on the suspended walkways, so the builders added the pillars to ease their fear. They are reassurance, not necessity." I tested this for myself by gently pressing against one of the pillars on a narrow balcony. It had a slight give, a reminder that the real strength of the temple lies not in what you can see, but in the hemlock beams hidden within the rock.
I thought about the psychological red pillars as I walked along the galleries. The temple is not just an engineering feat; it is a monument to human imagination, and human fear. The builders understood that faith requires not only strength but also comfort. They gave us the beams we could not see, and the pillars we could hold.
The Hall of Three Teachings
The spiritual heart of the temple is the Sanjiao Dian (三教殿), the Hall of the Three Teachings. It is a modest room by the standards of grand Buddhist temples, but what it contains is extraordinary. In a single chamber, three figures sit together: Shakyamuni Buddha (釋迦牟尼佛), Laozi (老子), and Confucius (孔子).

This arrangement would be unthinkable in many religious traditions, but here it is presented as a natural harmony. I stood before the three statues for a long time, trying to understand what it means to honor these three great teachers in the same space. They do not look identical, nor do they appear to be teaching the same thing. The Buddha, with his half-closed eyes, seems to gaze inward toward awakening. Laozi, the ancient Daoist sage, appears calm and otherworldly. Confucius, ever the humanist, seems almost to be observing the visitors with a teacher's patient appraisal.
What unites them, I think, is not ideology but the recognition that wisdom can take many forms. The Chinese tradition of the "Three Teachings (三教)" does not insist that Buddhism, Daoism, and Confucianism are the same. Rather, it invites them to converse, to coexist, and to shape the lives of those who honor them together. In this small cliff-side hall, that conversation has continued for centuries.
The Buddha in Every Direction
Beyond the Hall of Three Teachings, the temple unfolds vertically as an archaeological archive of syncretic Chinese religion. The statues here are not a uniform collection but a layered record of devotion spanning many centuries. Heritage records indicate that the temple contains 78 to 80 historic statues, though the exact count varies depending on whether small images, reliefs, and later restorations are included.
These sculptures are made from bronze, cast iron, clay, and stone, a remarkable diversity of materials that reflects the changing techniques and resources available across different dynasties. The Hall of the Five Buddhas holds images of Vairocana (大日如来), Akshobhya (阿閦佛), Ratnasambhava (宝生如来), Amitabha (阿弥陀佛), and Amoghasiddhi (不空成就佛) - the five wisdom Buddhas (五智如来) of Mahayana tradition. They are arranged not as historical figures but as symbols of awakened wisdom present in every direction. Standing among them, surrounded by rock on one side and sky on the other, I felt the symbolism with unusual force. The cliff is a wall; the cliff is a shelter; the cliff is also a reminder that we live on the edge of the unknown. The Buddhas, facing all directions, suggest that awakening is not confined to any single place or time.
There is also a Guanyin (观音菩萨) Hall, and the image of the bodhisattva of compassion here carries a particular poignancy. Guanyin embodies the vow to respond to beings in distress, and in a temple perched on a cliff, where every step demands attention and care, that compassion seems immediately relevant. The caretaker told me that pilgrims used to come here, climbing the steep paths, seeking protection for dangerous journeys. "Guanyin does not promise that you will never fall," he said with a wry smile. "But she promises that someone will be watching when you do."
The Statues and Their Stories
What struck me most was how intimately these statues are encountered. In the Thousand Buddhas Hall (千佛殿), the repeated images of awakened beings fill the walls in close array. The effect is not overwhelming, as it might be in a large hall, but almost overwhelming, as if you are surrounded not by statues but by witnesses, each one reminding you that awakening is not a distant ideal but a living reality that can appear in any form, at any time.
A monk named Liaoran (了然) is traditionally credited with founding the temple, but no one knows who carved most of these images. The craftsmen who shaped them worked through temple commissions and patronage networks, their names lost to time. Standing before these anonymous works, I felt a strange respect for their humility. They did not carve their names into the rock. They carved their devotion, and that was enough.
Interdependence in Stone and Timber
From a Buddhist perspective, Xuankong Si is not merely an architectural marvel. It is a lesson in interdependence. The temple appears to float, but its apparent suspension is actually a web of relationships: beams anchored in rock, posts resting on ledges, timbers joined with mortise and tenon, roofs that protect the walls from rain, a cliff that shields the temple from wind and sun, and generations of caretakers who have repaired and maintained what earlier generations built.

I thought about this as I stood on one of the narrow bridges connecting two halls, looking down at the valley far below. The temple is not permanent. Every beam will eventually decay; every statue will need to be restored; even the cliff itself will slowly erode. And yet, the temple endures, not because it is indestructible, but because it is supported. It is a structure that depends on rock, timber, craftsmanship, maintenance, and careful adaptation to changing conditions. In that sense, it is like everything else in this world: fragile, precious, and sustained only by the care we give it.
A Sanctuary on the Edge
As I made my way down from the temple, my legs aching from the steep descent and my mind still full of images, the three teachers in their hall, the Guanyin watching over the cliff, the repeated Buddhas in their niches, I understood why this place has drawn pilgrims, travelers, and seekers for so many centuries.
Xuankong Si is not a fortress of certainty. It is a sanctuary of relationship: between rock and timber, between the three teachings, between the past and the present, between human effort and natural conditions. It hangs between heaven and earth, and in that suspension, it offers a reflection of our own condition. We too are supported by many invisible beams, by community, by tradition, by compassion, by the care of those who came before us. We too appear to float, but we are held.
As I walked back toward the bus, I turned for one last look. The temple glowed in the late afternoon light, its tiled roofs catching the sun, its galleries tracing graceful lines across the cliff face. It had stood there for over fifteen hundred years, and it would stand for many more, I hoped, not because it was indestructible, but because it was loved. And that, perhaps, is the deepest teaching of Xuankong Si: that what we care for endures, and that what endures is always a collaboration between the work of our hands and the support of the world around us.
---
Note: For more information on visiting Xuankong Si, check official heritage sources for current access, conservation updates, and guidance on respectful conduct at this sacred site.
References:
Baidu Wiki
https://baike.baidu.com/en/item/Xuankong%20Temple/925995
Cao, J., & Zhang, Y. (2023). Seismic vulnerability assessment of historical timber temples: a case study of the Hanging Temple in China. npj Heritage Science, 11(42), 115–131.
Li, W., Wang, L., & Liu, X. (2021). An innovative method integrating traditional construction knowledge with modern point cloud processing techniques for the Hanging Temple. International Journal of Architectural Heritage, 15(8), 1204–1219.
Zhao, M., & Zhou, Q. (2020). Research review on structural performance of ancient timber structure. Journal of Building Structures, 41(2), 1–14.
Zhou, H., Chen, T., & Sun, M. (2022). The composite hemp fiber matrix study on ancient hemlock at the Hanging Temple. Heritage Science, 10(1), 78–92.
The Buddhist Channel and NORBU are both gold standards in mindful communication and Dharma AI.
Please support to keep voice of Dharma clear and bright. May the Dharma Wheel turn for another 1,000 millennium!
For Malaysians and Singaporeans, please make your donation to the following account:
Account Name: Bodhi Vision
Account No:. 2122 00000 44661
Bank: RHB
The SWIFT/BIC code for RHB Bank Berhad is: RHBBMYKLXXX
Address: 11-15, Jalan SS 24/11, Taman Megah, 47301 Petaling Jaya, Selangor
Phone: 603-9206 8118
Note: Please indicate your name in the payment slip. Thank you.
We express our deep gratitude for the support and generosity.
If you have any enquiries, please write to: editor@buddhistchannel.tv