Your gut and your immune system: a simple explanation

Overhead flat lay of immune-supporting foods — citrus

Ever notice how one rough week of eating junk food leaves you catching every cold going around the office? Your gut and immune system work as a single unit. Look after one and you're looking after both.

70%
of your immune system is stationed in your gut, according to Dr. David Heber, MD, PhD, professor emeritus of medicine at UCLA Health[1]

How your gut decides what gets in

Specialized immune cells sit just beneath your gut lining, sampling everything that passes by. When they spot a threat, like harmful bacteria or a virus, they trigger a response before it spreads. When something helpful arrives, like nutrients from lunch, they wave it through without a fight. This sorting runs nonstop, which is why your gut health and immune health tend to rise and fall together.

What wears this system down

Antibiotics you don't need wipe out helpful bacteria right along with the harmful ones. Chronic stress raises stress hormones that wear down your gut lining, a pattern researchers measured directly in a human trial[2]. Poor sleep throws off the balance of your gut bacteria too. A 2026 review of dozens of studies found consistent shifts tied to sleep loss[3]. A diet light on fiber leaves your bacteria with little to eat, which slows this whole process down. Checking labels for fiber content is an easy first fix, and our guide to reading food labels for gut health walks through what to look for. If antibiotics are the reason your gut needs support right now, see our plan for starting antibiotics without losing your gut balance.

What builds it back up

  • A wider mix of fiber: beans, vegetables, and whole grains keep your bacteria fed and your gut lining strong
  • Fermented foods regularly: yogurt, kefir, or sauerkraut add helpful bacteria directly
  • Protected sleep, as consistent as you can manage
  • Movement most days: regular activity supports a balanced gut on its own

Water matters here too: it keeps that fiber moving instead of backing up, a habit covered in our piece on hydration and your gut.

When to pay closer attention

If you're catching every cold going around, or an illness drags on longer than it used to, treat that as a signal instead of bad luck. If frequent infections show up alongside unexplained weight loss, ongoing diarrhea, or fatigue that won't lift with rest, bring that combination to a doctor.

What to do with this

Try today: swap one starchy side, like white rice or bread, for beans or lentils at a single meal, one small change doing double duty for your gut and your immune system at once.

This content is for educational purposes only and is not a substitute for professional medical advice.

Related reading

Share this article