Soil microorganisms play an important role in regulating a variety of ecological functions. In recent years, the research on ecological restoration after mining has made people more aware of the importance of microbial diversity to ecosystem restoration. The present study investigated the effect of ecological restoration on microbial community structure and its relationship with soil physicochemical properties in the Dabaoshan mining area, China. High throughput sequencing technology was used to analyze and compare the microbial community composition of three types of soil (undamaged area, unrestoration area, and ecological restoration area). The contents of organic carbon, total nitrogen, and total phosphorus were 2.38–12.97 g/kg, 0.39–1.62 g/kg, and 0.99–1.51 g/kg, respectively. In different soil states, undamaged area and ecological restoration area were significantly higher than those in unrestoration area. The results showed that the structure of soil microbial community was significantly correlated with soil physicochemical properties, and formations in the repaired and unrepaired soils were different. Operational Taxonomic Unit (OTU) cluster analysis and diversity index analysis showed that soil microbial community changed at phylum and genus levels. The results showed that at the phylum level, all soil samples contained Firmicutes, Proteobacteria, and actinobacteria. Firmicutes and Proteobacteria of the ecological restoration area (ER1, ER2) were the highest in relative abundance compared with other samples, accounting for more than 45%. Proteobacteria and Acidobacteria were the dominant phylum in the undamaged area (UD), accounting for 32.7% and 22.3%, respectively. It can be seen that soil restoration produced a new dominant population, and Proteobacteria showed an absolute competitive advantage in the mining soil.