The preparation of artificial soil is a potential cooperative resource utilization scheme for red mud and phosphogypsum on a large scale, with a low cost and simple operation. The characteristics of the bacterial community structure and function in three artificial soils were systematically studied for the first time. Relatively rich bacterial communities were formed in the artificial soils, with relatively high abundances of bacterial phyla (e.g., Cyanobacteria, Proteobacteria, Actinobacteriota, and Chloroflexi) and bacterial genera (e.g., Microcoleus_PCC-7113, Rheinheimera, and Egicoccus), which can play key roles in various nutrient transformations, resistance to saline–alkali stress and pollutant toxicity, the enhancement of various soil enzyme activities, and the ecosystem construction of artificial soil. There were diverse bacterial functions (e.g., photoautotrophy, chemoheterotrophy, aromatic compound degradation, fermentation, nitrate reduction, cellulolysis, nitrogen fixation, etc.), indicating the possibility of various bacteria-dominated biochemical reactions in the artificial soil, which can significantly enrich the nutrient cycling and energy flow and enhance the fertility of the artificial soil and the activity of the soil life. The bacterial communities in the different artificial soils were generally correlated with major physicochemical factors (e.g., pH, OM, TN, AN, and AP), as well as enzyme activity factors (e.g., S-UE, S-SC, S-AKP, S-CAT, and S-AP), which comprehensively illustrates the complexity of the interaction between bacterial communities and environmental factors in artificial soils, and which may affect the succession direction of bacterial communities, the quality of the artificial soil environment, and the speed and direction of the development and maturity of the artificial soil. This study provides an important scientific basis for the synergistic soilization of two typical industrial solid wastes, red mud and phosphogypsum, specifically for the microbial mechanism, for the further evolution and development of artificial soil prepared using red mud and phosphogypsum.