Here we demonstrate that 3HB reduces fasting blood glucose level, improves glucose tolerance, and ameliorates insulin resistance in type 2 diabetic mice through hydroxycarboxylic acid receptor 2 (HCAR2). The gene discussed is HCAR2; the disease is type 2 diabetes mellitus.