Common Medications Alter Gut Microbiome for Years After Stopping

Common medications can rewire the gut microbiome, leaving lasting changes in digestive bacteria for years after patients stop taking them, according to a study.

Researchers from the University of Tartu Institute of Genomics examined stool samples and prescription histories from over 2,500 participants in the Estonian Biobank’s Estonian Microbiome cohort. They found that most studied medications linked to gut bacteria shifts, with a substantial number leaving microbial fingerprints long after use ended.

Antidepressants, beta-blockers, proton pump inhibitors, and benzodiazepines all showed persistent links to gut microbiome differences. Beta-blockers treat high blood pressure, proton pump inhibitors reduce stomach acid, benzodiazepines manage anxiety, and antidepressants help treat depression.

“Most microbiome studies only consider current medications, but our results show that past drug use can be just as important as it is a surprisingly strong factor in explaining individual microbiome differences,” said Dr. Oliver Aasmets, lead author.

Benzodiazepines showed gut microbiome changes comparable to broad-spectrum antibiotics, which alter digestive microbial communities. The team also discovered that medications within the same drug class did not produce identical effects, noting differences between diazepam and alprazolam.

By collecting additional stool samples from a smaller participant group, researchers tracked predictable bacterial shifts as individuals started or stopped medications. These follow-up samples verified lasting effects from proton pump inhibitors, selective serotonin reuptake inhibitors, and specific antibiotics including penicillins and macrolides.

“This is a comprehensive systematic evaluation of long-term medication effects on the microbiome using real-world medical health records,” said Professor Elin Org, corresponding author. “We hope this encourages researchers and clinicians to factor in medication history when interpreting microbiome data.”