Antibacterial photodynamic therapy (aPDT) is regarded as one of the most promising antibacterial therapies due to its nonresistance, noninvasion, and rapid sterilization. However, the development of antibacterial materials with high aPDT efficacy is still a long-standing challenge. Herein, we develop an effective antibacterial photodynamic composite UiO-66-(SH) 2 @TCPP@AgNPs by Ag encapsulation and 4,4′,4″,4‴-(porphine-5,10,15,20-tetrayl)tetrakis(benzoic acid) (TCPP) dopant. Through a mix-and-match strategy in the self-assembly process, 2,5-dimercaptoterephthalic acid containing −SH groups and TCPP were uniformly decorated into the UiO-66-type framework to form UiO-66-(SH) 2 @TCPP. After Ag(I) impregnation and in situ UV light reduction, Ag NPs were formed and encapsulated into UiO-66-(SH) 2 @TCPP to get