A mix of dried pulses of different types and colours

Image: Mixture of beans (small red, cannellini, pinto, roman, red kidney, black), peas (blackeye, yellow split), and pardina lentils 38, by Bean appreciator · CC0 1.0 · via Wikimedia Commons. Cropped to 16:9 and resized.

What to eat to look after your gut bacteria: fibre, variety and what studies say

J

Juan Carlos Marco

CTO of AIMA Biotech · 12 May 2026
10 min read
Microbiota
Nutrition

“Eat more fibre” is probably the most repeated piece of advice for looking after the microbiota, and it is correct. But it falls short: not all fibres feed the same bacteria, variety counts as much as quantity and each microbiota responds in its own way. This is what studies say about what to eat to look after your gut bacteria.

Short answer. To look after your gut bacteria, what has the most support is eating enough fibre from varied sources: pulses, vegetables, fruit, wholegrain cereals, nuts and seeds. EFSA sets an adequate intake of 25 grams a day. Each type of fibre feeds different bacteria, so variety matters: people who ate more than 30 types of plants a week had a more diverse microbiota (McDonald et al., 2018). Polyphenols and fermented foods add to this, and the response depends on each person’s starting microbiota.

What gut bacteria eat

Most of the microbiota lives in the colon, and only what the small intestine has been unable to digest reaches it: fibre, starch that resists digestion and a large share of polyphenols. This is its main food. By fermenting it, bacteria produce short-chain fatty acids such as butyrate, the fuel of colonic cells. The general framework is in what the gut microbiota is.

Two experiments in mice show what happens when that food is scarce. On a diet poor in these carbohydrates, the changes in the microbiota reversed within one generation, but after several generations diversity was progressively lost and was not recovered simply by giving fibre again: the lost bacteria had to be reintroduced (Sonnenburg et al., 2016). And without fibre, the microbiota switched to feeding on the glycoproteins of the mucus that protects the colon, which became eroded (Desai et al., 2016). These are results in animals, but they explain why fibre is the basis of everything else.

Fibre: how much and what kind

How much. EFSA sets an adequate intake of 25 grams a day for adults (EFSA, 2010). An analysis of prospective studies covering almost 135 million person-years and 58 clinical trials found risk reductions of 15% to 30% in mortality and several chronic diseases when comparing the highest intakes with the lowest, with the greatest benefit between 25 and 29 grams a day (Reynolds et al., 2019).

What it does to the microbiota. In a meta-analysis of 64 studies with 2,099 healthy adults, fibre interventions increased bifidobacteria, lactobacilli and faecal butyrate compared with placebo or low-fibre diets (So et al., 2018).

What kind. The word “fibre” covers substances that do very different things. The classic split into soluble and insoluble is a poor predictor of their effect: what counts is how quickly they ferment, whether they form a gel and which bacteria use them (McRorie and McKeown, 2017).

Main types of fibre, which foods contain them and what is known about their effect on the microbiota.
Type of fibreWhere it is foundWhat is known
Inulin and fructo-oligosaccharidesGarlic, onion, leek, artichoke, asparagus, chicory, wheatThey increase bifidobacteria; in one trial, inulin did not increase butyrate
Resistant starchPulses, underripe banana, potato, rice or pasta cooked and cooledIn the same trial, potato resistant starch did increase butyrate, especially with Ruminococcus bromii present
Galacto-oligosaccharidesPulses (chickpeas, lentils, beans)Highly selective for bifidobacteria
Beta-glucansOats and barleyViscous fibre; its best-established effect is on cholesterol
Arabinoxylans and celluloseWholegrain cereals, bran, skin of fruit and vegetablesSlower or limited fermentation; coarse bran increases stool bulk
PectinsApple, citrus fruit, fruit in generalFermentable by many different bacteria

The clearest example of why the type matters is a trial with 174 adults that compared three fermentable fibres. Potato resistant starch increased short-chain fatty acids, including butyrate; maize resistant starch and inulin did not (Baxter et al., 2019). And within the potato group, those who produced the most butyrate were the ones whose Ruminococcus bromii increased, the keystone species for opening resistant starch (Ze et al., 2012). We cover it in resistant starch and primary degraders.

Why the same diet does not suit everyone equally

The response to fibre depends on who is in the starting microbiota. In a crossover trial, the same inulin-type prebiotic produced different changes depending on habitual fibre intake: in those who ate a lot of fibre, bifidobacteria and Faecalibacterium increased; in those who ate little, only bifidobacteria did (Healey et al., 2018).

There is an important nuance: part of that variability is because “fibre” or “inulin” refer to poorly defined mixtures. When starches with specific chemical structures were used, the effects were remarkably consistent within each group and dose-dependent (Deehan et al., 2020). Behind all this is cross-feeding: some bacteria open the fibre and others use what they release, so if a link is missing the chain does not get going.

Variety counts: the 30 plants

In the American Gut Project, with samples from more than 10,000 people, the number of different types of plants eaten explained more than labels such as “vegan” or “omnivore”. People who ate more than 30 types of plants a week had a more diverse microbiota than those who ate fewer than 10 (McDonald et al., 2018).

It is an observational association, with participants who signed up voluntarily, and 30 is not a biological threshold. But the idea is consistent with everything above: each plant provides a different mixture of fibres and polyphenols, and each mixture feeds different bacteria. Vegetables, fruit, pulses, wholegrain cereals, nuts, seeds, herbs and spices all count.

In practice, a Mediterranean pattern fits this idea well. In the NU-AGE trial, a year of Mediterranean diet in older people from five European countries modified the microbiota, and those changes were associated with less frailty and better health markers (Ghosh et al., 2020).

Polyphenols and fermented foods

Polyphenols. They are found in berries, pomegranate, walnuts, virgin olive oil, cocoa, tea, coffee and spices. Most are not absorbed in the small intestine and reach the colon, where the microbiota transforms them into other compounds. How this works and why not everyone benefits from them equally is explained in anti-inflammatory foods for the gut.

Fermented foods. Yoghurt, kefir, sauerkraut, kimchi or fermented pickles. In a 17-week trial with healthy adults, the diet rich in fermented foods increased microbiota diversity and reduced inflammatory markers; the high-fibre diet did not change diversity in that period, although it did increase the bacterial enzymes that break down fibre (Wastyk et al., 2021). This does not mean one replaces the other: they are complementary. The difference between probiotics, prebiotics and fermented foods is in probiotics, prebiotics and postbiotics.

What is best not to crowd out

Rather than a list of forbidden foods, the problem with a highly processed diet is what it crowds out: if most of what is eaten has barely any fibre, little food reaches the microbiota. Diet changes the microbiota quickly. In a study in people, a few days of an exclusively animal-based diet increased bile-tolerant bacteria and reduced those that ferment plant polysaccharides, such as Roseburia, Eubacterium rectale and Ruminococcus bromii (David et al., 2014).

If you have digestive discomfort

Some fibres ferment quickly and produce gas, and not everyone tolerates them equally, especially with irritable bowel syndrome. Three practical ideas:

  • Increase gradually, spread fibre across meals and drink enough water.

  • Bloating is not a sign that “it is working”: it usually indicates that the amount or type is not right for that person.

  • With persistent symptoms, see a professional. Sometimes a low FODMAP diet is used temporarily, always followed by reintroduction; we explain it in FODMAPs for professionals.

Does a microbiota analysis tell you what to eat?

No. No validated test indicates which food or which fibre a person needs. What an analysis can do is describe which bacteria are present, for example whether key degraders such as Ruminococcus bromii or butyrate producers are there, and help a professional interpret why a dietary change works better in some people than in others. What an analysis measures and what it cannot tell you is covered in microbiota tests: 16S versus metagenomics.

Key takeaways

  • Fibre is the microbiota’s main food, and the European reference is 25 grams a day.

  • The type matters: each fibre feeds different bacteria.

  • So does variety: many different plants, with polyphenols and fermented foods as a complement.

  • Each microbiota responds in its own way, and with discomfort it is best to adjust with a professional.

Frequently asked questions

What do gut bacteria eat?

Mainly what we cannot digest: fibre and other carbohydrates that reach the colon intact, and part of the polyphenols in fruit, vegetables, pulses, wholegrain cereals and nuts. When the diet provides little fibre, in mice the microbiota switches to feeding on the mucus that protects the colon (Desai et al., 2016).

How much fibre should you eat a day?

EFSA sets an adequate intake of 25 grams a day for adults. In a large analysis of prospective studies and trials, the greatest reduction in the risk of mortality and several chronic diseases was seen with 25 to 29 grams a day (Reynolds et al., 2019).

Do all fibres feed the microbiota equally?

No. Each type of fibre is used by different bacteria. In a trial with 174 adults, potato resistant starch increased butyrate and inulin did not, even though both are considered fermentable fibre (Baxter et al., 2019). That is why it is worth varying the sources.

Is it true you should eat 30 different plants a week?

It comes from the American Gut Project, where people who ate more than 30 types of plants a week had a more diverse microbiota than those who ate fewer than 10 (McDonald et al., 2018). It is an observational association, not a magic threshold, but it sums up well the idea that variety matters.

How long does it take for diet to change the microbiota?

Some changes appear within days: an exclusively animal-based or plant-based diet altered the microbiota in people in a very short time (David et al., 2014). But in mice, several generations on little fibre caused species to disappear that did not come back simply by reintroducing fibre (Sonnenburg et al., 2016).

What if fibre disagrees with me?

It is common, especially with irritable bowel syndrome. Some fibres ferment quickly and produce gas. It is best to increase them gradually and discuss it with a professional: in some cases a low FODMAP diet is used temporarily, followed by reintroduction.

Does a microbiota analysis tell me what to eat?

No. No validated test indicates which food or which fibre a person needs. An analysis can describe which bacteria are present and help a professional put the response to a dietary change in context, but it does not replace clinical assessment.

References

  1. Sonnenburg, E. D., Smits, S. A., Tikhonov, M., Higginbottom, S. K., Wingreen, N. S., & Sonnenburg, J. L. (2016). Diet-induced extinctions in the gut microbiota compound over generations. Nature, 529(7585), 212–215. DOI: 10.1038/nature16504

  2. Desai, M. S., Seekatz, A. M., Koropatkin, N. M., et al. (2016). A dietary fiber-deprived gut microbiota degrades the colonic mucus barrier and enhances pathogen susceptibility. Cell, 167(5), 1339–1353. DOI: 10.1016/j.cell.2016.10.043

  3. EFSA Panel on Dietetic Products, Nutrition and Allergies (2010). Scientific opinion on dietary reference values for carbohydrates and dietary fibre. EFSA Journal, 8(3), 1462. DOI: 10.2903/j.efsa.2010.1462

  4. Reynolds, A., Mann, J., Cummings, J., Winter, N., Mete, E., & Te Morenga, L. (2019). Carbohydrate quality and human health: a series of systematic reviews and meta-analyses. The Lancet, 393(10170), 434–445. DOI: 10.1016/S0140-6736(18)31809-9

  5. So, D., Whelan, K., Rossi, M., et al. (2018). Dietary fiber intervention on gut microbiota composition in healthy adults: a systematic review and meta-analysis. The American Journal of Clinical Nutrition, 107(6), 965–983. DOI: 10.1093/ajcn/nqy041

  6. Baxter, N. T., Schmidt, A. W., Venkataraman, A., et al. (2019). Dynamics of human gut microbiota and short-chain fatty acids in response to dietary interventions with three fermentable fibers. mBio, 10(1), e02566-18. DOI: 10.1128/mBio.02566-18

  7. Ze, X., Duncan, S. H., Louis, P., & Flint, H. J. (2012). Ruminococcus bromii is a keystone species for the degradation of resistant starch in the human colon. The ISME Journal, 6(8), 1535–1543. DOI: 10.1038/ismej.2012.4

  8. Healey, G., Murphy, R., Butts, C., et al. (2018). Habitual dietary fibre intake influences gut microbiota response to an inulin-type fructan prebiotic: a randomised, double-blind, placebo-controlled, cross-over, human intervention study. British Journal of Nutrition, 119(2), 176–189. DOI: 10.1017/S0007114517003440

  9. Deehan, E. C., Yang, C., Perez-Muñoz, M. E., et al. (2020). Precision microbiome modulation with discrete dietary fiber structures directs short-chain fatty acid production. Cell Host & Microbe, 27(3), 389–404. DOI: 10.1016/j.chom.2020.01.006

  10. McRorie, J. W., & McKeown, N. M. (2017). Understanding the physics of functional fibers in the gastrointestinal tract: an evidence-based approach to resolving enduring misconceptions about insoluble and soluble fiber. Journal of the Academy of Nutrition and Dietetics, 117(2), 251–264. DOI: 10.1016/j.jand.2016.09.021

  11. McDonald, D., Hyde, E., Debelius, J. W., et al. (2018). American Gut: an open platform for citizen science microbiome research. mSystems, 3(3), e00031-18. DOI: 10.1128/mSystems.00031-18

  12. Ghosh, T. S., Rampelli, S., Jeffery, I. B., et al. (2020). Mediterranean diet intervention alters the gut microbiome in older people reducing frailty and improving health status: the NU-AGE 1-year dietary intervention across five European countries. Gut, 69(7), 1218–1228. DOI: 10.1136/gutjnl-2019-319654

  13. Wastyk, H. C., Fragiadakis, G. K., Perelman, D., et al. (2021). Gut-microbiota-targeted diets modulate human immune status. Cell, 184(16), 4137–4153. DOI: 10.1016/j.cell.2021.06.019

  14. David, L. A., Maurice, C. F., Carmody, R. N., et al. (2014). Diet rapidly and reproducibly alters the human gut microbiome. Nature, 505(7484), 559–563. DOI: 10.1038/nature12820

Want to know more?

Get in touch and we will help with your questions.

Book a meeting