In contrast, mice bearing PTPN22 with an autoimmunity-associated gain-of-function mutation causing increased phosphatase function are protected from DSS-colitis. Here, PTPN22 is linked to colitis.