In this study, multiple emerging pollutants were added to composting substrates as catalysts for the microbial community. The aim was to investigate whether different pollutants can selectively promote the directional evolution of the microbial community towards detoxification, and to deeply analyze the underlying mechanisms. The study also explored the effects of degradation products on humification. The results showed that different pollutants had varying effects on the degree of stress and the timing of stress response. However, most pollutants induced dramatic responses in the microbial community and promoted the expansion of corresponding functional microbial networks. Moreover, the subsidy reaction caused by pollutants stimulated the expression of functional enzymes, thus improving substrate degradation efficiency. During the composting process, toxic substances degraded together with macromolecular substances in the materials, resulting in a significant amount of humic precursor substances. In the later stage of composting, the degradation products of pollutants combined with amino acids and small molecular precursors to form humic substances. This increased the yield of humic substances and achieved the degradation effect of pollutants. This study comprehensively revealed the molecular biological mechanisms and substance transformation processes by which pollutants, as bioenhancers, are ultimately transformed into humic acid products. These findings have important implications for the management of organic solid waste and pollution control.