Here, we explored a novel molecular mechanism by which the melatonin-induced sestrin2 (SESN2)-small heterodimer partner (SHP) signaling pathway protects against fasting- and diabetes-mediated hepatic glucose metabolism. Here, SESN2 is linked to diabetes mellitus.