Collectively, 3HB ameliorates insulin resistance in type 2 diabetic mice through a pathway of HCAR2/Ca2+/cAMP/PKA/Raf1/ERK1/2/PPARγ. Here, RAF1 is linked to type 2 diabetes mellitus.