Skip to content

Can Antibiotics Make You Feel Weird Mentally? Exploring the Gut-Brain Link

6 min read

According to a study conducted between 1995 and 2013, treatment with a single antibiotic course was associated with a higher risk for depression and anxiety. It is now understood that in some cases, yes, antibiotics can make you feel weird mentally, causing mood and cognitive changes by disrupting the gut-brain axis.

Quick Summary

Antibiotics can cause mental side effects like anxiety, depression, and confusion by disrupting the gut microbiome's balance and affecting the gut-brain axis. Certain classes, particularly fluoroquinolones, have specific warnings regarding psychiatric reactions.

Key Points

  • Gut-Brain Axis Disruption: Antibiotics can disrupt the gut's delicate microbiome balance, affecting the brain-gut axis and impacting mood and cognition.

  • Diverse Mental Symptoms: Side effects range from common mood changes like anxiety and depression to rare, severe effects such as psychosis and delirium.

  • Risks Vary by Antibiotic: Different antibiotic classes carry different mental health risks, with fluoroquinolones and macrolides having specific warnings for psychiatric issues.

  • Talk to Your Doctor: Report any unusual mental or cognitive changes to your doctor immediately. Do not stop your medication suddenly without medical guidance.

  • Symptoms Are Often Temporary: Mental side effects typically subside after finishing the antibiotic course, though recovery time can vary depending on individual factors.

  • Support Your Gut Health: Discuss the use of probiotics with your healthcare provider to help restore beneficial gut bacteria after antibiotic treatment.

In This Article

The Gut-Brain Axis: A Key to Understanding

To understand how antibiotics can affect your mental state, you must first comprehend the gut-brain axis. This is a bidirectional communication system that links the central nervous system (brain) with the enteric nervous system (the nervous system of the gut). A healthy, diverse gut microbiome—the trillions of microorganisms living in your intestines—plays a crucial role in this communication, helping to regulate mood and cognitive function.

When you take antibiotics, their primary function is to kill harmful bacteria, but they are not selective and also eliminate many beneficial bacteria in the gut. This disruption, known as dysbiosis, is a key mechanism through which mental side effects can arise. Alterations in the gut microbiota can affect mental health in several ways:

  • Neurotransmitter production: Gut bacteria help produce essential neurotransmitters like serotonin, which plays a fundamental role in regulating mood and sleep. A decrease in beneficial bacteria can impact serotonin synthesis, contributing to feelings of anxiety and depression.
  • Inflammation: Antibiotic-induced dysbiosis can trigger systemic inflammation. This inflammation can increase the permeability of the gut lining, potentially affecting the integrity of the blood-brain barrier and allowing inflammatory substances to reach the brain, which is linked to cognitive issues.
  • Stress response: The gut microbiome can modulate the body's stress response system, the hypothalamic–pituitary–adrenal (HPA) axis. Disrupting this balance can lead to heightened stress reactivity and emotional vulnerability.

Spectrum of Mental Side Effects

The psychiatric effects of antibiotics can range from mild and temporary to severe and long-lasting, depending on the individual, the antibiotic class, and the duration of treatment.

Mood and Emotional Disturbances

Many patients report feeling emotionally off-kilter while on antibiotics. Symptoms can include anxiety, depression, irritability, panic attacks, and mood swings. Animal studies also indicate a link between antibiotic-induced gut dysbiosis and depression/anxiety-like behaviors.

Cognitive Impairment (Brain Fog)

Brain fog, characterized by mental cloudiness, is a frequent side effect of antibiotic use. It can include difficulty concentrating, memory issues, slower thinking, and confusion. This is believed to be connected to the inflammatory and neurotransmitter changes resulting from gut dysbiosis caused by antibiotics.

Rare but Serious Neurological Effects

Though uncommon, antibiotics can lead to serious neurological and psychiatric reactions like psychosis and delirium. These effects are more often seen with certain antibiotic types and include hallucinations, delusions, acute psychosis, and severe confusion. Regulatory bodies have noted these risks with specific antibiotic classes.

Comparing Antibiotic Classes and Their Mental Side Effects

Antibiotic Class Common Examples Associated Mental Side Effects Sources
Fluoroquinolones Ciprofloxacin, Levofloxacin, Moxifloxacin Agitation, anxiety, depression, confusion, delirium, memory impairment, hallucinations, suicidal ideation
Macrolides Clarithromycin, Azithromycin, Erythromycin Mania, delirium, acute psychosis, hallucinations, anxiety, depression
Penicillins Amoxicillin, Ampicillin Anxiety, depression, psychosis (rare), convulsions
Cephalosporins Cefaclor, Ceftriaxone Anxiety, depression, psychosis (rare)
Tetracyclines Doxycycline Increased odds of psychosis (compared to minocycline)

It is important to note that the occurrence of severe side effects is rare, and many patients experience no mental health issues.

What to Do If You Experience Mental Side Effects

If you believe you are experiencing mental side effects from an antibiotic, consider the following steps:

  • Contact your doctor immediately: Report any unusual or severe mental health symptoms, especially confusion, hallucinations, or strong mood changes, to your healthcare provider. In severe cases, emergency medical attention may be necessary.

  • Do not stop taking the medication abruptly: Unless instructed by your doctor, do not stop your antibiotic course. Abruptly stopping treatment can lead to the return of the infection and contribute to antibiotic resistance. Your doctor can determine if switching to a different medication is appropriate.

  • Communicate with family and friends: Inform those close to you that you are on medication with potential mental health side effects. They may notice subtle changes in your mood or behavior that you are not aware of.

  • Support your gut health: Ask your doctor if you can take a probiotic supplement during or after your antibiotic course to help restore the balance of your gut microbiome. Eating a diet rich in fermented foods (like yogurt and kefir) and fiber can also be beneficial.

How Long Do Mental Side Effects Last?

The duration of mental side effects varies significantly between individuals. In most cases, mild symptoms like brain fog and mood swings begin to subside shortly after the antibiotic course is completed and the gut microbiome starts to recover. This recovery period can range from a few days to several weeks. In rare, more severe cases, effects may take longer to resolve, and ongoing monitoring may be necessary. Factors such as the specific antibiotic, treatment length, individual sensitivity, and baseline gut health all play a role in how long symptoms persist.

Conclusion: Navigating Antibiotic Treatment with Awareness

Antibiotics are powerful, life-saving medications, but their impact extends beyond killing bacteria. Through the complex gut-brain axis, they can influence your mental health and cognitive function, causing feelings of anxiety, depression, brain fog, and, in rare cases, psychosis. Awareness of these potential side effects is crucial for both patients and healthcare providers. If you or a loved one experiences unexplained mental changes during or after a course of antibiotics, communicating promptly with a doctor is the most important step. To learn more about drug safety, you can visit the {Link: FDA website https://www.fda.gov/drugs/drug-safety-and-availability/fda-reinforces-safety-information-about-serious-low-blood-sugar-levels-and-mental-health-side}. By staying informed and prioritizing open communication with your medical team, you can effectively manage your health and navigate the potential mental challenges that antibiotic use can bring.

Citations

NHS. Side effects of ciprofloxacin - NHS. nhs.uk. Retrieved September 25, 2025, from https://www.nhs.uk/medicines/ciprofloxacin/side-effects-of-ciprofloxacin/ NHS. Side effects of metronidazole - NHS. nhs.uk. Retrieved September 25, 2025, from https://www.nhs.uk/medicines/metronidazole/side-effects-of-metronidazole/ FDA. Serious low blood sugar, new mental health effects with ... - FDA. fda.gov. July 10, 2018. Retrieved September 25, 2025, from https://www.fda.gov/drugs/drug-safety-and-availability/fda-reinforces-safety-information-about-serious-low-blood-sugar-levels-and-mental-health-side PMC. Psychosis as an adverse effect of antibiotics - PMC. pmc.ncbi.nlm.nih.gov. September 19, 2020. Retrieved September 25, 2025, from https://pmc.ncbi.nlm.nih.gov/articles/PMC8474525/ PMC. Acute Psychotic Episode Induced by Antimicrobial Treatment. pmc.ncbi.nlm.nih.gov. April 01, 2023. Retrieved September 25, 2025, from https://pmc.ncbi.nlm.nih.gov/articles/PMC10082676/ FDA. Serious low blood sugar, new mental health effects with ... - FDA. fda.gov. July 10, 2018. Retrieved September 25, 2025, from https://www.fda.gov/drugs/drug-safety-and-availability/fda-reinforces-safety-information-about-serious-low-blood-sugar-levels-and-mental-health-side Frontiers. Psychiatric disorders associated with fluoroquinolones. frontiersin.org. October 13, 2024. Retrieved September 25, 2025, from https://www.frontiersin.org/journals/pharmacology/articles/10.3389/fphar.2024.1435923/full GOV.UK. Fluoroquinolone antibiotics: suicidal thoughts and behaviour. gov.uk. September 26, 2023. Retrieved September 25, 2025, from https://www.gov.uk/drug-safety-update/fluoroquinolone-antibiotics-suicidal-thoughts-and-behaviour Frontiers. Antibiotic-induced gut dysbiosis and cognitive, emotional, and ... frontiersin.org. September 01, 2023. Retrieved September 25, 2025, from https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2023.1237177/full PMC. Antibiotics and mental health: The good, the bad and the ugly. pmc.ncbi.nlm.nih.gov. July 12, 2022. Retrieved September 25, 2025, from https://pmc.ncbi.nlm.nih.gov/articles/PMC9796968/ ScienceDirect. Antibiotics-induced depression in mice via the microbiota-gut-brain ... sciencedirect.com. December 01, 2022. Retrieved September 25, 2025, from https://www.sciencedirect.com/science/article/abs/pii/S0165032722009156 Psychology Today. Antibiotics and the Brain: It's Complicated - Psychology Today. psychologytoday.com. May 03, 2023. Retrieved September 25, 2025, from https://www.psychologytoday.com/us/blog/mood-by-microbe/202305/antibiotics-and-the-brain-its-complicated pubmed. Cefaclor causes vagus nerve-mediated depression-like symptoms ... pubmed.ncbi.nlm.nih.gov. September 19, 2023. Retrieved September 25, 2025, from https://pubmed.ncbi.nlm.nih.gov/37726354/ Utah Family Therapy. Understand the effects of Antibiotics on Mental Health. utahfamilytherapy.com. February 17, 2023. Retrieved September 25, 2025, from https://utahfamilytherapy.com/mental-health/effects-of-antibiotics/ Psychiatric Times. Psychiatric Adverse Effects of Antibiotics. psychiatrictimes.com. November 29, 2019. Retrieved September 25, 2025, from https://www.psychiatrictimes.com/view/psychiatric-adverse-effects-antibiotics Healthline. Can Antibiotics Increase the Risk of Depression? - Healthline. healthline.com. February 13, 2025. Retrieved September 25, 2025, from https://www.healthline.com/health/antibiotics-and-depression PMC. Psychosis as an adverse effect of antibiotics - PMC. pmc.ncbi.nlm.nih.gov. September 19, 2020. Retrieved September 25, 2025, from https://pmc.ncbi.nlm.nih.gov/articles/PMC8474525/ Psychology Today. Antibiotics and the Brain: It's Complicated - Psychology Today. psychologytoday.com. May 03, 2023. Retrieved September 25, 2025, from https://www.psychologytoday.com/us/blog/mood-by-microbe/202305/antibiotics-and-the-brain-its-complicated Cymbiotika. Understanding Brain Fog: How Long Does It Last After ... cymbiotika.com. February 12, 2025. Retrieved September 25, 2025, from https://cymbiotika.com/blogs/health-hub/understanding-brain-fog-how-long-does-it-last-after-antibiotics Cymbiotika. Can Antibiotics Cause Brain Fog? Understanding the ... cymbiotika.com. February 12, 2025. Retrieved September 25, 2025, from https://cymbiotika.com/blogs/health-hub/can-antibiotics-cause-brain-fog-understanding-the-connection

Frequently Asked Questions

Fluoroquinolone antibiotics, such as ciprofloxacin and levofloxacin, are most well-documented for their potential psychiatric side effects, including anxiety, depression, and confusion. Other classes like macrolides and cephalosporins have also been linked to mental and cognitive changes.

Brain fog is a non-medical term used to describe a range of cognitive impairments, including difficulty concentrating, memory lapses, and mental fatigue. It is often reported by people taking antibiotics and is believed to be linked to the gut microbiome's disruption and related inflammation.

Yes, some antibiotics can cause or exacerbate anxiety. This is thought to be partly due to the disruption of the gut microbiome, which can alter neurotransmitter levels and the body's stress response.

For most people, mental side effects begin to resolve shortly after stopping the antibiotic, though the recovery time for the gut microbiome can take several weeks. The duration depends on the specific antibiotic, treatment length, and individual health factors.

If you feel depressed or experience any significant mood changes while on an antibiotic, you should contact your doctor immediately. They can assess the situation, determine if the medication is the cause, and decide if a change in treatment is needed.

Probiotics may help restore beneficial gut bacteria after antibiotics, which can help support mood and cognitive function. You should always discuss the use of probiotics with your doctor to determine if they are appropriate for your specific case and timing.

You should not stop taking your prescribed antibiotics without consulting your doctor first. Discontinuing treatment early can lead to incomplete resolution of the infection and can increase antibiotic resistance. Your doctor will advise you on the safest course of action.

References

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14

Medical Disclaimer

This content is for informational purposes only and should not replace professional medical advice.