Pingwu County is a county located in the north of Sichuan province, China, bordering Gansu province to the north. It is the northernmost county-level division of the prefecture-level city of Mianyang.