The foods that do the most for your gut share a common trait: they feed or introduce beneficial bacteria while strengthening the intestinal lining. That means prioritizing three categories, fiber-rich whole foods, fermented foods, and foods that contain resistant starch, while cutting back on ultra-processed products that can erode your gut’s protective barrier.
Fermented Foods Build Microbial Diversity
Fermented foods introduce live microorganisms directly into your digestive tract. A 10-week clinical trial at Stanford found that participants who ate fermented foods daily increased their overall microbial diversity, with stronger effects from larger servings. The same group also showed reduced activation in four types of immune cells and lower levels of 19 inflammatory proteins in their blood, including interleukin 6, a marker linked to rheumatoid arthritis, Type 2 diabetes, and chronic stress.
The fermented foods used in that study included yogurt, kefir, fermented cottage cheese, kimchi, other fermented vegetables, vegetable brine drinks, and kombucha. Yogurt and kefir are particularly well-studied because they tend to carry bacteria from the Lactobacillus and Bifidobacterium families, two of the most common and well-documented groups of beneficial gut microbes. Sauerkraut, miso, and tempeh round out the list of widely available options.
One practical note: not all store-bought fermented foods still contain live cultures. Pasteurization kills bacteria, so look for labels that say “live and active cultures” or find products in the refrigerated section rather than on shelf-stable aisles.
Prebiotic Fiber Fuels Your Existing Bacteria
Probiotics get the attention, but prebiotics are arguably just as important. Prebiotic fibers are plant-based carbohydrates your own enzymes can’t break down. They pass through your stomach and small intestine intact, then arrive in the colon where resident bacteria ferment them. The major end products of that fermentation are short-chain fatty acids: acetate, propionate, and butyrate. Butyrate is especially valuable because it directly nourishes the cells lining your colon, reduces inflammation, and helps regulate blood sugar and immune function.
Foods high in prebiotic fiber include garlic, onions, leeks, asparagus, bananas, oats, apples, and Jerusalem artichokes. The current U.S. dietary guidelines recommend 14 grams of fiber per 1,000 calories you eat, which works out to roughly 25 grams a day for most women and 35 grams for most men. Most Americans fall well short of that. If your current intake is low, increase it gradually over a week or two to avoid bloating and gas as your gut bacteria adjust to the new fuel supply.
Resistant Starch: A Special Kind of Fiber
Resistant starch behaves a lot like prebiotic fiber. It resists digestion in the upper gut, reaches the colon intact, and gets fermented into butyrate and other short-chain fatty acids that nourish your gut lining and support immune health. What makes it interesting is that you can increase the resistant starch content of everyday foods just by cooking and cooling them.
A cooked russet potato contains about 3.1 grams of resistant starch per 100-gram serving. Cook that same potato and chill it in the fridge, and the content rises to 4.3 grams. The same principle applies to rice, pasta, and other starchy foods. Cooling causes the starch molecules to crystallize into structures your enzymes can’t easily break apart.
Some of the richest natural sources of resistant starch, measured per 100-gram serving:
- Lima beans (cooked): 6.4 grams
- Kidney beans (cooked): 3.8 grams
- Barley (cooked): 3.4 grams
- Sourdough bread: 3.3 grams
- Rye bread: 3.0 grams
- Green bananas: 2.8 grams
- Black beans (cooked): 2.7 grams
- Cooked plantain: 2.6 grams
- Lentils (cooked): 2.0 grams
Legumes dominate the list, which is one reason beans and lentils consistently show up in gut health recommendations. They deliver both resistant starch and conventional fiber in a single food.
Bone Broth and Gut Barrier Support
Bone broth has a reputation for “healing” the gut, and there’s some substance behind the claim. A review published through Mayo Clinic examined the nutritional components of bone broth and found it rich in amino acids like glutamine, glycine, proline, and arginine, along with minerals including calcium, magnesium, potassium, and zinc. These components support the intestinal barrier, the single layer of cells that controls what passes from your digestive tract into your bloodstream.
Glutamine in particular serves as a primary fuel source for the cells lining your intestines, helping maintain their tight junctions and reduce permeability. The review noted benefits for alleviating inflammation in the intestinal barrier and improving its function, with potential applications for conditions like inflammatory bowel disease. Bone broth isn’t a cure-all, but as a regular addition to your diet, it provides building blocks your gut lining can use for repair and maintenance.
The Gut-Brain Connection Through Food
Your gut does more than digest food. Between 90% and 95% of your body’s serotonin receptors are located in the gut, which means the food you eat directly influences your mood and mental health. Diets high in fruits, vegetables, whole grains, lean meats, fish, nuts, legumes, and olive oil provide the nutrients your gut needs to support serotonin production, including zinc, folate, magnesium, B vitamins, and omega-3 fatty acids.
On the flip side, diets heavy in high-fat, high-sugar, high-salt, and processed foods are associated with increased feelings of anxiety and depression. These foods generally lack the nutrients your brain needs to maintain healthy serotonin levels. So eating for gut health and eating for mental health turn out to be largely the same thing.
What to Cut Back On
Building up good bacteria matters less if you’re simultaneously tearing down your gut’s protective mucus layer. One of the clearest culprits is an emulsifier called polysorbate-80, commonly found in processed foods like ice cream, salad dressings, and packaged baked goods. Research published in the BMJ journal Gut found that polysorbate-80 disrupts mucosal integrity, alters the gut microbiome, and promotes inflammation. Its breakdown products in the gut can impair the epithelial barrier, the tight seal between intestinal cells, increasing permeability and allowing substances to leak through that normally wouldn’t.
Artificial sweeteners have received similar scrutiny, though the picture is more nuanced. In the same study, sweeteners like aspartame, sucralose, and saccharin alone did not significantly affect gut permeability, even at high concentrations. The problem arose when they were combined with emulsifiers. The damaged barrier allowed the sweeteners to cross the intestinal lining more easily. The practical takeaway: ultra-processed foods tend to combine multiple additives, and it may be the combination, not any single ingredient, that does the most harm.
Reducing your intake of packaged snacks, fast food, and heavily processed convenience meals is one of the simplest moves you can make for your gut. You don’t need to eliminate them entirely, but shifting the balance toward whole, minimally processed foods gives your microbiome a better environment to thrive in.
How Quickly Your Gut Responds to Change
Your gut microbiome is remarkably dynamic. Bacterial populations shift from day to day, even on a completely standardized diet. Research from MIT found that when healthy adults consumed nothing but a single meal-replacement shake for six days, their gut bacteria still fluctuated daily. This means your microbiome is constantly responding to what you eat, and the benefits of dietary changes can begin quickly.
Most studies on fermented and high-fiber diets show measurable shifts in microbial composition within a few weeks. The Stanford fermented food trial ran for 10 weeks, with clear changes in diversity and inflammation markers by the end. But consistency matters more than perfection. A single serving of yogurt won’t transform your gut. Regular, sustained intake of fiber-rich and fermented foods is what builds a diverse, resilient microbial community over time.

