In this work, an antibacterial hydrogel was prepared on a multigram scale using a straightforward process. The hydrogel was loaded with an antibacterial peptide for topical delivery to infectious wound sites and to prevent bacterial contamination. Due to the incorporated disulfide bonds, the hydrogel backbone can be degraded in the reductive environment of infectious wounds, releasing its cargo of the antibacterial peptide; the hydrogel will eventually be removed after degradation, without causing any secondary damage to the wound. The in-vitro results show that the hydrogel and its degradation products are non-toxic to cells, and the hydrogel loaded with vancomycin acts as a barrier against bacteria, with a significant antibacterial effect against E. coli. The hydrogels loaded with vancomycin exhibited improved healing of infected wounds in an in-vivo dermatological mouse model. The high biocompatibility, degradability and antibacterial properties of this disulfide-based hydrogel qualify it as a promising wound dressing for topical drug delivery to infected wounds.