Hanshan County is a county in the east of Anhui Province, People's Republic of China under the jurisdiction of the prefecture-level city of Ma'anshan. It has a population of 336,588 in 2020 and an area of 1,028 square kilometres. The government of Hanshan County is located in Huanfeng Town.