Polyethersulfone (PES) membranes have a high tendency to scale due to their inherent hydrophobicity, which limits their application and increases water treatment costs. To regulate the size of the pores of PES and prevent clogging, different qualities of poly(ethylene glycol)38‐block‐poly(propylene glycol)8 (PEG‐PPG) were introduced and screened for the best ratios. Further introduced synthesized nitrogen‐doped titanium dioxide (N‐TiO2), anti‐fouling and photocatalytic PES ultrafiltration membranes (N‐TiO2@M) were prepared. N‐TiO2@M3 exhibited bovine serum albumin rejection rate of 93.8% and achieved a methylene blue photocatalytic efficiency of 95.3% after 120 min of operation. Furthermore, N‐TiO2@M4 showcased a water contact angle of 41.0°. Notably, the pure water flux of N‐TiO2@M4 surged by 499.3% compared to that of PES membrane. The fouling resistance ratio for membrane flux witnessed an increase from 70.0% to 82.7%, demonstrating the enhanced durability of N‐TiO2@M4. Moreover, the comprehensive analysis for N‐TiO2@M4 revealed a total contamination rate of 40.2%. The irreversible contamination rate of N‐TiO2@M4 after 1 h of ultraviolet light (UV) cleaning was 5.7%, and the irreversible contamination rate after 1 h of visible light irradiation was 6.7%. The method for mixing N‐TiO2 and PEG‐PPG is straightforward and convenient, offering potential for the development of N‐TiO2@M with resistance to pollution and degradation in visible/UV light.