PTPN2 is a known high-risk type 1 diabetes associated gene expressed in both immune- and pancreatic beta cells, but how genes affect the development of autoimmune diabetes is largely unknown. Here, PTPN2 is linked to type 1 diabetes mellitus.