The Yangshan gold deposit in Gansu province is a super large gold deposit in the West Qinling metallogenic belt, with a cumulative gold accumulation of 400 tons. The soil environment conditions in Anba- Getiaowan ore section were investigated and analyzed to provide a reference basis for mine construction, development and treatment. A total of 120 samples (95 horizontal profile samples and 25 vertical profile samples) were collected, taking into account the topography, cover type, soil use type and soil type in the study area, and the distribution characteristics and change patterns of soil heavy metals As, Cd, Hg and Pb in the study area were evaluated sterically from both horizontal and vertical dimensions. Meanwhile, the distribution characteristics of F and Se elements in soil were compared and analyzed. The results of the study showed that: (1) the value of heavy metal elements As exceeded the standard, and the rest of the heavy metal elements were above the second grade of soil quality, among which the exceedance rate of heavy metal elements As in Anba area was 15%, and that in Getiaowan area was 84%; (2) the average value of As, F and Se content was higher than the background value of Longnan City, which was speculated to be significantly related to the presence of high arsenic and high fluorine water in the evaluation of poor quality water in the study area; (3) the excessive content of As element in the soil in the mining area is related to the occurrence of arsenic-containing minerals in gold, and As element pollution problem should be emphasized in the later construction and development of the mine.