Can Antibiotics Make You Emotional or Depressed?

Yes, antibiotics can affect your mood and emotions. Some people experience anxiety, irritability, confusion, or even depressive feelings while taking antibiotics. These effects stem from two main pathways: certain antibiotics act directly on the nervous system, while others disrupt the gut bacteria that help regulate brain chemistry. The emotional impact ranges from mild and barely noticeable to, in rare cases, severe psychiatric episodes.

How Gut Bacteria Shape Your Mood

Your gut is home to trillions of bacteria that play a surprisingly active role in brain function. Many of these microbes produce the same chemical messengers your brain uses to regulate mood. Lactobacillus and Bifidobacterium species produce GABA, the brain’s main calming chemical. Other gut bacteria produce serotonin, dopamine, and norepinephrine. While these molecules don’t travel directly from the gut into the brain, they influence brain activity by signaling through the network of nerves lining the digestive tract, particularly the vagus nerve, which acts as a direct communication line between the gut and the brain.

Gut bacteria also produce tryptophan, the raw material your brain needs to make serotonin. Your brain can’t store much tryptophan on its own, so it depends on a steady supply from the gut and from food. Bifidobacteria in particular help boost blood levels of tryptophan, which the brain then converts into serotonin. When antibiotics wipe out these bacterial populations, serotonin production can drop. Animal studies confirm this: germ-free animals and those treated with broad-spectrum antibiotics show significant changes in brain serotonin activity.

Antibiotics that hit lactobacilli especially hard reduce GABA production in the gut. Since GABA is responsible for keeping anxiety in check, losing those bacteria can leave you feeling more on edge than usual. This is why broad-spectrum antibiotics, which kill a wide range of bacteria indiscriminately, tend to cause more noticeable emotional side effects than narrow-spectrum ones.

Which Antibiotics Carry the Highest Risk

Not all antibiotics are equally likely to affect your mood. Fluoroquinolones (commonly prescribed for urinary tract and respiratory infections) carry the greatest psychiatric risk. Between 1% and 4.4% of patients taking fluoroquinolones experience neuropsychiatric reactions. These range from mild symptoms like restlessness, confusion, and insomnia to severe outcomes including psychosis, mania, and suicidal depression. The risk was serious enough that the FDA updated its strongest safety warning for all oral and injectable fluoroquinolones in 2016. In an analysis of FDA adverse event reports, psychiatric disorders accounted for nearly 8% of all reported side effects from this drug class.

Macrolides, particularly clarithromycin (often prescribed for sinus and lung infections), are the antibiotics most frequently linked to a phenomenon called “antibiomania,” a rare reaction where someone develops full-blown manic symptoms. This can include extreme mood elevation, hyperactivity, and even hallucinations. These symptoms typically resolve once the antibiotic is stopped.

Penicillin-type antibiotics can trigger a dramatic reaction known as Hoigné’s syndrome, most commonly after intramuscular injection. Within about a minute of the injection, patients experience chest discomfort, intense fear of death, psychomotor agitation, and sometimes auditory or visual hallucinations. While terrifying, this reaction is not an allergic response and resolves on its own.

When Symptoms Start and How Long They Last

The timeline varies depending on the antibiotic class. Fluoroquinolones tend to produce emotional or cognitive symptoms within one to two days of starting the medication, with resolution in two to nine days after stopping. Macrolides like clarithromycin take a bit longer, with symptoms appearing three to ten days after beginning treatment and clearing up within roughly three days of discontinuation. Penicillin-related cognitive effects can show up anywhere from one and a half to seven days into treatment, and they usually resolve within hours to days.

Metronidazole, an antibiotic used for certain gut and pelvic infections, is an outlier. Its neurological effects can take months to develop, though they still resolve within days to weeks after the drug is stopped. This delayed onset makes the connection to the antibiotic harder to recognize.

Direct Effects on the Nervous System

The gut-brain connection explains some of the emotional impact, but certain antibiotics also act directly on the central nervous system. Fluoroquinolones, for instance, can cross the blood-brain barrier and interact with receptors in the brain that regulate excitability and calm. This direct interference is separate from any gut microbiome disruption and explains why psychiatric symptoms from fluoroquinolones can appear so quickly, sometimes within a day or two.

Clarithromycin’s ability to trigger mania also appears to involve direct effects on brain chemistry rather than gut bacteria alone. The fact that manic episodes resolve promptly after stopping the drug supports this: gut microbiome recovery takes weeks, but the emotional symptoms clear in days, suggesting the drug itself was acting on the brain.

What You Can Do About It

If you notice unusual anxiety, irritability, sadness, or mental fogginess after starting an antibiotic, the medication is a reasonable suspect. Track when your symptoms started relative to when you began the antibiotic. This information helps your prescriber decide whether to switch you to a different drug or adjust the course.

Supporting your gut bacteria during and after antibiotic treatment makes biological sense given what we know about the gut-brain connection. Eating fermented foods like yogurt, kefir, kimchi, and sauerkraut helps replenish beneficial bacterial strains. Probiotic supplements containing Lactobacillus and Bifidobacterium strains are the most relevant to mood, since these are the bacteria that produce GABA and support tryptophan levels. Taking probiotics a few hours apart from your antibiotic dose helps ensure the antibiotic doesn’t immediately kill the probiotic bacteria.

For most people, emotional side effects from antibiotics are temporary and resolve once the course is finished. If you experience severe symptoms, such as hallucinations, thoughts of self-harm, or intense panic, don’t wait for the course to end. These reactions warrant immediate medical attention and often a switch to a different antibiotic.