This study investigated the prevalence of antibiotic resistance genes (ARGs) in the influent, effluent, and waste acti-vated sludge (WAS) of eight full-scale municipal wastewater treatment plants (WWTPs) in Shanghai, China. A compre-hensive understanding of the correlation between various influencing factors (characteristics of wastewater and WAS, antibiotics, metals, mobile genetic elements) and ARGs was explored. Among the eight full-scale WWTPs, the Unitank process was inefficient in removing typical ARGs compared with continuous-flow anaerobic-anoxic-aerobic and oxida-tion ditch processes. Antibiotic was identified as the most influential factor affecting the occurrence of ARGs in waste-water, followed by flow rate and nutrients. Positive correlations were observed between antibiotics and their corresponding ARGs in the influent, while this correlation disappeared in the WAS. Class I integron, wastewater char-acteristics (nitrogen and flow rate), antibiotics (ofloxacin, sulfamethazine, and erythromycin), metals (Mg, Al, Fe, and Mn) were identified as crucial factors comprehensively affecting the distribution of ARGs in WAS. Dissimilatory nitrate reduction profoundly influenced the fate of ARGs during wastewater treatment processes, and K04561 (norB), K02567 (napA), K00262 (gdhA), K00284 (gltS) were identified as the most significant genes in the nitrogen metabolism path-way (ko00910). This study provides a new perspective for comprehensively understanding the occurrence and dissem-ination of ARGs in WWTPs.