By Dr. Ryan Kneessi, ND — licensed naturopathic doctor in Maryland · Move Forward Natural Health, Odenton, MD (in-office and telehealth visits) · Last reviewed: October 9, 2026
Quick answer: Some infections and medications can affect the gut barrier by disturbing the microbiome, increasing inflammation or loosening tight junctions. Examples include bacterial infections like H. pylori and C. difficile, parasites like Giardia, and medications such as antibiotics, NSAIDs, PPIs and steroids. Never stop a prescribed medication on your own; work with your provider instead.
Work with your provider first
The first step is always to work with your healthcare provider to treat infections and review medications. Background: introduction to leaky gut.
Bacterial infections
- Salmonella and Campylobacter: food-borne infections that increase gut inflammation
- C. difficile: causes severe diarrhea; antibiotic use is a major risk factor
- H. pylori: infects the stomach and causes inflammation and ulcers
- E. coli (some strains): can cause severe infections
Other infections
- Candida overgrowth when the microbiome is disrupted
- Cytomegalovirus (CMV)
- Parasites such as Giardia, Cryptosporidium and Blastocystis
Medications
I am not suggesting that you stop these medications. If you take any of them and have gut symptoms, talk with your doctor.
Antibiotics
Antibiotics are absolutely warranted when needed, but they also reduce beneficial bacteria. Supporting gut health after a course is a good idea.
NSAIDs
Regular use of drugs such as ibuprofen can damage the gut lining and reduce protective mucus.
Proton pump inhibitors (PPIs)
Reducing stomach acid can affect digestion and the microbiome.
Steroids and immunosuppressants
These can increase infection risk and affect the gut.
Caffeine
Moderate caffeine is safe for most people, but large amounts can loosen stools and raise stress hormones.
Microbes, medications and healthy aging
Older adults often take more medications, and the microbiome tends to lose diversity with age. Thoughtful medication use helps protect gut health over time. See microbial diversity.
When to see a naturopathic doctor
- Ongoing bloating, gas, diarrhea or constipation
- Food reactions that seem to be multiplying
- Fatigue, skin flares or joint aches alongside gut symptoms
- You want a personalized gut plan instead of guessing
See a medical provider promptly for blood in your stool, black stools, unexplained weight loss, persistent vomiting, severe abdominal pain, fever, or trouble swallowing.
Want help finding the root of your gut symptoms?
A free 15-minute consultation with Dr. Kneessi. No cost, no obligation. In-office in Odenton, MD or by telehealth.
Frequently asked questions
Do antibiotics cause leaky gut?
They can disrupt the microbiome. Use them when needed and support your gut afterward.
Should I stop my PPI?
Not on your own. Talk with your doctor about whether you still need it.
Can H. pylori affect the gut lining?
Yes. It causes stomach inflammation and can lead to ulcers.
Is coffee bad for the gut?
Moderate coffee is fine for most people.
Sources
This article is for educational purposes only and is not medical advice. It does not replace an individual evaluation. Talk with your healthcare provider before starting supplements or changing medications, especially if you are pregnant, nursing, or managing a health condition.
Free: The 28-Day Longevity Reset
A simple day-by-day email guide to sleep, movement, food, and daily habits that support healthy aging. It’s free, and you can unsubscribe anytime.
Get the free guide