Obesity, insulin resistance and the metabolic syndrome are associated with changes to the gut microbiota; however, the mechanism by which modifications to the gut microbiota might lead to these conditions is unknown. Here we show that increased production of acetate by an altered gut microbiota in rodents leads to activation of the parasympathetic nervous system, which, in turn, promotes increased glucose-stimulated insulin secretion, increased ghrelin secretion, hyperphagia, obesity and related sequelae. Together, these findings identify increased acetate production resulting from a nutrient-gut microbiota interaction and subsequent parasympathetic activation as possible therapeutic targets for obesity.