How to Eat for a Healthy Gut Microbiome: Fermented Foods, Fiber, and Plant Diversity
The most reliable “diet for healthy gut bacteria” isn’t a special cleanse or one heroic food. It’s variety: many different plants, enough fiber to give your gut microbes something to ferment, and some

Short Answer
The most reliable “diet for healthy gut bacteria” isn’t a special cleanse or one heroic food. It’s variety: many different plants, enough fiber to give your gut microbes something to ferment, and some fermented foods if you tolerate them. In large microbiome datasets, the diversity of healthy, plant-based foods is strongly linked with gut microbiome patterns, and the often-used “30 plants a week” target comes from research comparing people eating more than 30 plant types per week with those eating 10 or fewer; those higher-diversity eaters showed different microbial and metabolite patterns, including more SCFA-fermenting taxa. (pubmed.ncbi.nlm.nih.gov)
Fermented foods have the best human trial signal here: in a Stanford randomized diet study, people assigned to a high-fermented-food pattern increased microbiota diversity and lowered several inflammatory markers over the intervention. That doesn’t mean you need to force kefir or kimchi if they trigger symptoms — it means fermented food and gut bacteria health is about fit, tolerance, and consistency. There’s no validated, one-size-fits-all “microbiome diet,” and supplements don’t replace the basics: a plant-rich whole-food pattern is still the first lever for general gut wellbeing, while probiotics are strain-specific, situation-specific, and not equally proven for every use. (pmc.ncbi.nlm.nih.gov)
The core principle: diversity feeds diversity
There isn’t one validated “microbiome diet,” and there isn’t one magic food that fixes your gut flora. Your gut is more like an ecosystem than a machine: different microbes prefer different fibers, resistant starches, polyphenols, and fermentation byproducts. So the most useful pattern for a healthy gut flora diet is variety — beans one day, oats another, lentils, berries, greens, nuts, seeds, herbs, whole grains, fermented foods if you tolerate them. Cleveland Clinic describes this same basic logic: a variety of plant fibers helps a variety of microorganisms thrive, and those microbes produce short-chain fatty acids that help support the gut environment. (my.clevelandclinic.org)
The practical target that keeps coming up in microbiome research is plant diversity, not any one “superfood.” In the American Gut Project, researchers specifically looked at people at the extremes of plant intake — fewer than 10 versus more than 30 different plant types per week — because different plants bring different fibers and resistant starches that can feed different microbes. A later scoping review summarized that eating more than 30 plant-based foods per week was associated with higher gut microbial alpha-diversity compared with 10 or fewer. (pmc.ncbi.nlm.nih.gov)
This is the “diversity feeds diversity” idea in plain English: when you give your gut bacteria more kinds of plant material to work on, you give more species a reason to stay active. Human trial reviews report that dietary fiber interventions can increase short-chain-fatty-acid-producing bacteria, including Bifidobacterium and Faecalibacterium, and broader diet–microbiota reviews link higher fiber intake with greater bacterial diversity and more Bifidobacterium, Lactobacillus, Prevotella, and Faecalibacterium prausnitzii. F. prausnitzii matters because it is one of the most abundant butyrate-producing bacteria in the human gut — butyrate is a short-chain fatty acid that helps fuel colon cells and supports the gut barrier. (pmc.ncbi.nlm.nih.gov)
The opposite pattern works against that ecosystem. Ultra-processed, low-fiber diets tend to remove the raw material that fiber-fermenting microbes use, while adding more refined starches, sugar, fats, emulsifiers, and other additives. Reviews of ultra-processed foods describe links with lower microbial diversity, fewer beneficial bacteria such as Faecalibacterium prausnitzii, and more inflammatory or dysbiotic shifts — not because one packaged food “ruins” your gut, but because a low-diversity diet gives your microbes a low-diversity job. (pmc.ncbi.nlm.nih.gov)
Aim for ~30 plants a week
Use ~30 different plant foods per week as a practical diversity target, not a pass/fail rule. In the American Gut Project, researchers compared people who reported eating more than 30 plant types per week with those eating fewer than 10 and found diet-linked differences in gut microbes and fecal metabolites, including more putative short-chain-fatty-acid fermenters such as Faecalibacterium prausnitzii. Reviews summarize this “30 plants” pattern as being associated with greater microbial alpha-diversity, but it’s still an observational benchmark — useful, not diagnostic. (pmc.ncbi.nlm.nih.gov)
“Plants” is broader than vegetables. Count fruit, whole grains, legumes, nuts, seeds, herbs, spices, and even coffee. The point is variety: different fibers, resistant starches, and polyphenols give different gut microbes something to break down, and gut-health guidance from major medical centers consistently emphasizes varied whole plant foods — fruits, vegetables, whole grains, beans, nuts, and seeds — as the base of a gut-supportive eating pattern. (hopkinsmedicine.org)
You can get there without making every meal complicated. Add mixed seeds to oats. Rotate beans across the week — lentils, chickpeas, black beans, white beans. Use herbs and spices as actual plant points, not decoration. Pick two grains instead of one. Swap your usual three vegetables for a wider rotation: cabbage, peppers, mushrooms, zucchini, kale, carrots, onions, tomatoes. Your gut bacteria don’t need perfection; they need a changing menu.
Fiber: how much, and which kinds
For adults, a useful everyday target is about 25 g of fiber a day for women and 38 g for men, or roughly 14 g per 1,000 calories. In the U.S., average adult intake has been measured at about 17 g a day, so “most people get only about half” is not just a cliché — it is close to the national pattern. Your gut microbes feel that gap because fiber is the part of plant food that reaches the colon relatively intact, where bacteria can use it as fuel. (ncbi.nlm.nih.gov)
When microbes ferment fiber, they make short-chain fatty acids, especially acetate, propionate, and butyrate. A commonly cited colonic ratio is about 60:20:20 for acetate, propionate, and butyrate, although the exact mix shifts with diet, gut location, and microbiome composition. Butyrate is especially important for the cells lining the colon; SCFAs also help support the gut barrier and take part in immune and inflammation signaling. (pmc.ncbi.nlm.nih.gov)
The practical move is not to chase one “best” fiber. Build a mix: whole grains, legumes, vegetables, fruit, nuts, and seeds. Some fibers are more “prebiotic,” meaning they are especially usable by beneficial gut microbes: inulin-type fructans are found in foods like onions, garlic, leeks, bananas, and chicory root, while oats and barley provide fermentable fibers such as beta-glucan. (pmc.ncbi.nlm.nih.gov)
Go slowly. If you jump from low fiber to high fiber in a few days, bacteria suddenly have more to ferment, and that can mean gas, bloating, cramps, or looser stools. Add fiber over a few weeks, drink enough fluids, and let your gut adapt. (medlineplus.gov)
Fermented foods: a small daily habit
In a controlled diet trial in generally healthy adults, the high-fermented-food group increased gut microbial diversity and showed lower levels of multiple inflammatory markers. The study wasn’t testing one magic food: people ate a mix — yogurt, kefir, kombucha, fermented vegetables, vegetable brine drinks, and similar foods — and the protocol ramped intake toward about 5–6 servings per day; importantly, total fermented-food servings per day were positively correlated with alpha diversity. That doesn’t mean you need to jump to six servings tomorrow. For your gut, consistency usually matters more than intensity: start with one small serving you tolerate, then build slowly if it feels good in your body. (pubmed.ncbi.nlm.nih.gov)
Everyday options include plain yogurt, kefir, sauerkraut, kimchi, miso, tempeh, and kombucha. If your goal is live microbes, read the label: look for “live and active cultures” on yogurt or kefir, and choose refrigerated, naturally fermented sauerkraut or kimchi rather than shelf-stable, vinegar-pickled, or heat-pasteurized versions. Heat and processing can reduce or kill live organisms, so the same word — “fermented” — does not always mean the same microbiome effect. (health.harvard.edu)
If you have histamine intolerance or MCAS, many fermented foods can be a problem rather than a gentle gut-health upgrade. Fermentation can raise histamine and other biogenic amines, and low-histamine diet reviews commonly exclude fermented foods such as fermented cabbage, fermented soy products, aged cheeses, wine, and beer. Introduce fermented foods cautiously, track symptoms, and do it with clinician guidance if you know histamine is a trigger for you. (pmc.ncbi.nlm.nih.gov)
Foods that support vs. work against your gut
Your gut flora bacteria live on what reliably reaches the colon. A diet for healthy gut bacteria is less about one “perfect” gut microbiome diet and more about repeated inputs: different fibers, resistant starches, polyphenols, and live-culture foods. In the American Gut Project, people reporting more than 30 different plant types per week differed from those eating 10 or fewer, including more putative short-chain-fatty-acid fermenters; treat “30 plants” as a useful diversity target, not a medical rule. (pmc.ncbi.nlm.nih.gov)
A wide range of plants — aim for ~30 different plant foods/week: vegetables, fruits, legumes, whole grains, nuts, seeds, herbs, spices — Very low-fiber, repetitive diets that give gut microbes fewer substrates to ferment
Whole grains, legumes, nuts, seeds — the everyday backbone of good foods for gut bacteria — Ultra-processed foods and refined-carb-heavy patterns, which are associated in reviews with less favorable gut-microbiome and inflammatory profiles (pubmed.ncbi.nlm.nih.gov)
Prebiotic fibers — onion, garlic, oats, greener banana, asparagus, beans, lentils — Excess alcohol, which can disrupt the intestinal barrier and shift the gut microbiome away from protective metabolites (pubmed.ncbi.nlm.nih.gov)
Fermented foods — yogurt with live cultures, kefir, kimchi, sauerkraut, miso, tempeh — High added sugar, which emerging evidence links to microbial shifts, lower SCFA-producing bacteria, and metabolic inflammation pathways (pubmed.ncbi.nlm.nih.gov)
Extra-virgin olive oil, herbs, spices — useful plant diversity “multipliers” — Unnecessary or frequent antibiotics: use antibiotics only when they’re needed and as prescribed, because they can wipe out beneficial germs along with pathogens and contribute to resistance (cdc.gov)
Fermented foods deserve their own note. In a 17-week randomized study, a high-fermented-food diet increased microbiota diversity and decreased inflammatory markers, while the high-fiber arm showed a more individualized response depending on baseline microbiota diversity. That does not mean you need huge amounts of kimchi tomorrow. It means small, regular servings of tolerated fermented foods can be a smart part of a healthy gut flora diet. (pubmed.ncbi.nlm.nih.gov)
If onions, garlic, beans, wheat, or fermented foods make you bloated, don’t force them. These foods can be high in fermentable carbohydrates, and people with IBS, SIBO, or other gut sensitivity may need a gentler, clinician-guided approach such as a temporary low-FODMAP plan. The goal is still diversity — just at the pace your body can handle. (hopkinsmedicine.org)
A note on the "microbiome diet" trend
There isn’t a validated, single “microbiome diet” you can pull off the shelf. Researchers can show that diet shapes the gut microbiome, but they also point to basic unresolved problems: how to define a “healthy” microbiome, how to standardize diet–microbiome studies, and how to prove which food changes reliably shift microbes in ways that improve health. (pubmed.ncbi.nlm.nih.gov)
That’s why rigid plans often disappoint. Your gut is not just reacting to “kale” or “yogurt” in isolation; it is reacting through your usual diet, sleep, activity, medications, stress, bowel transit, and the microbes already living there. In PREDICT 1, adults showed large differences in triglyceride, glucose, and insulin responses after identical meals, and microbiome features helped explain some of that post-meal variation. In the Weizmann personalized-nutrition study, 800 people logged 46,898 meals and showed high variability in glucose responses to the same foods, with microbiome data improving prediction. (pubmed.ncbi.nlm.nih.gov)
So the best default is not a branded protocol. It’s a varied Mediterranean-style pattern: plants, beans and lentils, whole grains, nuts and seeds, olive oil, fish if you eat it, and fermented foods if you tolerate them — then adjust based on your symptoms, medical conditions, culture, and budget. Evidence on Mediterranean diets and the microbiome is promising, but not perfectly consistent across studies, which is exactly the point: use the pattern as a flexible base, not a rulebook. (pubmed.ncbi.nlm.nih.gov)
Where supplements and testing fit
For general gut wellbeing, food is the better first lever than pills. Your gut is an ecosystem, not a single missing microbe. A varied, fiber-rich diet gives gut bacteria different carbohydrates to ferment into short-chain fatty acids, while fermented foods bring in live microbes and fermentation byproducts that may help widen microbial diversity. In a randomized 2021 trial, a high-fermented-food diet increased microbiota diversity and decreased inflammatory markers; probiotic supplements, by contrast, have evidence for some specific situations, but their effects depend on the strain, the person, and the reason for using them — they are not a universal “gut health” shortcut. (pubmed.ncbi.nlm.nih.gov)
At-home microbiome tests can be interesting, but they still can’t tell you what to eat with clinical reliability. An international consensus statement found that evidence is still insufficient to widely recommend routine microbiome testing in clinical practice and specifically discouraged test providers from giving post-test therapeutic advice. A 2026 evaluation of seven direct-to-consumer gut microbiome testing services also found major discrepancies within and between providers, which is a problem if a report is being used to make diet or supplement decisions. (pmc.ncbi.nlm.nih.gov)
Welltory does not measure your microbiome. What it can do is help you notice how stress, sleep, recovery, and symptoms shift alongside dietary changes. That context can be useful: if your body reacts to a new fermented food, a fiber increase, or a supplement, you may see the pattern sooner. But it is still context — not a diagnosis, not a microbiome test, and not a replacement for a clinician or registered dietitian if you have persistent gut symptoms.


Discounts for blog readers: up to 36% off
See what affects your energy, stress, sleep, and daily state with Welltory
This article is for educational purposes only and is not medical advice.
Was this helpful?
Ask AI for a summary of page
Written by Jane Smorodnikova
The founder and CEO of Welltory. A recognized tech leader with two Master's degrees and experience at MIT, she has scaled Welltory to over 17 million users.
Written by Kseniia Iaroslavtseva
Reviewed by Anna Elitzur
With her medical degree, Anna reviews Welltory's health content for medical accuracy and alignment with current clinical guidelines and research.
References
- McDonald D, Hyde E, Debelius JW, et al. American Gut: an Open Platform for Citizen Science Microbiome Research. mSystems. 2018. Source for the >30 vs ≤10 plant-types/week benchmark and associated microbiome/metabolite differences. https://pmc.ncbi.nlm.nih.gov/articles/PMC5954204/
- Asnicar F, Berry SE, Valdes AM, Nguyen LH, Piccinno G, Drew DA, Leeming E, Gibson R, et al. Microbiome connections with host metabolism and habitual diet from 1,098 deeply phenotyped individuals. Nature Medicine. 2021. PREDICT 1 source for diet–microbiome links, healthy-food diversity, and cardiometabolic marker associations. https://pubmed.ncbi.nlm.nih.gov/33432175/
- Berry SE, Valdes AM, Drew DA, Asnicar F, Mazidi M, Wolf J, et al. Human postprandial responses to food and potential for precision nutrition. Nature Medicine. 2020. PREDICT 1 source for large individual glucose, triglyceride, and insulin-response variation after identical meals. https://pubmed.ncbi.nlm.nih.gov/32528151/
- Wastyk HC, Fragiadakis GK, Perelman D, Dahan D, Merrill BD, Yu FB, et al. Gut-microbiota-targeted diets modulate human immune status. Cell. 2021. Source for the high-fermented-food diet increasing microbiota diversity and decreasing inflammatory markers. https://pmc.ncbi.nlm.nih.gov/articles/PMC9020749/
- Liu P, Wang Y, Yang G, Zhang Q, Meng L, Xin Y, Jiang X. Short-chain fatty acids in diseases. Cell Communication and Signaling. 2023. Source for acetate:propionate:butyrate ratio commonly cited around 60:20:20 and SCFA functions. https://pubmed.ncbi.nlm.nih.gov/37596634/
- Institute of Medicine / National Academies. Dietary Reference Intakes: Recommended Intakes for Individuals, Macronutrients. NCBI Bookshelf. Source for adult fiber Adequate Intake values: 25 g/day for women ages 19–50 and 38 g/day for men ages 19–50. https://www.ncbi.nlm.nih.gov/books/NBK208874/
- Zeevi D, Korem T, Zmora N, Israeli D, Rothschild D, Weinberger A, et al. Personalized Nutrition by Prediction of Glycemic Responses. Cell. 2015. Source for the Weizmann personalized-nutrition cohort: 800 people, 46,898 meals, high variability in glucose responses to identical meals, and microbiome-informed prediction. https://pubmed.ncbi.nlm.nih.gov/26590418/


-2.jpg)