Diabetic wound patients are often exposed to bacterial infections with delayed healing process. Antimicrobial peptides (AMPs) have been investigated for the treatment of infection induced diabetic chronic wound healing, but the low stability and toxicity have limited the further applications of AMPs. Here, we developed a precisely controlled AMP releasing supramolecular injectable hydrogel (Gel-AMP), which can respond to infection related matrix metalloproteinases (MMP) and reactive oxygen species (ROS). AMP was conjugated to Gel with a cyclic peptide composed of MMP and ROS cleavable sequence. Remarkably, only when the Gel-AMP was exposed to both MMP and ROS simultaneously, AMP was released from the Gel, enabling AMP controlled release without cytotoxicity. In addition, we confirmed the enhanced serum stability of Ad-HA-AMP conjugate. Finally, we could demonstrate the greatly improved wound healing effect of Gel-AMP with the enhanced safety of Gel-AMP for the treatment of infection induced diabetic chronic wounds.