Polyzwitterionic hydrogel coatings with weak swelling behavior and strong mechanical properties were prepared and exhibited excellent antifouling and drag-reducing performances.