Microbial diversity

Medications that change the gut

Not just antibiotics: acid blockers, metformin, painkillers and others affect the gut microbiota.

How solid is the research? Trust score 3 of 5:Promising

Effects of antibiotics, acid blockers and metformin on the gut microbiota are well observed in humans. For many other medications there are only lab findings so far.

Cause or consequence? Root cause 4 of 5:Often a cause

Many medications change the gut flora or slow the gut — from laxatives to painkillers. They are among the common triggers, even when they were prescribed for something quite different.

Healthy state

Almost every medication you swallow meets microbes on its way. In the mouth and stomach its surroundings change, in the small intestine the active ingredient is mostly absorbed, and what is left reaches the large intestine, where by far most bacteria live. Even medications that are injected or absorbed and cleared by the liver return to the gut via the bile.

Gut bacteria are not bystanders here but a kind of second liver. They have enzymes humans lack and can split, rebuild or inactivate active ingredients. Well-known examples are heart medicines and drugs for Parkinson’s disease, which certain bacteria partly break down before they can work. Another route: the liver attaches many active ingredients to sugar units so they can leave through the bile. Some gut bacteria cut these units off again with an enzyme (β-glucuronidase), the active ingredient is absorbed a second time and acts for longer or causes side effects, such as diarrhoea with one cancer drug. This is one reason why the same medication works differently in two people.

The gut itself also decides how much of an active ingredient arrives. Stomach acid dissolves some tablets in the first place, gut movement determines how long a drug stays at the lining, and Bile acids Substances made by the liver that make fat digestible. About 95 percent are reabsorbed in the last part of the small intestine; gut bacteria transform the rest. More in the chapter “Bile acids: when bile causes diarrhoea” help fat-soluble ingredients get absorbed. Because Microbiome, gut microbiota The community of all microbes in the gut, mainly bacteria, plus viruses, fungi and archaea. Most live in the colon. More in the chapter “Building microbial diversity” differs greatly from person to person, everybody reacts a little differently.

Important to keep in perspective: that a medication changes the gut flora does not automatically mean it does harm. Treating an infection, diabetes or a heart condition usually takes priority. This chapter is meant to help you spot connections when gut symptoms are new or do not improve, and to talk to your doctor about alternatives. It is not a call to leave medications out.

Medicineeffects in both directions
Medicines and gut bacteria influence each other, in both directions.

Disrupted state: causes and effects

A laboratory experiment showed how many medications change the gut flora: about one in four medications that actually target human cells inhibited at least one species of gut bacteria. These included drugs from all classes, notably often antipsychotics. That holds in the test tube; at the doses reached in a person’s gut it is not always so, and whether the inhibition is noticeable for the individual remains open.

In people, the picture shows up in large groups. In three cohorts from the Netherlands, acid blockers, metformin, antibiotics and laxatives were most strongly linked to changes in the gut flora. With acid blockers, more bacteria from the mouth and throat were found in the gut, because stomach acid is a weaker barrier. The chapter on acid blockers explains this in more detail. A study in healthy people also showed less diversity after only four weeks.

Metformin is a good example of a misunderstanding. People with type 2 diabetes have a different gut flora from healthy people. But a study that compared patients with and without metformin showed that a good part of these differences comes from the drug and not from the disease. Metformin increases, among others, bacteria that make Short-chain fatty acids Acids such as acetate, propionate and butyrate that gut bacteria make from fibre. They nourish the gut wall and act throughout the body. More in the chapter “Butyrate and other short-chain fatty acids” and the Escherichia group. It is suspected that this is related to the frequent digestive side effects, but this is not proven. So when someone’s gut flora differs from others’, it is always worth looking at the medication list before blaming the disease alone.

Painkillers of the ibuprofen and diclofenac type can not only irritate the stomach but also damage the lining of the small intestine. They block the production of prostaglandins, messengers that build mucus and keep the lining well supplied with blood. The lining becomes more permeable, small ulcers form, and blood loss can lead to iron deficiency. The gut flora evidently plays a part, as a review shows. Stomach protectors do not prevent this small intestinal damage; some studies even suggest they may worsen it.

Other drugs act via gut movement. Opioids (strong painkillers, also some cough medicines) slow the muscles and the fluid secretion in the gut and often cause stubborn constipation. Medications with an anticholinergic effect, for example some for overactive bladder, allergies, depression or psychosis, also slow the gut. Iron, calcium-containing antacids and some blood pressure drugs constipate, while magnesium and metformin tend to cause diarrhoea. When stool becomes firmer or looser as a result, the gut flora changes with it, because transit time itself is a strong influence on its composition.

Laxatives also appear high up in the studies. This is probably partly because they change the time in the gut and the water content of stool, and partly because constipated people generally have a different flora. It is hard to separate cause and effect here. That is exactly the limit of almost all studies in this field: people who take a medication usually also have a disease, and both change the gut.

MedicineMouth bacteriasome species are inhibited
Many medicines inhibit bacteria. Acid blockers also let mouth bacteria into the gut.

Where it comes from and where it leads

The same symptoms can have different roots. This map shows what may be involved in this problem and what may follow from it.

Possible causes. . Possible consequences. Gastroparesis, Constipation, SIBO, Weak cleaning wave, Low variety, Leaky barrier, Low DAO, Diarrhoea, Nutrient deficiency, Food fear, Bloating, Diverticula & haemorrhoids, Abdominal pain, Weak digestion, Methane & H₂S, Histamine, Intolerance, Brain fog & fatigue, Low IgA, Opportunists, Gut immunity, Low butyrate, Thin mucus layer, Inflammation, Skin & gut, Allergies, Biofilms, Autoimmunity, Crohn’s & colitis

Medications that change the gutMedicationGastroparesis: when the stomach empties too slowlyGastroparesisConstipation: more than too little fibreConstipationWhen the small intestine is too densely colonisedSIBOWhy SIBO comes back: the cleaning wave, underlying causes and prokineticsWeak cleaningwaveBuilding microbial diversityLow varietyThe gut barrierLeaky barrierDAO: the enzyme that intercepts histamine from foodLow DAODiarrhoea: understand it, place it and react the right wayDiarrhoeaNutrient deficiency in gut problems: when food no longer arrivesNutrientdeficiencyFear of food: when your list of safe foods keeps shrinkingFood fearBloating and fullness: gas that will not move onBloatingDiverticula, haemorrhoids and fissures: what can go wrong at the end of the gutDiverticula &haemorrhoidsAbdominal pain and cramps: where the pain comes fromAbdominal painStomach acid, bile and enzymesWeak digestionHydrogen sulfide and methane: the other gases in the gutMethane & H₂SHistamine intolerance: much searched, little provenHistamineLactose, fructose, gluten: making sense of intolerancesIntoleranceBrain fog and fatigue: when your gut makes your head tiredBrain fog &fatigueIgA: the antibody that keeps the gut clean, and what vitamin A, D and omega-3 have to do with itLow IgAOpportunistic pathogensOpportunistsImmune system and inflammationGut immunityButyrate and other short-chain fatty acidsLow butyrateThe mucus layer and additivesThin mucus layerEating against silent inflammationInflammationSkin and gut: what there is to the gut-skin axisSkin & gutAllergies and intolerances: how the gut learns to tolerate foodAllergiesBiofilms in the gut and “biofilm busters”BiofilmsAutoimmune diseases and the gut: Hashimoto's, vitiligo, type 1 diabetes and moreAutoimmunityCrohn’s disease and ulcerative colitis: understanding inflammatory bowel diseaseCrohn’s & colitis
  • Possible causes
  • This problem
  • Possible consequences

The preview fits the screen width. In the large map you see everything at once.

Move the mouse over a box: its connections are highlighted and everything else steps back.

Tap a box to highlight its connections. Tap it again to open the chapter.

Connections, not certainty: a link means “can”, not “must”. What applies to you is best clarified in a talk with your doctor.

What often helps

Lifestyle

Diet, exercise, sleep, social contact and dealing with stress.

  • Keep a medication list Write down all medications and supplements, including over-the-counter ones (painkillers, laxatives, acid blockers, herbal products), plus the date you started. This helps when talking to your doctor about gut symptoms. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.
  • Place symptoms in time Did bloating, diarrhoea or constipation begin around the time of a new medication, a dose change or a course of antibiotics? Note it in the symptom diary. A timing link is not proof, but a good clue for the conversation. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.
  • With a slowed gut: fluids, movement, fibre If a medication constipates, enough fluid, daily movement and regular toilet visits help, but often only to a degree. If that is not enough, the constipation should be treated medically, not sat out. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.

Natural supplements

Supplements do not replace a medical check-up. Discuss dosage and interactions with your doctor or pharmacist.

  • No self-treatment to compensate There are no proven products that offset the effect of medications on the gut microbiota. Probiotics are only useful in certain situations. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [1]
  • Probiotics only for a purpose During a course of antibiotics, certain probiotics may lower diarrhoea and the risk of C. difficile infection, but the guideline gives only a cautious recommendation for strains tested in studies. For acid blockers, metformin or painkillers no benefit is proven. Details are in the chapter on antibiotics and C. difficile. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [1]

Medical treatments

Information, not a treatment recommendation. Decide together with a doctor. Approval and availability differ from country to country.

  • Have them reviewed regularly With gut symptoms, check together with your doctor whether a medication could be involved and whether there are alternatives. Never stop on your own. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2][3]
  • Acid blockers only as long as necessary They are among the medications with the strongest effect on the gut microbiota. Whether you still need them can be checked regularly; how to stop is described in the chapter on acid blockers. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2][4]
  • Think of the gut when taking opioids There are targeted medications for opioid-induced constipation. Treatment should be planned right from the start, because ordinary laxatives often do not suffice. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.
  • Discuss dose, timing and form Digestive side effects often depend on dose, time of intake and formulation. With metformin, for example, there are extended-release forms, and starting slowly is often better tolerated. Ask whether an adjustment is possible instead of splitting or skipping tablets yourself. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [5]
  • Have the whole list reviewed If you take many medications at once, you can ask a pharmacy or your family doctor for a medication review. It picks up double effects, unfavourable combinations and drugs that are no longer needed. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.

In the mood for something completely different? Another one, at random

How we rate the evidence
Trust score 5 of 5:Established
Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies.
Trust score 4 of 5:Well supported
Several randomised studies in humans with largely consistent results.
Trust score 3 of 5:Promising
Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies.
Trust score 2 of 5:Plausible
Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms.
Trust score 1 of 5:Experimental
Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.

Sources

  1. Su et al. 2020: AGA guideline on probiotics in gastrointestinal disorders (Gastroenterology)
  2. Vich Vila et al. 2020: Common medications and the gut microbiota, three cohorts (Nature Communications)
  3. Maier et al. 2018: One in four non-antibiotic drugs inhibits gut bacteria in the lab (Nature)
  4. Seto et al. 2014: Acid blockers for 28 days reduce microbial diversity (Microbiome)
  5. Forslund et al. 2015: Disentangling type 2 diabetes and metformin signatures in the gut microbiota (Nature)
  6. Piccirelli et al. 2026: Gut microbiota in NSAID enteropathy, review (Pharmaceuticals)
  7. Zhang et al. 2024: Proton pump inhibitors and the oral and gut microbiota, review (Biomedicines)

Your progress

Log in to mark chapters as read, rate them or report them for review. An account is optional and free.

Ratings by readers

No averages yet. They appear once 3 readers have answered a question.

Helpful for me 0 = not at all · 5 = very
How others rate it: not enough ratings yet
Had new information for me 0 = nothing new · 5 = a lot that was new
How others rate it: not enough ratings yet
Easy to understand 0 = very hard · 5 = very easy
How others rate it: not enough ratings yet
Matches my understanding 0 = contradicts it completely · 5 = matches it completely
How others rate it: not enough ratings yet
Correct and up to date 0 = wrong or outdated · 5 = correct and up to date
How others rate it: not enough ratings yet

Log in to rate this chapter. An account is optional and free.

Is something wrong here?

If you think something is wrong, outdated or misleading, report it for review. Every report is read and answered.

Log in to mark chapters as read, rate them or report them for review. An account is optional and free.