Both in vitro and in vivo experiments demonstrate that CP‐NPs can not only kill cancer cells efficiently upon light irradiation, but also avoid phototoxicity after PDT treatment via self‐degradation induced ROS generation “switch‐off”. This evidence concerns the gene CP and cancer.