The paper is concerned with the analysis of heavy metal content in soils depending on the distance from the considered source of pollution of Magnitogorsk and its suburbs. It was found that the main investigated heavy metals polluting soils are zinc, lead and copper. The main objective of this research work is to carry out the analysis of heavy metal content dynamics in soil from 2014 to 2017 taking into account environmental protection measures taken within the frame of the environmental program of the PJSC MMK. The slagheap of the III order located in the North of the city on the left-bank valley side of the river Ural was considered as the source of pollution. The research group calculated the following characteristic values: the total pollution index of soils and the ecotoxicological index of chemical pollution of soils with pollutants of different classes of hazard.