Language and currency
City guide · Beijing & the North
Datong
A city in northern Shanxi, the base for the Yungang Grottoes: a 1 km cliff of Buddhist cave carvings about 1,500 years old, 16 km west of town. Take the train from Beijing, and allow two days: one for Yungang and the city, one for the Hanging Temple and the Yingxian Wooden Pagoda.
Photo: Snowscat on Unsplash
- Region
- Beijing & the North
- Best time
- September and October are usually the most comfortable for walking; winters are cold and dry.
- How long
- Two days: Yungang and Huayan Temple on the first, the Hanging Temple and the Yingxian Wooden Pagoda on the second.
- Our guides
- 2 articles
Why Datong
Before you go.
The essentials for a first visit, from our Datong guides.
Why go
See the Yungang Grottoes, carved in the Northern Wei period along the foot of Wuzhou Mountain. Start with the Five Caves of Tan Yao, then compare faces and patterns from cave to cave: some look imported from South and Central Asia, some look Chinese.
Add Huayan Temple, inside the city, on the same day if you have time.
Take a long road trip to the Hanging Temple, built on a cliff in Hunyuan County, and on to the Liao-dynasty wooden pagoda at Yingxian. The Hanging Temple has a daily climbing quota of 2,475, and its walkways need shoes with good grip.
Getting there
By train: book through 12306 with your passport, and book the train before you fix the rest of your Shanxi route.
To Yungang: 16 km west of the city by taxi or ride-hailing car. Decide how you will get back before you set out, and save the site name on your phone to show the driver.
Onward: trains link Datong with Taiyuan and Pingyao; the rural temples are long drives, so a car and driver helps.
Good to know
Yungang tickets: online and in your own name only; there are no ticket windows and no same-day booking. Book up to 7 days ahead on the "Yungang Wenlv" mini-program in WeChat, or on Ctrip, Meituan or Tongcheng. Bring your passport.
Yungang hours: 8:30–16:30 in the city visitor guide; check the hours shown when you book. Allow a full morning or afternoon, and keep your hands off the carvings.
Entry: Datong is inside the 240-hour visa-free transit area (in Shanxi it covers only Datong and Taiyuan). Pingyao and the Yingxian pagoda are outside it, and for the Hanging Temple, confirm with your entry port first.
Paying: set up mobile payment (Alipay for foreigners) before you leave home, and carry a charged phone with offline maps.
Pairs well with
Beijing. The usual start, by train to Datong.
Pingyao. A walled old town in central Shanxi; give it a separate day.
Luoyang. The Longmen Grottoes, another Buddhist cave site, as its own journey.
Plan Datong with us
What we arrange in Datong
IndependentOn your own with the LocalKey app and 24/7 backup. Add airport pickup, a private car and driver, or a local guide when you want them.Independent →
Private GuidedPrivate guides, driver and car across the trip, with a local host in each city.Private Guided →
More trips by interest: Culture trips · Photography trips
MomoYour specialist for Beijing & the NorthSend your dates and what you want to see. Momo and the LocalKey team reply within 24 hours.
China Guide
Our Datong guides.
Sights
Places, heritage and where to point a camera.
Plan your trip
Travel Datong your way.
Two ways to travel with LocalKey. Tell us your dates and who is coming, and a specialist replies with a route that fits Datong in.