The gut microbiome β the community of approximately 100 trillion bacteria, fungi, archaea and viruses living in the human digestive tract β has emerged as one of the most significant frontiers in health science. In just two decades, research has linked the composition and diversity of gut microbiota to immune function, mental health, cardiovascular risk, metabolic disease, inflammatory conditions, allergies, response to cancer treatment and even cognitive function. This is not fringe science: the gut microbiome now has its own dedicated research programmes at the world's leading medical institutions.
Diet is the single most powerful modifiable determinant of gut microbiome composition. What you eat every day shapes which microbial species thrive, which produce beneficial metabolites, and whether your gut microbiome supports or undermines your health. This guide reviews the foods and dietary patterns most strongly supported by current evidence for promoting a diverse, health-supporting microbiome β and those most damaging to it.
Why Microbiome Diversity Matters
Microbiome diversity β the variety of different species present in the gut β is the most consistently reliable marker of gut health across different populations and disease states. People with higher microbial diversity tend to have lower rates of obesity, inflammatory bowel disease, type 2 diabetes, cardiovascular disease, colorectal cancer, anxiety and depression. Conversely, dysbiosis β a disrupted, less diverse microbiome dominated by fewer species, often with an imbalance toward inflammatory species β is associated with all of these conditions.
Diversity matters because different species carry out different metabolic functions: fermenting different types of fibre, producing different short-chain fatty acids, synthesising different vitamins, metabolising bile acids, training different immune cell populations and communicating with the gut-brain axis through different neurotransmitter precursors. A diverse community performs these functions redundantly, so the loss of any one species is buffered by others. A low-diversity microbiome is more vulnerable to disruption and less able to maintain the gut barrier integrity, immune calibration and metabolic functions that a healthy microbiome supports. The Western dietary pattern β low in plant diversity and fibre, high in ultra-processed foods β is strongly associated with lower microbiome diversity and higher rates of all the associated diseases.
Dietary Fibre: The Microbiome's Primary Food Source
Dietary fibre β the non-digestible carbohydrate components of plant foods β is the primary food source for gut bacteria. When bacteria ferment fibre in the colon, they produce short-chain fatty acids (SCFAs) including butyrate, propionate and acetate. Butyrate is the preferred energy source for colonocytes (the cells lining the colon) and is essential for maintaining gut barrier integrity. It also signals immune cells to maintain a tolerant, anti-inflammatory state, reduces colorectal cancer risk, and appears to have beneficial effects on brain function and mood via the gut-brain axis.
Different types of fibre feed different bacterial species, which is why diversity of plant foods matters as much as total fibre quantity. Soluble fibre (oats, barley, apples, legumes) feeds Bifidobacteria and Lactobacillus species associated with reduced inflammation and improved immune function. Insoluble fibre (whole wheat, vegetables) adds bulk and speeds intestinal transit, reducing contact time between potential carcinogens and the colon wall. Resistant starch (cooked-and-cooled potatoes, green bananas, legumes, whole grains) feeds Faecalibacterium prausnitzii and Roseburia species, powerful butyrate producers. Inulin and fructooligosaccharides from garlic, onions, leeks, asparagus, chicory root and Jerusalem artichokes selectively stimulate Bifidobacterium growth. Adults in the UK and US typically eat 15β18 g of fibre per day β the recommended minimum is 30 g, and most gut microbiome researchers suggest even higher intakes for optimal microbial health.
Increasing fibre intake too rapidly can cause gas, bloating and discomfort as your gut bacteria adjust. Increase fibre gradually over 2β4 weeks and drink plenty of water to minimise symptoms.
Plant Diversity: The 30-Plants-Per-Week Target
The American Gut Project β one of the largest gut microbiome citizen science studies ever conducted β found that individuals who ate 30 or more different plant foods per week had significantly more diverse gut microbiomes than those eating 10 or fewer. The effect was stronger than any other dietary variable tested, including whether participants were omnivores, vegetarians or vegans.
The '30 plants per week' concept has since gained traction in gut health research and clinical practice as a practical target for microbiome diversity. Importantly, the count includes all plant foods: vegetables, fruits, whole grains, legumes, nuts, seeds, herbs and spices β even small amounts count. A sprinkle of mixed seeds on yoghurt, a garlic clove in a sauce, a portion of lentils with dinner all contribute. This reframes the dietary goal from avoiding foods to actively seeking variety, which tends to be more motivating and sustainable. Eating a rainbow of coloured plant foods also ensures diverse intake of polyphenols β plant compounds that gut bacteria metabolise into bioactive forms, including many that have anti-inflammatory, antioxidant and metabolic effects. Some polyphenols (in blueberries, green tea, pomegranate, dark chocolate) selectively promote the growth of beneficial Akkermansia muciniphila, a mucin-degrading bacterium inversely associated with obesity and metabolic disease.
Keep a running weekly plant tally on your phone. Most people find they were already eating 10β15 plants and can reach 30 with modest additions rather than a complete diet overhaul.
Fermented Foods: Probiotics in the Diet
Fermented foods introduce live microorganisms (probiotics) directly into the gut, temporarily increasing microbial diversity and potentially producing lasting compositional changes. A landmark 2021 Stanford University trial compared a high-fibre diet to a high-fermented-food diet over 10 weeks and found that the fermented food group showed significantly greater increases in microbiome diversity and greater reductions in inflammatory markers across 19 immune proteins β a finding that surprised even the researchers given the established importance of fibre for gut health.
Yoghurt is the most widely consumed fermented food in Western countries. Look for varieties that list live active cultures and contain minimal added sugar. Kefir β a fermented milk drink with a wider variety of bacterial and yeast species than yoghurt β has evidence for improving lactose tolerance, reducing diarrhoea duration, lowering blood pressure and improving glycaemic response. Kimchi, sauerkraut, miso and tempeh are fermented vegetable and soy products with rich microbial communities and beneficial postbiotic metabolites. Kombucha is a fermented tea that contributes live cultures and organic acids. Cheese (unpasteurised or aged varieties) and sourdough bread (the fermentation process breaks down some gluten and fructans, reducing digestive discomfort for some people) round out the major fermented food categories. Consuming a variety of fermented foods rather than relying on one source maximises the breadth of microbial inoculation.
Foods That Harm the Gut Microbiome
While much attention goes to beneficial gut foods, the equally important counterpart is understanding what disrupts the microbiome. Emulsifiers β additives such as carboxymethylcellulose, polysorbate-80, carrageenan and others found in a wide range of processed foods from ice cream to condiments β have been shown in animal and mechanistic human studies to directly disturb the gut microbial community, reduce microbial diversity and promote low-grade inflammation by disrupting the mucus layer that protects the intestinal epithelium.
Artificial sweeteners have been found in several randomised human studies to alter gut microbiome composition and impair glycaemic response β somewhat ironically for products marketed as aids to metabolic health. Saccharin and sucralose appear most disruptive to the microbiome, though the overall picture remains complex. Antibiotics cause the most dramatic and well-documented disruption to the gut microbiome, often reducing diversity by 25β50% during a course of treatment and potentially with lasting effects. While sometimes necessary, unnecessary antibiotic use should be avoided, and post-antibiotic microbiome recovery through dietary fibre and fermented foods is supported by evidence. A diet very high in red and processed meat, animal fat and low in fibre feeds hydrogen sulphide-producing bacteria (Bilophila wadsworthia in particular) associated with inflammatory bowel disease and colorectal cancer.
After a necessary course of antibiotics, increase fermented food and dietary fibre intake for 4β6 weeks to support microbiome recovery. Some research also supports targeted probiotic supplementation post-antibiotics, though species-specific guidance from a healthcare provider is ideal.
The Gut-Brain Axis and Mental Health
One of the most extraordinary findings in gut microbiome research is the gut-brain axis: the bidirectional communication network between the gut microbiome and the brain, operating through the vagus nerve, the enteric nervous system, immune signals and a range of microbially produced neuroactive compounds. Gut bacteria produce or regulate approximately 90% of the body's serotonin, synthesise GABA precursors, produce short-chain fatty acids that influence brain metabolism, and generate or metabolise tryptophan β the precursor to serotonin and kynurenine pathway metabolites linked to depression and anxiety.
Large epidemiological studies consistently find associations between dietary quality, microbiome health and mental wellbeing. The SMILES trial β a landmark randomised controlled trial β showed that a structured Mediterranean-style dietary intervention produced significant reductions in depression symptoms compared to social support alone in people with moderate-to-severe depression, with one-third of the dietary intervention group achieving full remission versus 8% of controls. The field of nutritional psychiatry is still young, but the evidence for dietβgutβmental health connections is growing rapidly. Practically, this means that feeding the gut microbiome well β through abundant plant diversity, fermented foods, fibre and minimal ultra-processed food β may have mental health benefits alongside the established physical health benefits, operating at least partly through the gut-brain axis.
Key Takeaways
The gut microbiome is increasingly understood as a foundational determinant of systemic health β an organ in its own right that needs feeding, nurturing and protecting. The dietary foundations of a healthy microbiome are remarkably consistent with the foundations of a healthy diet more broadly: diverse, colourful plant foods providing a wide range of fibres and polyphenols; regular fermented foods providing probiotic bacteria; and minimal ultra-processed foods, emulsifiers and excessive alcohol that disturb microbial communities. Targeting 30 different plant foods per week is a practical and motivating goal that drives the diversity the microbiome needs. Start counting your plants β and watch how quickly a focus on variety transforms the quality of your diet.