Abstract Multiple sclerosis (MS), an autoimmune disease of the central nervous system, has been shown to be influenced by gut bacteria. We and others have shown that MS patients have depletion of isoflavone-metabolizing bacteria compared to healthy individuals. We hypothesize that gut bacteria-mediated isoflavone metabolism induces an anti-inflammatory state and reduction/depletion of these gut bacteria might predispose to MS development and/or severity. To test this, we placed mice on a diet with or without isoflavones and induced EAE, an animal model of MS. Mice on an isoflavone diet developed milder disease compared to those on an isoflavone-free diet. This phenomenon was dependent on the presence of isoflavone-metabolizing gut bacteria as confirmed by antibiotic depletion and bacterial reconstitution. Mice on an isoflavone diet exhibited altered peripheral immune responses, CNS cellular infiltration, and CNS pathology post EAE induction compared to mice on an isoflavone-free diet. Additionally, the gut microbiome of mice on an isoflavone diet and an isoflavone-free diet closely resembles the gut microbiota of healthy individuals and MS patients, respectively. Thus our results suggest that dietary isoflavone metabolites produced with the help of gut bacteria can influence the disease through modulation of the immune system.