The liver maintains glucose and lipid homeostasis by adapting its metabolic activity to the energy needs of the organism. Communication between hepatocytes and extracellular environment via endocytosis is key to such homeostasis. Here, we addressed the question of whether endosomes are required for gluconeogenic gene expression. We took advantage of the loss of endosomes in the mouse liver upon Rab5 silencing. Strikingly, we found hepatomegaly and severe metabolic defects such as hypoglycemia, hypercholesterolemia, hyperlipidemia, and glycogen accumulation that phenocopied those found in von Gierke's disease, a glucose-6-phosphatase (G6Pase) deficiency. G6Pase deficiency alone can account for the reduction in hepatic glucose output and glycogen accumulation as determined by mathematical modeling. Interestingly, we uncovered functional alterations in the transcription factors, which regulate G6Pase expression. Our data highlight a requirement of Rab5 and the endosomal system for the regulation of gluconeogenic gene expression that has important implications for metabolic diseases.