This work demonstrates a cross-linkable zwitterionic polymer, the corresponding zwitterionic thermosetting resin, and their application for antifouling surface coating. The tertiary amine-containing benzoxazine group is utilized as a precursor to react with 1,3-propane sultone to introduce sulfobetaine moiety to benzoxazine group. The reaction route provides an effective approach for preparation of sulfobetaine-functionalized benzoxazines and the corresponding sulfobetainefunctionalized thermosetting resins of benzoxazines. The sulfobetaine-functionalized polybenzoxazine has been utilized as a coating material for ceramic porous membranes to impart protein-repelling characteristic to the membrane surface. In a filtration test on a Bovine serum albumin (BSA) aqueous solution, the sulfobetaine resin modified membrane shows a 96.2% of rejection rate and a 1680 ± 9 Lm 2− h −1 of permeation flux at the first cycle test. In cycled measurements with membrane washing, the membrane shows a total flux decline ratio (R t ) and a reversible flux decline ratio (R r ) of about 46.9% and 43.1%, respectively. A high ratio of reversible fouling (R r /R t ) of 91.9% is found, which supports the statement that the sulfobetainefunctionalized polybenzoxazine is an effective material to impart antifouling characteristic to porous materials for bioseparation and filtration.