Pingyao, Datong & the Yungang Grottoes: Shanxi\'s Ancient Heartland
A Ming dynasty walled banking city, 51,000 Buddhist statues carved into a 1km cliff, and a temple suspended from a sheer rock face — Shanxi province is China\'s best-kept history secret.
Route Overview
Shanxi province (山西, \'West of the Mountains\') is China\'s museum of ancient architecture. It has more surviving pre-14th-century wooden buildings than the rest of China combined. This route connects three extraordinary sites: Pingyao (平遥), a perfectly preserved Ming-Qing banking city with 6 km of intact city walls; the Yungang Grottoes (云冈石窟) near Datong — 51,000 Buddhist statues carved 1,500 years ago, older and larger than the Longmen Grottoes; and the Hanging Temple (悬空寺), a temple clinging to a cliff face 75m above a canyon floor.
Day-by-Day Itinerary
Day 1: Beijing → Pingyao
Take the 4-hour high-speed train from Beijing Fengtai to Pingyao Ancient City (¥180). Pingyao is a walled city of 40,000 people that was China's banking capital in the 19th century — the 'Wall Street of China' during the Qing dynasty. The entire city within the walls is a UNESCO site. Check into a guesthouse inside the walls (converted courtyard house, ¥150-400/night). Walk the city walls (¥125 combined ticket covers the walls and all attractions) at sunset — the 6 km circuit gives a panorama of grey-tiled roofs and narrow lanes.
Day 2: Pingyao
Full day exploring Pingyao. Visit Rishengchang (日昇昌) — the first draft bank in Chinese history, founded in 1823. Its system of remittance receipts (basically paper money backed by silver deposits) transformed Chinese commerce. Walk Ming-Qing Street (明清街), the main commercial artery since the 14th century. Visit the Confucius Temple and the City God Temple. For lunch: Pingyao beef (平遥牛肉) — cured beef that is pink, tender, and sliced paper-thin. It has been made here since the Ming dynasty.
Day 3: Pingyao → Datong
Morning: visit the Shuanglin Temple (双林寺, ¥35), 6 km from Pingyao — a 1,500-year-old temple with over 2,000 painted clay statues from the Song, Yuan, Ming, and Qing dynasties. The statues are extraordinary: life-sized, individually expressive, and still bearing their original pigments. Afternoon: Didi to Pingyao Ancient City Station (15 min), then high-speed train to Datong South (3 hrs, ¥170). Datong is an industrial city (coal mining) with an ancient heart. Check in and walk the rebuilt Datong city wall at night.
Day 4: Datong — Yungang Grottoes
Take the 30-minute bus from Datong to the Yungang Grottoes (云冈石窟, ¥120). The grottoes stretch 1 km along a sandstone cliff and contain 51,000 Buddhist statues in 252 caves, carved between 460-525 AD. The largest is a 17m seated Buddha in Cave 5. Cave 20's open-air Buddha is the iconic image — a 13.7m seated Buddha exposed when the front wall collapsed centuries ago. The site takes 3-4 hours. Afternoon: Datong Museum (free) for the context on the Northern Wei dynasty that built the grottoes. Evening: Datong knife-shaved noodles (刀削面) — Shanxi's signature dish.
Day 5: Hanging Temple & Yingxian Pagoda
Full-day excursion: drive 1.5 hours to the Hanging Temple (悬空寺, ¥130) — a temple built into a sheer cliff face 75m above the canyon floor, supported by wooden beams wedged into the rock. It was built in 491 AD and is unique in China: it houses Buddhist, Daoist, and Confucian shrines in the same temple. Walk the narrow wooden walkways (they creak, which is part of the experience). Afternoon: drive 1 hour to the Yingxian Wooden Pagoda (应县木塔, ¥60) — the oldest surviving fully wooden pagoda in the world, built in 1056 without a single nail. At 67m (9 storeys), it is a miracle of Song dynasty engineering. Return to Datong for the night.
Day 6: Datong → Beijing
Morning: Huayan Temple (华严寺, ¥65) — a Liao dynasty (1038 AD) temple with the largest wooden Buddha hall in China and exquisite Liao dynasty clay sculptures. The temple library (薄伽教藏殿) has cabinets designed to look like miniature buildings. Afternoon: high-speed train back to Beijing (2 hrs, ¥160). Fly out or continue your China journey.
Planning This Route
Getting There
Beijing-Pingyao: high-speed train (4 hrs, ¥180). Pingyao-Datong: train (3 hrs, ¥170). Datong-Beijing: train (2 hrs, ¥160). The Hanging Temple and Yingxian Pagoda require a private car from Datong (¥400-500/day).
Where to Stay
Pingyao: inside the city walls in a converted courtyard guesthouse (¥150-400/night). Datong: near the old city or train station ($30-70/night). The Pingyao courtyard guesthouses (kangs — traditional heated brick beds) are a highlight in themselves.
When to Go
April-June and September-October. Shanxi is cold in winter (-15°C in Datong) and the Hanging Temple can close due to ice. Summer is hot (30-35°C) but manageable. The best light at Yungang is morning (the caves face east).
Want a custom China itinerary?
We work with a licensed Guangzhou travel agency to build personalized routes — whether it's your first time in Beijing, an off-the-beaten-path Silk Road trip, or a Xinjiang small-group tour with a local guide.
No obligation. Just tell us your dates and interests — we'll send you a free proposal within 48 hours.
Ready for the next step?
Here's what to sort out next for your China trip.