Key takeaways
- The best foods for gut health are fiber-rich plants, prebiotic vegetables and fermented foods with live cultures.
- Aim for 28 g of fiber a day; most adults get far less.
- Variety matters: people who ate 30+ different plants a week had more diverse gut bacteria.
- In a 10-week trial, fermented foods increased microbiome diversity and lowered inflammation markers.
Trillions of bacteria live in your gut, and they depend on what you eat. A well-fed, diverse community helps digest fiber, makes short-chain fatty acids that nourish your gut lining, and supports your immune system. The good news: the foods for gut health aren’t exotic. They’re beans, whole grains, vegetables, fruit, nuts and a few fermented foods. Here’s what research supports, and how to build them into your week.
What your gut bacteria need
Most of the food you eat is absorbed in your small intestine. What reaches your large intestine is mainly fiber and some resistant starch, and that’s what your gut bacteria eat. When they ferment it, they produce short-chain fatty acids like butyrate, which fuel the cells lining your colon and help regulate inflammation.
So the single most important thing for gut health is simple: eat more fiber, from a wide range of plants.

Etekcity Food Scale
0.1g accuracy — the perfect companion for exact portions.
1. Fiber-rich plant foods

The Daily Value for fiber is 28 g, but most American adults eat well under that. A large review of studies found that people who ate the most fiber, 25–29 g a day or more, had lower rates of heart disease, type 2 diabetes and colorectal cancer than people who ate the least (Reynolds et al., Lancet 2019).

Beans and lentils lead by a long way: a cup of cooked lentils has more fiber than four slices of whole-wheat bread. See how to eat 28 grams of fiber a day for a full sample day, and soluble vs insoluble fiber for what different fibers do.
2. Variety: aim for 30 plants a week

In the American Gut Project, people who ate more than 30 different plant types a week had more diverse gut bacteria than people who ate 10 or fewer (McDonald et al., 2018). Different bacteria prefer different fibers, so variety feeds more of them.
Every fruit, vegetable, whole grain, legume, nut, seed, herb and spice counts as one. Easy ways to add variety:
- Use a mixed bag of frozen vegetables or a bean medley.
- Swap rice for barley, bulgur or quinoa some nights.
- Sprinkle a seed mix (chia, flax, pumpkin) on breakfast.
- Add fresh herbs and spices generously.
3. Prebiotic foods
Prebiotics are compounds that gut bacteria selectively use in a way that benefits your health (Gibson et al., 2017). The best-known are inulin and fructo-oligosaccharides in onions, garlic, leeks, asparagus, Jerusalem artichokes, chicory root and slightly green bananas. Oats and barley contain beta-glucan, and cooked-then-cooled potatoes and rice develop resistant starch. Our guide to prebiotic foods lists 15 everyday sources.
4. Fermented foods

Fermented foods are made by microbes, and many still contain live cultures when you eat them: yogurt, kefir, kimchi, sauerkraut (refrigerated, not canned), miso, tempeh and kombucha.
In a Stanford trial, adults who gradually increased to about six servings of fermented foods a day for 10 weeks had more diverse gut bacteria and lower levels of 19 inflammatory markers. A high-fiber group didn’t see the same diversity increase in that short time (Wastyk et al., Cell 2021). You don’t need six a day, but one or two is an easy habit. See which fermented foods contain live probiotics.
5. Whole grains
Whole grains keep their bran and germ, which carry most of the fiber. Oats, barley, bulgur, brown rice, whole-wheat bread and pasta, and popcorn all count. The 2025–2030 Dietary Guidelines recommend two to four servings a day. Not sure what’s truly whole grain? See how to spot real whole-grain foods.
6. Polyphenol-rich foods
Berries, cocoa, green tea, coffee, extra virgin olive oil, nuts and colorful vegetables contain polyphenols. Most aren’t absorbed in the small intestine, so they reach your gut bacteria, which break them down. They’re another good reason to eat a colorful diet.
A gut-friendly day
| Meal | Example | Fiber |
|---|---|---|
| Breakfast | Oats with kefir, raspberries and 1 tbsp chia seeds | about 16 g |
| Lunch | Lentil and barley soup with leeks, whole-grain rye bread | about 13 g |
| Snack | An apple and a handful of almonds | about 8 g |
| Dinner | Salmon, roast potatoes (cooled and reheated), broccoli and a side of kimchi | about 10 g |
That’s around 47 g of fiber, two fermented foods and more than 12 different plants in one day.
Go slowly with fiber
If you currently eat little fiber, adding a lot at once can cause gas and bloating while your gut adapts. Add a few grams every few days and drink more water. Our guide to foods that cause bloating explains which ones are most likely to cause trouble.
When to see a doctor
Diet helps general gut health, but it isn’t a treatment for digestive diseases. See a doctor if you have ongoing pain, blood in your stool, unexplained weight loss, a lasting change in bowel habits or symptoms that wake you at night.
The bottom line
The best foods for gut health are everyday ones: beans, lentils, whole grains, vegetables, fruit, nuts and seeds, plus one or two fermented foods a day. Aim for 28 g of fiber and around 30 different plants a week, and increase gradually. Your gut bacteria will do the rest.
Frequently asked questions
What are the best foods for gut health?
High-fiber plant foods (beans, lentils, whole grains, vegetables, fruit, nuts and seeds), prebiotic foods like onions, garlic, leeks and asparagus, and fermented foods with live cultures such as yogurt, kefir, kimchi and sauerkraut.
How can I improve my gut health quickly?
Add one fermented food a day, increase fiber gradually toward 28 g, and aim for a wider variety of plants. In one trial, a diet high in fermented foods increased gut microbiome diversity within 10 weeks.
Do I need a probiotic supplement?
Most healthy people don't. Probiotics can help in specific situations, such as some cases of antibiotic-associated diarrhea, but effects depend on the strain. Food is the best starting point; ask your doctor about supplements for a specific problem.
What foods are bad for gut health?
Diets low in fiber and high in highly processed foods are linked with less diverse gut bacteria. Large amounts of alcohol also irritate the gut. No single food is 'bad', but variety and fiber matter most.
Sources
- Wastyk HC et al. Gut-microbiota-targeted diets modulate human immune status. Cell, 2021
- McDonald D et al. American Gut: an open platform for citizen science microbiome research. mSystems, 2018
- Gibson GR et al. Expert consensus document: the ISAPP consensus statement on the definition and scope of prebiotics. Nat Rev Gastroenterol Hepatol, 2017
- Reynolds A et al. Carbohydrate quality and human health: a series of systematic reviews and meta-analyses. Lancet, 2019
- USDA FoodData Central
This article is for general information and isn’t medical advice. Talk to your doctor or a registered dietitian about your own needs, especially if you have a health condition, are pregnant or take medication.