Viajá con Gus
Home › China › Datong
Datong
🇨🇳 China · Northern China

Datong

🪪 What do I need to enter China?Pick your citizenship and we tell you the visa, the days and the paperwork, with the official source.

By leaving your email and citizenship you agree to receive the documents you asked for and weekly travel news. You can unsubscribe whenever you want. How we handle your data.
Jump to what you need
📍Region
Datong (大同) is a city in the north of Shanxi province, in the northern interior of China, close to the border with Inner Mongolia and just over 300 km west of Beijing. With around 1,5 million people in its urban core, it was a strategic stronghold on the frontier between agricultural China and the nomadic steppes, and it became an imperial capital under the Northern Wei dynasty in the 5th century. From that golden age come the Yungang Buddhist grottoes, one of the world's great collections of rock-cut art and a World Heritage Site. Datong is also the gateway to the astonishing Hanging Monastery of Hengshan, and it has a rebuilt walled historic centre with large ancient temples.
📌Getting there and getting around
Datong has its own high-speed rail station (Datong Nan / Datong South), linked to Beijing by China Railway G trains in under two hours, and an airport (DAT) with domestic flights. Within the city, the walled old town is easy to explore on foot, and there are taxis, city buses and Didi (the 'Chinese Uber') for longer distances. The big sights outside town (the Yungang Grottoes, about 16 km to the west, and the Hanging Monastery with Mount Heng, about 65 km to the southeast) can be reached by tourist bus, a taxi hired for the day or an organised tour. As everywhere in China, it's worth having a VPN for Western apps and paying with Alipay or WeChat QR codes.
📌Best time to visit
The best time to visit Datong is from May to October, with late spring and autumn as the ideal times: clear skies, pleasant temperatures and good light for the grottoes and the monastery. Datong sits on a high, dry plateau, so winters (November to March) are long, very cold and windy, with temperatures well below zero. Summer is warm by day but cool at night and fairly dry. Try to avoid the domestic tourism 'golden weeks' (1 October and Chinese New Year), when the sights get very crowded.
📌Suggested days
With 2 full days you can cover the essentials of Datong: one day for the Yungang Grottoes and the walled old town (city walls, Huayan and Shanhua temples, Nine Dragon Wall), and another for the trip to the Hanging Monastery and Mount Heng, which are farther away. Many travellers visit Datong as a one- or two-night stop between Beijing and Pingyao or Xi'an, making use of the high-speed rail network. With an extra day you can add another excursion or explore the centre at a more relaxed pace.
📌Language and currency
The language is Mandarin Chinese. Outside hotels hardly anyone speaks English, so it's a good idea to have a translation app on your phone and your addresses written in Chinese characters. The currency is the yuan or renminbi (CNY, ¥). As of mid-2026, ¥100 is roughly US$14 or €13. As everywhere in China, almost everything is paid by phone with a QR code through Alipay or WeChat Pay, which tourists can link to a foreign card. Carry some cash in yuan for small stalls and for transport to the sights.
💱 CNY exchange rate
Loading rate…
🌤️ Weather in Datong
Loading weather…

Datong is one of those Chinese cities that surprises travellers who are willing to leave the most beaten track. In a dry, windy corner of northern Shanxi, near the old frontiers with the steppe, this former imperial capital holds one of the most impressive artistic treasures in all of China: the Yungang Grottoes, a mountain hollowed out by tens of thousands of Buddhas carved into the rock more than fifteen hundred years ago, when Datong was the heart of the Northern Wei kingdom. It is Buddhist art on a colossal scale, comparable to humanity's great rock-cut sites.

But there's more to Datong than Yungang. A few kilometres away, clinging as if by a miracle to a dizzying cliff face, is the Hanging Monastery of Hengshan, a temple suspended in mid-air and one of the most astonishing sights in the country. The city itself, after a controversial and monumental reconstruction of its historic centre, offers walls you can walk along, centuries-old Buddhist temples and the delicate Nine Dragon Wall. All of this makes Datong a fascinating stop between Beijing and the rest of Shanxi.

This guide covers the essentials of Datong with a practical eye: how to plan your visit to the Yungang Grottoes and the Hanging Monastery (both outside the city), what to see inside the walled old town, how to get around, and what you need to know about prices, transport and opening hours. Less crowded than China's big cities and on a more human scale, Datong delivers some of the most memorable moments of a trip through northern China.

📖 History of Datong

Datong owes its greatness to the Northern Wei dynasty, founded by the Tuoba, a people of nomadic (Xianbei) origin who unified northern China in the 4th century. At the beginning of the 5th century they made Datong, then called Pingcheng, their capital, and from there they sponsored an extraordinary flowering of Buddhism: between 460 and 525 the Yungang Grottoes were carved, with tens of thousands of Buddha images cut into the rock, a work that blended Indian, Central Asian and Chinese influences. When the Wei court moved its capital to Luoyang at the end of the 5th century, Datong lost its prominence, but it remained a key frontier stronghold facing the peoples of the steppe. Under the Liao and Jin dynasties (10th to 13th centuries), ruled by northern peoples, it became a secondary capital again, and large Buddhist temples such as Huayan were built. During the Ming dynasty it was strengthened as a military bastion on the northern frontier, with its walls and its proximity to sections of the Great Wall. In recent decades Datong, a coal-mining city, undertook a controversial and ambitious reconstruction of its historic centre. The full story, from the Wei kingdom to the present day, is on our history page.

Read the full history ↓

🏛️ Datong is in Northern China

The historic heart of the country, the cradle of civilisation on the banks of the Yellow River: the imperial capitals, the Great Wall, the Buddhist grottoes and the Ming walled city of Pingyao.

Read the history of Northern China →

🗺️ What to see

1
The Yungang Grottoes
A mountain hollowed out by more than 50.000 Buddhas carved into the rock in the 5th century; one of the high points of Buddhist art worldwide and a World Heritage Site.
Leer más ↓
The Yungang Grottoes (云冈石窟, Yúngāng Shíkū) are Datong's great treasure and, together with Longmen and Dunhuang, one of the most important collections of Buddhist rock-cut art in the world. They consist of a sandstone cliff roughly one kilometre long, hollowed out by 45 main caves and more than 250 niches, which together hold more than 50.000 statues and images of the Buddha, from tiny figures to giants almost 17 metres tall. They were carved between 460 and 525, during the Northern Wei dynasty, when Datong was the imperial capital and its rulers, of nomadic origin, embraced Buddhism with fervour and made it the state religion. What makes these grottoes unique is the blend of styles: the carvings show influences from the Greco-Buddhist art of Gandhara (in India and present-day Pakistan), from Central Asian art that arrived along the Silk Road, and from Chinese tradition, which becomes dominant in the later caves. The great seated Buddhas, with their serene faces and folded robes, convey an overwhelming spirituality, while the walls and ceilings are covered in reliefs with Buddhist scenes, celestial musicians, dancers and decorative motifs of dazzling richness. Caves 5 and 6 are among the most spectacular, and Cave 20, with its great open-air Buddha (the façade collapsed), is the most iconic image of the site. Getting there: the grottoes are about 16 km west of Datong; you can get there by tourist bus (no. 3), taxi/Didi or on a tour. Best time: spring and autumn; go early in the morning to avoid the tour groups. Tips: the site is large and involves quite a lot of walking, so wear comfortable shoes and bring water; an audio guide or a guide helps a lot in understanding the iconography; flash is forbidden, and in some caves photography is not allowed. It has been a UNESCO World Heritage Site since 2001.
ℹ️ Distance: About 16 km west of Datong; tourist bus (3), taxi/Didi or tour · Best time to visit: Spring and autumn; early morning for smaller crowds · Admission: ¥150 (US$21 / €19,5) from April to October; ¥125 from November to March, 2025 (verified July 2026) · Duration: 2,5 to 3 hours
2
The Hanging Monastery of Hengshan
A temple suspended in mid-air, clinging to a sheer cliff for more than 1.500 years; one of the most astonishing sights in China.
Leer más ↓
The Hanging Monastery (悬空寺, Xuánkōng Sì, 'temple suspended in the air') is one of the most incredible structures in China and a sight that seems impossible: a cluster of wooden pavilions clinging halfway up a sheer cliff in the gorge of Mount Heng, held up by slender beams and pillars driven into the rock. It was founded more than 1.500 years ago, towards the end of the Northern Wei dynasty, and rebuilt and extended in later periods. This impossible spot was chosen for several practical reasons: the concave rock face shelters it from rain, snow and direct sun, and the height protected it from the floods of the river that once ran below. The monastery is remarkable not only for its dizzying position but for its unique character: it is one of the few temples in the world dedicated at once to China's three great spiritual traditions (Buddhism, Taoism and Confucianism), with halls and statues for all three. You explore it along narrow wooden walkways and stairs hanging over the drop, moving from one pavilion to the next with nothing but air beneath your feet: an unforgettable experience, though not for anyone who suffers from vertigo. Despite its fragile appearance, it has withstood centuries of weather and earthquakes. Getting there: it is about 65 km southeast of Datong, near Hunyuan, at the foot of Mount Heng; you can get there on a tour, by taxi hired for the day or by bus. Best time: May to October; arrive early, because the number of people allowed inside the monastery is limited and queues form to go up. Tips: going up into the temple itself usually costs extra on top of the site admission; the floors can be slippery, so wear shoes with good grip; combine it with a visit to Mount Heng, one of the Five Sacred Mountains of Taoism.
ℹ️ Distance: About 65 km southeast of Datong (near Hunyuan); tour, taxi or bus (1-1,5 h) · Best time to visit: May to October; go early, as capacity inside the temple is limited · Admission: Approx. ¥125 (US$18 / €16) from March to October; ¥117 in winter; going up into the temple may cost extra, 2025 (verified July 2026) · Duration: 1,5 to 2 hours (half a day including the journey)
3
The Datong City Walls
The city's great walled enclosure, monumentally rebuilt on top of the Ming walls, which you can explore on foot or by bike.
Leer más ↓
The Datong City Walls (大同城墙) frame the city's historic centre in an imposing rectangle more than seven kilometres around, with towers, monumental gates and a wide wall-walk you can stroll or cycle along. The original walls date from the Ming dynasty, when Datong was a key military bastion on China's northern frontier against the Mongols. Over time they had crumbled almost entirely, until in the last decade the city undertook an ambitious and controversial reconstruction that rebuilt them almost in full, with their imposing look of an imperial fortress. That reconstruction, driven by the local authorities in the 2010s, was hotly debated: for many it is more a modern stage set than an authentic monument, since almost everything was rebuilt from scratch, even displacing thousands of residents from the centre; for others, it gave Datong back a historic skyline and a tourist appeal it had lacked. Either way, the result is spectacular: the walled enclosure, especially when lit up at night, offers a powerful image of old fortified China, and from the top you look out over the historic centre with its temples and grid of streets. Getting there: the walls surround the old town, right in the centre; you can enter through several gates and towers. Best time: at sunset and after dark, when the illuminated wall is at its most impressive. Tips: you can rent a bike to ride along the wall-walk; combine your walk on the wall with a visit to the great temples in the centre (Huayan, Shanhua) and the Nine Dragon Wall, all within walking distance.
ℹ️ Distance: They surround the old town, right in the centre of Datong; access through several towers and gates · Best time to visit: Sunset and night (illuminated walls) · Admission: Going up onto the wall: approx. ¥30-40 (US$4-5,5), 2025; bike rental costs extra (verified July 2026) · Duration: 1 to 1,5 hours
4
Huayan Temple
The largest and best-preserved Buddhist temple of the Liao-Jin period in China, with its great hall and its medieval sculptures.
Leer más ↓
Huayan Temple (华严寺, Huáyán Sì) is the most important Buddhist complex in Datong's old town and one of the best-preserved ancient wooden temples in northern China. Its origins go back to the Liao and Jin dynasties (11th to 12th centuries), when peoples of nomadic origin ruled this region and sponsored a great deal of Buddhist building. The temple takes its name from the Huayan school of Buddhism and is divided into two parts, the Upper Temple and the Lower Temple, with buildings from different periods. Its jewel is the Mahavira Hall (Daxiongbao), one of the largest wooden Buddhist halls surviving in China, with an imposing floor area and an interior that holds large Buddha statues and murals. In the Lower Temple, the Sutra Hall preserves exquisite Liao-period sculptures, among them the famous 'smiling bodhisattva', a figure of extraordinary grace and expressiveness, considered a masterpiece of medieval Chinese Buddhist sculpture. One unusual feature of the complex is that its buildings face east rather than south, as is customary, due to the influence of the beliefs of the Khitan people of the Liao dynasty. Getting there: right in the walled old town, a few minutes' walk from the walls and the Nine Dragon Wall. Best time: in the morning, with soft light in the courtyards. Tips: look closely at the quality of the Liao sculptures, which are the temple's most valuable treasures; combine the visit with nearby Shanhua Temple and a walk along the wall and through the rebuilt centre.
ℹ️ Distance: Datong old town; walkable from the walls and the centre · Best time to visit: In the morning; soft light in the courtyards · Admission: Approx. ¥50 (US$7 / €6,5), 2025 (verified July 2026) · Duration: 1 to 1,5 hours
5
The Nine Dragon Wall
The largest and oldest of China's dragon spirit walls, a 14th-century tapestry of glazed ceramic tiles.
Leer más ↓
Datong's Nine Dragon Wall (九龙壁, Jiǔlóng Bì) is the largest and oldest of the famous 'nine dragon walls' surviving in China, outdoing the better-known ones in Beijing in both size and age. It is a great spirit wall, a decorative screen that, according to tradition, was placed in front of the entrance to palaces and important residences to block evil spirits, which were believed to be able to move only in straight lines. This one is about 45 metres long and 8 metres high, and it is entirely covered in coloured glazed ceramic tiles. Across its surface nine great dragons twist among clouds and waves, modelled in relief with remarkable power and movement, in shades of yellow, blue, green and purple. The number nine and the dragons are no coincidence: they were imperial symbols, reserved for the highest rank. The wall was built at the end of the 14th century, at the start of the Ming dynasty, in front of the palace of a son of the founding emperor who held his fief here. The palace has gone, but the wall survived as a testament to its former splendour. Getting there: in Datong's old town, a few minutes' walk from the Huayan and Shanhua temples. Best time: any time of day, ideally with good light to appreciate the colours of the glaze. Tips: it's a short visit but a very striking one; look at the detail and colours of each dragon and at how they are reflected in the pool that is usually in front of it. It's easy to combine with the other sights in the centre.
ℹ️ Distance: Datong old town; walkable from the temples in the centre · Best time to visit: In good daylight, to appreciate the coloured glaze · Admission: Approx. ¥10-20 (US$1,5-3), 2025 (verified July 2026) · Duration: 20 to 30 minutes
6
Shanhua Temple
A serene Buddhist complex from the Liao-Jin period, with ancient sculptures and highly valuable wooden architecture.
Leer más ↓
Shanhua Temple (善化寺, Shànhuà Sì) is another of Datong's great historic Buddhist temples, a little less visited than Huayan but of enormous architectural value and quiet charm. It was founded during the Tang dynasty and largely rebuilt during the Liao and Jin dynasties (11th to 12th centuries), from which several original buildings survive, making it a rare example of well-preserved medieval Chinese wooden architecture. It stands next to the southern wall of the old town. The complex is laid out along an axis of courtyards and halls that rise in level. Its main building, the Mahavira Hall, houses a set of high-quality Buddhist statues, including the Buddhas of the Five Directions and an impressive row of Jin-period guardian figures and celestial deities with remarkable expressiveness and realism. The temple's atmosphere, more intimate and less crowded, invites you to take your time appreciating the beauty of the ancient sculpture and carpentry. Getting there: in Datong's old town, next to the southern wall, a few minutes' walk from the other sights in the centre. Best time: in the morning or late afternoon, when there are fewer people. Tips: look at the guardian sculptures and the wooden structure of the halls, which are of exceptional value; you can combine it with Huayan Temple and the Nine Dragon Wall on a single walking route through the centre.
ℹ️ Distance: Datong old town, next to the southern wall; walkable from the centre · Best time to visit: Morning or late afternoon (fewer people) · Admission: Approx. ¥50 (US$7 / €6,5), 2025 (verified July 2026) · Duration: 45 minutes to 1 hour
📶I have never landed without internet. I arrive and my phone connects to the strongest network in the country I am visiting: I can say I landed, sort out transport, book tours and keep posting, at a seriously good price. I always use the Maya eSIM — check their plans by clicking the banner.See plans →Maya Mobile eSIM — download, install, go
What nobody tells you

💵 Prices

Tickets

TypePrice
Grutas de Yungang¥150 high season (Apr-Oct) / ¥125 low season (Nov-Mar), 2025 (verified July 2026)
Monasterio Colgante de Hengshan (Xuankong Si)Approx. ¥125 (Mar-Oct) / ¥117 (winter); going up into the temple may cost extra, 2025 (verified July 2026)
Murallas de Datong (subir al adarve)Approx. ¥30-40, 2025 (verified July 2026)
Templo de HuayanApprox. ¥50, 2025 (verified July 2026)
Templo de ShanhuaApprox. ¥50, 2025 (verified July 2026)
Muro de los Nueve DragonesApprox. ¥10-20, 2025 (verified July 2026)
Monte Heng (Hengshan, montaña sagrada)Park admission approx. ¥17 + optional cable car, 2025 (verified July 2026)
🔄 updated monthlyOfficial / reference values · double-check when buying

Activities and tours

ActivityPriceDurationOperator
Day trip to the Hanging Monastery and Mount Heng¥300-600 per person depending on group and services (US$42-84), 2025Full dayLocal agencies and guides in Datong (check)
Guided visit to the Yungang Grottoes¥150-350 per person (guide and transfer, admission not included), 2025Half dayLocal guides (check)
Taxi hired for the day for the sights outside town¥400-700 per vehicle per day, 2025Full dayLocal taxi drivers and agencies (check)
Night walk through the illuminated walled old townFree (walk); bike rental on the wall costs extra, 20251 to 2 hSelf-guided / wall services
Combined tour of Yungang + the historic centre¥250-450 per person, 2025Full dayLocal agencies (check)
🔄 updated monthlyOfficial / reference values · double-check when buying

🚌 How to get there and distances

Getting around

On foot around the old town
Free
DurationVaries
Notes
The walled centre, with the Huayan and Shanhua temples, the Nine Dragon Wall and the city walls, is easy to explore on foot: everything is just a few minutes apart
Taxi and Didi
PriceFlag fall from ¥7-8 + per-km fare, 2025
DurationVaries
Notes
The most practical way to reach Yungang and to get around outside the centre. Didi works through the app (you can pay with a linked card). Carry your address written in Chinese
Tourist and city buses
PriceFrom ¥1-2 per ride with QR/card, 2025
DurationVaries
Notes
Bus 3 connects the centre with the Yungang Grottoes. It's a cheap network but the signs are in Chinese; for travellers, a taxi/Didi or a tour is simpler
Shared bikes
Approx. ¥1,5 per 30 min, 2025
DurationVariable
Notes
Colourful bikes you unlock with a QR code from Alipay/WeChat; handy for getting around the centre and for riding along some sections of the city wall
🔄 updated monthlyOfficial / reference values · double-check when buying

How to get there

RouteAirlines / operatorsAvg. priceDuration
Beijing → Datong by high-speed trainChina Railway (G trains, Fuxing/Hexie), Datong South station (Datong Nan)Approx. ¥90-190 (2nd class) depending on the train, 20251h46 to 2,5 h
Datong → Pingyao / Taiyuan by trainChina Railway (G and conventional trains)Approx. ¥90-160 depending on train and class, 2025~2 h to Taiyuan (change for Pingyao)
Datong → Xi'an by high-speed trainChina Railway (G trains)Approx. ¥250-350 (2nd class), 2025~4-5 h with a change
Datong Airport (DAT) → centreTaxi, Didi, shuttle busTaxi approx. ¥40-60, 202520 to 30 min
🔄 updated monthlyOfficial / reference values · double-check when buying

🏨 Where to stay

No exact prices: a scale from $ (budget) to $$$$$ (luxury), with 2-3 options per category.

Upscale in the historic centre
Price$$$$$
Recommended options
¥400-800 per night (US$55-110), 2025; good-quality hotels and comfortable national chains near the walled old town and the station, ideal for exploring the centre on foot. Check that the hotel accepts foreign guests
Well-located mid-range
Price$$$$$
Recommended options
¥200-400 per night (US$28-55), 2025; a wide choice of mid-range Chinese chain hotels (clean, functional) in the centre and near Datong South station, offering good value for comfort
Charming boutique in the old town
Price$$$$$
Recommended options
¥350-700 per night (US$50-100), 2025; a few charming hotels with traditional courtyards inside the rebuilt walled area, so you can experience the historic centre up close
Budget and hostels
Price$$$$$
Recommended options
¥60-150 per dorm bed; ¥150-300 for budget private rooms (US$21-42), 2025. Hostels and budget hotels near the centre and the station, popular with backpackers. Make sure they accept foreign passports

🍴 Where to eat

Cocina de Shanxi (fideos y vinagre)
Price$$$$$
Options / signature dish
¥30-80 per person, 2025. Shanxi is the noodle land par excellence: knife-cut noodles (dao xiao mian), 'cat's ear' noodles and a huge variety of pasta shapes, almost always served with the province's famous black vinegar. Hearty, tasty food from a cold region
Cordero y cocina del norte
Price$$$$$
Options / signature dish
¥40-100 per person, 2025. Being close to the steppes, Datong is full of lamb dishes: skewers, stews, lamb with noodles. Hot pot too, for the cold. Neighbourhood restaurants with generous portions
Comida callejera y bollería
Price$$$$$
Options / signature dish
¥5-25 per bite, 2025. Baozi (steamed buns), jiaozi (dumplings), wheat flatbreads, skewers and all kinds of snacks at the stalls in the historic centre and on the shopping streets. Ideal for a quick, cheap bite between visits
Restaurantes de hotel y de cadena
Price$$$$$
Options / signature dish
¥50-150 per person, 2025. For those who prefer a more predictable setting or a menu with pictures/English, hotel restaurants and chain restaurants in the centre offer a variety of Chinese dishes in a comfortable setting

📖 History of Datong

Origins, formation and what the sources say.

Pingcheng: when Datong was capital of the empire (4th-5th centuries)

Datong's great moment came more than fifteen hundred years ago, in a turbulent era when northern China was fragmented and ruled by peoples of nomadic origin who had come from the steppe. One of those peoples, the Tuoba, of Xianbei ethnicity, managed to unify the north and found the Northern Wei dynasty. At the start of the 5th century, in the year 398, their ruler set up the capital in the city then called Pingcheng, today's Datong, in an arid, strategic corner near the frontier between the Chinese farming world and the nomadic grasslands.

For almost a century, Pingcheng was the centre of a powerful state that ruled over much of northern China. The Tuoba emperors, though of foreign origin, gradually adopted Chinese culture, language and institutions, in a process of sinicisation that would prove decisive for the country's history. The city grew into a great metropolis, with palaces, markets and a cosmopolitan population that mixed Chinese, Xianbei and people from Central Asia who arrived along the trade routes.

It was under the Northern Wei dynasty that Buddhism, which had come from India along the Silk Road, became the dominant religion and the great artistic driving force of the age. The Tuoba emperors embraced the new faith with fervour and used it as a tool of power and legitimacy. From that fusion of imperial patronage, Buddhist devotion and artistic influences arriving from the West came the work that would make Datong immortal: the Yungang Grottoes.

The Yungang Grottoes: a mountain turned into a temple (460-525)

Around the year 460, under imperial patronage, one of the greatest artistic undertakings of ancient China began: the excavation of the Yungang Grottoes, on the outskirts of Pingcheng. According to tradition, the project was driven by the monk Tan Yao, who proposed to the emperor that a series of colossal Buddha images be carved into the rock, partly as an act of devotion and partly as reparation after a period of persecution of Buddhism. The first five great caves, known as the 'Tan Yao caves', house giant Buddhas that, according to some scholars, symbolically represent the first Wei emperors: the ruler thus identified himself with the Buddha, reinforcing his divine authority.

Over the following decades, until around the year 525, dozens more caves and thousands of niches were cut into the sandstone cliff, until there were more than 50,000 statues and images. The Yungang style is a fascinating synthesis: in the carvings you can recognise the influence of the Greco-Buddhist art of Gandhara, with its robe folds and features of Hellenistic origin; Central Asian models that arrived along the Silk Road; and, in the later caves, an increasingly Chinese style, with more slender figures and locally cut garments. That evolution makes Yungang a unique record of how Buddhism gradually became Chinese.

When, in the year 494, Emperor Xiaowen moved the Wei capital further south, to Luoyang, the great building drive at Yungang gradually faded, and the artists continued their work in the new Longmen Grottoes, near the new capital. But what had been carved at Datong remained as an indelible testament to that glorious age. Today the Yungang Grottoes are inscribed on the UNESCO World Heritage List and are considered one of the three great jewels of Buddhist rock art in China, alongside Longmen and Mogao (Dunhuang).

Do the great Buddhas portray the emperors?
A widespread interpretation holds that the five colossi of the 'Tan Yao caves' symbolically represent the first five emperors of the Northern Wei dynasty, in line with the idea that 'the emperor is the present-day Buddha'. This reading links the art of Yungang to the legitimisation of imperial power. Other specialists qualify it, stressing the purely devotional meaning of the images; the question is still being studied.
Source: https://es.wikipedia.org/wiki/Grutas_de_Yungang

Frontier city: the Liao, the Jin and the great medieval temples (6th-13th centuries)

After the Wei capital moved to Luoyang at the end of the 5th century, Pingcheng lost its imperial status and became a frontier stronghold again. Over the following centuries, the city — which would eventually take the name Datong, 'great harmony', under the Liao dynasty — lived to the rhythm of the tensions between the China of the plains and the peoples of the north. Its position, on the passage between the Chinese heartland and the steppes, made it a contested military outpost time and again.

From the 10th to the 13th centuries, northern China was ruled by dynasties of nomadic origin. First the Khitan of the Liao dynasty and then the Jurchen of the Jin dynasty made Datong one of their secondary capitals (a 'western capital'), and under their patronage the city flourished again, above all in religious terms. Some of the most valuable wooden Buddhist temples surviving in China date from this period: the great Huayan Temple, with its imposing hall and exquisite Liao sculptures — among them the famous 'smiling bodhisattva' — and the Shanhua Temple, with its ensemble of Jin-era guardians and deities.

These temples, with their wooden halls joined without nails and their extraordinarily expressive statues, are exceptional testaments to the architecture and art of a time when Datong was ruled by peoples from the north. One curious detail reveals that origin: unlike most Chinese temples, which face south, the Huayan Temple faces east, following the solar beliefs of the Khitan. Datong thus preserves, in stone and wood, the memory of a time when the cultural frontier between China and the steppe ran right past its walls.

Bastion of the Great Wall: Datong under the Ming dynasty (14th-17th centuries)

With the arrival of the Ming dynasty at the end of the 14th century, Datong regained first-rate strategic importance, though this time mainly military. The Ming, who had driven the Mongols from power in China, were obsessed with the threat of a possible reconquest from the steppes, and they reinforced the entire northern frontier with a formidable defensive system, of which the Great Wall is the most famous part. Datong sat at the centre of that system, as one of the great strongholds guarding the approaches to the Beijing plain.

The city thus became a powerful military fortress, home to garrisons and commanders who watched over the mountain passes and nearby stretches of wall. It was in this period that the great earth-and-brick walls surrounding the town were built, with their towers and monumental gates, giving Datong the silhouette of a frontier bastion that, heavily rebuilt, can still be recognised today. The great Nine Dragon Wall also dates from the early Ming dynasty, built in front of the palace of an imperial prince who held his fief here.

Life on the frontier was hard and often violent: Datong suffered sieges, raids and the constant tension of a no man's land between empires. With the fall of the Ming and the arrival of the Qing dynasty in the 17th century, and above all with Mongolia's definitive incorporation into the empire, the frontier stopped being a line of war and Datong lost part of its military importance, remaining a provincial city in northern Shanxi, rich in coal but far from the great centres of power.

From coal to a controversial rebuild: Datong in the 20th and 21st centuries

During the 20th century and much of the 21st, Datong was known mainly for a reason far more prosaic than its glorious imperial past: coal. The region is one of China's largest coalfields, and the city became a major mining and industrial centre, with everything that entailed: growth, pollution and an image of a grey, industrial city that had little to do with its thousand-year-old heritage. Mining shaped Datong's economy and landscape for generations.

At the start of the 21st century, however, the local authorities opted for a radical change of course: turning Datong into a tourist and cultural city, building on its extraordinary heritage. The project, pursued with great ambition in the 2010s, included the almost complete reconstruction of the historic walls and large parts of the old town, with the aim of recreating the image of the old fortified imperial city. The operation was enormously expensive and also highly controversial: it meant rehousing tens of thousands of residents and building from scratch monuments of which only remains survived, which led many to speak of a 'stage set' rather than a genuine restoration.

The debate over Datong's reconstruction sums up a tension found throughout China: the one between faithful preservation of heritage and monumental recreation geared towards tourism and identity. Beyond that controversy, the fact is that Datong is attracting travellers again thanks to its truly exceptional treasures — the Yungang Grottoes, the Hanging Monastery, the Liao and Jin temples — which stand apart from any controversy. Today the city is trying to leave behind its image as a mining town and reclaim its role as one of the great historic capitals of northern China.

Restoration or stage set? The debate over the old town
The reconstruction of Datong's historic centre in the 2010s divided specialists and public opinion. Its supporters present it as a recovery of the city's historical identity and a driver of tourism development; its critics see it as an artificial recreation that sacrificed the real urban fabric and its inhabitants in the name of an idealised image of the past. The case is often cited in debates on heritage and urban planning in contemporary China.
Source: https://en.wikipedia.org/wiki/Datong

📚 Bibliography

  • Wikipedia (ES) — «Datong»: https://es.wikipedia.org/wiki/Datong
  • Wikipedia (EN) — «Datong»: https://en.wikipedia.org/wiki/Datong
  • Wikipedia (ES) — «Grutas de Yungang»: https://es.wikipedia.org/wiki/Grutas_de_Yungang
  • Wikipedia (EN) — «Yungang Grottoes»: https://en.wikipedia.org/wiki/Yungang_Grottoes
  • Wikipedia (ES) — «Dinastía Wei del Norte»: https://es.wikipedia.org/wiki/Dinast%C3%ADa_Wei_del_Norte
  • Wikipedia (ES) — «Monasterio colgante»: https://es.wikipedia.org/wiki/Monasterio_colgante
  • Wikipedia (EN) — «Huayan Temple (Datong)»: https://en.wikipedia.org/wiki/Huayan_Temple_(Datong)
  • UNESCO — «Yungang Grottoes» (2001): https://whc.unesco.org/en/list/1039/
  • Britannica — «Datong»: https://www.britannica.com/place/Datong
  • China Discovery — «Datong Travel Guide»: https://www.chinadiscovery.com/shanxi/datong.html

❓ Frequently asked questions

Is Datong worth visiting?+
Yes, above all for the Yungang Grottoes, one of the world's great collections of Buddhist art, and for the astonishing Hanging Monastery of Hengshan — two sights that justify the trip on their own. On top of that there's a walled (rebuilt) historic centre with highly valuable medieval temples. It makes a perfect one- or two-night stop between Beijing and the rest of Shanxi (Pingyao, Taiyuan) or on the way to Xi'an, and it's far less crowded than the big cities.
How do I get to the Yungang Grottoes and the Hanging Monastery?+
The Yungang Grottoes are about 16 km west of Datong: you can get there on tourist bus 3, by taxi/Didi or on a tour. The Hanging Monastery is further away, about 65 km south-east (near Hunyuan), and the most convenient option is an organised tour, a taxi hired for the day or a bus. Many travellers combine the Hanging Monastery with Mount Heng in a single day. It's best to set off early, especially because of the monastery's limited capacity.
How many days do I need in Datong?+
With 2 full days you can cover the essentials: one day for the Yungang Grottoes and the historic centre (walls, Huayan and Shanhua temples, Nine-Dragon Wall), and another for the trip to the Hanging Monastery and Mount Heng. With one more day you can take it easy or add another excursion. Many people visit it as a stop on the way between Beijing and Pingyao/Xi'an.
When is the best time to go?+
From May to October, with late spring and autumn being the best times: clear skies and pleasant weather. Datong sits on a high, arid plateau, so winters (November to March) are long, very cold and windy, with sub-zero temperatures; summer is warm by day and cool at night. Avoid the 'golden weeks' of domestic tourism (1 October and Chinese New Year).
Is Datong's rebuilt historic centre authentic?+
Worth knowing: Datong's walls and much of its historic centre were rebuilt almost entirely over the last decade, in a very ambitious and controversial project. For some it's more a modern stage set than an original monument; for others, it gave the city back an attractive historic skyline. What is authentic and of enormous value are the great medieval temples (Huayan, Shanhua), the Ming Nine-Dragon Wall and, of course, the Yungang Grottoes.
Do I need a VPN, and how do I pay in Datong?+
Yes, as in the rest of China: to use Google, WhatsApp, Instagram or Maps you need a VPN installed before you travel. For payments, almost everything works by QR code through Alipay or WeChat Pay, which tourists can link to a foreign card; it's best to set it up before you arrive. Carry some cash in yuan for small stalls and for transport to the grottoes and the monastery.

More places in China

GuangzhouGuilin y YangshuoHangzhouHong KongLhasaLuoyang
See every place in China →The history of China →
Sources consulted (16)
Still planning?
Explore more destinations in China
See all destinations →
Image credits
Photos from Wikimedia Commons, each under its own licence (CC BY, CC BY-SA or public domain). Open each file to see its author and licence.
Yungang11 2010