Pingyao at night after the buses leave is another world

Stayed over and walked the empty lanes at 9pm — red lanterns, grey tiles, not a tour flag in sight. Magic.
Step inside a complete Ming-dynasty city — six kilometres of intact walls wrapped around grey-tiled courtyards, temples and the counting-houses where modern Chinese banking was born. Stay the night to have the lanes after the day-trippers leave.
Tip One ticket covers the wall plus ~20 sights inside and is valid a few days — pace it over an overnight rather than rushing. The magic is early morning and after dark when the tour groups have gone and the lanterns come on; day-tripping from Xi'an misses that entirely.
Walking guideA loop of the ramparts, the Rishengchang counting-house where Chinese banking started, and the lanes worth getting lost in.
Stay guideThe courtyard guesthouses, the after-dark lanes, and why an overnight beats a Xi'an day trip every time.
Day tripThe grand merchant compound outside town (of Raise the Red Lantern fame) — an easy add-on by taxi or bus.






Day-trippers see Pingyao at its busiest. Overnight in a courtyard inn and you get the lantern-lit lanes almost to yourself.
The combined ticket covers the wall and the courtyards/temples and stays valid — no need to cram it into a single day.
HSR uses 'Pingyao Ancient City' station, 8–10 km from the walls (~20 min by taxi/e-cart). Plain 'Pingyao' is the old station — ~1 km out, an easy walk.

Stayed over and walked the empty lanes at 9pm — red lanterns, grey tiles, not a tour flag in sight. Magic.
Tight itinerary. Is it doable as a long day from Xi'an, or do I really need the night here?