Shifang is a county-level city in Sichuan Province, China, administered under Deyang prefecture-level city. It lies roughly 50 kilometers (31 mi) from Chengdu, the provincial capital. The city covers an area of 863 square kilometers (333 sq mi) and had a population of 406,775 as of 2020.
Shifang's history stretches back more than two thousand years. In more recent times, the city suffered heavy damage during the 2008 Sichuan earthquake.
In July 2012, Shifang was the scene of a large-scale environmental protest against a copper smelting plant.