In order to explore the impact mechanism of remediation materials on ARGs and MRGs in soil under the condition of heavy metal As and Cd pollution, and put forward the application strategy of biochar to control ARGs, this project plans to use biochar to repair As and Cd contaminated soil, and design three treatments, CK (blank non polluted soil) H (As (100mg/kg)+Cd (3mg/kg)), HB (As (100mg/kg)+Cd (3mg/kg)+biochar (5%), to analyze the physical and chemical properties of soil, The microbial diversity in soil was detected. The abundance of Streptomycetes, Propionibacteriales and Bacillales in HB treatment increased by 7.0%, 4.2% and 13.3% compared with D0. The characteristics of biochar weaken most of the cycling functions of soil microorganisms. RpoB, MtrA, VanRO, ARO: 3004480, parY are the five gene types with the highest abundance in the experimental samples, of which VanRO is a vancomycin resistance gene, and the addition of biochar hinders the reduction of this type of antibiotic resistance gene.