In conclusion, our results suggest that methyl syringate, a dual-targeting inhibitor of PTPN2 and PTPN6, exhibits antidiabetic effects and can be used as a functional food ingredient or pharmaceutical supplement to prevent type 2 diabetes. The gene discussed is PTPN6; the disease is type 2 diabetes mellitus.