Skip to content
Yoogo

Experiences

Datong travel guide: cave Buddhas on China’s northern frontier

Datong sits in northern Shanxi at the edge of Inner Mongolia, guarding the Yungang Grottoes, a rebuilt walled old town, and one of China’s strangest temples.

By The Yoogo editorial teamPublished

8 min read

Datong travel guide: cave Buddhas on China’s northern frontier

Datong sits in the far north of Shanxi Province, close enough to the Inner Mongolian border that the landscape turns dry, wide, and open the moment you leave the city. For most of its history this was a frontier town, and twice it was something far grander: a dynastic capital, first under the Northern Wei in the 5th century and later under the Liao.

That frontier position is why Datong holds one of the greatest concentrations of early Buddhist art anywhere in the world, and why almost nobody outside China has heard of it. Travellers who make the detour get the Yungang Grottoes, a monastery built into a cliff face, and an old town rebuilt at a scale that is difficult to take in from the ground.

Key facts

  • Country and region: China, in northern Shanxi Province near the Inner Mongolian border
  • Language: Mandarin
  • Currency: Chinese yuan (CNY)
  • Driving side: Right

What makes Datong special

The short answer is the Northern Wei. When that dynasty made Datong its capital, it also made the city a centre of state-sponsored Buddhism, and the result was carved into the sandstone cliffs at Yungang a few kilometres west of the modern centre. Thousands of figures were cut there in the 5th and 6th centuries, including seated Buddhas tall enough to fill an entire cave, and the work marks an early high point of Chinese Buddhist art.

What sets Yungang apart from the other great cave sites is how visibly it sits at a crossroads. The early caves carry unmistakable Central Asian and Indian influence in the faces and the drapery, and later ones shift towards recognisably Chinese forms. You can watch a culture absorbing an imported religion and making it its own, cave by cave, in the order they were cut.

The city itself adds two more layers. Datong has an unusual density of surviving timber-frame temple architecture, and it has spent recent decades rebuilding its Ming-era walls and old town on a scale that divides opinion but is genuinely striking to walk at dusk.

Getting there

Datong is easiest as a stop between Beijing and the rest of Shanxi rather than a destination reached and returned from.

  • From Beijing by rail: high-speed services run from Beijing to Datong and take a few hours, which makes the city a realistic overnight stop rather than a major commitment. Slower conventional trains also run the route.
  • From Pingyao and Taiyuan: rail connects Datong south through the province, which is the natural way to string the Shanxi sites together.
  • By air: Datong has an airport with domestic connections, though most international visitors arrive via Beijing.

Once there, the old town is walkable, and the outlying sites, including Yungang and the Hanging Monastery, are reached by bus, taxi, or an arranged car. The two headline sites lie in different directions from the city, so they are usually done on separate half-days.

When to visit

Datong is high, dry, and northern, and the seasons show it. Late spring through early autumn, roughly May to early October, gives the most comfortable conditions for walking the cliffs and the walls. Summer days are warm without the humidity that makes central and southern China hard work.

Winter is genuinely cold on this stretch of the frontier, with wind coming off the steppe and short daylight hours, though the caves themselves are as impressive under a hard blue winter sky as at any other time. Spring can bring dust carried in from the northwest. Chinese public holidays fill domestic sites well beyond their normal capacity, so if your dates are flexible it is worth checking the calendar before booking.

What to see

  • Yungang Grottoes: the reason to come, a cliff face of Buddhist caves carved under the Northern Wei. Our Yungang Grottoes guide covers the site in detail.
  • The Hanging Monastery (Xuankong Si): a temple complex pinned to a vertical cliff on wooden beams south of the city, near Mount Heng. It is small, and the point of it is the setting.
  • Huayan Temple: a Liao and Jin dynasty complex in the old town, holding a hall of painted timber and a celebrated set of standing statues.
  • Shanhua Temple: another surviving timber-frame complex, quieter than Huayan and a short walk from it.
  • The rebuilt city walls: a full circuit of Ming-era fortification reconstructed on the original line, best walked in the last hour of light.
  • The Nine Dragon Screen: a glazed tile screen from the early Ming, and one of the largest of its kind in China.

Beyond the city

Datong works well as the northern anchor of a Shanxi route. Pingyao, the walled Ming and Qing merchant city, lies south along the same rail corridor and is the obvious next stop. Further afield, the province holds Mount Wutai, one of the four sacred Buddhist mountains, which pairs naturally with the Buddhist theme running through Datong itself.

If Datong is part of a first trip to China, the China destination page sets out the wider regions, and our Zhangjiajie National Forest Park guide covers a very different side of the country if you want contrast in the same itinerary.

Visa and entry

Mainland China requires most visitors to hold a visa arranged before travel, though the position depends entirely on the passport you hold and it has been changing. Check your own corridor on the China destination page rather than assuming, and note that Hong Kong and Macao run separate immigration systems from the mainland.

Indonesian passport holders can find the process set out in our China entry guide for Indonesian passports. For the general application route and the visa categories China issues, see the China visa guide.

Staying connected in Datong

Mobile coverage across Datong and out at the main sites is solid, so the practical question is having a working data plan the moment you arrive rather than finding signal. That matters more in China than in most places, because maps, rail ticketing, and payments all run through apps.

An eSIM set up before you leave home means your phone connects as soon as you land, with nothing to arrange locally. Saily sells travel data plans covering China that you install in advance and activate on arrival.

Get a Saily eSIM for China

Our best eSIM for China guide covers the detail, including how to confirm your handset supports an eSIM.

This article contains affiliate links. We may earn a commission if you purchase through them, at no extra cost to you.

Frequently asked questions

Where is Datong?

Datong is in the north of Shanxi Province in northern China, close to the border with Inner Mongolia and roughly a few hours by high-speed rail from Beijing.

Why is Datong worth visiting?

Chiefly for the Yungang Grottoes, a 5th and 6th century Buddhist cave complex carved when Datong was the Northern Wei capital. The city also holds surviving Liao and Jin timber temples and a fully rebuilt Ming-era walled old town.

How do I get to Datong from Beijing?

High-speed rail connects Beijing to Datong in a few hours, with slower conventional services also running the route. Datong has a domestic airport as well, though rail is the usual choice.

How many days do I need in Datong?

Two full days covers the city temples and walls on one day and the Yungang Grottoes and Hanging Monastery on the other. One rushed day is enough for Yungang and the old town if you are tight for time.

What is the best time of year to visit Datong?

May to early October gives the most comfortable weather. Winters on this part of the frontier are cold and windy, and spring can bring dust from the northwest.

Is the Hanging Monastery near Datong?

Yes, it sits south of the city near Mount Heng and is usually visited as a half-day trip, often combined with the drive out that direction rather than with Yungang.

Do I need a visa to visit Datong?

Datong follows mainland Chinese entry rules, which depend on the passport you hold. Check your corridor on the China destination page, and note that Hong Kong and Macao are separate immigration systems.

What language is spoken in Datong?

Mandarin. English is limited outside major hotels and the main sites, so a translation app with offline capability is worth having ready.

Can I visit Datong and Pingyao on the same trip?

Yes. Both sit on the Shanxi rail corridor, and travelling between them by train is the standard way to combine the province's northern and central highlights.

What are the emergency numbers in China?

Call 120 for an ambulance, 119 for the fire service, and 110 for the police.