New research suggests the ketogenic diet could help manage multiple sclerosis (MS) by promoting the production of beneficial compounds in the gut. In a study, mice on a keto diet produced the ketone body β-hydroxybutyrate (βHB), which worked with gut bacteria to create immune-modulating metabolites.