Nitroaromatic explosives in wastewater are hardly degraded, which seriously endangers the ecological environment and human safety. We report a core−shell structure hybrid material (IR-MOF3@COF-LZU1) with high crystallinity and graded porosity. It is an effective visible-light-driven photocatalyst that degrades p-nitrophenol (PNP). After 3.5 h, PNP was degraded well under visible light, and it is proven that the photocatalytic degradation is efficient. In addition, this photocatalytic activity adhered to pseudo-first-order kinetics, and a possible photocatalytic mechanism was discussed in detail.