The rapid emergence of antibiotic resistance in pathogenic microbes is becoming an imminent global public health problem. Local application of antibiotics might be a solution. In local application, materials need to act as the drug delivery system. The drug delivery system should be biodegradable and prolonged antibacterial effect should be provided to satisfy clinical demand. Hydrogel is a promising material for local antibacterial application. Hydrogel refers to a kind of biomaterial synthesized by a water-soluble natural polymer or a synthesized polymer, which turns into gel according to the change in different signals such as temperature, ionic strength, pH, ultraviolet exposure etc. Because of its high hydrophilicity, unique three-dimensional network, fine biocompatibility and cell adhesion, hydrogel is one of the suitable biomaterials for drug delivery in antimicrobial areas. In this review, studies from the past 5 years were reviewed, and several types of antimicrobial hydrogels according to different ingredients, different preparations, different antimicrobial mechanisms, different antimicrobial agents they contained and different applications, were summarized. The hydrogels loaded with metal nanoparticles as a potential method to solve antibiotic resistance were highlighted. Finally, future prospects of development and application of antimicrobial hydrogels are suggested.