A supramolecular polyrotaxane network, based on a CD-based inclusion complex and porphyrin derivative, was synthesized by imine condensation reactions. Then it could be applied as a heterogeneous catalyst for generating singlet oxygen under photoirradiation, which showed its good ability to photooxidize anthracene derivatives.