Zhefang is a town located in the Mangshi region of Yunnan Province, China. According to the 2017 census, the town covers an area of 422 square kilometres (163 sq mi) and has a population of approximately 49,000 residents.
The town is situated in a geographic position bordered by several neighboring areas. It is bounded to the north by Xishan Township, while Santaishan Town and Mengga Town lie to the east. To the south, it borders Manghai Town and the country of Myanmar, and it is bordered to the west by Ruili.