Summary

The best foods for your gut give your microbes fiber and plant compounds to work with. The worst ones may crowd out beneficial microbes. Here's where to start:

  • Vary your diet with fiber-rich plants, fermented foods, and foods rich in polyphenols [1], [2], [3].
  • Start with one food you'll eat regularly, like berries with breakfast or lentils in soup.
  • If a meal leaves you bloated, look at the ingredients. Some foods, especially those high in fermentable carbohydrates (FODMAPs), can trigger bloating in people with sensitive guts [4].
.
.

You move your body, get enough sleep, and read labels. You know firsthand how much your diet affects how you feel. So it's no surprise that one of the questions we hear most is which foods are best for your gut.

The best foods for gut health might already be in your kitchen. Think oats and berries at breakfast and black beans in your lunch tacos. When you’re weighing the worst foods for gut health, look at what they tend to replace and whether they regularly leave you uncomfortable after meals.

Below, you'll find the foods that feed your gut microbes and simple ways to add them. You'll also see what to try based on how your digestion feels, which foods to limit, and when to call your practitioner.

How food influences your gut microbiome

Gut microbes break down some dietary fiber in your colon. They make short-chain fatty acids, including butyrate, which fuels cells lining your colon and supports your gut barrier [1].

Infographic: fiber-rich foods feed gut microbes, which make butyrate, a fatty acid that fuels the cells lining your colon.
Fiber reaches your colon mostly intact, which is where your gut microbes ferment it.

Best foods for your gut health

Different food groups offer your gut microbes different things, from fibers they can break down to plant compounds they can transform [1], [3].

‍

Food group Why it helps your gut Examples
Fiber-rich plants Some fibers feed microbes that make butyrate. In a head-to-head trial, the high-fiber group also had more microbial enzymes involved in breaking down carbohydrates [1], [2]. Lentils, oats, raspberries, and broccoli
Fermented foods In the group that ate more fermented foods, the variety of gut microbes increased, and some markers of inflammation fell [2]. Yogurt with live cultures, kefir, sauerkraut, and kimchi
Polyphenol-rich foods Gut microbes break down some polyphenols, and these plant compounds may also influence which microbes thrive in your gut [3]. Berries, cocoa, extra-virgin olive oil, and green tea
Nuts and seeds They add dietary fiber. Human studies also found shifts in some gut bacteria after people ate walnuts, almonds, or pistachios [5], [6], [7]. Walnuts, almonds, pistachios, flaxseed, and chia seeds

Fiber-rich plants

Fruit and vegetables: Stir raspberries into yogurt or toss blackberries into your morning oats. Guava is another fiber-rich option. At dinner, try roasted broccoli or leek-and-garlic soup. Leeks, garlic, onions, and asparagus contain fructans, a prebiotic fiber that feeds certain beneficial gut microbes [8]. Learn more about prebiotics for gut health.

Beans and whole grains: Blend white beans into pancake batter, stir red lentils into tomato sauce or soup, or serve red lentil rolls with dinner. Oats, barley, and rye also contain fermentable fibers your gut microbes can use [1]. If you usually eat less fiber, start with a small portion.

Foods with resistant starch: Try slightly green bananas or cooked and cooled potatoes. Resistant starch escapes digestion in the small intestine so gut microbes can use some of it as food [1].

Fermented foods

Yogurt or kefir: Look for live cultures on the label. Try plain yogurt with berries or add kefir to a smoothie.

Sauerkraut or kimchi: If you're looking for live microbes, check the label. Heat processing after fermentation can kill them [9]. A forkful can add crunch to a sandwich or rice bowl.

Polyphenol-rich foods

Berries: Mash warm raspberries with chia seeds for a quick jam, or crush blackberries with olive oil and balsamic vinegar for a dressing.

Dark cocoa: Make your own hot chocolate with unsweetened cacao or cocoa powder, your milk of choice, and a splash of maple syrup. Or blend cocoa into a chocolate pudding with white beans, a little milk, vanilla, and maple syrup.

In a small trial, a high-flavanol cocoa drink increased two types of beneficial gut bacteria compared with a low-flavanol drink [10].

Extra-virgin olive oil: Drizzle it over cooked vegetables or whisk it with lemon for a dressing.

Green tea: Try it unsweetened.

Nuts and seeds

Walnuts, almonds, and pistachios: After eight weeks of eating walnuts daily, participants had higher relative abundance of certain gut bacteria, including Bifidobacterium and butyrate-producing species [7]. Smaller studies found shifts after people ate roasted almonds or pistachios [5], [6]. Try chopped walnuts in oatmeal or pistachios over roasted carrots.

Chia seeds and ground flaxseed: Swirl chia jam into yogurt or sprinkle ground flaxseed over breakfast. Both add dietary fiber.

Foods that help your digestion

What helps with digestion depends on what you’re noticing. Start with the row that fits how you feel.

‍

What you’re noticing What you could try Why it may help
Hard stools or fewer bowel movements than usual Try green kiwi or stewed prunes, or stir ground flaxseed into oatmeal. Kiwi and prunes may help you go more often [11]-[13]. Prunes can also bring on gas [12], [13]. Small trials suggest flaxseed may help with constipation [14], [15].
Bloating after meals If a large raw salad tends to bother you, try steamed carrots, zucchini, or spinach. Cooking softens vegetables. Serving size can also affect how much fermentable carbohydrate you eat at once [4].
Loose or urgent stools Try savory oats, carrot-potato mash, or oatmeal with unsweetened applesauce. Soluble fiber holds water and may help firm loose stools [16]. Large amounts of simple sugars or sugar alcohols can worsen diarrhea [17].
Heartburn after dinner If fried foods tend to bring it on, try baked fish with rice and carrots. High-fat meals can trigger reflux for some people [18].

Researchers are studying how bitter compounds, like those in arugula and radicchio, affect digestion, but studies so far have used isolated compounds, not whole foods [19].

Worst foods for your gut health

If you’re wondering which foods to avoid for gut health, start with what they regularly replace and how you feel after eating them.

‍

Food or ingredient What the evidence says Strength of evidence
Ultra-processed foods Low-fiber packaged foods can leave less room for plants. Higher intake was linked with inflammatory bowel disease [20]. Large observational study
Emulsifiers and thickeners Carboxymethylcellulose (CMC) changed gut microbes and some of the compounds they make. In two participants, microbes were found closer to the gut lining [21]. This could increase contact with intestinal cells and potentially trigger immune responses or inflammation. Small feeding trial of one additive
Artificial sweeteners and stevia Changes in gut microbes varied by sweetener and person [22]. Two-week human trial. Long-term effects are uncertain
Added sugar Sugary drinks are a leading source of added sugar [23]. Large amounts of simple sugars can worsen diarrhea [17]. Aim for no more than 25 grams of added sugar per day. Symptom guidance. Long-term microbiome effects are uncertain
Diets very low in plant foods An animal-based diet shifted the mix of gut microbes [24]. A high-protein, lower-carbohydrate diet lowered the amount of butyrate measured in stool [25]. Short-term feeding studies
Alcohol Studies link alcohol use disorder with differences in the gut microbiome [26]. Mostly observational evidence on heavier drinking and alcohol-related illness

Ultra-processed foods and additives

Low-fiber packaged snacks. If crackers and cheese often stand in for lunch, add hummus or sliced carrots to bring more fiber to the meal.

Emulsifiers and thickeners. Emulsifiers help oil and water stay mixed. Thickeners give foods more body. You might see lecithin in chocolate, mono- and diglycerides in baked goods, or polysorbate 80 in ice cream. Cellulose gum, also called CMC, is used as a thickener [27].

Artificial sweeteners and sugar alcohols. Diet drinks may list aspartame or sucralose [22]. If sugar-free candy leaves you with loose stools, check for sugar alcohols such as sorbitol or xylitol [17].

Added sugar and alcohol

Sugary drinks: If sweet tea is an everyday drink for you, try a smaller cup or mix it half-and-half with unsweetened tea. Both the serving size and how often you drink it affect how much added sugar you get [23].

Alcohol: Pay attention to how often you drink and how much you pour. Most of the microbiome research here focused on heavier drinking [26]. If wine regularly brings on heartburn, use that pattern to guide your choices [18].

Diets very low in plant foods

If dinner is usually light on plants, stir black beans into chicken and rice or add roasted sweet potatoes and coleslaw to burger night.

Why some foods may bother your gut

A bowl of lentil soup might sit well with you and leave someone else bloated [4].

‍

What can change your response Why it matters
Your gut microbes The mix of microbes you have can affect how they break down fiber [1], [2].
Your digestive health Irritable bowel syndrome (IBS) and reflux can make certain meals harder to tolerate [4], [18].
Portion size A spoonful of lentils may land differently than a bowlful.

Common foods that may leave your gut feeling off

Onions, garlic, and certain beans. These foods that contain FODMAPs, a group of carbohydrates that gut microbes can ferment, producing gas. If you have irritable bowel syndrome (IBS), you may be more sensitive to the gas and bloating, especially after a larger serving [4]. Some of these same carbohydrates act as prebiotic fiber, feeding beneficial gut microbes [8].

Very spicy or high-fat meals. If a dish regularly brings on heartburn, try a milder or less fatty version [18].

Milk or ice cream. If you have trouble digesting lactose, the natural sugar in milk, try a lactose-free version and see how you feel [28].

Best vs. worst at a glance

Pick one swap that fits a meal or snack you already eat.

‍

Eat more often Eat less often
Breakfast · Oats with berries, chia seeds, or pumpkin seeds Low-fiber sugary cereal
Lunch or dinner · A rice bowl with lentils or black beans Low-fiber packaged sides
Yogurt · Plain yogurt or kefir with live cultures Sweetened yogurt desserts
Snacks · A handful of walnuts or almonds Chips or low-fiber crackers
Fruit · An apple, orange, or handful of berries Fruit juice or fruit-flavored snacks
Drinks · Water or unsweetened iced tea Sweet tea, soda, or alcohol

How Tiny Health can help you explore what to eat

Our Adult Gut Health Test is an at-home gut microbiome test that reads microbial DNA in your stool. Your report can show whether microbes linked to fiber fermentation or short-chain fatty acid production were detected. 

Pair those results with what you notice after meals, like your energy, your digestion, or how full you feel. Then turn to your Action Plan for food ideas you can try in your own kitchen.

Disclaimer: Tiny Health reports are for wellness education only. Talk with your health practitioner before making any changes to your medical care.

‍

What you should know

FAQ: Best and worst foods for your gut

How long does it take to notice gut changes after I change my diet?

In one controlled study, a major diet change shifted the gut microbiome within days [24]. But changes in bloating or bathroom habits can take longer, and there's no set timeline. How quickly you notice a difference will be unique to you.

Is the 30 plants a week target actually evidence-based?

The American Gut Project found that people who reported eating more than 30 plant types a week had greater gut microbiome diversity than those who reported eating 10 or fewer [31]. The study compared people's eating habits at a point in time, so it couldn't establish an ideal number. Blueberries and strawberries count as two, as do black beans and lentils.

Does cooking or blending food change how gut-friendly it is?

Cooking softens vegetables, and blending changes their texture. If you blend a whole pear into a smoothie, the dietary fiber stays in the pitcher. Straining out the pulp removes some of it.

Is coffee good or bad for my gut?

Regular and decaf coffee can stimulate the colon in some people [32]. If you love coffee but it brings on urgency or heartburn, try a smaller cup [18].

Do I need to buy organic produce for gut health?

Choose produce that fits your budget. A gut microbiome advantage for organic produce hasn’t been established [33]. Frozen berries and vegetables count, too.

Can a supplement replace gut-friendly foods?

Supplements work best alongside gut-friendly foods, not in place of them. Start with a varied, whole-food diet, then consider a supplement if you have trouble getting enough fiber or your practitioner recommends one. Psyllium adds one type of dietary fiber, while a variety of plants gives your gut microbes a wider range of fibers and plant compounds [1], [3], [4].

When to seek medical attention

Contact a health practitioner promptly if you notice [29], [30]:

  • Blood in your stool or black, tarry stools.
  • Weight loss when you haven't been trying to lose weight.
  • Severe or persistent belly pain.
  • Ongoing diarrhea or a lasting change in bowel habits.
  • Signs of dehydration, such as very little urine or lightheadedness.

If you're reacting to many foods or your list of triggers keeps growing, share that pattern with your practitioner before cutting out more foods.

‍

Summer reset sale

Listen to your body

Easy at-home gut and vaginal health tests with personalized action plans to act on what you find.

References

[1] A. Koh, F. De Vadder, P. Kovatcheva-Datchary, and F. Bäckhed, "From dietary fiber to host physiology: Short-chain fatty acids as key bacterial metabolites," Cell, vol. 165, no. 6, pp. 1332–1345, 2016, doi: 10.1016/j.cell.2016.05.041.

[2] H. C. Wastyk et al., "Gut-microbiota-targeted diets modulate human immune status," Cell, vol. 184, no. 16, pp. 4137–4153.e14, 2021, doi: 10.1016/j.cell.2021.06.019.

[3] B. V. Nemzer, F. Al-Taher, D. Kalita, A. Y. Yashin, and Y. I. Yashin, "Health-improving effects of polyphenols on the human intestinal microbiota: A review," Int. J. Mol. Sci., vol. 26, no. 3, Art. no. 1335, 2025, doi: 10.3390/ijms26031335.

[4] B. E. Lacy et al., "ACG clinical guideline: Management of irritable bowel syndrome," Am. J. Gastroenterol., vol. 116, no. 1, pp. 17–44, 2021, doi: 10.14309/ajg.0000000000001036.

[5] Z. Liu, X. Lin, G. Huang, W. Zhang, P. Rao, and L. Ni, "Prebiotic effects of almonds and almond skins on intestinal microbiota in healthy adult humans," Anaerobe, vol. 26, pp. 1–6, 2014, doi: 10.1016/j.anaerobe.2013.11.007.

[6] M. Ukhanova et al., "Effects of almond and pistachio consumption on gut microbiota composition in a randomised cross-over human feeding study," Br. J. Nutr., vol. 111, no. 12, pp. 2146–2152, 2014, doi: 10.1017/S0007114514000385.

[7] C. Bamberger, A. Rossmeier, K. Lechner, L. Wu, E. Waldmann, S. Fischer, R. G. Stark, J. Altenhofer, K. Henze, and K. G. Parhofer, "A walnut-enriched diet affects gut microbiome in healthy Caucasian subjects: A randomized, controlled trial," Nutrients, vol. 10, no. 2, Art. no. 244, 2018, doi: 10.3390/nu10020244.

[8] G. R. Gibson et al., "The ISAPP consensus statement on the definition and scope of prebiotics," Nat. Rev. Gastroenterol. Hepatol., vol. 14, pp. 491–502, 2017, doi: 10.1038/nrgastro.2017.75.

[9] M. L. Marco et al., "The International Scientific Association for Probiotics and Prebiotics (ISAPP) consensus statement on fermented foods," Nat. Rev. Gastroenterol. Hepatol., vol. 18, pp. 196–208, 2021, doi: 10.1038/s41575-020-00390-5.

[10] X. Tzounis, A. Rodriguez-Mateos, J. Vulevic, G. R. Gibson, C. Kwik-Uribe, and J. P. E. Spencer, "Prebiotic evaluation of cocoa-derived flavanols in healthy humans by using a randomized, controlled, double-blind, crossover intervention study," Am. J. Clin. Nutr., vol. 93, no. 1, pp. 62–72, 2011, doi: 10.3945/ajcn.110.000075.

[11] E. Dimidi, A. van der Schoot, K. Barrett, et al., "British Dietetic Association guidelines for the dietary management of chronic constipation in adults," J. Hum. Nutr. Diet., 2025, doi: 10.1111/jhn.70133.

[12] S. W. Chey, W. D. Chey, K. Jackson, and S. Eswaran, "Exploratory comparative effectiveness trial of green kiwifruit, psyllium, or prunes in US patients with chronic constipation," Am. J. Gastroenterol., vol. 116, no. 6, pp. 1304–1312, 2021, doi: 10.14309/ajg.0000000000001149.

[13] E. Lever, S. M. Scott, P. Louis, P. W. Emery, and K. Whelan, "The effect of prunes on stool output, gut transit time and gastrointestinal microbiota: A randomised controlled trial," Clin. Nutr., vol. 38, no. 1, pp. 165–173, 2019, doi: 10.1016/j.clnu.2018.01.003.

[14] J. Sun, H. Bai, J. Ma, R. Zhang, H. Xie, Y. Zhang, M. Guo, and J. Yao, "Effects of flaxseed supplementation on functional constipation and quality of life in a Chinese population: A randomized trial," Asia Pac. J. Clin. Nutr., vol. 29, no. 1, pp. 61–67, 2020, doi: 10.6133/apjcn.202003_29(1).0009.

[15] N. Soltanian and M. Janghorbani, "Effect of flaxseed or psyllium vs. placebo on management of constipation, weight, glycemia, and lipids: A randomized trial in constipated patients with type 2 diabetes," Clin. Nutr. ESPEN, vol. 29, pp. 41–48, 2019, doi: 10.1016/j.clnesp.2018.11.002.

[16] Academy of Nutrition and Dietetics, “Fiber for bowel management.” [Online]. Available: https://upload.cdn-hoag.org/wp-content/uploads/2022/04/07224051/Fiber-for-Bowel-Management_AND.pdf

[17] National Institute of Diabetes and Digestive and Kidney Diseases, "Eating, diet, & nutrition for diarrhea." [Online]. Available: https://www.niddk.nih.gov/health-information/digestive-diseases/diarrhea/eating-diet-nutrition

[18] National Institute of Diabetes and Digestive and Kidney Diseases, "Eating, diet, & nutrition for GER & GERD." [Online]. Available: https://www.niddk.nih.gov/health-information/digestive-diseases/acid-reflux-ger-gerd-adults/eating-diet-nutrition

[19] P. Rezaie, V. Bitarafan, M. Horowitz, and C. Feinle-Bisset, "Effects of bitter substances on GI function, energy intake and glycaemia: do preclinical findings translate to outcomes in humans?" Nutrients, vol. 13, no. 4, Art. no. 1317, 2021, doi: 10.3390/nu13041317.

[20] N. Narula et al., "Association of ultra-processed food intake with risk of inflammatory bowel disease: Prospective cohort study," BMJ, vol. 374, Art. no. n1554, 2021, doi: 10.1136/bmj.n1554.

[21] B. Chassaing et al., "Randomized controlled-feeding study of dietary emulsifier carboxymethylcellulose reveals detrimental impacts on the gut microbiota and metabolome," Gastroenterology, vol. 162, no. 3, pp. 743–756, 2022, doi: 10.1053/j.gastro.2021.11.006.

[22] J. Suez et al., "Personalized microbiome-driven effects of non-nutritive sweeteners on human glucose tolerance," Cell, vol. 185, no. 18, pp. 3307–3328.e19, 2022, doi: 10.1016/j.cell.2022.07.016.

[23] Centers for Disease Control and Prevention, "Get the facts: Added sugars." [Online]. Available: https://www.cdc.gov/nutrition/php/data-research/added-sugars.html

[24] L. A. David et al., "Diet rapidly and reproducibly alters the human gut microbiome," Nature, vol. 505, pp. 559–563, 2014, doi: 10.1038/nature12820.

[25] S. H. Duncan et al., "Reduced dietary intake of carbohydrates by obese subjects results in decreased concentrations of butyrate and butyrate-producing bacteria in feces," Appl. Environ. Microbiol., vol. 73, no. 4, pp. 1073–1078, 2007, doi: 10.1128/AEM.02340-06.

[26] E. N. Grodin, E. M. Burnette, C. Rodriguez, J. A. Fulcher, and L. A. Ray, "The gut microbiome in alcohol use disorder and alcohol-associated liver disease: A systematic review of clinical studies," Alcohol Clin. Exp. Res., vol. 48, no. 7, pp. 1221–1242, 2024, doi: 10.1111/acer.15338.

[27] European Food Information Council, “What are emulsifiers and what are common examples used in food?” [Online]. Available: https://www.eufic.org/en/whats-in-food/article/what-are-emulsifiers-and-what-are-common-examples-used-in-food

[28] National Institute of Diabetes and Digestive and Kidney Diseases, “Eating, diet, & nutrition for lactose intolerance.” [Online]. Available: https://www.niddk.nih.gov/health-information/digestive-diseases/lactose-intolerance/eating-diet-nutrition

[29] National Institute of Diabetes and Digestive and Kidney Diseases, "Symptoms & causes of constipation." [Online]. Available: https://www.niddk.nih.gov/health-information/digestive-diseases/constipation/symptoms-causes

[30] National Institute of Diabetes and Digestive and Kidney Diseases, "Symptoms & causes of diarrhea." [Online]. Available: https://www.niddk.nih.gov/health-information/digestive-diseases/diarrhea/symptoms-causes

[31] D. McDonald et al., "American Gut: An open platform for citizen science microbiome research," mSystems, vol. 3, no. 3, Art. no. e00031-18, 2018, doi: 10.1128/mSystems.00031-18.

[32] S. R. Brown, P. A. Cann, and N. W. Read, "Effect of coffee on distal colon function," Gut, vol. 31, no. 4, pp. 450–453, 1990, doi: 10.1136/gut.31.4.450.

[33] N. Komati, J.-P. Cravedi, J.-M. Lecerf, L. P. Belzunces, D. Tailliez, C. Chambrier, J. Calvarin, and M.-J. Amiot, "Potential health benefits of a diet rich in organic fruit and vegetables versus a diet based on conventional produce: A systematic review," Nutr. Rev., vol. 83, no. 3, Art. no. e1101, 2025, doi: 10.1093/nutrit/nuae104.