Pathogenic bacterial infections have become a continuing threat to human health over the past decade, the development of novel antibacterial agents or strategies against drug-resistance bacteria is highly desirable. Although porphyrin-based metal organic frameworks (PCN) are important photosensitizers (PSs) for photodynamic antibacterial treatments, it is inefficient for killing gram-negative bacteria such as Escherichia coli. Herein, PCN@AgI heterojunction was prepared as a novel and potent multifunctional antibacterial agent to combat bacteria including drug-resistance bacteria such as extended-spectrum β-lactamaseEscherichia coli (ESBL) under visible light irradiation in vitro, attributing to the cooperation of the generated ROS and released Ag+ as well as GSH-depleting ability. Compared to pristine PCN, the formation of heterojunction between AgI and PCN facilitated the sufficient separation of the produced electron- hole pairs, leading to enhanced photocatalytic antibacterial capability by producing sufficient ROS. Furthermore, its GSH-depleting ability due to its oxidase-like behavior further boosted its antibacterial capability. Significantly, in vivo studies demonstrated that PCN@AgI heterojunction could promote the healing of E. coli-infected wound on rice back with high biosafety. These findings manifested that PCN@AgI heterojunction was a good potential antibacterial therapeutic agent and may hold promise in bacteria-infected wound healing.