Practical · 9 min read
Shanxi Execution Layer: Stations, Grotto Flow and the Three-Site Day
Two stations share the name Pingyao and only one is near the walls. Yungang is a one-way cliff walk whose best light is gone by midday. The three famous sites outside Datong sit 50–77 km apart and only chain in one direction. A high-speed line that opened on 31 December 2024 turned the northern half of this route from a travel day into a morning. This is the logistics layer for Pingyao and Datong — nothing about what the sights mean, everything about which station, which hour and which order.
China high-speed rail: a foreigner’s guide to booking 12306 · When a private driver beats the train in China · The 240-hour transit rule — Shanxi is not a visa-free zone
Two stations called Pingyao — book the right one
There are two railway stations with almost the same name, and picking the wrong one costs you an hour. Pingyao Gucheng (often shown as Pingyao Ancient City) is the high-speed station: it sits about 6–7 km south of the walled town, roughly 13–15 minutes by car. Pingyao station is the old conventional-rail stop on the west side, about 0.8–1 km from the north-west corner — a 10–12 minute walk to the Lower West Gate. Every G-train from Beijing, Xi’an North and Taiyuan South uses Pingyao Gucheng; the slow overnight trains use Pingyao. On 12306 and on Trip.com the two are separate entries, so check the label before you pay.
From the high-speed station you have three real options. The 108 city bus costs about 1 yuan and takes 30–40 minutes, but it splits into a south line to the South Gate and a north line to the North Gate via Shuanglin Temple — read the destination board before boarding, because the two do not end up at the same gate. A ride-hail or taxi is about 15–20 yuan and 15 minutes, and the official park e-shuttle runs to the Small South Gate for roughly 10 yuan a head. Drivers who approach you inside the arrivals hall quoting 50 yuan a seat are not official; the local advice on this is unanimous.
If you are flying in, Pingyao has no airport. Taiyuan Wusu (TYN) connects by metro line 1 to Taiyuan South, from where the G-train to Pingyao Gucheng takes about 30 minutes and a second-class seat is roughly 28.5 yuan. An airport coach also runs directly to Pingyao in about 90 minutes for around 20 yuan, but its schedule changes by season — check the desk on arrival rather than building a connection around it.
The practical rule: book the ticket to Pingyao Gucheng, and tell your inn which gate you are arriving at. Courtyard hotels inside the walls will often meet you at the gate with an electric buggy for the luggage, which matters more than the 15-minute transfer itself.
The line that turned a travel day into a morning
A line opened on 31 December 2024 quietly changed the shape of this itinerary. The Jining–Datong–Yuanping high-speed railway joined Datong to the national grid: Datong to Beijing is now 97 minutes at the fastest (1 hour 37 to Qinghe), with close to 40 departures a day — roughly one every 20 minutes at peak times, first train around 06:58 and last around 20:59. Through 2026 that “bus-style” frequency has held. Datong to Taiyuan is down to about 81 minutes.
That is why Day 3 is a morning rather than a travel day. Pingyao to Taiyuan, a museum or Jinci stop, then on to Datong by early evening is now a relaxed rail move, not the six-hour slog the older guidebooks describe. It also makes the Day 5 exit comfortable: the Yingxian Wooden Pagoda in the morning and an afternoon train out of Datong South leaves slack rather than a scramble for the last seat.
One detail catches people: Beijing-bound trains terminate at either Beijing North or Qinghe, and some services stop at both. They are on different sides of the city and both connect to the metro, but if you have a hotel or a connecting flight booked, check which station your ticket actually ends at. Fares and the exact pattern move with each timetable adjustment — confirm on 12306 for your travel date rather than treating any of these numbers as fixed.
Inside the walls: no cars, 6.4 km of rampart, and your luggage
Inside the walls there are no cars. The old town covers about 2.25 km² and private vehicles are banned, so every transfer is on foot — a full loop of the main lanes runs 8–10 km. The wall itself is 6.4 km around, with six gates, 72 watchtowers and 3,000 crenellations, and walking the whole circuit takes 2–3 hours. You do not have to: ramps come down at every gate, and most people walk one or two segments at opening or in the hour before dusk, when the grey-tile roofs take the best light.
The electric buggies are not a hop-on day pass. They charge about 10 yuan per person per segment, or roughly 150 yuan to charter a whole vehicle, and they drop you near a sight rather than at its door — ask the price before you get in. For luggage this is the one thing to arrange in advance: taxis stop at the four gate car parks (about 10 yuan by day, 20 overnight), and a courtyard inn deep in the lanes is a 5–10 minute walk over stone paving from there. Almost every inn will send a buggy to the gate if you tell them your arrival time.
Stone paving is also the reason to pack light for the two nights inside. A wheeled case survives it, but the lanes are narrow and the guesthouses have no lifts; a soft bag and the inn’s pickup turn the arrival into a five-minute errand instead of a twenty-minute drag.
Yungang is a one-way walk, and the light decides the order
Yungang is a one-way walk, not a site you circle. The complex runs about 1 km along an east–west cliff and the visitor flow is fixed: visitor centre, Tan Yao square, the Buddha-light avenue, Lingyan Temple, the cave core, the museum, then the cultural-street exit. Walking it end to end is 2.5–3 km with no backtracking, so the order you meet the caves is the order the site gives you.
Read it from the western end even though you walk east to west. The Tan Yao five caves (16–20) sit at the far end, and Cave 20’s 13.7 m open-air Buddha is the one everybody photographs — it faces into the morning sun and is at its best roughly 9–11 am. Caves 5 and 6 are the artistic peak (a 17 m seated Buddha and 33 carved scenes from the life of the Buddha), and they are metered at the entrance; if the queue is long, carry on to the two ends first and come back rather than standing still. Cave 3, the largest and deliberately unfinished, and Cave 12, the music cave with 47 carved musicians, are the other two worth slowing down for.
Light is a real planning variable here, not a photographer’s conceit. Low morning sun rakes across the drapery and makes the carving read three-dimensionally; flat midday light does not. Free public tours run three times a day (8:30, 10:30 and 14:30), capped at 20 people and booked in the site’s mini-program, meeting at the institute history hall. The ceremonial avenue has an e-cart at about 10 yuan one way or 15 return — walk out past Lingyan Temple and ride back.
The clock matters as much as the light. Winter hours from early October 2026 open at 8:30 with last entry at 16:30, so an arrival after 14:00 does not leave the two-plus hours the site needs. Yungang does not close on Mondays and stays open in rain and snow; only extreme weather closes individual caves temporarily. Ticket prices, booking windows and the passport rules are on the Datong page — this is only about how to move once you are inside.
The three-site day only works in one direction
Three sites get sold as one day out of Datong, and the day only works in one direction. Yungang is 16 km west of the city. The Hanging Temple is about 75 km south-east at Hengshan in Hunyuan county. The Yingxian Wooden Pagoda is another 50 km south of the temple, in Shuozhou prefecture. Yungang to the temple is roughly 77 km and 90 minutes by road; temple to pagoda about 50 km and 45–55 minutes. They are not a loop.
The workable order is far to near. Leave the city around 06:50, reach the pagoda for opening at 08:00 (70 km, about 1 hour 10), continue 60 km to the Hengshan visitor centre, take the mandatory 8 km park shuttle (about 10 minutes) up to the temple, spend an hour there, lunch in Hunyuan, then drive about two hours back west to Yungang for a three-hour afternoon visit, returning to the city around 18:30. That is the sequence every shared day tour in Datong runs, and it is not arbitrary.
Reverse it and the day breaks. Doing Yungang first puts you on the road during the grottoes’ best morning light and lands you at the caves mid-afternoon — in winter that is within an hour or two of last entry, with the two-plus-hour visit still ahead of you. It also doubles the backtracking, because the pagoda and the temple sit on the same southern arm while Yungang sits alone to the west.
Two constraints are structural. No private vehicle may reach the temple’s inner car park; everyone transfers to the park shuttle at the Hengshan visitor centre — book the separate “ascend” slot in advance if you want to climb, as the Datong page explains. And this is a car day: the inter-city legs are too far apart and too infrequent to chain by bus. Share a tour or hire a driver for this one day and use rail and city buses for everything else.
Doing it without a car: where the bus web works
The car-free version works for most of the route and fails for exactly one day. Within Datong, the 3 bus runs from the old city to the Yungang east gate for about 2 yuan and 40 minutes; the 603 tourist line (roughly 10 yuan) links both Datong station and Datong South to the site, with the last bus around 17:00 — fine on a normal day, useless if you are relying on it after the winter 16:30 cut-off. A taxi one way is 35–50 yuan and about 25 minutes.
For the southern arm, 2026 brought a shuttle network built around the Hengshan visitor centre: direct coaches from the old city’s east wall at 06:00 and 13:30 for about 19.5 yuan, with returns at 16:30, 17:30, 18:00 and 18:30; a 15:00 service from the centre on to the Yingxian Pagoda at about 29 yuan; and pagoda-to-city coaches at 15:00 and 16:00. They are real and cheap, but the departure list is thin — one missed 15:00 bus ends the three-site plan. In Pingyao, the 108 north line calls at Shuanglin Temple on its way to the North Gate, the 209 reaches Zhenguo Temple for about 3 yuan, and a tourist direct-bus network links Jinci, the Qiao and Wang family compounds and the old town with Jinci as the hub.
So the honest answer to “can I do Shanxi without a car” is: yes for both cities, both rail legs, Shuanglin, Zhenguo, the merchant courtyards and Yungang; no for the pagoda–temple–grottoes combination. Hire a car for that single day and the rest of the route needs nothing but 12306, a bus card and a pair of shoes. All fares and times above are late-2026 reference figures — confirm the current timetable on the official mini-programs before you travel.
Frequently asked
The questions we get most
Which station should I book to for Pingyao — Pingyao or Pingyao Gucheng?
Pingyao Gucheng, for almost everyone. That is the high-speed station used by all G-trains from Beijing, Xi’an North and Taiyuan South, about 6–7 km south of the walls (13–15 minutes by car). Pingyao station is the old conventional stop a 10-minute walk from the Lower West Gate, used by slow overnight trains. They are separate entries on 12306 and Trip.com; check the label before you pay, then take the 108 bus (about 1 yuan, 30–40 min, north and south lines go to different gates) or a 15–20 yuan taxi.
Is there a fixed order for the Yungang, Hanging Temple and Wooden Pagoda day trip?
Yes — far to near, and it is not optional in practice. Pagoda at opening, then the Hengshan shuttle to the Hanging Temple, lunch in Hunyuan, then the two-hour drive west to Yungang for the afternoon. Reversed, you burn the grottoes’ best morning light on the road and arrive in winter within an hour of the 16:30 last entry. The three sites are 50–77 km apart, not a loop.
What time of day is best for the Yungang caves?
Morning, ideally 9–11 am. The caves take low sun from the east and it rakes across the carved drapery; Cave 20’s 13.7 m open-air Buddha is front-lit then and flat by midday. Combine it with the first entry slot: free public tours leave at 8:30, 10:30 and 14:30, capped at 20 people and booked in the site’s mini-program.
Can I do the Shanxi route without hiring a car?
Almost all of it, yes — both rail legs, both old towns, Shuanglin and Zhenguo temples, the merchant courtyards and Yungang all work by train and bus. The one exception is the pagoda–temple–grottoes day: the inter-city legs are too far apart and the shuttle departures too few to chain. Hire a car or join a shared tour for that single day.
How do I get from Datong South station to the Yungang Grottoes?
The 603 tourist line runs from both Datong South and Datong station to the site for about 10 yuan, with the last bus around 17:00; the 3 bus from the old city is about 2 yuan and 40 minutes to the east gate; a taxi is 35–50 yuan and 25 minutes. If you are on a winter afternoon, check the return timetable first — last entry is 16:30.
Did the new high-speed line change the Shanxi itinerary?
Yes. The Jining–Datong–Yuanping line opened 31 December 2024: Datong to Beijing is now 97 minutes at the fastest with close to 40 departures a day, and Datong to Taiyuan about 81 minutes. Day 3 (Pingyao–Taiyuan–Datong) became a relaxed morning move, and the Day 5 exit no longer depends on one specific train. Note that Beijing services end at either Beijing North or Qinghe — check which your ticket names.
Can I bring a suitcase into Pingyao’s old town?
Yes, but not in a vehicle. Private cars are banned inside the walls and taxis stop at the four gate car parks; from there it is a 5–10 minute walk over stone paving to a courtyard inn, with no lifts. Tell the inn your arrival time and it will usually send an electric buggy to the gate for the bags — that one message is the difference between a five-minute errand and a long drag.