During the process of black shale weathering, multiple heavy metal elements are concentrated in the soil, causing pollution. This study selected soil and black shale bedrock samples from high geological background areas to investigate the control of heavy metal element pollution by bedrock using spatial analysis. The research results indicate that the heavy metal content in black shale bedrock is extremely high, ranging from 2.3 to 13.1 times the background values of rock heavy metal elements. The heavy metal content in the soil formed through weathering is positively correlated with the bedrock, ranging from 1.1 to 21.3 times the background values. The coefficient of variation of rock samples ranges from 1.09 to 7.18, indicating significant variability.The analysis reveals that the control ability of pure rock over heavy metal elements is mainly moderate and high, accounting for over 70 %, with d being the most affected metal element. Except for As, the other seven elements exhibit strong spatial autocorrelation, showing distinct regional distribution characteristics. The soil elements demonstrate high homogeneity, with heavy metal elements from black shale bedrock primarily released through weathering serving as the main source of these elements.