Obesity-associated insulin resistance plays a central role in type 2 diabetes. As such, tyrosine phosphatases that dephosphorylate the insulin receptor (IR) are potential therapeutic targets. The low-molecular-weight protein tyrosine phosphatase (LMPTP) is a proposed IR phosphatase, yet its role in insulin signaling in vivo has not been defined. Here we show that global and liver-specific LMPTP deletion protects mice from high-fat diet-induced diabetes without affecting body weight. To examine the role of the catalytic activity of LMPTP, we developed a small-molecule inhibitor with a novel uncompetitive mechanism, a unique binding site at the opening of the catalytic pocket, and an exquisite selectivity over other phosphatases. This inhibitor is orally bioavailable, and it increases liver IR phosphorylation in vivo and reverses high-fat diet-induced diabetes. Our findings suggest that LMPTP is a key promoter of insulin resistance and that LMPTP inhibitors would be beneficial for treating type 2 diabetes