Atlas of China

North China’s heritage line: Beijing, Datong, Pingyao and Xi’an

From the Forbidden City to the Yungang Grottoes, a Ming walled town where the clocks stopped, and the Terracotta Army, all by train.

Days
97 seeing, 1.5 travelling
Stays
4Beijing · Datong · Pingyao · Xi'an
Trains and flights
¥456per person, planner's figures
Distance
1,033 kmbetween the stays
Best time
May to June and September to October

The high-speed line from Beijing to Xi’an runs past some of the oldest things in China, and a trip that stops twice sees more than the four-hour express. Datong has the Yungang Grottoes, fifty thousand Buddhist carvings from the fifth century, and the Hanging Temple pinned to a cliff. Pingyao is a complete Ming and Qing county town inside its walls, where the first Chinese banks opened. Xi’an closes the line with the Terracotta Army. Every leg is a direct train of under three hours.

Day by day

Laid out by the atlas's trip planner from the stops below, with the trains and flights in its tables; open it on the map to change the days, the order or the stops.

  1. Day 1 · Beijing

  2. Day 2 · Beijing

  3. Day 3 · Datong

  4. Day 4 · Pingyao

    • Hanging Temple
    • High-speed train Datong South → Pingyao Gucheng, 2 h 28 min (D1037, 10 a day); about 3 hours door to door, ¥146. Compare ways
  5. Day 5 · Pingyao

  6. Day 6 · Pingyao

  7. Day 7 · Xi'an

    • High-speed train Pingyao Gucheng → Xi'an North, 2 h 27 min (D2799, 12 a day); about 3 hours door to door, ¥153. Compare ways
    • Muslim Quarter
  8. Day 8 · Xi'an

  9. Day 9 · Xi'an

Why this order

The stops sit on the line in this order, so there is no backtracking, and each is a different century: imperial Beijing, Northern Wei Datong, Qing-dynasty Pingyao, Qin and Tang Xi’an.

When to go

May to June and September to October. Datong is high and cold; Pingyao’s old town is at its best outside the public holidays, when it fills.

Good to know

Before you go

On the map

The map opens with these 9 stops in a trip; "Plan my days" lays out the same days and lets you move stops, change the days each gets, or choose where you arrive and leave.

Other trips

Written for the atlas and last checked October 2026. Days and legs come from the trip planner: the fastest practical way between stays from the 12306 timetable for 2026-10-28 or 2026-11-11 and the airlines' schedules for 2026-10-28, with about 20 minutes to board a train and 2½ hours of airport time for a flight, and standard-class fares where the timetable has them. Entry rules, tickets and opening arrangements change: confirm with official sources before you travel.