The performance of anaerobic digestion (AD) is susceptible to disturbances in feedstock degradation, intermediates accumulation, and methanogenic archaea activity. To improve the methanogenesis performance of the AD system, Fe–N co-modified biochar was prepared under different pyrolysis temperatures (300,500, and 700 °C). Meanwhile, pristine and Fe-modified biochar were also derived from alternanthera philoxeroides (AP). The aim was to compare the effects of Fe–N co-modification, Fe modification, and pristine biochar on the methanogenic performance and explicit the responding mechanism of the microbial community in anaerobic co-digestion (coAD) of AP and cow manure (CM). The highest cumulative methane production was obtained with the addition of Fe-N-BC500 (260.38 mL/gVS), which was 42.37 % higher than the control, while the acetic acid, propionic acid, and butyric acid concentration of Fe-N-BC were increased by 147.58 %, 44.25 %, and 194.06 % compared with the control, respectively. The co-modified biochar enhanced the abundance of Chloroflexi and Methanosarcina in the AD system. Metabolic pathway analysis revealed that the increased methane production was related to the formation and metabolism of volatile fatty acids and that Fe-N-BC500 enhanced the biosynthesis of coenzyme A and the cell activity of microorganisms, accelerating the degradation of propionic acid and enhancing the hydrogenotrophic methanogenesis pathway. Overall, Fe–N co-modified biochar was proved to be an effective promoter for accelerated methane production during AD.