In recent years, visible light has been used to drive the degradation of organic dyes, because of its straightforward, mild, environmentally friendly, and sustainable process for water purification and remediation. Herein, the design of Nickel porphyrin-based conjugated microporous polymer NiTPP-CMP with naphthalene ring linkage. The pore parameters and micro-morphology of NiTPP-CMP were studied by N 2 adsorption/desorption and scanning electron microscopy, respectively, with a specific surface area of 135 m 2 g -1 . To evaluate the efficacy of NiTPP-CMP as a heterogeneous photocatalyst, its photocatalytic activity, recoverability, and stability were assessed by studying the degradation of RhB. The results showcased the potential of NiTPP-CMP in effectively removing organic pollutants from industrial wastewater.