Exploring soil heavy metal sources is of great significance for ensuring the safety of ecological environments and agricultural product safety, as well as for guiding pollution control and management policies. This paper retrieved 452 research papers on soil heavy metal source analysis published over the 2004–2024 period from the Web of Science database. The collected literature was subjected to multidimensional bibliometric analysis using the CiteSpace 6.3.R1. The results showed significantly increasing trends in the scientific outputs and the number of papers on heavy metal source analysis in soils and water over the study period. In addition, related research topics have expanded from single to multiple heavy metal elements in environmental media and have increasingly recognized the impact of water pollution on soil contamination. Research methods have also evolved from basic statistical analysis to complex spatial analysis techniques, covering agricultural and urban soils. Previous related studies have focused on heavy metal pollution in different areas, and related research on heavy metal source analysis has now extended from ecological environments to associated human health risks. The present study provides directions for future related research and guidance for ensuring effective source control of heavy metal pollution and safe utilization of land and water resources.