Datong

City · China

Datong

大同

The Northern Wei capital, home to the UNESCO-listed Yungang Grottoes.

Datong was the fifth-century capital of the Northern Wei dynasty, serving as a melting pot where nomadic culture, Central Asian influences, and early Chinese Buddhism collided. Today, this northern Shanxi city is famous for some of China's most profound cultural treasures, most notably the colossal cliff carvings of the Yungang Grottoes and remarkably intact Liao- and Jin-dynasty timber temples.

Plan to spend two to three days here. Base yourself within the reconstructed ancient city walls in Pingcheng District, where you can easily walk between Shanhua Temple, Huayan Temple, and lively noodle shops. Set aside a full day for an excursion south to the cliff-clinging Hanging Temple in Hunyuan and the towering timber-frame Yingxian Wooden Pagoda. Datong pairs with Beijing, just over two hours away by bullet train, and is an ideal northern anchor before heading south to Taiyuan and the walled town of Pingyao. The city is a dream for history enthusiasts, architectural pilgrims, and independent travelers interested in early Buddhist art. However, travelers looking for energetic nightlife, sleek modern skylines, or untouched wilderness might feel underwhelmed by Datong's sprawling coal-mining outskirts and heavy civic reconstruction.

Updated 24 October 2026

Add Datong to your China trip

See what it costs, how to get there by train and the best weeks to go, city by city.

Plan your trip, free
Per day
¥80–800
Direct trains
67 cities

Highlights

Yungang Grottoes, Huayan Temple, Shanhua Temple +1

  • 01Yungang Grottoes

  • 02Huayan Temple

    One of the largest and best-preserved Buddhist temples in China

  • 03Shanhua Temple

    Ancient temple with remarkable Liao dynasty architecture

  • 04Datong City Wall

    Reconstructed Ming dynasty city wall, good for cycling

Travel tips

Pairs naturally with Pingyao

  • Pairs naturally with Pingyao

    Both sit on the same north China rail corridor: a common combined route.

Weather in Datong by month

Most comfortable months: May, June, August, and September.

Weather in Datong by month
MonthHighRainSunHumiditySnowPM2.5
Jan-2°C3 mm8.4 h/d42%2 mm30 µg/m³
Feb2°C6 mm9.1 h/d38%4 mm28 µg/m³
Mar10°C17 mm9.8 h/d39%6 mm27 µg/m³
Apr17°C32 mm9.9 h/d42%3 mm24 µg/m³
May23°C39 mm10.3 h/d41%0 mm23 µg/m³
Jun27°C56 mm10.7 h/d49%0 mm23 µg/m³
Jul28°C111 mm10.2 h/d64%0 mm24 µg/m³
Aug26°C103 mm10.1 h/d65%0 mm24 µg/m³
Sep22°C58 mm9.3 h/d61%0 mm22 µg/m³
Oct14°C39 mm8.4 h/d57%1 mm24 µg/m³
Nov6°C16 mm8.0 h/d50%5 mm27 µg/m³
Dec-1°C3 mm8.3 h/d44%2 mm25 µg/m³

April to June and September to October; Shanxi winters are cold and dry.

Daily averages for 2015–2025. “Most comfortable” favours mild temperatures, little rain and clean air; it is a rule of thumb, not a forecast.

Best hotel rates. Guaranteed foreigner-friendly.

Skip the hotels that turn foreign passports away at check-in. Every listing here takes international guests, booked at Trip.com's best rates — real-time availability, no surprises.

See deals in Datong

Affiliate links: if you book through these we earn a small commission at no extra cost to you. We don’t set tracking cookies; attribution is handled by the partner site.

How to get to Datong

High-speed rail from Beijing (~2 hrs) or Taiyuan (~1 hr).

Trains from Datong

Direct trains run from Datong to 67 cities. The busiest routes:

  • Taiyuan1h 21m · 52/day
  • Beijing1h 37m · 37/day
  • Wanlong Ski Resort52m · 34/day
  • Hohhot1h 17m · 19/day
All trains from Datong

Datong is on your list.

Now build the whole trip around it.

Create your itinerary