What Antibiotics Are Known to Cause Insomnia?

Fluoroquinolones are the antibiotic class most consistently linked to insomnia, with thousands of adverse-event reports in FDA databases and a pharmacovigilance signal roughly double what you’d expect by chance. But they are not the only ones. Cycloserine, certain macrolides, some beta-lactams, and linezolid have all been tied to sleep disruption through different biological pathways. The connection is more common than most patients realize and more complicated than a single mechanism can explain.

Fluoroquinolones and the Strongest Signal

If you’ve taken ciprofloxacin, levofloxacin, or moxifloxacin and found yourself staring at the ceiling all night, you’re far from alone. A large pharmacovigilance analysis of the FDA’s adverse event reporting system found that insomnia was among the most frequently reported psychiatric side effects of fluoroquinolones, with 3,489 reports and a reporting odds ratio of 2.22, meaning it appeared at more than twice the expected rate compared to other drugs in the database.1Frontiers in Pharmacology. Psychiatric disorders associated with fluoroquinolones: a pharmacovigilance analysis of the FDA adverse event reporting system database Anxiety, depression, confusion, and hallucinations also clustered around these drugs, but insomnia was right near the top of the list.

The problem isn’t limited to older adults, either. A case series documented acute anxiety and insomnia in young adults taking levofloxacin, and in each case the symptoms disappeared promptly once the drug was stopped.2PubMed Central. Levofloxacin-induced acute anxiety and insomnia That rapid resolution is a strong clue that the drug itself was the culprit, not the underlying infection. In 2016, the FDA issued a safety warning about fluoroquinolones, specifically calling out mental health effects including insomnia, anxiety, psychotic symptoms, and depression.3PubMed Central. Depressive and Other Adverse CNS Effects of Fluoroquinolones

Why Fluoroquinolones Affect the Brain

GABA is the brain’s main calming neurotransmitter. It helps dial down neural activity, and it plays a central role in the transition from wakefulness to sleep. Fluoroquinolones appear to interfere with the receptor complex that GABA uses. In lab experiments, various fluoroquinolones blocked the binding of a well-known benzodiazepine to rat brain membranes in a dose-dependent way, and researchers concluded that the stimulatory effects these drugs cause in patients could be partly explained by this interference with the GABA receptor system.4PubMed Central. Possible interaction of fluoroquinolones with the benzodiazepine-GABAA-receptor complex In plain terms, fluoroquinolones partially block the same receptor site that anti-anxiety and sleep medications like benzodiazepines use to produce calm and drowsiness. The result can be a stimulant-like effect: heightened alertness, restlessness, and difficulty falling or staying asleep.

There’s also evidence that a second mechanism contributes. Ciprofloxacin, for example, has been linked not just to GABA inhibition but also to overactivation of NMDA receptors, which are excitatory. When anti-inflammatory drugs like NSAIDs are taken at the same time, this neurotoxicity can be amplified.5Bangabandhu Sheikh Mujib Medical University Journal. Synergistic neurotoxicity of ciprofloxacin and nimesulide in unmasking a hidden catalyst for seizures: A case report That matters practically, because people who are sick enough to need an antibiotic are often also reaching for ibuprofen or naproxen to manage fever and pain, potentially compounding the neurological effects without realizing it.

Cycloserine and Tuberculosis Treatment

Cycloserine is an antibiotic used to treat drug-resistant tuberculosis, and it sits in a different league when it comes to psychiatric side effects. In a systematic review of case reports of cycloserine-induced psychosis, insomnia appeared in roughly 59% of cases, alongside aggressiveness, hallucinations, and disorganized speech.6The Egyptian Journal of Neurology, Psychiatry and Neurosurgery. Cycloserine-induced psychosis in patients with drug-resistant tuberculosis: a systematic review of case reports The insomnia here tends to be part of a broader constellation of neuropsychiatric disturbance rather than a standalone symptom.

Managing drug-resistant TB is already difficult because treatment lasts many months and involves multiple drugs with overlapping side effects. Case reports describe patients developing insomnia and psychotic symptoms while on cycloserine, with the adverse effects attributed specifically to the drug.7PubMed Central. Cycloserine-Induced Insomnia and Psychosis in Multidrug-Resistant Pulmonary Tuberculosis – A Case Report For patients being treated for TB, the insomnia can be a warning sign that more serious psychiatric effects are developing. If sleep disruption begins shortly after starting cycloserine, it’s worth raising with your treating physician rather than waiting to see if it resolves on its own.

Macrolides, Beta-Lactams, and Other Classes

Fluoroquinolones and cycloserine get the most attention, but they aren’t the only antibiotics that can keep you awake. Several other classes have been associated with brain effects through GABA antagonism, including beta-lactams (the class that includes penicillins and cephalosporins) and the macrolide clarithromycin.8PubMed. Neuropsychiatric Effects of Antimicrobial Agents High-dose intravenous beta-lactams, particularly in hospitalized patients with kidney problems, are the versions most likely to cause noticeable CNS stimulation. The garden-variety course of oral amoxicillin for a sinus infection is far less likely to disrupt your sleep.

Clarithromycin deserves a specific mention because it’s commonly prescribed as part of the standard “triple therapy” for Helicobacter pylori stomach infections. A review of neuropsychiatric symptoms during H. pylori treatment noted that while antibiotics in the regimen have been linked to such symptoms, it is genuinely hard to tell whether the drug or the acute infection is the real cause.9Journal of Psychiatric Practice. Acute Neuropsychiatric Symptoms Associated With Antibiotic Treatment of Helicobacter Pylori Infections: A Review Being ill disrupts sleep on its own, and untangling the medication’s role from the infection’s role is one of the harder puzzles in this field.

Linezolid and the Serotonin Connection

Linezolid, an antibiotic used for serious resistant infections like MRSA, operates through a completely different mechanism. It weakly inhibits monoamine oxidase, which means it can boost levels of serotonin in the brain. By itself, this rarely causes problems. But if you’re already taking a serotonergic medication, such as an SSRI antidepressant, the combination can push serotonin levels high enough to cause serotonin toxicity. A systematic review found that the incidence of serotonin toxicity was much higher when linezolid was combined with a serotonergic drug compared to linezolid alone. The good news is that in all cases where both agents were stopped at the first signs of toxicity, the symptoms resolved, with three-quarters of patients recovering within 24 to 48 hours.10SpringerLink. Linezolid-associated serotonin toxicity: a systematic review

Serotonin toxicity can produce agitation, restlessness, and insomnia as part of its symptom picture. If you’re prescribed linezolid while already on an antidepressant, your doctor should be aware of the interaction. In many cases, the serotonergic drug can be temporarily paused or the linezolid course can be managed more carefully, but the combination shouldn’t happen by accident.

The Gut Microbiome Angle

There’s a newer and less obvious explanation for antibiotic-related insomnia that doesn’t involve the drug directly stimulating the brain at all. Antibiotics kill bacteria indiscriminately, and prolonged courses can substantially alter the composition of gut bacteria. That community of microbes produces short-chain fatty acids and contributes to the synthesis of neurotransmitters like serotonin and GABA. When the microbial balance shifts dramatically, those chemical signals can be disrupted too.

A case report documented chronic insomnia following prolonged antibiotic exposure, tracing the problem to antibiotic-induced gut dysbiosis. The proposed mechanism involved disruption of microbial metabolites and neurotransmitter pathways that help regulate circadian rhythm.11PubMed Central. Beyond the Gut: A Case Report of Antibiotic-Induced Dysbiosis as a Hidden Cause of Chronic Insomnia This kind of insomnia can persist well beyond the antibiotic course itself, which makes it harder to connect to the drug. If your sleep trouble began during or shortly after a long course of antibiotics and hasn’t resolved weeks later, the gut microbiome is worth discussing with your doctor, even if the drug is long out of your system.

Who Is Most Vulnerable

Not everyone taking a fluoroquinolone or any other antibiotic on this list will have trouble sleeping. Several factors raise the risk. A review of antibiotic-associated neurotoxicity identified prior CNS disease, kidney insufficiency, and advanced age as factors that make patients particularly vulnerable.12PubMed Central. Neurotoxic effects associated with antibiotic use: management considerations The kidney connection makes sense: many antibiotics are cleared by the kidneys, and when renal function is reduced, the drug sticks around longer at higher concentrations. Higher blood levels mean more of the drug crosses into the brain.

How much of a drug gets into the brain depends on several pharmacokinetic factors, including the drug’s molecular size, its fat solubility, how tightly it binds to proteins in the blood, and whether the blood-brain barrier is compromised. Meningeal inflammation, for instance, opens up the barrier and lets more drug through than usual.13PubMed Central. Penetration of drugs through the blood-cerebrospinal fluid/blood-brain barrier for treatment of central nervous system infections Fluoroquinolones are fairly lipophilic, meaning they cross into brain tissue relatively easily even under normal circumstances. That ease of access is part of what makes them useful against CNS infections, but it’s also why their neuropsychiatric side-effect profile is broader than that of many other antibiotic classes.

People with a history of anxiety, insomnia, or other psychiatric conditions may also be at higher risk of noticing these effects, though the evidence for that is more anecdotal. If you already have fragile sleep, a drug that nudges your brain chemistry in a stimulatory direction may push you past a threshold that a healthy sleeper wouldn’t notice.

Telling the Drug Apart from the Infection

This is the hardest part. Infections themselves cause poor sleep. Fever disrupts normal sleep architecture. Pain keeps you awake. The inflammatory response to an infection can produce its own neuropsychiatric symptoms, including confusion, anxiety, and insomnia. When you’re taking an antibiotic for an active infection, both the bug and the drug are working on your brain simultaneously. As one review noted, disentangling the effects of antibiotics from the effects of acute infections that may themselves precipitate neuropsychiatric symptoms is genuinely difficult.9Journal of Psychiatric Practice. Acute Neuropsychiatric Symptoms Associated With Antibiotic Treatment of Helicobacter Pylori Infections: A Review

There are a few practical clues. If your insomnia appeared after the acute infection was already improving but while the antibiotic course was still running, the drug is more suspect. If it appeared right at the start of illness when you were at your sickest, the infection deserves more blame. And if the insomnia resolves within a day or two of finishing the antibiotic, that’s fairly strong circumstantial evidence. Researchers have consistently noted that rapid resolution after drug discontinuation is one of the hallmarks of antibiotic-induced neuropsychiatric effects.2PubMed Central. Levofloxacin-induced acute anxiety and insomnia

What to Do If You Suspect Your Antibiotic Is Causing Insomnia

First, don’t stop the antibiotic on your own. Incomplete courses can lead to resistant infections, and the risk of insomnia needs to be weighed against the risk of an undertreated infection. What you should do is contact your prescribing doctor and describe the timing of symptoms. In many cases, an alternative antibiotic from a different class can be substituted. If the insomnia is mild and the course is short, your doctor may recommend finishing the treatment with supportive measures for sleep.

Avoid stacking CNS-active substances while on a fluoroquinolone. As noted earlier, NSAIDs can amplify the neurotoxic effects of ciprofloxacin. Caffeine, which is itself a CNS stimulant, may make things worse, though that specific combination has less formal study behind it. If you’re on a serotonergic medication and your doctor prescribes linezolid, make absolutely certain both prescribers know about the other drug.

For insomnia that persists after the antibiotic course ends, the gut microbiome pathway is worth considering. Probiotic supplementation has been explored in this context, though the evidence is still early. The more important step is recognizing that the antibiotic could be the origin of the problem so that you and your doctor don’t chase other diagnoses unnecessarily.

Even Topical Routes Can Cause It

One of the more surprising findings in recent literature is that you don’t necessarily need to swallow or receive an intravenous dose of a fluoroquinolone to develop insomnia from it. A case report described a toddler who developed insomnia and symptoms of severe psychosis after moxifloxacin eye drops were used off-label for nasal administration. The symptoms resolved completely after the drops were discontinued.14PubMed. Moxifloxacin-induced insomnia with psychotic episodes in a toddler: a case report The nasal mucosa is highly vascular and absorbs drugs efficiently, so a topical formulation applied there can reach systemic levels. In a small child with lower body weight, even a small absorbed dose represents a proportionally higher exposure.

This case is a reminder that the route of administration matters. Standard moxifloxacin eye drops applied to the eye surface for conjunctivitis produce minimal systemic absorption. But alternative routes, especially in pediatric patients, can change the pharmacokinetic picture dramatically. If your child develops unusual irritability, sleep problems, or behavioral changes after starting any antibiotic, even one given as drops or applied topically, the medication should be on the list of possible causes.