Yungang Grottoes: visiting China’s great Buddhist cave complex
Cut into a sandstone cliff a short drive west of Datong, the Yungang Grottoes hold thousands of Buddhist statues carved in the 5th and 6th centuries, when this stretch of northern Shanxi was the capital of the Northern Wei dynasty. The towering seated Buddhas mark an early high point of Chinese Buddhist art, and the site is one of the three great cave complexes of China alongside Mogao and Longmen.
Key facts
- Location: near Datong, northern Shanxi Province, China
- Best time to visit: May to early October for comfortable weather; early morning for the quietest galleries
What it is
The grottoes were commissioned as an act of state. The Northern Wei rulers had adopted Buddhism as a unifying force across a territory holding many peoples, and carving it into a cliff in permanent form was the clearest statement they could make. Work began in the 460s and continued for decades, producing more than 250 caves and niches and tens of thousands of individual figures.
The scale ranges from statues barely the size of a hand to seated Buddhas filling a cave from floor to ceiling. Several of the earliest and largest were cut as a group, each associated with an emperor of the dynasty, and their sheer verticality still does the work it was designed to do.
What makes Yungang unusually rewarding is the visible change across the site. The earlier caves carry clear Central Asian, Persian, and Indian influence in the faces, the poses, and the fall of the drapery, arriving along the trade routes that fed this frontier. The later caves shift towards slimmer, more recognisably Chinese forms. Walking the cliff roughly in order lets you watch an imported religion being absorbed and remade, which is a rarer thing to see than a single great monument.
Traces of pigment survive in places, and it is worth remembering as you walk that the whole cliff was once painted.
How to get there
Yungang lies west of central Datong and is straightforward to reach.
- From Datong city: public buses run out to the site from the city, and taxis or an arranged car cover the same route more directly. The journey is short, on the order of half an hour depending on traffic.
- From Beijing: take high-speed rail to Datong, then continue to the grottoes locally. Same-day return from Beijing is possible but tight, and most travellers stay a night in Datong.
- Combining sites: the Hanging Monastery lies in the opposite direction from the city, so pairing the two in one day means a lot of driving. Splitting them across two half-days is the more comfortable arrangement.
The site is large and laid out along the cliff, with a long approach avenue before the caves themselves, so allow more walking than the map suggests.
When to go
Late spring to early autumn, roughly May to early October, brings the most comfortable conditions. Datong is high and dry, and summer here lacks the humidity of central China.
Winter is cold and windy on this part of the frontier, though the caves are sheltered and the light on a clear winter day is superb. Spring can bring dust blown in from the northwest.
Early morning is the best time of day. Domestic tour groups build through the middle of the day, and the larger caves are considerably better experienced without a crowd in them. Chinese public holidays fill the site well beyond its comfortable capacity, so check the calendar if your dates can move.
Tips
- Start at the far end. Most visitors work through in order from the entrance, so beginning further along and doubling back puts you slightly out of step with the flow.
- Give the small niches time. The famous large Buddhas draw everyone, but the density of detail in the smaller caves is where the site rewards a slow look.
- Photography rules vary by cave. Some interiors restrict flash or photography entirely to protect surviving pigment. Watch for the signage at each entrance.
- Dress for wind. The cliff is exposed, and conditions on the approach can be markedly colder than in the city.
- Check the official site for current opening hours and entry information. Arrangements at major Chinese heritage sites change, and advance booking is sometimes required.
Nearby
- Datong old town: the rebuilt Ming-era walls and the Huayan and Shanhua temple complexes sit back in the city. Our Datong travel guide covers them.
- The Hanging Monastery (Xuankong Si): a cliff-mounted temple complex south of Datong near Mount Heng, and the usual second half-day from the city.
- Pingyao: the walled merchant city of central Shanxi, south along the same rail corridor.
For a different side of the country entirely, our Zhangjiajie National Forest Park guide covers the sandstone pillars of Hunan.
Visa and entry
Yungang sits in mainland China, so mainland entry rules apply. Whether you need a visa arranged before travel depends on the passport you hold, and the position has been changing, so check your own corridor on the China destination page.
Indonesian passport holders can find the process in our China entry guide for Indonesian passports. For the general route and the visa categories China issues, see the China visa guide. Hong Kong and Macao operate separate immigration systems from the mainland.
Staying connected
Coverage at the site and along the road from Datong is reliable, so the useful thing is arriving with data already working. In China that matters more than usual, because maps, ride-hailing, ticketing, and payments all sit behind apps.
An eSIM installed before departure connects your phone the moment you land, with nothing to arrange locally. Saily sells travel data plans covering China that you set up in advance and activate on arrival.
See our best eSIM for China guide for the detail, including handset compatibility.
This article contains affiliate links. We may earn a commission if you purchase through them, at no extra cost to you.
Frequently asked questions
What are the Yungang Grottoes?
A complex of Buddhist cave temples carved into a sandstone cliff near Datong in northern Shanxi, China, created in the 5th and 6th centuries under the Northern Wei dynasty. The site holds more than 250 caves and niches and tens of thousands of carved figures.
Where are the Yungang Grottoes?
West of central Datong in northern Shanxi Province, roughly half an hour from the city by road.
How do I get to the Yungang Grottoes?
From Datong by public bus, taxi, or arranged car. From further afield, take high-speed rail to Datong and continue locally.
How long do I need at the Yungang Grottoes?
Two to three hours suits most visitors, including the long approach avenue. Anyone with a particular interest in Buddhist art can comfortably spend half a day.
What is the best time to visit the Yungang Grottoes?
May to early October for the most comfortable weather, and early in the day for the quietest galleries. Chinese public holidays are the busiest periods by a wide margin.
Are the Yungang Grottoes a UNESCO World Heritage Site?
Yes, the grottoes are inscribed on the UNESCO World Heritage List.
Can I take photographs inside the caves?
Rules vary by cave, and some interiors restrict flash or photography entirely to protect surviving pigment. Follow the signage at each entrance.
What are the opening hours and entry arrangements?
These change, and advance booking is sometimes required at major Chinese heritage sites. Check the official site for current opening hours and entry information before you travel.
How do the Yungang Grottoes compare to Mogao and Longmen?
All three are major Chinese Buddhist cave complexes. Yungang is the earliest of the three in its main phase and is known for monumental seated Buddhas and visible Central Asian influence, while Mogao near Dunhuang is celebrated for painted murals and Longmen near Luoyang for later Tang dynasty carving.
Do I need a visa to visit the Yungang Grottoes?
The site follows mainland Chinese entry rules, which depend on your passport. Check your corridor on the China destination page, and note that Hong Kong and Macao are separate immigration systems.
What are the emergency numbers in China?
Call 120 for an ambulance, 119 for the fire service, and 110 for the police.