A photoactive electrospun material producing reactive oxygen species (ROS) upon light irradiation is reported. The phototoxicity of the generated ROS is spatially restricted to the fiber–tissue interface by conjugation of the photosensitizer to a macromolecule. Photo-triggered ROS is produced on demand and repeatedly. It induces death of mammalian cells growing on the material surface with high spatial resolution