Yungang Grottoes
A monk who trekked in from the Gansu end of the Silk Road is the reason Cave 20’s Buddha sits exposed to the open sky today, its front wall long since collapsed, staring out over the Shanxi plain instead of being sealed inside a chamber. That monk was Tanyao, and the five caves he supervised, numbered 16 through 20, are collectively known as the Tanyao Five. They are the oldest part of the complex and the ones most worth understanding before you wander off into the other 250-odd caves and niches carved into the sandstone cliff outside Datong.
Get the numbering straight first, because a lot of casual write-ups on this site invent cave names that do not exist. There is no “Temple 1” called Wǔ Láng Táng, no “Temple 2” of five Buddhas, no such thing as a cave named after mutton soup, which is what one of those invented labels literally translates to. The Yungang Grottoes use a simple sequential numbering system, Cave 1 through Cave 53, running roughly east to west along about a kilometer of cliff face, with thousands of smaller niches scattered among them holding an estimated 51,000 carved figures in total.
What was actually built, and when
Construction began around 460 CE under Emperor Wencheng, not Emperor Taiwu. That distinction matters historically: Taiwu had actually persecuted Buddhism and destroyed temples in the 440s. It was his grandson Wencheng who reversed that policy and commissioned the grottoes as an act of restoration, with Tanyao overseeing the first five caves as a kind of imperial atonement project. Each of the Tanyao Five contains one colossal Buddha believed to represent one of the Northern Wei emperors, fusing the ruler’s image with the divine in a way that was as much political statement as religious devotion.
The middle caves, roughly numbers 1 through 13, came next, built from around 471 CE onward through the reign of Emperor Xiaowen. This later phase shows a marked shift in style, with figures becoming slimmer, robes draping in the flowing manner of Chinese court dress rather than the heavier Gandharan-influenced forms of the earliest caves. That stylistic pivot happened because the Northern Wei court was actively sinicizing itself, adopting Han Chinese customs and dress at the imperial level, and the sculptors followed suit. Work stopped in 494 when the capital relocated to Luoyang, where the same artistic lineage continued at the Longmen Grottoes.
The caves worth prioritizing
Cave 20 is the one every photograph of Yungang shows: a seated Buddha over 13 meters tall, its front wall gone, exposed against the sky. It is one of the Tanyao Five and arguably the most photogenic single object at the site, but it is also the one everyone clusters around, so budget patience for the crowd if you visit midday.
Cave 5 holds the tallest Buddha at Yungang, a seated figure reaching roughly 17 meters, housed inside a wooden facade structure added centuries later during the Qing dynasty. The scale here is genuinely disorienting up close; the toes alone are taller than a person.
Cave 6 is the one I’d actually rank above Cave 20 for a first-time visitor. It’s a square pillar cave, meaning a central stone pillar carved on all four sides, surrounded by roughly thirty relief panels depicting scenes from the life of the historical Buddha, from birth to enlightenment. The density of narrative carving packed into that one chamber outstrips almost everything else on site, and it rewards slow looking rather than a quick walk-through.
Cave 3 sits apart from the main cluster and is the largest single cave in the complex, though its interior carvings are comparatively sparse and were likely finished later, possibly into the Sui or Tang period, making it a useful contrast to the density of the Tanyao caves.
Getting there and what it costs now
Datong is the base for any visit, reachable by high-speed rail from Beijing in under two hours, which makes this a realistic day trip if you’re staying in the capital. From Datong South Railway Station, a direct tourist shuttle launched in spring 2025 runs to the grottoes every 20 to 40 minutes, aimed specifically at foreign visitors who don’t want to navigate transfers. Taxis cost around 65 yuan and take roughly 35 minutes; the older public bus route, number 603 from the main Datong railway station, is cheaper but slower.
Admission runs 120 yuan in peak season, April through October, dropping to 100 yuan in the off months. Visitors 60 and over, along with children under 1.2 meters or age 6 and under, get in free. Bring a passport or ID, since ticket counters require one for purchase. Gates open at 8:30am and close at 5:30pm, with last entry around 4:30pm, though I’d treat posted hours as a guideline rather than gospel and confirm same-day if you’re cutting it close.
The crowd problem nobody warns you about
Yungang used to be the quietest of China’s three great Buddhist grotto sites, overshadowed by Longmen in Luoyang and Mogao in Dunhuang. That changed within weeks of the August 2024 release of Black Myth: Wukong, a video game that used Yungang and several other Shanxi temples as direct visual references. Regional tourism jumped roughly 50 percent that August alone, and hotel bookings in the province spiked even faster. The surge hasn’t fully receded since; expect meaningfully heavier weekend and holiday crowds than older guidebooks describe. If you can visit on a weekday morning right at opening, you’ll have a completely different experience than a Saturday afternoon in high season.
For a quieter alternative that still delivers Northern Wei grandeur, the Hanging Temple, Xuankong Si, sits about an hour from Datong in the opposite direction and pairs naturally with Yungang on a two-day itinerary, drawing far fewer visitors despite being equally dramatic, a wooden monastery literally bolted into a cliff face above a gorge.
A conservation reality worth knowing before you go
The sandstone here is soft and the site sits uncomfortably close to an industrial city with active coal mining nearby. Windblown dust and vehicle exhaust have been degrading the carvings for decades, and cracking has required ongoing grouting repairs since the 1950s. Large sections of what was once a much larger complex of over 1,000 minor caves and niches have simply eroded away or were looted in the early twentieth century, with pieces now sitting in museum collections in Europe, Japan, and North America rather than in Shanxi. Knowing this changes how you look at the site: what remains is a fraction of what was carved, and every visit is looking at active decay, not a static monument.
My honest opinion after weighing all this: skip the guided tour groups shouting through megaphones near Cave 20 and instead pay for a private local guide, which is inexpensive here relative to the value, since the difference between glancing at carvings and actually understanding the Wei-to-Tang stylistic shift documented in Caves 6 through 20 is entirely a matter of context nobody puts on the signage. Wear real shoes rather than sandals; the walkways between caves involve a fair amount of uneven stone and gravel, and photography inside the caves is permitted but tripods and flash are not, so pack a lens that performs in low light rather than counting on external light sources.