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

# Shanxi Travel: From Datong to Pingyao

_山西省_

_Updated December 2, 2026_

Shanxi is west of Beijing, and its provincial capital is Taiyuan. It is a different province from Shaanxi, whose capital is Xi’an. Shanxi has 509 surviving ancient timber-framed buildings from the Yuan dynasty or earlier, accounting for more than 80% of the national total. Datong, in the north, is home to the Yungang Grottoes and Hanging Temple; Taiyuan and the ancient city of Pingyao lie in the central part of the province, while Mount Wutai is in the northeast. 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 fall; winters in Datong are cold
- **Days needed:** Datong: 2 days; Taiyuan and Pingyao: 2–3 days; add another 1–2 days for Mount Wutai
- **Getting there:** The fastest high-speed train from Beijing to Datong South Station takes 97 minutes.
- **Getting around:** Take high-speed trains between cities; hire a car to visit ancient 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 different provinces\. Shanxi has 531 sites designated as National Key Cultural Relics Protection Units, the most of any province in China\. It is home to 509 surviving ancient timber\-framed buildings dating from the Yuan dynasty or earlier, more than 80% of the national total\. The only three surviving Tang dynasty timber\-framed buildings in China are all in Shanxi \([Dazhong\.com, 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 Sites\.\*\*

- [Shaanxi 陕西省](https://www.lyriktrip.com/destinations/shaanxi) — Xi’an and the Terracotta Warriors are a good starting point for a first trip to Shaanxi; plan separate time for destinations like Mount Hua and Yan’an.

## Three Routes

\*\*Northern route: Datong\.\*\* The Yungang Grottoes are west of Datong’s urban area\. The ancient city has city walls, Huayan Temple, and Shanhua Temple\. Hanging Temple and Mount Heng, the Northern Sacred Mountain, are in Hunyuan County to the southeast\. 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 meters tall \([Shanxi Daily, October 2025](https://sx.chinadaily.com.cn/a/202510/14/WS68eddd8ca310c4deea5ec2c7.html)\)\.

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

- [Yungang Grottoes 云冈石窟](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/yungang-grottoes) — An ancient grotto complex from the Northern Wei dynasty, 16 km west of Datong, with 45 main caves and more than 51,000 statues. It was designated a World Heritage Site in 2001.
- [Hanging Temple 悬空寺](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/hanging-temple) — The temple perched on a cliff in Jinlong Gorge, Mount Hengshan, Hunyuan County, was first built during the Northern Wei dynasty. The ¥15 admission ticket only allows you to view it from below; visiting the upper temple requires a separate ¥100 climbing ticket and a reservation.

- [Yingxian Wooden Pagoda 应县木塔](https://www.lyriktrip.com/destinations/shanxi/shuozhou/attractions/yingxian-wooden-pagoda) — The Sakyamuni Pagoda at Fogong Temple in Ying County was built in 1056 during the Liao dynasty and stands 67.31 meters tall. Currently, only the first floor is 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/destinations/shanxi/taiyuan) — Shanxi’s provincial capital and a high-speed rail transfer hub. Jinci Temple lies southwest of the city, and the Shanxi Museum in the city offers free admission by reservation.
- [Jinzhong 晋中市](https://www.lyriktrip.com/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/guides/pingyao-ancient-city-guide) — Is Pingyao Ancient City worth visiting? Our 2026 guide: which of the ~20 sites to prioritize, 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 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 忻州市](https://www.lyriktrip.com/destinations/shanxi/wutaishan) — The city where Mount Wutai is located. Temples cluster 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/destinations/shanxi/wutaishan/attractions/foguang-temple) — A Tang dynasty temple in Doucun, Wutai County. The East Hall was built in 857, and its date was confirmed by Liang Sicheng and Lin Huiyin during their survey in 1937.
- [Nanzen\-ji Temple 南禅寺](https://www.lyriktrip.com/destinations/shanxi/wutaishan/attractions/nanchan-temple) — A small temple in Lijiazhuang Village, Wutai County, whose main hall was rebuilt in 782 during the Jianzhong era of the Tang dynasty, is the oldest surviving wooden building in China.

## How to connect them by high-speed rail

There are nearly 40 high\-speed trains from Beijing to Datong South Station each day, with the fastest one\-way trip taking 97 minutes \([Shanxi Daily, October 2025](http://sx.news.cn/20251004/a4c5cd4f2d9d4e6782439e8fa5bda83e/c.html)\)\. The train from Datong South to Taiyuan South takes about 1\.5 to 2 hours; for example, G2513 takes about 1 hour and 36 minutes \([Qunar, November 2026](https://train.qunar.com/train/timetable/G2513/datongnan-to-taiyuannan/2026-11-04)\)\. From Taiyuan South to Pingyao Ancient City Station takes about 30 to 40 minutes \([Qunar, November 2026](https://train.qunar.com/train/timetable/D2529/taiyuannan-to-pingyaogucheng/2026-11-04)\)\. Traveling south from Beijing via Datong, Taiyuan, and Pingyao means you won't have to backtrack\.

## Ancient Architecture in the Countryside

Many of Shanxi's early timber\-framed 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 focused on 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/guides/shanxi-ancient-architecture-itinerary) — This guide explains how to plan 7- and 9- or 10-day trips to Shanxi’s ancient architecture, visiting Datong, Yingxian, Wutai County, Taiyuan, and Pingyao in that order. It also covers how to understand timber structures and painted sculptures, along with key information on visitor limits, restoration work, and transportation in 2026.

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

## Cities in Shanxi

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

## Top attractions in Shanxi

- [Mount Heng, the Northern Sacred Mountain 北岳恒山](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/mount-heng) — One of China’s Five Great Mountains, 4 km south of Hunyuan County town, with a main peak at 2,016.1 m. It’s in the same scenic area as the Hanging Temple; take the shuttle bus to get in.
- [Huayan Temple 华严寺](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/huayan-temple) — A Liao-Jin temple in the southwestern corner of Datong’s ancient 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/destinations/shanxi/datong/attractions/datong-city-wall) — City walls built by Xu Da in 1372 during the fifth year of the Hongwu reign, with a perimeter of 7.24 kilometers; free access to the entire wall from June 2026, 7:00 a.m. to 10:00 p.m.
- [Datong Nine\-Dragon Wall 大同九龙壁](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/nine-dragon-screen) — A glazed screen wall in front of the Prince Dai Mansion, built during the Ming dynasty in 1392, is 45.5 meters long and is China’s largest glazed dragon wall. Tickets cost ¥10.
- [Shanhua Temple 善化寺](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/shanhua-temple) — The largest and most complete surviving Liao-Jin temple complex in Datong Ancient City. Four of its halls and pavilions retain their original Liao-Jin construction. Admission is ¥40.
- [Fahua Temple 法华寺](https://www.lyriktrip.com/destinations/shanxi/datong/attractions/fahua-temple) — A temple in Datong’s ancient city, it features a white pagoda built in the Lama style during the Ming dynasty. Standing 18 meters tall, it is the only white Lama-style pagoda in Datong.

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

## Guides

- [How to Visit the Shanxi Filming Locations of \*Black Myth: Wukong\*: 5\-, 7\-, and 8\-Day Itineraries](https://www.lyriktrip.com/guides/black-myth-wukong-shanxi-itinerary) — Which sites—Yungang Grottoes, Hanging Temple, Yingxian Wooden Pagoda, Foguang Temple, and Shuanglin Temple—have evidence of serving as inspirations, and which are only officially promoted or visually similar? This article turns your interest in the game into 5-, 7-, and 8-day Shanxi itineraries, and covers reservations, restoration work, transportation, and etiquette.
- [How Foreigners Can Buy China Train Tickets on 12306: Registration to Refunds](https://www.lyriktrip.com/guides/book-china-train-tickets-12306) — How foreign visitors register on 12306, complete passport 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’s provincial capital, Taiyuan, is west of Beijing. Datong, Pingyao, and Mount Wutai are in Shanxi. Shaanxi’s provincial capital is Xi’an, and the Terracotta Warriors are in Shaanxi. The two provinces border each other across the Yellow River, and their English names 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 sites designated as Major Historical and Cultural Sites Protected at the National Level, the most of any province in China. It has 509 surviving ancient timber-frame buildings dating to the Yuan dynasty or earlier, accounting for more than 80% of the national total. All three surviving Tang dynasty timber-frame buildings in China are in Shanxi. Source: Dazhongwang (Shanxi Provincial Government press conference), November 2026.

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

Datong South Station has nearly 40 high-speed and bullet train departures to Beijing each day, about one every 20 minutes. The fastest one-way trip takes 97 minutes. Source: Shanxi Daily (reprinted by Xinhua News Agency), October 2025.
