The development of novel antibacterial agents is urgently needed to tackle bacterial infection, the major global issue menacing human health. Among them, polymeric quaternary phosphonium salts are worth noticing owing to their strong antibacterial activities and other merits including low bacterial drug resistance. Herein, pullulan modified with quaternary phosphonium salts (PQP) was synthesized using esterification reactions of pullulan and (5-carboxypentyl)triphenylphosphonium bromide (CPTPPB) mediated by N,N′‑carbonyldiimidazole (CDI), and was evaluated as novel antibacterial agents for treating wound infection for the first time. The chemical structures, chemical bonding, elemental compositions, crystalline properties and thermostability of PQP were systematically investigated. PQP exhibited in vitro antibacterial activities against Staphylococcus aureus (S. aureus) and Escherichia coli (E. coli), which were unveiled by the spread plate method and possibly resulted from the damage of bacterial cell walls/membranes mediated by electrostatic and hydrophobic interactions according to preliminary mechanism studies. Weak cytotoxicity and excellent hemocompatibility of PQP at the effective bactericidal concentration were observed. Moreover, in the infected wound model of mice, PQP was capable of disinfecting the wound and accelerating the healing. We opine PQP in this work is promising for antibacterial applications and will inspire the synthesis of novel antibacterial agents derived from natural polymers.