Soluble dietary fibers promote metabolic benefits on body weight and glucose control, but underlying mechanisms are poorly understood. Recent evidence indicates that intestinal gluconeogenesis (IGN) has beneficial effects on glucose and energy homeostasis. Here, we show that the short-chain fatty acids (SCFAs) propionate and butyrate, which are generated by fermentation of soluble fiber by the gut microbiota, activate IGN via complementary mechanisms. Butyrate activates IGN gene expression through a cAMP-dependent mechanism, while propionate, itself a substrate of IGN, activates IGN gene expression via a gut-brain neural circuit involving the fatty acid receptor FFAR3. The metabolic benefits on body weight and glucose control induced by SCFAs or dietary fiber in normal mice are absent in mice deficient for IGN, despite similar modifications in gut microbiota composition. Thus, the regulation of IGN is necessary for the metabolic benefits associated with SCFAs and soluble fiber.