Medically Reviewed
Reviewed by Dr. Elena Vasquez, PhD in Nutritional Science · PhD, MSc
Last reviewed: 29 March 2026
Medical disclaimer: The information in this article is for educational purposes only. Always consult a qualified healthcare professional before making significant dietary or lifestyle changes, especially if you have a medical condition.
The human gut contains approximately 38 trillion bacteria — roughly equal to the number of human cells in the body. These microorganisms collectively weigh about 1.5kg and perform functions so extensive that the gut microbiome is now frequently referred to as a 'forgotten organ'.
Over the past two decades, microbiome research has fundamentally changed our understanding of human health. The composition of your gut bacteria influences not just digestive health, but immune function, mental health, metabolic health, inflammatory status and even responses to medication. This guide translates the most important findings into practical dietary guidance.
What the Gut Microbiome Does: Functions and Systems
The gut microbiome performs several critical functions that the human body cannot perform alone:
**Immune regulation:** Approximately 70% of the immune system is located in or adjacent to the gut. Gut bacteria continuously train immune cells to distinguish between harmful pathogens and harmless food proteins — dysfunction in this training process is implicated in allergies, autoimmune conditions and inflammatory bowel disease.
**Metabolite production:** Gut bacteria ferment dietary fibre to produce short-chain fatty acids (SCFAs) — particularly butyrate, propionate and acetate. Butyrate is the primary fuel source for colonocytes (cells lining the gut) and has powerful anti-inflammatory effects. Low butyrate production is associated with colorectal cancer, inflammatory bowel disease and leaky gut.
**Neurotransmitter synthesis:** The gut produces approximately 95% of the body's serotonin and 50% of dopamine precursors. The gut-brain axis — bidirectional communication via the vagus nerve — means that gut microbiome composition directly influences mood, anxiety and cognitive function.
**Vitamin production:** Gut bacteria synthesise vitamin K2, biotin, folate and B12 (in small amounts). They also increase the bioavailability of minerals by reducing phytate content in the colon.
The gut-brain connection means that gut microbiome imbalance ('dysbiosis') is increasingly studied in depression, anxiety and autism spectrum conditions. While research is early, dietary support for microbiome health is a safe and promising complementary approach.
The Diversity Principle: Why Variety Is the Foundation of Gut Health
The single most consistent finding in microbiome research is that diversity — the number of different bacterial species in the gut — correlates positively with health outcomes. Low microbial diversity is associated with obesity, type 2 diabetes, inflammatory bowel disease, allergies and depression.
The American Gut Project, one of the largest microbiome studies ever conducted (with over 10,000 participants), found that people who ate more than 30 different plant foods per week had significantly more diverse microbiomes than those who ate fewer than 10 — regardless of whether they were vegan, vegetarian or omnivore.
**The 30 plants per week target:** This doesn't mean 30 separate vegetables. Every whole plant food counts: fruits, vegetables, wholegrains, legumes, nuts, seeds, herbs and spices. A single bowl of muesli with oats, raisins, walnuts, pumpkin seeds and dried apricots is already 5 plants. Achieving 30 different plants weekly is more accessible than it sounds.
“People who eat 30 or more different plant types per week have significantly more diverse gut microbiomes than those eating 10 or fewer, regardless of overall dietary pattern.”
— McDonald et al., American Gut Project, Cell Host & Microbe, 2018
Prebiotic Foods: Feeding Your Beneficial Bacteria
Prebiotics are non-digestible dietary fibres that selectively stimulate the growth of beneficial bacteria — particularly Bifidobacterium and Lactobacillus species. Unlike probiotics (live bacteria), prebiotics are stable, heat-resistant and don't require refrigeration.
**Highest prebiotic content:** • Chicory root (inulin — the highest prebiotic content of any food) • Jerusalem artichoke • Garlic (especially raw) • Onion and leek (particularly raw or lightly cooked) • Asparagus • Banana (slightly underripe — the starch content changes with ripeness) • Oats (beta-glucan) • Barley (beta-glucan) • Apples (pectin) • Flaxseed (mucilaginous fibre)
**Resistant starch:** A special type of prebiotic fibre found in cooked-and-cooled potatoes, rice and pasta; green bananas; and legumes. Resistant starch feeds SCFA-producing bacteria in the colon. Reheated rice and pasta has significantly higher resistant starch than freshly cooked.
Increase prebiotic foods gradually. Adding large amounts suddenly can cause bloating and gas — this is normal (bacterial fermentation producing gas) but uncomfortable. Increase over 2–4 weeks to allow the microbiome to adapt.
Probiotic Foods: Living Bacteria in Your Diet
Fermented foods contain live bacteria and have been consumed by virtually every human culture throughout history. Clinical research on fermented foods has accelerated dramatically, with a landmark 2021 Stanford University study showing that a high-fermented-food diet significantly increased microbiome diversity and reduced markers of inflammation compared to a high-fibre diet.
**Best dietary sources of probiotics:** • **Live yoghurt:** Look for 'live and active cultures' on the label. Plain, unsweetened varieties are best — added sugar feeds less beneficial bacteria • **Kefir:** Fermented milk with 2–3× more diverse bacterial strains than yoghurt; also available in water-based plant versions • **Sauerkraut:** Fermented cabbage — buy 'raw/unpasteurised' from the refrigerator section (pasteurised shelf-stable versions kill the bacteria) • **Kimchi:** Korean fermented vegetables — a Lactobacillus-rich food with additional prebiotic vegetable content • **Miso:** Japanese fermented soybean paste — rich in Aspergillus oryzae and Lactobacillus; don't boil (kills bacteria — add to soups off the heat) • **Tempeh:** Fermented soybeans — a probiotic food and excellent plant protein source • **Sourdough bread:** Live culture fermentation; more digestible and lower glycaemic impact than standard bread
What Harms the Gut Microbiome
The microbiome is sensitive to numerous dietary and lifestyle factors:
**Antibiotics:** The most potent disruptor. A single course of broad-spectrum antibiotics can eliminate 30–50% of gut bacterial species. Recovery takes months; some species may not return without dietary intervention. If antibiotics are medically necessary, take a probiotic supplement during and for 4 weeks after the course.
**Ultra-processed foods:** Emulsifiers (polysorbate-80, carrageenan, carboxymethylcellulose) found in processed foods directly damage the mucus layer of the gut, allowing bacteria to contact gut epithelial cells and triggering inflammation. A 2015 Nature paper showed that common food emulsifiers altered microbiome composition and promoted metabolic syndrome in mice.
**Artificial sweeteners:** Saccharin, sucralose and aspartame have been shown to alter gut microbiome composition in ways that impair glucose tolerance. The effects in humans are debated but concerning.
**Chronic stress:** Activates the sympathetic nervous system, reduces gut motility, alters mucus production and changes microbial composition — particularly reducing Lactobacillus populations.
**Insufficient sleep:** Disrupts circadian rhythms that the microbiome synchronises to. Even two nights of sleep deprivation measurably alters gut bacterial populations.
Key Takeaways
The gut microbiome is arguably the most exciting frontier in nutritional science. The evidence clearly shows that diet is the primary modifiable factor shaping its composition. The practical prescription is straightforward: eat 30+ different plant foods weekly, include fermented foods daily, minimise ultra-processed foods and unnecessary antibiotics, manage stress and sleep adequately. These habits consistently produce a more diverse, resilient microbiome — with measurable benefits for immunity, metabolism and mental health.
Frequently Asked Questions
Should I take a probiotic supplement?▼
Can the gut microbiome affect mental health?▼
How quickly can I change my gut microbiome?▼
More in Nutrition Science
View all →About This Article
Written by Dr. Elena Vasquez, PhD in Nutritional Science. Published 20 March 2026. Last reviewed 29 March 2026.
Editorial policy: All content is reviewed for accuracy and updated when new evidence emerges. Health articles include a medical disclaimer and are reviewed by qualified professionals.
About the Author
Research scientist specialising in metabolic health, fasting biology and the gut microbiome.