Membrane fouling is one of the most severe problems restricting membrane separation technology for wastewater treatment. In this work, we report a photocatalytic nanofiltration membrane (NFM) with self-cleaning property via a facile biomimetic mineralization process. In our strategy, a polydopamine (PDA)/polyethyleneimine (PEI) intermediate layer was fabricated on an ultrafiltration membrane via a co-deposition method followed by mineralization of a photocatalytic layer consisting of β-FeOOH nanorods. The PDA-PEI layer acts as both a nanofiltration selective layer and an intermediate layer for anchoring the β-FeOOH nanorods via strong coordination complexes between Fe 3+ and catechol groups. In visible light, the β-FeOOH layer exhibits efficient photocatalytic activity for degrading dyes through the photo-Fenton reaction in the presence of H 2 O 2 , endowing the NFM concurrently with effective nanofiltration performance and self-cleaning capability. Moreover, the mineralized NFMs exhibit satisfactory stability under simultaneous filtration and photocatalysis processing, showing great potential in advanced wastewater treatment.