---
title: "Shanxi Travel: From Datong to Pingyao"
description: "Shanxi lies west of Beijing and is the province with the greatest concentration of ancient buildings in China. It has 509 surviving timber-structure buildings from the Yuan dynasty or earlier, accounting for more than 80% of the national total. This page explains how to divide up three routes covering Datong, Taiyuan and Pingyao, and Mount Wutai, how to link them by high-speed rail, and the difference between Shanxi and Shaanxi."
url: "https://www.lyriktrip.com/en-GB/destinations/shanxi"
type: "destination_hub"
page: "place"
locale: "en-GB"
updated: "2026-12-02"
image: "https://assets.lyriktrip.com/media/dad76a6bb4789c4a.webp"
---

# Shanxi Travel: From Datong to Pingyao

_山西省_

_Updated 2 December 2026_

Shanxi, to the west of Beijing, has its provincial capital in Taiyuan. It is a separate province from Shaanxi, whose capital is Xi’an. Shanxi has 509 surviving timber-framed historic buildings from the Yuan dynasty and earlier, accounting for more than 80% of the national total. Datong in the north is home to the Yungang Grottoes and the Hanging Temple; Taiyuan and the ancient city of Pingyao are in the centre, and Mount Wutai is in the north-east. The high-speed train from Datong to Taiyuan takes about 1.5 to 2 hours.

![Shanxi Travel: From Datong to Pingyao](https://assets.lyriktrip.com/media/dad76a6bb4789c4a.webp)

- **Best time:** Spring and autumn; winters in Datong are cold
- **Days needed:** Datong: 2 days; Taiyuan and Pingyao: 2–3 days; allow an extra 1–2 days for Mount Wutai
- **Getting there:** The fastest high-speed train from Beijing to Datong South takes 97 minutes
- **Getting around:** Travel between cities by high-speed train; hire a car to visit historic buildings in the countryside

\*\*Shanxi Province lies west of Beijing, and its capital is Taiyuan\. Its English spelling differs by just one letter from that of Shaanxi Province, whose capital is Xi’an; they are two separate provinces\. Shanxi has 531 sites protected as major national cultural heritage sites, the most of any province in China\. It has 509 surviving ancient timber\-framed buildings dating from the Yuan dynasty or earlier, accounting for more than 80% of the national total\. All three surviving Tang dynasty timber\-framed buildings in China are in Shanxi \([Dazhongwang, November 2026](https://m.sohu.com/a/1099271205_121345914)\)\. The Yungang Grottoes, the Ancient City of Pingyao and Mount Wutai are Shanxi’s three UNESCO World Heritage cultural sites\.\*\*

- [Shaanxi Province 陕西省](https://www.lyriktrip.com/en-GB/destinations/shaanxi) — Xi’an and the Terracotta Army are the starting point for a first visit to Shaanxi; allow separate time for routes such as Mount Hua and Yan’an.

## Three routes

\*\*Northern route: Datong\.\*\* The Yungang Grottoes are west of Datong city centre\. Within the old city are the city walls, Huayan Temple and Shanhua Temple\. The Hanging Temple and Mount Heng are in Hunyuan County to the south\-east\. The Yingxian Wooden Pagoda is south of Datong, in Ying County, Shuozhou\. Built in 1056, the second year of the Qingning era of the Liao dynasty, it stands 67\.31 metres tall \([Shanxi Daily, October 2025](https://sx.chinadaily.com.cn/a/202510/14/WS68eddd8ca310c4deea5ec2c7.html)\)\.

- [Datong 大同市](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong) — A city in northern Shanxi, 97 minutes from Beijing on the fastest high-speed train. The Yungang Grottoes are west of the city, while the Hanging Temple and Mount Heng are in Hunyuan.

- [Yungang Grottoes 云冈石窟](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/yungang-grottoes) — The Northern Wei grottoes, 16 km west of Datong, comprise 45 main caves and more than 51,000 statues. They were inscribed on the World Heritage List in 2001.
- [Hanging Temple 悬空寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/hanging-temple) — The temple on the sheer cliffs of Jinlong Gorge on Mount Heng in Hunyuan County dates back to the Northern Wei dynasty. The ¥15 admission ticket only allows you to view it from below; to visit the upper temple, you need to buy a separate ¥100 climbing ticket and book in advance.

- [Yingxian Wooden Pagoda 应县木塔](https://www.lyriktrip.com/en-GB/destinations/shanxi/shuozhou/attractions/yingxian-wooden-pagoda) — Shakyamuni Pagoda at Fogong Temple in Ying County was built in 1056 during the Liao dynasty and stands 67.31 metres tall. Only the first floor is currently open to visitors, and climbing the pagoda is not permitted.

\*\*Central route: Taiyuan and Pingyao\.\*\* Taiyuan is home to Jinci Temple, and the ancient city of Pingyao is in Jinzhong, not far from Taiyuan\. For tips on exploring the ancient city of Pingyao, see this guide\.

- [Taiyuan 太原市](https://www.lyriktrip.com/en-GB/destinations/shanxi/taiyuan) — Shanxi’s provincial capital and a high-speed rail interchange; Jinci Temple lies to the south-west of the city, and the Shanxi Museum in the city offers free entry by reservation.
- [Jinzhong 晋中市](https://www.lyriktrip.com/en-GB/destinations/shanxi/jinzhong) — A city south of Taiyuan, home to the ancient city of Pingyao. Use Pingyao as your base to visit Shuanglin Temple, Zhenguo Temple, and the Qiao and Wang family compounds.

- [Is Pingyao Ancient City Worth Visiting? The Complete 2026 Guide to China's Intact Walled City](https://www.lyriktrip.com/en-GB/guides/pingyao-ancient-city-guide) — Is Pingyao Ancient City worth visiting? Our 2026 guide: which of the ~20 sites to prioritise, the through-ticket, getting there from Xi'an by bullet train & more.

\*\*Northeast: the Mount Wutai area\.\*\* Nanchan Temple and Foguang Temple are in Wutai County, Xinzhou: the main hall of Nanchan Temple was rebuilt in the third year of the Jianzhong era of the Tang dynasty \(782\), and is the oldest surviving Tang dynasty timber building in China; the East Main Hall of Foguang Temple was rebuilt in the 11th year of the Dazhong era of the Tang dynasty \(857\), and is the largest surviving Tang dynasty timber building in China \([Shanxi Daily, October 2025](https://sx.chinadaily.com.cn/a/202510/14/WS68eddd8ca310c4deea5ec2c7.html)\)\. Both are in the mountains, so you’ll need to hire a car\.

- [Xinzhou City 忻州市](https://www.lyriktrip.com/en-GB/destinations/shanxi/wutaishan) — The city where Mount Wutai is located; temples are concentrated in Taihuai Town, while the surrounding area is home to the Tang-dynasty Foguang Temple and Nanchan Temple, as well as Yanmen Pass on the Great Wall.

- [Foguang Temple 佛光寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/wutaishan/attractions/foguang-temple) — A Tang dynasty temple in Doucun, Wutai County. The East Main Hall was built in 857; in 1937, Liang Sicheng and Lin Huiyin surveyed the site and confirmed its date.
- [Nanzenji Temple 南禅寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/wutaishan/attractions/nanchan-temple) — The small temple in Lijiazhuang Village, Wutai County, has a main hall rebuilt in 782, the third year of the Jianzhong era of the Tang dynasty. It is the oldest surviving timber-framed building in China.

## Getting around by high-speed rail

There are nearly 40 high\-speed trains a day from Beijing to Datong South, with the fastest single journey taking 97 minutes \([Shanxi Daily, October 2025](http://sx.news.cn/20251004/a4c5cd4f2d9d4e6782439e8fa5bda83e/c.html)\)\. The train from Datong South to Taiyuan South takes around 1½ to 2 hours; for example, G2513 takes about 1 hour 36 minutes \([Qunar, November 2026](https://train.qunar.com/train/timetable/G2513/datongnan-to-taiyuannan/2026-11-04)\)\. From Taiyuan South to Pingyao Gucheng Station takes around 30 to 40 minutes \([Qunar, November 2026](https://train.qunar.com/train/timetable/D2529/taiyuannan-to-pingyaogucheng/2026-11-04)\)\. Travelling south from Beijing via Datong, Taiyuan and Pingyao means you won’t have to retrace your steps\.

## Ancient architecture in the countryside

Many of Shanxi’s early timber buildings are in villages far from high\-speed rail stations, with no direct bus service, so you’ll need to hire a car\. For a route organised around ancient architecture, see this guide\.

- [How to plan a Shanxi ancient architecture itinerary: Which temples to visit in 7, 9 or 10 days?](https://www.lyriktrip.com/en-GB/guides/shanxi-ancient-architecture-itinerary) — This guide covers how to plan 7-, 9- and 10-day trips to Shanxi’s ancient architecture, visiting Datong, Ying County, Wutai County, Taiyuan and Pingyao in that order. It explains how to understand timber structures and painted sculptures, and outlines key points about visitor limits, restoration work and transport in 2026.

- [China 中国](https://www.lyriktrip.com/en-GB/destinations) — Provinces, cities, attractions and day plans for a first trip to China.

## Cities in Shanxi Province

- [Shuozhou 朔州市](https://www.lyriktrip.com/en-GB/destinations/shanxi/shuozhou) — A city south of Datong, home to the Yingxian Wooden Pagoda and Chongfu Temple; most visitors make a day trip from Datong.

## Top attractions in Shanxi Province

- [Mount Heng, the Northern Sacred Mountain 北岳恒山](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/mount-heng) — One of the Five Great Mountains, 4 km south of Hunyuan County town, with a main peak 2,016.1 m above sea level. It is in the same scenic area as the Hanging Temple, reached by shuttle bus.
- [Huayan Temple 华严寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/huayan-temple) — A Liao–Jin temple in the south-west corner of Datong’s old city. The Lower Temple’s Bojia Scripture Hall was built in the seventh year of the Chongxi era of the Liao dynasty (1038), and houses Liao-dynasty sculptures.
- [Datong Ancient City Wall 大同古城墙](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/datong-city-wall) — The city wall, extended by Xu Da in the fifth year of the Hongwu era (1372), is 7.24 kilometres long. From June 2026, the entire wall will be free to access, from 7:00 to 22:00.
- [Datong Nine\-Dragon Screen 大同九龙壁](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/nine-dragon-screen) — The glazed screen wall in front of the Ming Dynasty Prince Dai’s Mansion, built in 1392, is 45.5 metres long and the largest glazed dragon wall in China. Admission: ¥10.
- [Shanhua Temple 善化寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/shanhua-temple) — The largest and best-preserved Liao and Jin dynasty temple complex in Datong Ancient City, with four halls and pavilions retaining their original Liao and Jin structures. Admission: ¥40.
- [Fahua Temple 法华寺](https://www.lyriktrip.com/en-GB/destinations/shanxi/datong/attractions/fahua-temple) — A temple in Datong Ancient City, its white pagoda is a Ming-dynasty lamaist pagoda standing 18 metres tall and the only white lamaist pagoda in Datong.

[See all 23 attractions](https://www.lyriktrip.com/en-GB/destinations/shanxi/attractions)

## Guides

- [How to get to the Shanxi filming locations from \*Black Myth: Wukong\*: 5\-, 7\- and 8\-day itineraries](https://www.lyriktrip.com/en-GB/guides/black-myth-wukong-shanxi-itinerary) — Which locations have evidence supporting their use as settings—Yungang Grottoes, Hanging Temple, Yingxian Wooden Pagoda, Foguang Temple and Shuanglin Temple—and which are only officially promoted or visually similar? This guide turns your interest in the game into Shanxi itineraries of 5, 7 or 8 days, and covers reservations, restoration work, transport and etiquette.
- [How Foreigners Can Buy China Train Tickets on 12306: Registration to Refunds](https://www.lyriktrip.com/en-GB/guides/book-china-train-tickets-12306) — How foreign visitors register on 12306 with a passport, complete online verification, add passengers and buy tickets, choose the right stations, use the waitlist, change or refund tickets, fix common errors, and compare 12306 with Trip.com and station ticket windows.

## FAQ

### Are Shanxi and Shaanxi the same place?

No. Shanxi Province, whose capital is Taiyuan, lies west of Beijing. Datong, Pingyao and Mount Wutai are in Shanxi. Shaanxi Province, whose capital is Xi’an, is home to the Terracotta Warriors. The two provinces border each other across the Yellow River, and their English spellings differ by just one letter, so check carefully when booking tickets and looking up routes.

### How many ancient buildings are there in Shanxi?

Shanxi has 531 nationally protected cultural heritage sites, the highest number in China. It has 509 surviving ancient timber-framed buildings dating from the Yuan dynasty or earlier, accounting for more than 80% of the national total. All three surviving Tang dynasty timber-framed buildings in China are in Shanxi. Source: Dazhong.com (Shanxi Provincial Government press conference), November 2026.

### How long does it take to get from Beijing to Datong by high-speed train?

Nearly 40 high-speed and regular train services run daily from Datong South Station towards Beijing, roughly one every 20 minutes. The fastest journey takes 97 minutes. Source: Shanxi Daily (republished by Xinhua News), October 2025.
