Zhangfang Town () is a suburban town in the Fangshan District of Beijing. As of the 2020 census, it had a population of 18,299, and had an area of . It is located in southwestern Beijing, approximately southwest of the city center of Beijing.
The town was historically a crucial military station, and was named Zhangfang () as a result. Later the name was corrupted to Zhangfang (å¼ åÂÂ) of today.
In the year 2021, the town was divided into 15 villages:
Juma River (), a tributary of the Daqing River (), flows northwest to southeast through the town.
Mountains located adjacent to and visible from the townsite are: Dawajian (), Baihujiao (), Zhuanghushan (), and Ma'anshan ().
Zhangfang Town has four public primary schools and one middle school.
The local economy is primarily based upon agriculture and tourism.
Persimmon is important to the local economy.
Yunju Temple is a Buddhist temple in the town, which was originally built during the Northern Qi dynasty (550–570).
The BeijingâÂÂTongliao railway, from Beijing to Tongliao in the Inner Mongolia Autonomous Region, runs through the town.
The main attractions are the Zhangfang Shang and Zhou Dynasties Site (), Xianxi Cave (), and Jiulong Pond ().