In order to deal with the environmental pollution caused by complex oily wastewater, it is necessary to develop filtration membrane materials. However, significant challenges such as poor effect of emulsion separation, limited functionality, and susceptibility to membrane fouling require urgent resolution. Here, we successfully prepared a β-hydroxyl iron oxide/polydopamine-polyethylenimine/polyacrylonitrile (β-FeOOH/PDA-PEI/PAN) nanofiber membrane for treatment of complex wastewater by growing PDA-PEI on a blow-spinning PAN nanofiber membrane and decorating the membrane with β-FeOOH. The porous structure and the large number of hydrophilic groups greatly increase the hydrophilicity of the membrane and give the membrane high permeation fluxes (11531.26 L m−2 h−1) for surfactant-free kerosene-in-water emulsion. The loaded β-FeOOH nanorods increase the roughness of the membrane surface, which enhances the underwater superoleophobic ability of the membrane, and promotes the demulsification of the emulsion and makes it have high separation efficiency of 99.48 % for surfactant-stabilized kerosene-in-water emulsion. In addition, the β-FeOOH/PDA-PEI/PAN also exhibited high organic dye removal efficiency (99.38 %) due to the presence of β-FeOOH. The synergistic effect of low oil adhesion and photocatalysis enhances the antifouling and self-cleaning performances of the material. Significantly, the multifunctional membrane also shows exceptional oil/water separation ability and good stability. The presented synergistic strategy of β-FeOOH/PDA-PEI/PAN membrane materials represents a prospective candidate for the treatment of complex wastewater.