Pingyao, officially Pingyao Ancient City, is a settlement in central Shanxi, China, famed for its importance in Chinese economic history and for its well-preserved Ming and Qing urban planning and architecture. Administratively, it comprises the town of Gutao in Pingyao County in Jinzhong Prefecture. It has a population of about 50,000.
The town is first recorded c. 800 BC and has been the seat of local government since at least the Qin. By the 16th century, it was a regional financial hub; some consider it to have been the financial centre of the Qing Empire in the late 19th century. It is a AAAAA-rated tourist attraction, and the settlement and the outlying Zhenguo Temple and Shuanglin Temple became a World Heritage Site in 1997.