Membrane biofouling has long been a major obstacle to highly efficient water treatment. The modification of the membrane surface with hydrophilic materials can effectively enhance biofouling resistance. However, the water flux of the membranes is often compromised for the improvement of antifouling properties. In this work, a composite membrane composed of a zwitterionic hydrogel and electrospinning fibers was prepared by a spin-coating and UV cross-linking process. At the optimum conditions, the composite membrane could effectively resist the biofouling contaminations, as well as purify polluted water containing bacteria or diatoms with a high flux (1349.2 ± 85.5 L m-2 h-1 for 106 CFU mL-1 of an Escherichia coli solution). Moreover, compared with the commercial poly(ether sulfone) (PES) membrane, the membrane displayed an outstanding long-term filtration performance with a lower water flux decline. Therefore, findings in this work provide an effective antifouling modification strategy for microfiltration membranes and hold great potential for developing antifouling membranes for water treatment.