At the bacterial infection stage, Ppy‐coated SP could respond to 808 nm NIR stimulation to produce surface heat accumulation, thereby killing bacteria and even rapidly destroying the bacterial biofilms. This evidence concerns the gene PPY and bacterial infectious disease.