Food packaging materials, especially biodegradable polymer composites incorporated with natural antimicrobial agents with excellent antibacterial activities, are in high demand and attracted immense attention. Herein, a polycaprolactone/curcumin@zeolitic imidazolate framework-8 (PCL/Cur@ZIF-8) composite film with enhanced antibacterial activity was developed. Curcumin, a natural photosensitizer, was loaded in the highly porous nanocrystals ZIF-8 to improve its poor water solubility and stability. The integral structure of Cur@ZIF-8 was maintained well in the PCL matrix even at the highest loading of 35% (w/w), and all composite films had good light transmittance at 420-430 nm. The PCL/Cur@ZIF-8 composite films responded to the acidic growth environment of bacteria by releasing zinc ions and curcumin molecules. Furthermore, upon blue light irradiation (420-430 nm, 2.2 mW/cm2 ), curcumin molecules generated singlet oxygen. With the synergistic effects of zinc ions and singlet oxygen, the composite films exhibited a 99.9% reduction of Escherichia coli and Staphylococcus aureus strains when the amount of Cur@ZIF-8 loading was more than 15% (w/w), as well as a strong anti-adhesion effect on bacteria. Moreover, bacterial resuscitation tests indicated that the composite films exhibited 99.9% reduction in the adhered bacteria population through treatment with photodynamic sterilization. This is the first study presenting that the incorporated curcumin ZIF-8 nanoparticles in the matrix of polymer are pH and light responsive for anti-adhesion of bacteria, which is of great potential application as antibacterial packaging material for the food industry. PRACTICAL APPLICATION: A novel, biodegradable, pH, and light-responsive composite film was developed for antibacterial activity. Natural photosensitizer curcumin was encapsulated in ZIF-8 nanocrystals (Cur@ZIF-8) as the antimicrobial agent. With the synergistic effects of Zn2+ and singlet oxygen, the composite film exhibited a 99.9% reduction of Escherichia coli and Staphylococcus aureus strains, and a strong anti-adhesion property toward bacteria. This composite film is of great potential application as an antibacterial packaging material that enhances the shelf life of fruits, meat, and so on.