The giant seated Buddha of Cave 20 at the Yungang Grottoes, carved in sandstone, open to the sky

Destinations / Shanxi / Datong

Datong.

A frontier city that was a capital twice, and left two things behind: 51,000 Buddhist figures cut into a sandstone cliff in the fifth century, and a temple of forty rooms pinned to a cliff face sixty metres above a gorge.

Explore the guide ↓

Northern Shanxi · the Yungang cliff · 45 caves

Grottoes
45 major
Figures
51,000+
Carved
460–524
Hanging temple
491

A capital built for a steppe empire.

Datong sits on the northern edge of the loess plateau at 1,050 metres, on the road between the Yellow River and the Mongolian grassland. The Northern Wei made it their capital in 398 and held it for ninety-six years; the Liao made it a secondary capital; the Ming made it a garrison town on the inner wall. Each of those administrations left something enormous, and the largest thing is the cliff.

The Yungang caves run for a kilometre along the south face of Wuzhou Shan, seventeen kilometres west of the city. Cutting began in 460, under the monk Tanyao, with five caves each holding a colossal Buddha — the so-called Tanyao caves, 16 to 20. The programme continued for sixty-four years and stopped when the court moved south to Luoyang, which is why the caves read as a sequence: heavy, foreign-looking figures at the start, increasingly Chinese faces and Chinese clothing towards the end.

Forty kilometres south-east, in a narrow gorge below Mount Heng, is the second thing: a monastery built in 491 against a cliff, held up by beams let into the rock. It has survived 1,500 years of earthquakes, and it is the only temple in China that houses Buddhist, Taoist and Confucian shrines under one roof.

The grottoes.

Five caves to understand the rest.

Cave 20

13.7 m · the seated Buddha

The most photographed figure in the complex: a seated Buddha with the front wall of its cave collapsed, open to the sky since the Liao. Broad shoulders, a faint smile, and drapery cut in hard regular folds.

Cave 5

17 m · the largest

A seated Buddha inside a two-storey timber front built in 1651, with a body that fills the cave from floor to ceiling. The scale is only legible from the back of the room.

Cave 6

33 panels · the picture book

A square cave with a central pillar and 33 relief panels telling the life of the Buddha from birth to enlightenment, carved in a continuous narrative band around the walls.

Cave 12

45 musicians · the music cave

A ceiling crowded with celestial musicians playing lutes, harps, flutes and drums — a catalogue of fifth-century instruments, several of which survive nowhere else in depicted form.

Caves 16–20

460–470 · the first five

The Tanyao caves: five colossal figures, each associated with an emperor of the Northern Wei, in a style that still carries Gandharan and Central Asian weight.

The late caves

494–524 · the thin ones

West of cave 20, some two hundred small caves cut by officials and merchants after the court left, with slender figures and long necks — the beginning of the Chinese Buddha image.

The hanging temple.

Forty rooms on a cliff, held by beams rather than columns.

The structure

491 · 152.5 m²

The whole monastery occupies 152.5 square metres of floor plate on a cliff face, in 40-odd rooms on three levels. The beams are set two-thirds into the rock; the visible columns below carry almost nothing and are there to reassure.

The height

58 m · was 90

The floor of the lowest gallery is now 58 metres above the valley, not the 90 it was when built — the river bed has silted up over fifteen centuries. The cliff above and the gorge below are the whole design.

The three teachings

One roof

The highest hall holds statues of the Buddha, Laozi and Confucius side by side. It is the only surviving temple in China where the three traditions share a single building.

The gorge

Jinlong · Mount Heng

The temple sits in the Jinlong gorge between the two main peaks of Mount Heng, the northern sacred mountain. The walk in from the car park is ten minutes and the scale only makes sense from below.

The old city.

What else the frontier capitals left.

Huayan Si

A Liao monastery inside the city wall with a main hall from 1140 and, in its lower hall, a set of Liao clay figures in a sunken box that is one of the strangest interiors in China.

Shanhua Si

The other Liao foundation, larger and quieter, with three halls in a row and a set of 24 heavenly kings. Less visited than Huayan and in some ways better preserved.

The city wall

The Ming wall was rebuilt in the last twenty years over its original line — 7.2 kilometres, with gates and towers. New brick on old foundations: walk it at dusk for the view over the roofs.

The nine-dragon screen

A Ming glazed screen in front of the old prince’s palace, 45 metres long, with nine dragons in coloured tile. Five minutes from Huayan Si and worth the detour.

When to go.

May to October; the caves are cold in winter but empty.

May – June

The best weather: 15 to 26 degrees, dry, clear. Windy in May, which is also when the loess dust blows. The caves are at their best in low morning light.

July – August

Warm to hot — 28 to 32 degrees — with the rainy season. The advantage is that the cliff faces south and stays dry; the disadvantage is the holiday crowds in the first week of October and through July.

September – October

The best month. 10 to 22 degrees, hard clear light, and the sandstone reads at its sharpest. The first week of October is a national holiday and the caves hit their visitor cap early in the day.

November – March

Cold: minus 10 to minus 18, with coal-season haze. The caves are nearly empty and the low winter sun rakes across the figures. Snow on the cliff is worth the cold.

Plan the visit.

One day for the caves, half a day for the temple and the town.

Getting there

Datong has an airport and a high-speed rail station on the Beijing–Taiyuan line, about two hours from Beijing. The grottoes are 17 kilometres west of the city, twenty minutes by taxi.

The caves in a morning

Caves 5, 6 and 20 are the three that matter, and they are spread over a kilometre. Two to three hours at an easy pace, more if you read the panels in cave 6.

The hanging temple

Sixty-five kilometres south-east of Datong, ninety minutes by road, on the way to Mount Heng. Entry is timed and the galleries are narrow; an hour on site is enough, two with the gorge walk.

Combining them

The usual shape is caves in the morning, Heng Shan and the hanging temple in the afternoon, back in Datong for dinner. A car and driver for the day is the practical arrangement.

Before you go.

Sandstone, stairs and a timed ticket.

Do not touch the figures

The sandstone is soft and the surfaces are already sugaring. Barriers are there for a reason; flash is banned inside the caves and tripods need permission.

Which cave first

Go to cave 20 first, before the tour groups, then work east. Cave 5 and 6 have the longest queues and the timber front holds the crowd in.

The hanging temple stairs

Steep, narrow, and one-way in places. Not suitable for anyone uneasy with heights or unsteady on stairs; the gorge view from below needs no ticket.

Altitude and dust

The city is at 1,050 metres and spring dust storms are real. A mask is useful in April, sunglasses all year.

The short version.

One full day: the Yungang caves in the morning, the hanging temple and Mount Heng in the afternoon, Huayan Si at dusk. Two nights in Datong is the comfortable shape; one is possible if you start early.

Start my journey brief ↗