Sterilisation technologies are essential to eliminate foodborne pathogens from food contact surfaces. However, most of the current sterilisation methods involve high energy and chemical consumption. In this study, a photodynamic inactivation coating featuring excellent antibacterial activity was prepared by dispersing curcumin as a plant-based photosensitiser in a chitosan solution. The coating generated abundant reactive oxygen species (ROS) after light irradiation at 420 nm, which eradicated ≥99.999 % of Escherichia coli O157:H7. It was also found that ROS damaged the cell membrane, leading to the leakage of cell contents and cell shrinkage on the basis of chitosan. In addition, the production of ROS first excited the bacterial antioxidant defence system resulting in the increase of peroxidase (POD) and superoxide dismutase (SOD). ROS levels exceed its capacity, causing damage to the defence system and further oxidative decomposition of large molecules, such as DNA and proteins, eventually leading to the death of E. coli O157:H7. We also found the curcumin/chitosan coating could effectively remove E. coli O157:H7 biofilms by oxidative of extracellular polysaccharides and proteins. All the contributors made the chitosan/curcumin coating an efficient detergent comparable with HClO.