Heavy metal pollution (HMP) directly affects the safety of agricultural products, thereby impacting human health. Industrial emissions, as the main source of soil HMP in China, require in-depth research on their pollution risks. Based on national heavy metal (HM) enterprise data, this paper analyzes the spatial distribution characteristics of key enterprises involved in the HMP across the country. It constructs the risk assessment index system of enterprise HMP based on the “source-pathway-receptor” (SPR) process of the HMP, evaluates and partitions the risk of the HMP from enterprises nationwide. The results show that: (1) Enterprises and pollutant discharge outlets are mainly distributed in the eastern and southeastern coastal regions. Jiangxi, Yunnan, Guangdong, and Hunan Province are the main distribution regions of smelting enterprises, with the most types of HM pollutants. The hazard of pollution sources shows a spatial distribution pattern of higher risk in the southwest and north, and lower risk in the central region. Counties with high-risk pollution sources are mainly distributed in Yunnan, Hunan, Guangdong, Inner Mongolia, and Jiangxi Province. (2) The hazard of pollutant transmission pathways shows a spatial distribution pattern of higher risk in the southeast and lower risk in the central region. About 31.5 % of counties are at extremely high risk, mainly distributed in the southeastern coastal regions of Guangdong, Jiangsu, Zhejiang, Jiangxi, Shandong, and Fujian Province. (3) The vulnerability of the receptors shows significant clustering characteristics in the northeast and central regions. About 3.3 % of counties have a receptor vulnerability level of “extremely high,” mainly distributed in Inner Mongolia, Jilin, Heilongjiang, Liaoning Province in the northeast, as well as Hubei and Jiangsu Province. (4) About 1.55 % of counties nationwide have a comprehensive risk level of the HMP classified as “extremely high,” mainly distributed in Guangdong Province and Inner Mongolia. Additionally, some counties in Yunnan, Hunan, Jiangsu, Jiangxi, and Zhejiang Province have a risk of exceeding pollution standards, requiring further preventive measures to reduce pollution risks in the future. This paper can provide a scientific basis for the prevention and control (P&C) of the HMP in China.