The Hanging Temple near Datong stands on a sheer cliff 75 meters above the ground. Built over 1,500 years ago, its wooden beams are set into the rock, making the buildings appear to float against the mountain.
Its cliffside construction is remarkable, but so is its religious role: the Hanging Temple is the only temple in China to bring Buddhism, Taoism, and Confucianism under one roof.
Facts:
- Chinese name: 悬空寺 (Xuánkōng Sì)
- Location: Hunyuan County, about 1.5 hours' drive southeast of Datong
- Built: around the 6th century CE, in the late Northern Wei dynasty
- Opening: 8:00–17:30
- Tickets: RMB 15 (USD 2 / SGD 2.80) to view from below; RMB 100 (USD 14 / SGD 18.50) to climb
- Duration: 1–2 hours
Content Preview
- Getting to the Hanging Temple
- Why Build on a Cliff?
- 2 Ways to Visit
- Tips for Visiting
- Planning a Day Trip
How to Get to the Hanging Temple from Datong
The Hanging Temple lies about 70 km (43 miles) south of Datong city. You have two main options for getting there.
By Car (Recommended)
The drive from Datong takes about 1.5 hours. Ask to be dropped at the pedestrian entrance, the closer option, for a 10-minute walk to the temple.
To avoid the walk, go instead to the visitor center, about 6km from the Hanging Temple. A shuttle bus to the temple costs RMB 20 (USD 2.80 / SGD 3.70).
For a more flexible visit, we recommend a private tour. We can arrange hotel pickup, a car to either entrance, and a knowledgeable local guide to help the trip run smoothly.
See our 4-Day Datong and Pingyao Tour from Beijing.
By Bus
You can also take a direct bus from Datong Ancient City to the Hanging Temple visitor center. The journey takes about 1.5 hours and costs RMB 39 (USD 5.50 / SGD 7.20) per person. From the visitor center, you need to take a RMB 20 shuttle bus to reach the temple.
Why It Was Built on the Cliff?
Why choose such an unlikely site for a temple?
The Hanging TempleFor the monks who lived here, the cliff offered quiet and seclusion: a place for spiritual focus away from worldly noise and closer to the heavens.
The builders made the cliff part of the structure. They carved deep, hourglass-shaped holes into the rock and hammered in horizontal Chinese hemlock beams. Hidden from view, these supports worked like expansion bolts—a feat of physics as well as faith.
They built on that wooden framework, laying planks, raising pillars, and adding pavilions and corridors. See our 4-Day Essence of Datong and Pingyao Tour.
2 Ways for Visiting the Hanging Temple: How to Choose
Option 1: Climb Up the Temple
Climbing the Hanging Temple feels adventurous as well as revealing. Narrow wooden steps and cliffside planks lead you past ancient halls that appear suspended in mid-air.
Pillars and narrow path of the Hanging TempleThe climb reaches China's only temple honoring Confucianism, Taoism, and Buddhism together. In a small hall, statues of Confucius, Laozi, and Shakyamuni sit side by side—a memorable sight.
Statues inside the templeThe tall wooden pillars look like the main supports, but the original structure relied on horizontal beams anchored deep in the cliff. The posts came later to help preserve and protect the building—and reassure visitors.
Walking inside the Hanging TempleClimbing tips:
- Strict visitor limits make advance planning essential if you want to explore inside.
- Use the restroom before climbing; there are no toilets or places to rest along the route.
- Allow around 10 to 20 minutes for the climb, which calls for moderate fitness. The narrow stairs can be crowded, particularly on weekends and public holidays, when waits may reach 1-2 hours.
- The walkway handrails are low, at only about 1 meter high. If heights trouble you, looking toward the temple as you walk may help.
- The route is one-way, so you cannot return for a missed photo. If you spot a good angle, pause briefly and take the shot.
- If heights make you uneasy, you can stop at the temple’s first level. You’ll still see its structure and cliffside setting up close.
Not suitable for:
- Young children
- Elderly travelers with limited mobility
- Travelers uneasy with heights
Option 2: Stay Grounded and Enjoy the View
If you’re afraid of heights or cannot get a climbing ticket, you can still enjoy the view of the Hanging Temple from across the valley.
The Hanging Temple can be most striking from a distance. From the valley floor, its construction against the cliff is clear, and it appears to hang between the mountain wall and the sky.
The Hanging TempleFor photos, head to the viewing platform across the valley. You can fit the whole temple and surrounding peaks into the frame, or use the temple as your backdrop.
For an upward view, try shooting near the inscribed stone or beneath the temple from the pavilion’s eave.
Our clients taking photo with the inscribed stoneStaying at ground level is easier and takes less time. Most visitors spend about 20 to 30 minutes photographing the temple and walking around its base. It suits a shorter or less physically demanding visit.
Visiting Tips
1.Best Time to Visit
For a quieter visit and cooler weather, go between December and April, during winter and early spring. These are the least busy months.
Hanging Temple in snowSummer is usually the busiest season; bear that in mind if you would rather avoid crowds.
2.Avoiding Long Queues
Climbing tickets are limited to 3,200 per day for safety and preservation, so book at least a week ahead. Even with a ticket, you may queue for an hour or more to enter, especially in peak seasons.
To reduce your wait, arrive very early, at about 7:00 am, or visit in the late afternoon. For an afternoon visit, spend the morning at Yingxian Wooden Pagoda or Yungang Grottoes.
3.Accessibility Situation
The site is accessible to wheelchair users who do not plan to climb. From the viewing platform, you can see the temple’s cliffside structure clearly without taking the stairs.
4.Let Us Help You
We can book your Hanging Temple tickets online in advance, sparing you the ticket-office queue and the uncertainty of last-minute availability.
Our guides regularly bring guests to the temple and know its layout, entrance rules and crowd patterns throughout the day. They can time your visit to avoid the busiest periods and reduce your wait.
Private tours also allow flexible transport. Whether you’re travelling from Datong or moving on to nearby sites, we can arrange the journey around your plans.
How to Plan a Day Trip with Hanging Temple
If time is limited, the first option covers Datong’s two best-known attractions in one day. With more than one day in Datong, the second gives you a fuller look at the region.
Option 1: Yungang Grottoes in the Morning, Hanging Temple in the Afternoon
Begin at the Yungang Grottoes, about 45 minutes from Datong’s city center. Allow 2–4 hours to explore the giant stone carvings.
The Buddha statue in the Yungang GrottoesAfter lunch, drive 1.5 hours to the Hanging Temple. Visiting in the late afternoon means fewer morning crowds and softer light on the cliffs.
Option 2: Hanging Temple in the Morning, Yingxian Wooden Pagoda in the Afternoon
Set off early from Datong for the Hanging Temple, about 1.5 hours away. Arriving before 9:00 a.m. gives you the best chance of avoiding crowds and climbing in cooler weather.
Then drive south for about 1 hour to Yingxian Wooden Pagoda, China’s oldest and tallest wooden pagoda. After your visit, return to Datong and take a bullet train to Pingyao or Xi'an.
Yingxian Wooden PagodaDiscover More with Trace East
To use your time well, look beyond the main sights, and avoid logistical hassles, you can draw on our experienced guides and travel specialists.
For a private tour shaped around your requirements, contact us; or explore these tours for a closer look at China's ancient heart:
