The addition of conductive materials (CMs) is an effective strategy for mitigating ammonia inhibition during anaerobic digestion (AD). However, the introduction of CMs can result in increased antibiotic resistance genes (ARGs) pollution, potentially facilitated by enhanced horizontal gene transfer (HGT). The complex dynamics of intracellular and extracellular ARGs (iARGs/eARGs) and the mechanisms underlying their transfer, mediated by CMs, in ammonia-stressed AD systems remain unclear. In this study, we investigated the effects of three commonly used CMs—nano magnetite (Mag), nano zero-valent iron (nZVI), and granular activated carbon (GAC)—on the fate of iARGs and eARGs during the AD of waste activated sludge under ammonia stress. The results revealed an unexpected enrichment of iARGs by 1.5 %–10.9 % and a reduction of eARGs by 14.1 %–25.2 % in CM-supplemented AD. This discrepancy in the dynamics of iARGs and eARGs may be attributed to changes in microbial hosts and the horizontal transfer of ARGs. Notably, CMs activated prophages within antibiotic-resistant bacteria (ARB) and their symbiotic partners involved in vitamin B12 provision, leading to the lysis of ARB and the subsequent release of eARGs for transformation. Additionally, the abundance of potentially mobile ARGs, which co-occurred with mobile genetic elements, increased by 56.6 %–134.5 % with CM addition, highlighting an enhanced potential for the HGT of ARGs. Specifically, Mag appeared to promote both transformation and conjugation processes, while nZVI only promoted conjugation. Moreover, none of the three CMs had any discernible impact on transduction. GAC proved superior to both nano Mag and nZVI in controlling the enrichment of iARGs, reducing eARGs, and limiting HGTs simultaneously. Overall, these findings provide novel insights into the role of viruses and the mechanisms of ARG spread in CM-assisted AD, offering valuable information for developing strategies to mitigate ARG pollution in practical applications.