University of Tartu Study: Past Medications Leave Lasting Gut Microbiome Changes
“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 of the study.
A study from the University of Tartu Institute of Genomics analyzed stool samples and prescription records from more than 2,500 participants in the Estonian Biobank’s Estonian Microbiome cohort. Scientists found that many drugs leave detectable microbial “fingerprints” long after usage ends, ScienceDaily reported.
The investigation identified that medications beyond antibiotics influence gut bacteria composition. Commonly used treatments for high blood pressure, such as beta-blockers, as well as proton pump inhibitors for acid reflux, were linked to persistent microbiome changes. Researchers also noted that benzodiazepines, used for anxiety, produced effects on the gut comparable to those seen with broad-spectrum antibiotics.
Other medications identified in the study include antidepressants, specifically selective serotonin reuptake inhibitors, and macrolide antibiotics. The team observed that even within the same drug class, such as benzodiazepines like diazepam and alprazolam, the impact on gut bacteria varied in intensity.

To confirm that these medications were the primary drivers of microbial shifts, the team collected additional stool samples from a smaller subset of participants. By monitoring how the gut environment reacted when individuals initiated or discontinued specific treatments, researchers identified predictable patterns in bacterial composition.
This validation confirms that medications can leave detectable imprints that persist long after consumption ends.
The study shows current scientific methodologies fail to account for medications a patient was not actively taking. ScienceDaily reported that these results point to an important consideration for researchers studying the complex relationship between gut bacteria and disease.
By failing to incorporate past medication history, scientists may incorrectly attribute microbial differences to other external factors or underlying health issues. Acknowledging these historical drug effects is essential for accurately interpreting individual microbiome data in future research.
To confirm that these medications were the drivers of microbial shifts, researchers examined a smaller subset of participants who began or ceased specific treatments. These follow-up samples showed predictable changes in gut bacteria, providing evidence that the drugs directly influence the microbiome rather than merely reflecting existing patient conditions.
The study suggests that ignoring medication history may lead researchers to incorrectly attribute microbiome differences to diseases or other external factors. While the findings establish that these changes are persistent, the authors noted that they do not yet know if these microbial shifts are harmful.
“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.”