These results suggested that an increase in AMPK phosphorylation by EG targeting PTPN6 might contribute to the improvement of glucose homeostasis in type 2 diabetes. Here, PTPN6 is linked to type 2 diabetes mellitus.