Although mutations in HNF4A were identified as the cause of Maturity Onset Diabetes of the Young 1 (MODY1) two decades ago, the mechanisms by which this nuclear receptor regulates glucose homeostasis remain unclear. Here we report that loss of Drosophila HNF4 recapitulates hallmark symptoms of MODY1, including adult-onset hyperglycemia, glucose intolerance and impaired glucose-stimulated insulin secretion (GSIS). These defects are linked to a role for dHNF4 in promoting mitochondrial function as well as the expression of Hex-C, a homolog of the MODY2 gene Glucokinase. dHNF4 is required in the fat body and insulin-producing cells to maintain glucose homeostasis by supporting a developmental switch toward oxidative phosphorylation and GSIS at the transition to adulthood. These findings establish an animal model for MODY1 and define a developmental reprogramming of metabolism to support the energetic needs of the mature animal.