Short answer
The Yungang Grottoes are a Northern Wei Buddhist cave complex carved into a sandstone cliff about 16 to 20 kilometres west of Datong in Shanxi. Cut over roughly the period 453–495 CE, they are the earliest of China's three great cave groups, predating both the Longmen Grottoes and the Mogao Caves at Dunhuang.
There are 45 main caves and over 250 niches. The ones that matter for a visitor are a compact set: the twin caves 5 and 6, the ornate group 9 through 13, and the colossal seated Buddhas of 16 through 20. Two to three hours covers them without rushing.
Tickets are real-name and best booked a day ahead, with the full price commonly listed around 120 RMB. The site opens around 08:30 and takes last entry at 16:30. Reach Datong by high-speed rail — about two hours from Beijing — then drive, bus or taxi out to the caves.
What the Yungang Grottoes are
Yungang is the closest thing to a fossil of the Northern Wei dynasty's state-sponsored Buddhism. The ruling family commissioned tens of thousands of carvings along a kilometre of cliff face, at a scale that took a huge organised workforce and left figures ranging from a few centimetres tall to a 17-metre seated Buddha in cave 20.
Because the caves came a generation before both Longmen and the main phase of Dunhuang's Mogao Caves, they mark the moment when Indian and Central Asian carving styles were still visibly flowing into Chinese art. The faces, robes and postures are a mix of traditions, and that fusion is the reason art historians treat Yungang as the reference point for the two cave sites that followed.
Tickets and booking
Yungang runs on real-name ticketing, which means the ticket is tied to your passport, not something you wave anonymously at a gate. Book at least a day in advance through the official channel or a trusted platform, and carry the passport you booked under.
| Item | Details | Notes |
|---|---|---|
| Full-price ticket | Commonly listed around 120 RMB | Discounts for children and students |
| Booking method | Real-name, passport-linked | Book a day ahead; foreign passports accepted via official channel |
| Opening hours | 08:30–17:00, last entry 16:30 | Hours can vary by season |
| Visit sessions | Morning and afternoon windows in some systems | Confirm your slot when booking |
Which caves to see
You do not need to visit all 45 caves. The crowd, and the guides, concentrate on a tight loop, and the highlights obey a simple logic: the later, more finished caves sit near the entrance end, and the oldest monumental figures sit at the far end.
- Caves 5 and 6. The tallest Buddha in the complex sits in cave 5; cave 6 is the most richly carved single cave, with a soaring square pillar covered in reliefs. Arrive early here.
- Caves 9 through 13. The "Five Flowers" group, famous for colour, musicians and intricate architectural carving.
- Caves 16 through 20. The five colossal Buddhas commissioned early in the site's life. Cave 20's open-air seated Buddha, exposed when the front of the cave collapsed, is the image on every postcard.
- Caves 21 to 45. Smaller and mostly for the faithful; skim these or skip them if you are short on time.
Getting there
Datong is the gateway, and the high-speed network has made it a realistic day or overnight trip from Beijing. Trains leave from Beijing North or Qinghe stations and reach Datong South station in about two to two and a half hours, with frequent daily departures. Datong South sits on the same corridor that continues to Xi'an, so it drops neatly into a north-oriented itinerary.
From Datong to the caves, the practical choices are:
| Route | How | Rough time / cost |
|---|---|---|
| Downtown Datong | City bus No. 3 from Gongjiao Sigongsi, or taxi | Bus ~20–30 min; taxi ~40 min, 30–50 RMB |
| Datong South station | Tourist bus or taxi | About 25–28 km, ~40 min by car |
| Datong station (conventional trains) | Bus 4 to bus 3, 603 tourist line, or taxi | ~1–1.5 h by bus; taxi ~30–50 RMB |
The site itself sits west of the city on Wuzhou Mountain. Whether you bus or taxi, the journey is short enough that the caves still feel like a half-day outing rather than an expedition.
Opening hours and the best time of day
The site is open roughly 08:30 to 17:00 with last entry at 16:30, though hours can shift with the season and on public holidays. Confirm the day's window when you book, because the entrance controls it strictly in busy periods.
Go first thing. The morning light falls across the cliff face rather than behind it, the mid-morning tour groups have not yet arrived, and caves 5 and 6 stay breathable before the crowds pack in. Late afternoon has its own quiet, but you risk running into the last-entry cutoff.
Visitor rules that catch people out
A few other points matter. Photography rules differ cave to cave and change over time — flash and tripods are generally discouraged for the sake of the pigments. Do not touch the carved surfaces; the sandstone has already lost much of its painted finish. And keep the ticket or booking QR available, since some systems re-check it at the entrance to the main cave zone rather than only at the outer gate.
Combining Yungang with the rest of Shanxi
Yungang is rarely the only stop. Datong also anchors the Hanging Monastery and the Huayan Monastery downtown, and the high-speed line links Datong to Pingyao in about three to three and a half hours — the classic north Shanxi pairing of a cave complex and a walled merchant town. If you are planning the wider route, see the destination guides for the cities on either side of the corridor.
Frequently asked questions
Do I need to book Yungang Grottoes tickets in advance?
Yes. The site uses real-name ticketing tied to your passport, and you should book at least a day ahead through the official channel or a trusted booking platform. Same-day walk-up entry is not something to rely on in busy periods.
How much is the Yungang Grottoes entrance ticket?
The full-price ticket is commonly listed around 120 RMB, with discounted rates for children and students. Prices can be adjusted, so confirm the current figure on the official ticketing channel before you go.
Which caves should I not miss at Yungang?
Focus on caves 5 and 6, the paired caves 9 through 13, and the monumental seated Buddhas of caves 16 through 20. Caves 21 to 45 are smaller and can be skimmed if time is short.
How long should I allow at Yungang Grottoes?
Two to three hours covers the main caves at a steady pace. Add an hour if you want the museum and the surrounding temples, and allow for the drive out from Datong and back.
How do I get from Datong to Yungang Grottoes?
City bus No. 3 runs from the Gongjiao Sigongsi stop to the grottoes, taking around twenty to thirty minutes. A taxi costs roughly 30 to 50 RMB from downtown. From Datong South station the site is about 25 to 28 kilometres, around 40 minutes by car.
Can I photograph inside the caves?
Photography rules vary by cave and change, and flash is generally discouraged for the sake of the carved surfaces. Follow the signs at each cave and ask staff if you are unsure about a particular statue.
Is Yungang worth pairing with Pingyao?
Yes. Pingyao and Datong sit on the same high-speed rail corridor in Shanxi, with through trains of roughly three to three and a half hours between them, so many travellers do both on one north Shanxi loop.
Related reading
Yungang is the first of China's great cave complexes — the natural comparison is the Dunhuang Mogao Caves for painted interiors, and a Beijing–Datong–Xi'an rail line for the journey in.
Compiled from the official Yungang Grottoes ticketing and opening-hour information, Datong high-speed rail schedules and recent visitor reports, cross-checked 30 September 2026. Ticket prices, opening hours, bus routes and train times change with the season and official announcements — the figures in your own booking channel at the time you go are the authoritative version. Nothing on this page is travel or financial advice.