Microplastics (MPs) and nanoplastics (NPs) present in wastewater can pose a negative impact to aerobic granular sludge (AGS). Herein, this study found that MPs and NPs (20 mg/L) deteriorated the sludge settleability and granule integrity, resulting in a 15.7 % and 21.9 % decrease in the total nitrogen removal efficiency of the AGS system, respectively. This was possibly due to the reduction of the extracellular polymeric substances (EPS) content. The subsequent analysis revealed that tyrosine, tryptophan, and humic acid-like substances in EPS exhibited a higher propensity for chemisorption and inhomogeneous multilayer adsorption onto NPs compared to MPs. The binding of EPS onto the surface of plastic particles increased the electronegativity of the MPs, but facilitated the aggregation of NPs through reducing the electrostatic repulsion, thereby mitigating the adverse effects of MPs/NPs on the AGS stability. Additionally, comprehensive analysis of the extended Derjaguin-Landau-Verwey-Overbeek theory indicated that the suppressed aggregation of microorganisms was the internal mechanisms contributing to the inadequate stability of AGS induced by MPs/NPs. This study provides novel insights into the detrimental mechanisms of MPs/NPs on the AGS stability, highlighting the key role of EPS in maintaining the structural stability of AGS when exposed to MPs/NPs.