Pingyao is what a Chinese county town looked like before somebody decided to bulldoze it. The walled city dates from 1370, and its streets, courtyard houses, shopfronts and temples are largely the real thing, not a reconstruction, which is why UNESCO listed it in 1997. In the 1800s it was also where Chinese money moved: the first piaohao, or draft bank, was set up here, and Shanxi merchants sent silver across the empire with a piece of paper instead of a mule train.
It's small, and it's a tourist town now. The main street sells the same souvenirs as every restored old town in China, and the crowds peak at midday. Walk two lanes away and the grey brick, heavy gates and courtyard inns are still there, and the wall, the bank and the temples are the best of their kind. Three days is the right length: two to see the town and the painted clay at Shuanglin Temple, one for a day trip, with no filler.
The plan runs by day. Day one is the wall, the county office and the banking street. Day two is the temples and Shuanglin. Day three is the Qiao Family Courtyard in Qi County, with a stop at Zhenguo Temple on the way back. Start on a Tuesday, so the weekend crowds are behind you by the day trip. It pairs well with Xi'an or Beijing, and the rest of the country is in our China guide.