This study aims to indicate the influence of biochar on extracellular and intracellular ARGs (e/iARGs) variation and proliferation during lincomycin fermentation dregs (LFDs) compost. Biochar addition made iARGs keep reducing but eARGs increase to the maximum at the middle thermophilic phase and reduce at the end of the compost. Compared to control 3.15-log and 5.42-log reduction of iARGs and eARGs were observed, respectively. Biochar addition, bacterial community, and MGEs were the major contributors to iARGs and eARGs removal, with the contribution percentages of 38.4%, 31.0%, 23.7%, and 27.2%, 29.1%, and 34.9%, respectively. Moreover, biochar significantly inhibited eARGs transformation and RP4 plasmid conjugative transfer among E. coli DH5 alpha and Pseudomonas aeruginosa HLS-6. The underlying mechanism involved in broken cell membranes of bacteria, and altered expression of oxidative stress genes and save our souls (SOS) response-related genes. The results indicated that biochar addition in composting could limit the dissemination of ARGs.