Several antibiotics can cause anxiety, and one family of drugs stands out well above the rest. It is an uncommon side effect, but a recognized one that doctors know to look for.1PubMed Central. Antibiotic-induced neuropsychiatric toxicity: epidemiology, mechanisms and management strategies – a narrative literature review The link works on two timescales: a fast effect on the brain while you take certain drugs, and a slower, weaker association with repeated courses over months and years.2PubMed Central. Relationship between antibiotic exposure and subsequent mental health disorders in a primary care health system
The Antibiotics Most Often Linked to Anxiety
Antibiotics with reported anxiety, most common first:
- Fluoroquinolones: ciprofloxacin, levofloxacin and moxifloxacin are the family most often reported for anxiety, insomnia and panic attacks.3PubMed Central. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database
- Clarithromycin: a macrolide often used for chest infections. Anxiety, nervousness, agitation and sleep problems have been reported.4European Annals of Allergy and Clinical Immunology. Psychiatric adverse reaction induced by Clarithromycin
- Metronidazole: often used for dental, gut and vaginal infections. Anxiety and mood changes have been reported.5PubMed Central. Metronidazole-associated mood changes: A case report
- Penicillin-type drugs and cephalosporins: including amoxicillin-clavulanate. Problems are uncommon, but agitation, confusion and, rarely, mania are recognized.1PubMed Central. Antibiotic-induced neuropsychiatric toxicity: epidemiology, mechanisms and management strategies – a narrative literature review
- Cycloserine and isoniazid: used for tuberculosis and known for psychiatric side effects.6PubMed Central. Neuropsychiatric reactions induced by cycloserine in the treatment of multidrug-resistant tuberculosis: what an Indian female patient tells us
- Minocycline: a tetracycline used for acne, with a reported case of feeling detached and unreal.7PubMed Central. Minocycline-induced transient depersonalization: A case report
Not sure which family yours belongs to? The generic name tells you. Fluoroquinolone names usually end in -floxacin, macrolides such as clarithromycin end in -thromycin, and penicillins end in -cillin, while cephalosporins often start with cef-. Your pharmacy label or the leaflet in the box lists the generic name and the side effects.
Fluoroquinolones (the cipro family) stand apart in the size of the signal. In US drug-safety reports, anxiety was the most frequently reported mental-health problem with them, with more than 3,600 reports.3PubMed Central. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database Insomnia, depression and confusion were the next most common.3PubMed Central. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database Panic attacks were reported about five times more often with fluoroquinolones than with other drugs in the same database.3PubMed Central. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database
Being reported is not the same as being common. Safety reports show which problems patients and doctors notice, not how many users get them, and most people on these drugs feel no mental effects at all. A drug on this list means watch for it, not expect it.
When an antibiotic is the cause, the anxiety often feels physical first: a racing heart, inner shakiness, a wired feeling, or being unable to switch off at night, with little to worry about in your thoughts. Ordinary worry usually has a subject, such as your health or your family. Drug-driven anxiety can feel like it has no cause, like too much caffeine. Trouble sleeping is often the first sign and can show up before any fear, so a sudden run of bad nights after starting a pill is worth noting.
Why an Antibiotic Can Make You Anxious
The brain uses a chemical messenger to quiet nerve activity. It is the same system that anti-anxiety medicines like lorazepam boost. Fluoroquinolones can push this messenger off its landing sites on nerve cells,8PubMed Central. Depressive and Other Adverse CNS Effects of Fluoroquinolones so less of the brain’s calming signal gets through and the brain becomes more stimulated.9PubMed Central. Levofloxacin-induced acute anxiety and insomnia Some fluoroquinolones may also switch on the brain’s excitatory signals, adding to the effect.9PubMed Central. Levofloxacin-induced acute anxiety and insomnia The result looks like over-arousal: racing thoughts, restlessness and trouble sleeping.
Other antibiotics act in similar ways. Clarithromycin appears to block the same calming receptors, making nerve cells more excitable.10PubMed Central. Antibiomania: a case report of clarithromycin and amoxicillin-clavulanic acid induced manic episodes separately Penicillin-type drugs may interfere with the calming signal too, partly through the chemical ring their family shares.11PubMed Central. The Blood–Brain Barrier and Pharmacokinetic/Pharmacodynamic Optimization of Antibiotics for the Treatment of Central Nervous System Infections in Adults Metronidazole passes from the blood into the brain, where it can cause nervous-system side effects.5PubMed Central. Metronidazole-associated mood changes: A case report
Illness itself can cause worry and poor sleep, which muddies the picture. Drug-caused anxiety tends to fade once the drug is stopped or finished.
Because the effect comes from the drug reaching the brain, it can begin within hours to days of the first doses rather than building slowly over weeks. Early signs are often restlessness and poor sleep. Fear, irritability or panic-like surges may follow if the drug continues. Some people spot the pattern because symptoms line up with the times of day they take their tablet.
An anxiety disorder usually builds over a long period and has a history behind it. Drug-driven anxiety tends to start abruptly, soon after a new medicine. Someone with no anxiety history who suddenly feels wired during a course has a stronger reason to suspect the drug. If you already have an anxiety disorder, a sudden worsening after starting an antibiotic is still worth reporting, since the drug can add to what you already feel.
Who Is More Likely to Get Anxiety From Antibiotics
People who already have an anxiety, mood or other psychiatric condition are at greater risk.12Psychiatric Times. Psychiatric Adverse Effects of Antibiotics Older age raises the risk too.13PubMed. Antibiotics: neuropsychiatric effects and psychotropic interactions Weak kidneys or liver let the drug build up, since many of these drugs leave the body through the kidneys.1PubMed Central. Antibiotic-induced neuropsychiatric toxicity: epidemiology, mechanisms and management strategies – a narrative literature review Low blood protein levels leave more free drug circulating,11PubMed Central. The Blood–Brain Barrier and Pharmacokinetic/Pharmacodynamic Optimization of Antibiotics for the Treatment of Central Nervous System Infections in Adults and conditions that make the brain’s protective barrier leakier, such as a past stroke, add risk.11PubMed Central. The Blood–Brain Barrier and Pharmacokinetic/Pharmacodynamic Optimization of Antibiotics for the Treatment of Central Nervous System Infections in Adults
When kidneys work more slowly, the same tablet leaves more drug in the body for longer. Prescribers often lower the dose for people with weak kidneys, which is why yours should know about any kidney problem before you start. Older adults often have reduced kidney function without knowing it, which is one reason age shows up as a risk factor.
Treatment matters as well. Higher doses and drugs given into a vein carry more risk than ordinary tablets.13PubMed. Antibiotics: neuropsychiatric effects and psychotropic interactions Those strongest risk factors happen mostly in hospital, while a short tablet course at home carries a lower risk.
Some antibiotics also interact with mental-health and other medicines, including lithium, benzodiazepines, antidepressants, antipsychotics, valproate, carbamazepine and methadone.13PubMed. Antibiotics: neuropsychiatric effects and psychotropic interactions Certain antibiotics can also change how fast the body clears other medicines, which can raise the blood level of a mental-health drug you already take. So tell the prescriber everything you take, especially mental-health medicines. A pharmacist can check your full list, including over-the-counter and herbal products, in a few minutes.
What to Do If You Feel Anxious on an Antibiotic
Contact the prescriber or a pharmacist soon if anxiety or sleeplessness starts after you begin an antibiotic. Don’t stop on your own, because stopping early can let the infection come back or worsen. For many infections, an antibiotic from a different family can be used instead. Ask that the reaction be recorded in your medical notes so the drug is avoided later.
When you call, name the antibiotic, the dose and the day you started. Describe what you feel and when it began, mention any mental-health history and other medicines, and ask directly whether a switch is possible.
If the prescriber’s office is closed, a pharmacist can usually advise the same day, and many areas have a nurse advice line or out-of-hours service. Mild jitteriness or poor sleep is worth a same-day call but usually not an emergency. Don’t wait until the end of the course to mention it, since changing the drug is most useful while you still have doses left.
If the prescriber decides to switch, ask whether to finish your current supply or stop it at once, since that depends on the drug and the infection. Ask too what symptoms should settle and by roughly when, so you know whether the change is working.
Some reactions are urgent. The same drugs can cause hallucinations, confusion, mania and suicidal thoughts in rare cases.3PubMed Central. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database Seek urgent care for any of these, or for seizures, severe agitation or thoughts of self-harm. Metronidazole can also cause unsteady walking, slurred speech and tingling, which need prompt review.14The Journal of Urgent Care Medicine. Recurrent Neuropsychiatric Symptoms in A Patient With Repeated Exposure to Metronidazole: A Case Report
While you wait for advice or finish the last days, cut out caffeine, which adds to the jittery feeling. Avoid alcohol, which is unsafe with metronidazole in particular. Keep a simple wind-down routine to protect sleep, and don’t take leftover sleeping pills or calming drugs without checking for interactions.
How Long Antibiotic Anxiety Lasts
In reported cases, symptoms that began on an antibiotic eased after it was stopped.9PubMed Central. Levofloxacin-induced acute anxiety and insomnia Most of these drugs leave the body within a day or two after the last dose, so many people notice the jittery feeling easing over a few days. Sleep often improves first, with the edgy feeling fading afterward.
The reaction can return if the drug is used again. In one metronidazole case, symptoms came back each time the drug was taken.14The Journal of Urgent Care Medicine. Recurrent Neuropsychiatric Symptoms in A Patient With Repeated Exposure to Metronidazole: A Case Report Make sure it is written in your medical record, and mention it whenever a new prescriber, dentist or hospital gives you an antibiotic, since they may not see your old notes.
Telling the side effect from the infection’s own effects can be hard, because fever and pain cause restlessness on their own. Symptoms that begin after the infection improves point more to the drug. A short daily note helps your doctor judge.
If anxiety is still there more than a couple of weeks after you finish, see a doctor. The illness, poor sleep or life stress may be keeping it going, and persistent anxiety is treatable whatever started it.
Repeated Antibiotic Courses and Long-Term Anxiety
In UK primary-care records, one course of penicillin was linked to about 17% higher odds of later anxiety.15PubMed. Antibiotic exposure and the risk for depression, anxiety, or psychosis: a nested case-control study More than five courses were linked to about 44% higher odds.15PubMed. Antibiotic exposure and the risk for depression, anxiety, or psychosis: a nested case-control study In a US primary-care system, antibiotic users had about a 19% higher risk of later anxiety or depression, a bit more with broad-spectrum drugs.2PubMed Central. Relationship between antibiotic exposure and subsequent mental health disorders in a primary care health system People who need many antibiotics are often sicker, which could explain part of the link. These links are much weaker than the direct effect during a course, and they are no reason to refuse an antibiotic you need.
These studies look back at records and compare people who took antibiotics with people who did not, so they can show a pattern but not prove the drug caused it. People who get frequent infections may be more stressed, sleep worse or have long-term illness, all of which can raise anxiety by themselves. Researchers try to adjust for such differences, but they cannot remove them entirely.
Babies and young children have been studied too. Antibiotics in pregnancy or the first two years were linked to modestly higher rates of childhood anxiety, mood and behavior problems.16PubMed Central. Early exposure to antibiotic drugs and risk for psychiatric disorders: a population-based study Children first given antibiotics before 3 months scored slightly higher on behavior-problem scales at age 4.5.17PubMed Central. Age at first exposure to antibiotics and neurodevelopmental outcomes in childhood
The Gut Bacteria Link and Whether Probiotics Help
Across many rodent studies, antibiotics that upset gut bacteria raised anxiety-like behavior.18PubMed Central. Antibiotic-induced gut dysbiosis and cognitive, emotional, and behavioral changes in rodents: a systematic review and meta-analysis In mice, long-term but not short-term antibiotics caused this, along with lower serotonin and gut inflammation.19PubMed. Long-term antibiotics treatment-induced anxiety-like behavior is associated with disrupted colonic tryptophan metabolism Disturbed gut bacteria can inflame the gut, and that inflammation can reach the brain.20PubMed. Evidence for interplay among antibacterial-induced gut microbiota disturbance, neuro-inflammation, and anxiety in mice Results are not uniform, though: one penicillin study in young mice found less anxiety-like behavior.21PubMed Central. Low-dose penicillin in early life induces long-term changes in murine gut microbiota, brain cytokines and behavior
Probiotics have been tested in animals. In antibiotic-treated mice, two weeks of probiotics reversed anxiety behavior.22PubMed Central. Antibiotics-induced intestinal dysbacteriosis caused behavioral alternations and neuronal activation in different brain regions in mice Lactobacillus strains reduced antibiotic-linked anxiety in rats and mice.23Beneficial Microbes. Lactobacillus fermentum NS9 restores the antibiotic induced physiological and psychological abnormalities in rats No human trials here show that probiotics prevent antibiotic anxiety.
Animal results don’t apply directly to you. Researchers often give far larger or longer antibiotic exposure than a typical course, and rodent anxiety-like behavior is not the same as human anxiety.
If you want to try probiotics, they are generally safe for healthy adults and may help antibiotic diarrhea. Don’t expect them to fix fast fluoroquinolone-type anxiety, which is a direct brain effect. Ask a doctor first if you have a weak immune system, and space doses a few hours from the antibiotic.

