Access to clean drinking water is a basic requirement, and eliminating pollutants from wastewater is important for saving water ecosystems. The porous structure and surface characteristics of metal–organic frameworks (MOFs) can function as a perfect scaffold for removing toxic compounds from wastewater. Porphyrins are promising building blocks for constructing MOFs. Porphyrin-based metal–organic frameworks (P-MOFs) have been fabricated using porphyrin ligands, metal clusters, or ions. These materials can harvest light from a wide region of the solar spectrum, and their framework morphology and physicochemical properties can be controlled by changing their peripheral subunits or metal ions. These porous crystalline materials have generated interest because of their distinctive characteristics, including large permanent porosity, interesting surface morphology, broad conformational diversity, high photostability, and semiconducting nature. This article discusses the recent progress and usefulness of P-MOFs. The fabrication procedures of P-MOFs are discussed, followed by the adsorptive and photocatalytic removal of contaminants from wastewater. The relationships between the geometries of P-MOFs and their light-harvesting and charge-transfer mechanisms for the photocatalytic degradation of pollutants are highlighted. Finally, some future perspectives and obstacles in the photodegradation usage of P-MOFs are discussed, along with feasible research directions to standardize efficient photocatalysts for improved photodegradation for water treatment.