The management of infected wounds is still an intractable challenge in clinic. Development of antibacterial wound dressing is of great practical significance for wound management. Herein, a natural‐derived antibacterial drug, tannic acid (TA), was incorporated into the electrospun polyvinyl alcohol (PVA) fiber (TA/PVA fiber, 952 ± 40 nm in diameter). TA worked as a cross‐linker via hydrogen bonding with PVA to improve the physicochemical properties of the fiber and to reach a sustained drug release (88% release of drug at 48 h). Improved mechanical property (0.8–1.2 MPa) and computational simulation validated the formation of the hydrogen bonds between TA and PVA. Moreover, the antibacterial and anti‐inflammatory characteristics of TA laid the foundation for the application of TA/PVA fiber in repairing infected wounds. Meanwhile, in vitro studies proved the high hemocompatibility and cytocompatibility of TA/PVA fiber. Further in vivo animal investigation showed that the TA/PVA fiber promoted the repair of infected wound by inhibiting the bacterial growth, promoting granulation formation, and collagen matrix deposition, accelerating angiogenesis, and inducing M2 macrophage polarization within 14 days. All the data demonstrated that the TA cross‐linked fiber would be a potent dressing for bacteria‐infected wound healing.