While two non-coding risk alleles for PTPN2 have been associated with type 1 diabetes, we generated a functional knockout of the gene using CRISPR-Cas9 technology to probe for the effects of altered PTPN2 gene expression in human beta cells. This evidence concerns the gene PTPN2 and type 1 diabetes mellitus.