These findings suggest that PTPN2 is an important regulator of diabetes and inflammation. Here, PTPN2 is linked to diabetes mellitus.