The hook
The best-preserved walled town in China: a complete Ming-era city wall enclosing a grid of grey-brick courtyard houses, temples, and old bank buildings, small enough to walk in a day and largely intact where other "ancient towns" were rebuilt for show.
01Why it's worth it
Pingyao, in Shanxi, kept its 14th-century rammed-earth-and-brick wall and much of the low, tiled city inside it, which is rare in a country where most historic centres were cleared or reconstructed. In the Qing it was a finance capital, birthplace of China's first draft-banks (piaohao), and you can visit the old bank and escort-guard courtyards that ran silver across the empire. It's a UNESCO site and a genuine survivor. Set expectations, though: it's compact, the individual sights are modest, and it has leaned hard into tourism, red lanterns, souvenir lanes, day-tripper crowds, so some visitors find a day or two plenty and feel it's thinner than the walls promise. The trick is to stay overnight in a courtyard inn and walk the lanes and ramparts when the coaches have gone.
02How to experience it
Walk the full circuit on top of the city wall for the layout, visit the old bank (Rishengchang) and a courtyard mansion or two, and, crucially, sleep inside the walls so you get the streets in the early morning and evening quiet. One night is enough; it pairs naturally with Datong to the north.
From the locals
Opinions split, honestly. It appears on travellers' lists of "beautiful, lesser-traveled" places they liked, "Pingyao, Shanxi" leading one such list, while others temper it: "1–2 days in Pingyao is sufficient to see everything, there is not super much to do besides the historical small sights."
A more recent account is blunter, and identifies the specific thing that has changed — not the crowds but the residents: "I have been to Pingyao recently and found it too touristy at the moment. Very few people live within the town walls, roads are covered with shops almost entirely targeted to tourists." A walled town whose inhabitants have largely moved out is a different proposition from a surviving one, and that is the risk to weigh before committing more than a night.