Antibiotics have transformed modern medicine, saving countless lives by treating bacterial infections that were once considered deadly. But a growing body of research is raising an unexpected question: Could repeated antibiotic use affect mental health?
Large population studies have identified an association between antibiotic exposure and an increased likelihood of developing depression and anxiety.
One widely discussed study found that people who had taken a single course of certain antibiotics had approximately 23–25% higher odds of depression, while those receiving multiple courses showed even stronger associations.
The findings have attracted attention because antibiotics do more than eliminate harmful bacteria. They can also disrupt beneficial microorganisms living in the digestive system.
And those microorganisms may play a surprisingly important role in brain function, emotional regulation, and mental well-being.
However, researchers emphasize an essential distinction: An association does not prove that antibiotics directly cause depression.
Understanding the relationship requires examining the complex communication network between the gut and brain.
The Study That Raised Concerns About Antibiotics and Depression
In November 2015, researchers published a large population-based investigation in The Journal of Clinical Psychiatry examining antibiotic exposure and the likelihood of developing depression, anxiety, or psychosis.
The researchers analyzed medical records collected in the United Kingdom between 1995 and 2013.
The investigation included more than 200,000 individuals diagnosed with depression, along with matched control participants.
Researchers examined whether exposure to several classes of antibiotics was associated with subsequent psychiatric diagnoses.
The findings revealed a notable pattern.
People who had received certain antibiotics were more likely to have a recorded depression diagnosis than those without comparable exposure.
The association became stronger with repeated antibiotic courses.
What Did the Numbers Actually Show?
For penicillin-class antibiotics, the study reported the following associations:
- One course: Approximately 23% higher adjusted odds of depression.
- Two to five courses: Approximately 40% higher adjusted odds.
- More than five courses: Approximately 56% higher adjusted odds.
For quinolone antibiotics, a single course was associated with approximately 25% higher adjusted odds of depression.
These percentages represent relative differences in statistical odds, not the absolute probability that a person will develop depression.
The widely circulated claim that one antibiotic course raises depression risk by exactly 24%, and two courses by 44%, is not a precise summary of the study’s principal findings.
Another important detail is that the researchers examined antibiotic exposures recorded more than one year before the psychiatric diagnosis, rather than establishing that depression develops within 12 months of treatment.
The study identified an association, but it could not determine whether antibiotics themselves caused the increased risk.
Why Would Antibiotics Have Anything to Do With Mental Health?
At first glance, antibiotics and depression may seem unrelated.
Antibiotics target bacterial infections, while depression involves complex changes in mood, motivation, cognition, and emotional well-being.
However, scientists increasingly recognize that the digestive system and brain communicate through several interconnected biological pathways.
This communication network is known as the gut-brain axis.
It involves the nervous system, immune system, hormones, microbial metabolites, and numerous chemical messengers.
The trillions of microorganisms living in the digestive tract form a complex ecosystem known as the gut microbiome.
These microorganisms participate in digestion, help process dietary compounds, interact with immune cells, and produce substances that can influence physiological processes throughout the body.
When antibiotics disrupt this ecosystem, researchers believe some of these functions may temporarily change.
The important question is whether those changes can contribute to mental health problems in susceptible individuals.
How Antibiotics Can Change the Gut Microbiome
Antibiotics work by killing bacteria or preventing them from multiplying.
However, many antibiotics cannot distinguish perfectly between harmful bacteria responsible for an infection and beneficial bacteria that normally inhabit the digestive system.
As a result, antibiotic treatment can alter the composition and diversity of the gut microbiome.
The extent of these changes depends on several factors, including the antibiotic used, treatment duration, dose, and the individual’s existing microbial ecosystem.
Some bacterial populations may recover relatively quickly after treatment.
Others may take longer to return to their previous levels.
In certain circumstances, measurable changes in microbial composition can persist for months or even longer.
Repeated antibiotic exposure may produce additional disturbances, especially when the gut microbiome has not fully recovered from previous treatment.
This process is sometimes described as microbial dysbiosis, meaning an alteration in the normal microbial community that may affect its functions.
Dysbiosis does not automatically cause illness, but it has become an important topic in research investigating metabolic, inflammatory, and neurological conditions.
The Gut-Brain Connection: Four Possible Explanations
Researchers are exploring several mechanisms that might explain a connection between antibiotic exposure and mental health.
1. Changes in Neurotransmitter-Related Activity
Neurotransmitters are chemical messengers involved in communication between nerve cells.
Serotonin, dopamine, and gamma-aminobutyric acid (GABA) participate in processes related to mood, motivation, stress, and emotional regulation.
Certain intestinal microorganisms can produce neurotransmitters or influence the availability of their precursors.
For example, gut bacteria participate in the metabolism of tryptophan, an amino acid involved in serotonin production.
Although most serotonin produced in the gut does not directly enter the brain, microbial activity may influence signaling pathways connected to neurological function.
Antibiotic-related changes in gut microorganisms could potentially affect some of these pathways.
However, scientists have not established that routine antibiotic use causes depression through changes in serotonin or other neurotransmitters.
2. Inflammation and Immune Signaling
The gut microbiome interacts closely with the immune system.
Certain microorganisms produce substances that influence inflammation and help maintain the intestinal barrier.
When microbial communities change, immune signaling may also change.
Inflammation has attracted considerable attention in depression research because some individuals with depression exhibit elevated inflammatory markers.
Researchers are investigating whether disruptions in gut bacteria could contribute to inflammatory changes that influence the brain.
Nevertheless, depression is a complex condition, and inflammation is only one of many potential contributing factors.
3. The Vagus Nerve
The vagus nerve provides an important communication route between the digestive system and brain.
It carries signals involved in digestion, autonomic regulation, and physiological responses to stress.
Experimental research suggests that gut microorganisms can influence signaling through pathways involving the vagus nerve.
This has led investigators to examine whether antibiotic-related microbial changes might affect communication between the gut and brain.
The mechanism remains under investigation, particularly in humans.
4. Short-Chain Fatty Acids
Beneficial intestinal bacteria help ferment certain dietary fibers, producing compounds known as short-chain fatty acids.
Examples include butyrate, acetate, and propionate.
These compounds support intestinal health and participate in immune and metabolic regulation.
Butyrate, in particular, has been investigated for its potential influence on inflammation and biological processes relevant to brain health.
Antibiotics can affect populations of microorganisms responsible for producing these compounds.
Researchers are studying whether resulting changes in microbial metabolites could contribute to differences in emotional well-being.
Does Taking More Antibiotics Mean a Greater Risk of Depression?
Some observational research suggests a relationship between cumulative antibiotic exposure and depression risk.
The 2015 study found that repeated exposure to certain antibiotic classes was associated with progressively higher odds of depression.
A separate population-based study from South Korea, published in Psychiatry Research in 2024, also identified an association between greater cumulative antibiotic exposure and subsequent depression diagnoses.
Researchers examined antibiotic prescriptions over several years and evaluated later depression incidence.
Longer cumulative antibiotic exposure was associated with greater depression risk in the study population.
These findings reinforce the importance of investigating long-term patterns of antibiotic use.
However, the relationship is not necessarily straightforward.
People who require frequent antibiotics may also experience repeated infections, chronic medical conditions, inflammation, or other health challenges.
Some of these factors can independently influence mental health.
Consequently, repeated antibiotic use may sometimes be a marker of underlying health problems rather than the direct cause of depression.
What Does More Recent Research Reveal?
The scientific evidence remains mixed.
A systematic review published in 2022 examined human studies investigating antibiotic exposure and subsequent depression.
The authors concluded that existing evidence suggested a possible association, but the available studies were generally limited in quality.
More recent investigations have produced differing findings.
A 2024 retrospective analysis reported decreased risks of certain psychiatric disorders among antibiotic-exposed patients after accounting for measured confounding factors.
Meanwhile, research involving nearly 900,000 U.S. veterans, published in 2025, identified an association between antimicrobial exposure and subsequent major depressive disorder.
These differences illustrate why observational findings require careful interpretation.
The type of antibiotic, timing of exposure, underlying infection, patient characteristics, and study design can influence the results.
Current evidence does not establish that antibiotics directly cause depression or that every antibiotic course increases an individual’s depression risk.
More research is necessary to clarify which associations reflect causal effects and which may result from other factors.
Can Antibiotics Affect Mood Shortly After Treatment?
Some people report changes in mood, sleep, concentration, or general well-being during or after antibiotic treatment.
However, these experiences can have several explanations.
The original infection may cause fatigue, disrupted sleep, reduced appetite, inflammation, and emotional stress.
Some medications can also produce neurological or psychiatric adverse effects.
Certain antibiotic classes, including fluoroquinolones, carry recognized warnings about potential central nervous system effects.
These can include agitation, confusion, sleep disturbances, and, in some cases, psychiatric symptoms.
Such effects should not be confused with the broader observational association between antibiotic exposure and depression diagnosed months or years later.
If significant mood changes, severe anxiety, confusion, or unusual neurological symptoms appear during antibiotic treatment, medical evaluation is appropriate.
Should People Avoid Antibiotics Because of Depression Concerns?
No.
Antibiotics remain essential medications and can be lifesaving when used appropriately.
Untreated bacterial infections can lead to serious complications, including organ damage, bloodstream infections, and sepsis.
The findings about mental health do not justify refusing necessary antibiotic treatment.
Instead, they reinforce the importance of responsible antibiotic use.
Antibiotics are ineffective against viral infections such as the common cold and most cases of influenza.
Unnecessary antibiotic prescriptions expose patients to potential side effects without providing meaningful benefits.
They also contribute to antimicrobial resistance, one of the major challenges facing modern healthcare.
The most appropriate approach is to use antibiotics when clinically indicated, following the prescribed regimen and discussing concerns with a qualified healthcare professional.
Five Ways to Support Gut Health During and After Antibiotic Treatment
Although there is no proven dietary strategy that prevents antibiotic-associated depression, several lifestyle practices can support general digestive and mental health.
1. Eat a Variety of Fiber-Rich Foods
Dietary fiber provides substrates that certain beneficial intestinal bacteria use during fermentation.
Foods such as vegetables, fruits, legumes, oats, nuts, and seeds can contribute to a varied dietary pattern.
Increasing fiber gradually may help avoid excessive bloating or digestive discomfort.
2. Include Fermented Foods When Appropriate
Yogurt with live cultures, kefir, sauerkraut, and other traditionally fermented foods may contribute beneficial microorganisms or microbial metabolites to the diet.
However, not every fermented food contains live bacteria, and consuming fermented foods has not been proven to prevent depression after antibiotic treatment.
People with particular medical conditions or dietary restrictions should choose foods appropriate for their needs.
3. Consider Probiotics Carefully
Some probiotics have been studied for their ability to reduce antibiotic-associated diarrhea.
However, the benefits depend on the specific microorganism, dose, and clinical situation.
Probiotics are not universally recommended for everyone taking antibiotics.
They may also be unsuitable for some people with severely weakened immune systems or serious underlying conditions.
Evidence that probiotics prevent antibiotic-associated depression remains insufficient.
4. Prioritize Sleep and Stress Management
Sleep deprivation and chronic stress can influence both digestive and mental well-being.
Maintaining regular sleep habits, engaging in manageable physical activity, and practicing relaxation techniques may support recovery from illness.
These measures can benefit general health regardless of whether antibiotic treatment has affected the microbiome.
5. Avoid Unnecessary Antibiotic Use
One of the most effective ways to limit antibiotic-related risks is to avoid using them when they are not medically indicated.
Never use leftover antibiotics, take medication prescribed for someone else, or pressure a healthcare professional to prescribe antibiotics for a viral illness.
When antibiotics are necessary, follow the prescribed instructions and seek medical advice if side effects occur.
Can the Gut Microbiome Recover After Antibiotics?
The intestinal microbiome is a dynamic ecosystem that changes in response to diet, illness, medications, and other environmental influences.
After antibiotic treatment, many microbial populations begin recovering naturally.
However, the speed and completeness of recovery vary.
Some studies suggest that particular microbial changes can persist long after antibiotics have been discontinued.
This does not mean that everyone develops permanent microbiome damage.
Nor does it mean that lasting microbial changes inevitably produce mental health problems.
Researchers are still learning which changes are clinically important and which represent normal variation.
For most healthy individuals, maintaining a balanced diet and avoiding unnecessary medications are reasonable ways to support overall digestive health.
What If Depression Symptoms Develop After Antibiotics?
Depression can develop for many reasons, including genetic vulnerability, stressful life events, medical illness, hormonal changes, and other biological or psychological factors.
Antibiotic exposure alone cannot explain most cases.
Symptoms worth discussing with a healthcare professional include persistent sadness, loss of interest in previously enjoyable activities, significant sleep changes, reduced energy, difficulty concentrating, or feelings of hopelessness.
A clinician can review medications, recent infections, medical history, and other potential contributing factors.
Effective treatment options for depression include psychotherapy, appropriate medication, and supportive lifestyle interventions.
People should not attempt to treat depression solely by changing their diet, taking probiotics, or discontinuing prescribed medication.
Final Thoughts: Antibiotics, Gut Bacteria, and Mental Health
The possibility that antibiotics could influence mental health through changes in the gut microbiome represents an important area of modern medical research.
Large observational studies have identified associations between antibiotic exposure and depression, with some reporting stronger associations following repeated treatment courses.
The gut-brain axis offers several biologically plausible explanations, including changes in microbial metabolites, immune signaling, and neurological communication.
However, the evidence remains incomplete, and not all studies agree.
There is currently no proof that a single course of antibiotics directly causes depression or that taking two courses produces a predictable increase in an individual’s risk.
The practical lesson is not to fear antibiotics.
It is to recognize that these powerful medications should be used thoughtfully, for the right infections, and only when medically necessary.
As research continues, scientists may develop a clearer understanding of how gut microorganisms influence emotional health and whether protecting the microbiome can help reduce certain medication-related risks.
For now, responsible antibiotic use remains one of the most important ways to protect both individual and public health.
Medical Disclaimer: This article is intended for educational purposes only and does not constitute medical advice. Antibiotics are essential treatments for many bacterial infections. Never stop, avoid, or change prescribed antibiotic treatment without consulting a qualified healthcare professional. Persistent depressive symptoms should be evaluated by a medical or mental health professional.
