Regulating insulin and leptin levels using a protein tyrosine phosphatase 1B (PTP1B) inhibitor is an attractive strategy to treat diabetes and obesity. Here, PTPN1 is linked to diabetes mellitus.