Controlled enhancement of PTPN2 function may be beneficial in autoimmune disease, while targeted inhibition of PTPN2 may help enhance the immune response to cancer. Here, PTPN2 is linked to autoimmune disease.