The presence of large amounts of antibiotic resistance genes (ARGs) in livestock manures poses an impending, tough safety risk to ecosystems. To investigate more comprehensively the mechanisms of ARGs removal from industrial-scale composting of livestock manure based on biochar addition, we tracked the dynamics of bacterial community and ARGs at various stages of aerobic composting of livestock manures with 10% biochar. There were no significant effects of biochar on the bacterial community and the profiles of ARGs. During aerobic composting, the relative abundance of ARGs and mobile genetic elements (MGEs) showed overall trends of decreasing and then increasing. The key factor driving the dynamics of ARGs was bacterial community composition, and the potential hosts of ARGs were Caldicoprobacter, Tepidimicrobium, Ignatzschineria, Pseudogracilibacillus, Actinomadura, Flavobacterium and Planifilum. The retention of the thermophilic bacteria and the repopulation of the initial bacteria were the dominant reasons for the increase in ARGs at maturation stage. Additionally, among the MGEs, the relative abundance of transposon gene was substantially removed, while the integron genes remained at high relative abundance. Our results highlighted that the suitability of biochar addition to industrial-scale aerobic composting needs to be further explored and that effective measures are needed to prevent the increase of ARGs content on maturation stage.