Cut into a sandstone ridge outside Datong from the 460s, under a dynasty that came from the steppe and ruled north China. Over about seventy years the carving here turns from Central Asian to Chinese, and visitors can watch it happen along the cliff.
Quick Facts
The Short Version
What it is
A kilometre of sandstone cliff cut with Buddhist caves, niches and colossal figures, made under the Northern Wei
Where
About 16 km west of Datong, in northern Shanxi
When
Begun around 460 under the monk Tanyao. The main phase ends in 494, when the Wei moved their capital to Luoyang; smaller work continues for another thirty years
How much
UNESCO's inscription counts 252 caves and niches and more than 51,000 statues
The well-known one
Cave 20, whose front wall collapsed at some point, leaving its seated Buddha sitting in the open air
Listed
UNESCO inscribed it in 2001
Time needed
Two to three hours for the cliff. Half a day if visitors take the museum as well
Pairs with
Longmen at Luoyang, which is where the same court carried on after 494
Why Go
The Same Cliff, Two Different Worlds
1. Five caves for five emperors
The opening caves here, numbered 16 to 20, were cut as a single imperial project: five enormous figures, one for each of the Northern Wei rulers up to that point. The dynasty was Tuoba, a people from the steppe north of the Wall who had taken north China, and this was a declaration in stone that their rulers and the Buddha were of the same order of thing.
Look at those five and the outside world is visible in them. The robes fall in the heavy rounded folds of Gandharan sculpture from what is now Pakistan and Afghanistan, the shoulders are wide and square, the faces are long. This was work made by and for people whose trade and ancestry ran west across Asia, and it looks it.
2. Then the court moved, and the carving changed
In 494 the Wei moved their capital south to Luoyang and set about adopting Chinese dress, language and court ritual as deliberate policy. The caves cut at Yungang after that point are smaller, and the figures in them wear the loose robes and wide sashes of a Chinese gentleman, with narrower shoulders and a different face.
That gives this cliff something few sites have: a change of civilisational direction, recorded by the same workshops in the same rock within a couple of generations. Walking from the western caves to the eastern ones is walking through it. The story then continues 700 km south at Longmen, which the same court began cutting as soon as it arrived.
Cave 20. The front wall and roof came down, so the figure that was meant to be seen in a dim chamber now sits in daylight. The figure usually given for its height is about 13.7 metres.The pupils are inset in a darker material. The smile is the giveaway of the period, and it is worth getting close to at least one carving to see the tool work.Caves 5 and 6 sit behind a timber front added in the seventeenth century. The eroded pillar in front of it is original rock.The gaps between the imperial caves filled up later with smaller niches paid for by ordinary donors. The three figures at the bottom give the scale.
The catch. The setting is industrial. Datong is a coal city, the approach is through mining country, and for years the road past the site carried coal lorries whose dust and vibration were a documented problem for the stone before it was rerouted. Parts of the cliff are usually under scaffolding, some caves are closed for conservation on any given day, and photography is restricted inside several of them.
Orientation
West to East, Not the Way the Path Goes
The caves are numbered from east to west, but the opening phase is 16 to 20, near the western end. If the chronology is what visitors came for, walk to the far end at the start and work back, which takes them forward in time instead of backwards.
The entrance sequence is long: a modern ceremonial avenue and a temple complex stand between the gate and the cliff, and they are recent construction rather than part of the site. Budget fifteen minutes to walk through them, and do not mistake them for the thing visitors came to see.
Practical
Things Worth Knowing
Go west at the start
Caves 16 to 20 are the opening phase of work on the cliff and hold its colossal figures. Doing them initial also gets them before the coach groups reach that end.
Bring a torch, expect it to be dim
The interiors are dark and several do not allow flash or photography at all. A small torch held low shows the carving better than a phone screen does.
Check what is closed
Conservation rotates through the caves, and the one visitors many wanted can be shut. The site posts the day's closures at the gate.
It gets cold and windy
Northern Shanxi at 1,000 m plus. The cliff faces south, but the open ground in front of it has nothing to break the wind from autumn onward.
Timing
When to Go
Season
The case for
The catch
May to June
Dry, clear, and warm enough to stand still in front of a cave for ten minutes
Dust storms are possible into May
September to October
A particularly reliable weather of the year, and good light on a south-facing cliff
The opening week of October is the national holiday
July to August
Warm, and Datong is a cool escape by Chinese summer standards
Peak domestic season, with the site at its busiest
November to April
Very few people, and the low sun reaches further into the caves
Cold and exposed. Some caves close in the coldest weeks
Context
Why a Steppe Dynasty Built This
The Northern Wei were Tuoba, a people from beyond the frontier who took north China in the fifth century and ruled it from Pingcheng, the city that is now Datong. They faced the problem every incoming dynasty in China faced: how to rule a vast settled population whose traditions were not theirs.
Buddhism was useful precisely because it was foreign to both sides. It had arrived from Central Asia along the same routes the Tuoba knew, it carried no obligation to the Chinese classical past, and it supplied a vocabulary of universal kingship. Sponsoring it on this scale was a political act as much as a religious one, which is why the opening five caves are portraits of emperors in the form of Buddhas.
Within forty years the same court reversed direction and set about becoming Chinese by decree, moving the capital to Luoyang and legislating on dress and language. The cliff outside Datong was left behind at exactly that turning point, which is why it preserves the earlier phase so clearly while Longmen preserves what came next.
Nearby
Other Stops on the Same Trip
Temple · 65 km southeast
Hanging Temple (悬空寺)
A monastery built on beams driven into a cliff face above a gorge, on the flank of Mount Heng. The usual second half of a Datong day.
Two hours including the drive and the line.
Temple · in Datong
Huayan Monastery (华严寺)
Timber halls from the Liao dynasty with their original clay figures, in the middle of the old town.
An hour, and it explains what the timber front at Yungang is doing.
Datong is two hours from Beijing on the high-speed line, which makes it one of the easier serious side trips in north China. The old town has been extensively rebuilt behind reconstructed walls, so treat the city as a base and a place to eat rather than as sightseeing in itself.
Two nights covers Yungang, the Hanging Temple and the Liao halls in town without rushing. One night covers Yungang and one other thing.
Experiences
What Visitors Can Actually Do Here
On site · 2 hr
The cliff, west to east
Caves 16 to 20 at the start, then back along the face through the later work, which runs the chronology forwards.
Included in the pass.
On site · 45 min
The site museum
Fragments, reconstructions and the excavation of the monastery that stood in front of the cliff.
Worth it if the caves have left visitors with questions.
Guided · 2 days
Datong and the Wei frontier
Yungang, the Hanging Temple, the Liao timber halls, and the pass, with someone who can point at what changed and when.
One of the few places anywhere where visitors can see a culture change its mind, carved in the same rock by the same workshops within two generations. Walk west at the start, bring a torch, accept the scaffolding, and read the eastern caves against the western ones rather than as more of the same. Then do Longmen, which is the second half.
Travelling to China with 10 or more people? Talk to PreeChina first. A transparent service fee of USD 100 per person for trips of up to 10 days (USD 150 for 11 to 20 days), and no markup on travel components. See how the fee works.
Share the travel dates and interests, and our local team will build the route: the fast train from Beijing, the cliff early and from the western end, the Hanging Temple timed to miss the coaches, and Luoyang later if visitors want both halves.