Datong Travel Guide

Shanxi Province · China

Stone Buddhas carved into sandstone cliffs and a temple that clings to a sheer rock face anchor one of northern China's great heritage cities.

Updated 2026

Datong, in the far north of Shanxi near the Inner Mongolian border, was once an imperial capital of the Northern Wei dynasty, and the dynasty left behind one of the wonders of Buddhist art. The Yungang Grottoes, a UNESCO-listed cliff face honeycombed with caves, hold tens of thousands of carved figures, from giant seated Buddhas to delicate flying apsaras, blending Indian, Central Asian, and Chinese styles in stone that is more than 1,500 years old.

Beyond the grottoes, Datong is the gateway to a cluster of dramatic sights: the gravity-defying Hanging Temple bracketed to a cliff in a gorge, and the sacred peak of Mount Heng nearby. The city itself has rebuilt large sections of its old wall and core, drawing mixed reviews but giving the downtown a distinct character. Together it makes a compelling two- or three-day stop, often paired with Pingyao further south.

Why visit Datong

Datong offers a concentration of first-rank heritage that few Chinese cities can match. The Yungang Grottoes alone justify the trip: they are among the three great Buddhist cave complexes of China and are remarkably accessible, with the largest carvings visible from a single sweep along the cliff. For travelers interested in the spread of Buddhism along the old northern routes, this is essential viewing.

Add the Hanging Temple, which seems to defy physics as it perches against a sheer wall, and the sacred slopes of Mount Heng, and Datong becomes a base for some of the most photogenic and historically rich excursions in the north. It is also conveniently linked by rail to Beijing and to the rest of Shanxi, including Pingyao, making it easy to fold into a broader itinerary.

Top things to do in Datong

  • Yungang Grottoes: The headline attraction, a UNESCO site with around 250 caves and tens of thousands of statues carved into sandstone cliffs in the 5th century. Allow at least half a day to do it justice.
  • Hanging Temple (Xuankong Si): A 1,500-year-old monastery built into a cliff face in a gorge about an hour and a half away, supported by slender wooden poles; walking its narrow plank walkways is unforgettable.
  • Mount Heng: One of China's five sacred Taoist peaks, near the Hanging Temple, with mountain temples and good hiking for those wanting to extend the excursion.
  • Datong city wall and old town: Largely rebuilt but extensive, you can walk the ramparts and explore restored streets, temples, and the Nine-Dragon Screen in the center.
  • Huayan Temple: A large, atmospheric Buddhist complex in the old town with striking timber halls and a famous set of polychrome statues.
  • Shanhua Temple: Another fine ancient temple downtown, quieter than Huayan and rich in early architecture and sculpture.

Getting there & around

Datong is well connected by high-speed rail. Fast trains link it with Beijing in around two hours and run south through Shanxi toward Taiyuan, Pingyao, and on to Xian, so it slots neatly into a north-China loop. Datong also has a small airport with domestic flights if you prefer to fly in. Trains arrive at Datong South (high-speed) or the older Datong station.

The marquee sights are spread out: Yungang lies west of the city and is reachable by city bus or taxi, while the Hanging Temple and Mount Heng are well over an hour away to the southeast. Because the out-of-town sights are clustered, the most efficient approach is a chartered car for a day. Our car charter with a driver guide explains how that works, and the rail and metro guide covers booking trains.

Best time to visit

Late spring and autumn are ideal. May, September, and October bring mild, dry days and clear skies, perfect for the open cliff galleries at Yungang and the exposed walkways of the Hanging Temple. Autumn light is especially good for photography.

Datong sits at altitude in the dry north, so summers are warmer but rarely oppressive, while winters are cold and windy, with temperatures often well below freezing and biting wind off the plateau. If you visit in winter, dress in serious layers; the upside is thin crowds. For the bigger seasonal picture, our best time to visit China guide compares regions month by month.

How many days & where to stay

Two full days is the sweet spot. Spend one on the Yungang Grottoes plus the downtown temples and city wall, and a second on the day trip to the Hanging Temple and Mount Heng. With only one day, prioritize Yungang in the morning and the Hanging Temple in the afternoon, accepting a longer day in the car.

Base yourself in or near the rebuilt old town, which puts you within walking distance of Huayan and Shanhua temples and an easy ride from the train stations. Hotels span budget guesthouses from around US$25 to comfortable mid-range options near US$60 to US$90; confirm current rates and ask whether the property can arrange a driver for the out-of-town sights. Many travelers continue south to Pingyao afterward.

Explore Datong with a local guide

Datong's best sights are scattered across the countryside, and the logistics, sequencing Yungang, the Hanging Temple, and Mount Heng in a single efficient loop, are exactly where a local guide and driver earn their keep. A guide also unlocks the meaning behind the carvings, explaining the dynastic story and the artistic influences that make Yungang so important.

With HeroGuide you post your dates and interests, and verified Shanxi guides and drivers bid to take you around, so you compare real offers and English ability instead of guessing. Want a smooth two-day run through the grottoes and the cliffside temple? Post your trip and get bids from local guides.

Datong Travel FAQ

How far is the Hanging Temple from Datong?

The Hanging Temple lies roughly 65 km southeast of Datong, about an hour and a half by road, near Mount Heng. Most visitors combine the two in a single day trip by chartered car. Confirm current opening hours, as the temple sometimes limits numbers on the walkways.

How much time do I need at the Yungang Grottoes?

Plan at least half a day. The site is large, with around 250 caves stretching along the cliff, and the major caves with the biggest Buddhas deserve unhurried time. Visiting early helps you beat tour groups and the strongest sun on the open galleries.

Can I do Datong as a day trip from Beijing?

It is possible thanks to fast trains of around two hours each way, but it makes for a very long day with limited time on the ground. To see Yungang and the Hanging Temple comfortably, plan to stay at least one night in Datong.

Is Datong worth visiting in winter?

Yes, if you can handle the cold. Winters are frigid and windy on the northern plateau, but crowds thin dramatically and the sights remain open. Dress in heavy layers and confirm that the Hanging Temple walkways and Mount Heng access are operating, as weather can cause closures.

How do I get from Datong to Pingyao?

Both cities sit on the same north-south Shanxi rail corridor, with trains connecting them via Taiyuan in a few hours. This makes a Datong-Pingyao route a popular way to link northern Shanxi's grottoes with central Shanxi's walled town.

Explore Datong with a trusted local

Post your trip for free and compare bids from verified English-speaking local guides & drivers in Datong. They handle the language, tickets and transport — you enjoy the trip.

Post Your Trip — Free

Keep exploring