Metal–organic frameworks (MOFs) have been proven to be outstanding adsorbent materials which possess excellent pollutant removal performances in wastewater treatment. However, MOFs consumption, loss, or blockage in reactor pipelines as well as the long and complicated recycling process severely limit their practical applications. Therefore, construction of novel MOFs composites with extremely high ease-of-use property has become a research hotspot, such as two-dimensional (2D) MOFs fibrous membranes. In this review, the exploitation of MOFs nanofibrous membranes via electrospinning and their applications in wastewater treatment are summarized. The MOFs nanofibers (NFs) architectures are established systematically by five routes: (1) direct electrospinning of MOFs-polymer; (2) induced growth of MOFs on electrospun NFs containing seeds; (3) growth of MOFs on electrospun organic NFs’ (4) growth of MOFs on electrospun inorganic NFs; and (5) simultaneous electrospinning and electrospraying. Furthermore, the applications of different types of MOFs nanofibrous membranes and their derivatives in water treatment and purification are discussed, including oil-water separation, the removal of heavy metal ions, organic dyes, personal care products, non-steroidal anti-inflammatory drugs (NSAIDs) and so on. The adsorption properties and mechanisms of electrospun MOFs nanofibrous membranes towards various environmental pollutants are discussed. Finally, the challenges of electrospun MOFs NFs, the limitations of their applications, and future development trends are prospected. • The exploitations of MOFs nanofibers (NFs) via electrospinning are summarized. • Applications of various electrospun MOFs NFs in wastewater treatment are outlined. • The micromorphological effects on the performance of MOFs NFs are discussed. • Future perspective and directions on the development of MOFs NFs are pointed out.