

China travel know-how
Yungang Day Trips: Old City & Hanging Temple
Yungang is the reason to come to northern Shanxi, and the base for everything around it: the Buddhist caves west of Datong, the old city temples to the east, the Hanging Temple pinned to the cliffs of Hengshan to the south, and the timber pagoda at Yingxian — with Beijing about two hours away by train.
8 min read
Quick answer
Start at the Yungang Grottoes, about 16 kilometres west of Datong, and let the days out run from there: the old city temples of Datong are the nearest, the Hanging Temple on Hengshan is the cliff day to the south, the Yingxian Wooden Pagoda pairs with it, and Beijing is about two hours away by high-speed train from Datong South. Pick one place per day. For the best months to go, see our Best Time to Visit Datong.
How to choose your day out
The days out from Yungang fall into five kinds, and the choice is really about what you want from the extra day. The grottoes themselves are the caves day, and the base for everything else. The old city is the temples day, for the Liao and Jin halls inside the walls of Datong, 16 kilometres east. The Hanging Temple is the cliff day, on the slopes of Hengshan to the south. Yingxian is the timber day, for the wooden pagoda that has stood for nearly a thousand years. Beijing is the long day, by train. Datong was Pingcheng, the capital of the Northern Wei dynasty from 398 to 494, and everything on this page comes from that history. The same sights from the Datong end — see our Datong day trips guide for the mirror image of this page.
Yungang itself: the caves, half a day
Yungang, about 16 kilometres west of Datong at the foot of Wuzhou Mountain, is the first place to see, and the one every day out starts from. The carving began in the early 460s, under the Northern Wei, and the grottoes run for about a kilometre along the cliff: 45 main grottoes holding about 51,000 statues, from colossal Buddhas to rows of figures smaller than a hand. UNESCO listed the site in 2001, and it is one of the three great Buddhist cave complexes in China, with Dunhuang and Longmen. Allow half a day, and go early — the caves fill up by the middle of the day.
Datong old city: the temples and the screen
Before you head south, give Datong itself an afternoon, 16 kilometres east of the grottoes. The old city holds the Huayan Temple, the best-preserved Liao and Jin temple complex in China, unusual for facing east rather than south, and the Shanhua Temple, with its halls of Jin dynasty clay figures. Between them stands the Nine-Dragon Screen, built in 1392 and the oldest and largest glazed screen of its kind in China. The Ming-dynasty walls ring the old city, from the centuries when Datong guarded the northern frontier, and the walls are best at dusk, when the city lights come on. An afternoon covers the temples and the screen.
Hanging Temple: the cliff monastery
The Hanging Temple, in Hunyuan County 65 to 75 kilometres south-east of Datong, is the cliff day. Founded in 491, under the Northern Wei, it is a wooden monastery built into the rock face of Hengshan — the Northern Sacred Mountain, one of China’s Five Sacred Mountains — its halls and pavilions held by beams socketed into the cliff, about 75 metres above the gorge below. It is the only temple in China that combines Confucianism, Buddhism and Taoism in one place, and it has stood for more than fifteen centuries. The walkways are narrow and the drops are real, so take your time and hold the rails; if heights trouble you, admire it from the gorge floor instead. From Yungang the drive south is longer than from Datong itself, so allow about two hours by car.
Hengshan: the mountain above the temple
Hengshan itself is the mountain day, and a separate outing from the temple at its foot. The Northern Peak of China’s Five Sacred Mountains, it rises to just over 2,000 metres, and the climb is a half-day on its own — the temple visit takes an hour or so, the mountain takes the rest of the day. Go in spring or autumn, when the air is clear and the paths are dry, and start early: the summit is cooler and windier than the valley, so bring a layer even on a warm day. The temple and the mountain pair naturally in one long day by car, with the cliff temple in the morning and the climb after it.
Yingxian Wooden Pagoda: the timber tower
The Yingxian Wooden Pagoda, in Fogong Temple 70 to 75 kilometres south of Datong, is the timber day. Built in 1056, under the Liao dynasty, it is the oldest and tallest surviving timber pagoda in the world — a wooden tower about 67 metres high that has stood for nearly a thousand years, through earthquakes that levelled stone around it. It sits about an hour’s drive from the Hanging Temple, so the two pair naturally in one long day by car: the cliff temple in the morning, the pagoda in the afternoon. Give the pagoda an hour on the ground — it is a building to walk around slowly, not to hurry past.
Beijing: the long day, by train
Beijing is the longest day on this page, about two hours away by high-speed train from Datong South — the city sits about 338 kilometres north-west of the capital. It only makes sense if you are based at Yungang for several days: reach Datong South first, start early, spend the day in the old city, and take an evening train back. Most travellers do this trip in the other direction, using Beijing as the base and Datong as the day out. See our Beijing day trips guide for the Beijing side of the trip.
Getting there: rail, road and private car
The train is the right choice for the cities, and the car for the temples and the pagoda. Datong South is the high-speed station: Beijing is about two hours away, Taiyuan about two hours in the other direction — see our Taiyuan day trips guide for the city to the south — and Pingyao about three hours from Datong, not a day trip, but the natural next stop; see our Pingyao travel guide for it. Yungang is a short ride west of the city, while the Hanging Temple and the Yingxian Wooden Pagoda need a road transfer at the other end, so a private car is the practical way to do them. Check the day’s departures on 12306 before you travel — this guide gives no fixed times — and allow time for the station transfer at each end.
Before you go
- One place per day. Yungang is a half-day on its own, and the Hanging Temple is a full day with the road — do not try to pair the grottoes with the cliff temple.
- Pair the Hanging Temple with Yingxian. The two sit about an hour apart by road, and together they make one long day by car — the cliff temple in the morning, the pagoda in the afternoon.
- Book the grottoes and the temple ahead. Both run on advance booking in peak season, so sort the tickets before you plan the day around them.
- Pick the season. Spring and autumn suit the grottoes, the mountain and the old city best — see our best time to visit China guide for the country-wide picture.
- Pack for walking. The grottoes are cliff paths, the Hanging Temple is narrow walkways and steps, and the old city is best on foot — bring comfortable shoes.
- Private tours, quoted on request. Every OTC tour is private for 2 to 12 travellers, with your own guide and vehicle, no fixed departure date, and travel accident insurance included.
Frequently asked questions
Where do I start a trip around Yungang?
At the grottoes themselves, about 16 kilometres west of Datong. Give them a half-day first, then spend the days around them in the old city of Datong, at the Hanging Temple on Hengshan, and at the Yingxian Wooden Pagoda.
Can I see the Hanging Temple and the Wooden Pagoda in one day from Yungang?
Yes, as one long day by car: the cliff temple in the morning and the pagoda in the afternoon, about an hour apart by road. Do not try to add the grottoes to the same day.
How long do I need at the Yungang Grottoes?
Half a day. The grottoes run for about a kilometre along the cliff, with 45 main grottoes holding about 51,000 statues, so go early and allow time to walk the whole cliff.
Is Beijing too far for a day trip from Yungang?
It is the longest day on this page, about two hours away by high-speed train from Datong South, so start early and treat it as a full day. It only makes sense if you are based at Yungang for several days.
Is this a private tour?
Yes. Every OTC tour is private for 2 to 12 travellers, with your own guide and vehicle, no fixed departure date, and travel accident insurance included.
Planning a trip?
Tell us your dates and interests — a Yungang base with day trips to the old city, the Hanging Temple, Yingxian or Beijing, itinerary draft plus USD quotation within 24 hours.
Prepare My Quote RequestEvery OTC tour is private for 2–12 travellers, with no hidden fees, no shopping stops, and a draft itinerary plus USD quotation within 24 hours.


