Antibacterial hydrogels, as novel antibacterial materials with inherent or exogenous antibacterial activity, can be used for local use, controlled drug release, stimulus-responsive activation, synergistic antibacterial therapy, realizing its translational applications in different medical fields.