Our gut microbiome is made up of trillions of bacteria and other microbes living in our intestines. These help our bodies break down food, assist our immune system, send chemical signals to our brain, and potentially serve many other functions that researchers are still working to understand. When the microbiome is out of balance - with not enough helpful bacteria or the wrong combination of microbes - it can affect our whole body.
Many researchers have become aware that antibiotics can disrupt the gut microbiome, but less well appreciated is that other medications can also reshape this microbial community. In a paper published Nov. 17 in Cell Press, researchers at Stanford have studied how many common medications impact the trillions of microbes in the gut, with potentially far-reaching consequences across metabolism, immune system response, and overall health. The study shows that many of the changes to the gut microbiome are driven by competition for nutrients - medications reduce certain bacterial populations and change the availability of nutrients, and the bacteria most able to capitalize on those changes are the ones to survive.
"This work reveals that drug-induced microbiome disruption follows predictable ecological rules, which opens the door to anticipating and even preventing side effects on gut health," said KC Huang, Lera II Professor and professor of microbiology and immunology at Stanford in the Schools of Engineering and Medicine and senior author on the paper. "It has implications for drug design, personalized medicine, and microbiome resilience."
The fight for nutrients
The bacteria in our poop are a reasonable representation of what's living in our digestive system. To understand how different drugs can impact the gut microbiome, the Stanford team cultured microbial communities from nine donor fecal samples and systematically tested them with 707 different clinically relevant drugs.
Led by postdoctoral researcher Handuo Shi, the researchers examined changes in the growth of different bacterial species, the community composition, and the metabolome - the mix of small molecules called metabolites that microbes produce and consume. They found that 141 drugs altered the microbiome of the samples and even short-term treatments created enduring changes, entirely wiping out some microbial species. The primary force behind how the community responds to drug inhibition was competition over nutrients.

In the gut, microbes coexist and compete for nutrients. This illustration uses a tug-of-war metaphor to highlight a central finding of the study: interactions between nutrient competition and drug treatment shape how the gut microbiome responds as a community. Understanding this interplay can help researchers better anticipate how microbial communities reorganize following perturbations. | Illustration by Handuo Shi
"The winners and losers among our gut bacteria can often be predicted by understanding how sensitive they are to the medications and how they compete for food," said Shi, who is the first author on the paper. "In other words, drugs don't just kill bacteria; they also reshuffle the 'buffet' in our gut, and that reshuffling shapes which bacteria win."
Despite the complexity of the bacterial communities, the researchers were able to create data-driven computer models that accurately predicted how they would respond to a particular drug. They factored in the sensitivity of different bacterial species to that drug and the competitive landscape - essentially, who was competing with whom for which nutrients.
Their work provides a framework for predicting how a person's microbial community might change with a given drug, and could help scientists find ways to prevent these changes or more easily restore a healthy gut microbiome in the future.
"Our study pushes a shift from thinking of drugs as acting on a single microbe to thinking of them as acting on an ecosystem," Shi said. "If we can understand and model the ecosystem response, we could one day choose drugs and accompanying diets or probiotics not only based on how well they treat a disease, but also on how they preserve or promote a healthy microbiome."
Building a gut-healthy future
The researchers hope that this new understanding of the forces shaping our gut microbiome can help design gut-healthy diets, probiotics, and drug combinations that are easier on our microbial partners. They are expanding their current work beyond small-molecule drugs, running similar tests with traditional herbal medicines that have been used by some communities for thousands of years.
"I think traditional herbal medicine is a really interesting, untapped and potentially clinical resource, but in order to make use of it, we need to understand what's really going on," Huang said. "Some of them are having huge effects on the microbiome."
Huang is hoping to get a closer look at microbiome changes as they're happening, using an ingestible technology to take samples directly from the small intestine. He is also using this framework with colleagues at Stanford's Center for Human Microbiome Studies to investigate the impacts from many other factors, like diet, water, exercise, and other xenobiotics on the gut microbiome.
"Understanding how microbes are competing for food ends up telling a really large part of this collateral damage story," Huang said. "It enables us to predict who is going to live, who is going to die, and makes the ensuing chaos seem really intuitive. I think that's what we're most excited about."