The granule-based anammox process is a promising biotechnology for nitrogen removal, yet the mechanisms governing the mechanical stability of anammox granular sludge remain poorly understood. In this study, anammox granular sludge samples were investigated to reveal the critical role of proteins in controlling granule cohesion and viscoelasticity.