Antibiotics can temporarily worsen cognitive symptoms in people with dementia, but they do not appear to accelerate the underlying disease itself. The distinction matters: certain antibiotics cause reversible confusion, delirium, or encephalopathy that can look like a sudden decline in dementia, yet these effects typically resolve once the medication is stopped. A large study tracking over 13,500 healthy older adults for nearly five years found no association between antibiotic use and increased dementia risk, even with repeated or long-term courses.
That said, the temporary cognitive effects can be significant and frightening, especially if no one recognizes the antibiotic as the cause. Here’s what you need to know about why it happens, which antibiotics carry the most risk, and what makes some people more vulnerable.
How Antibiotics Affect the Brain
Nearly every class of antibiotic can cause cognitive side effects. The most commonly reported symptoms include confusion, delirium, poor memory recall, reduced concentration, psychomotor slowing (thinking and moving more slowly than usual), and disorientation. In medical literature, this collection of symptoms is often called antibiotic-associated encephalopathy, a broad term for drug-induced changes in brain function.
Different antibiotics produce slightly different patterns. Penicillins tend to cause disorientation and confusion. Cephalosporins (a related family) can cause confusion and difficulty producing or understanding speech. Fluoroquinolones, such as ciprofloxacin and levofloxacin, are linked to altered mental status, impaired memory, and even psychotic features like hallucinations. Macrolides can trigger delirium and impaired concentration. Metronidazole, commonly prescribed for certain gut infections, can cause confusion, disorientation to time and place, and slowed responses.
For someone already living with dementia, these symptoms layer on top of existing cognitive impairment. The result can look like a dramatic, sudden worsening, as if the person has dropped to a new baseline overnight. In many cases, that apparent decline is the drug talking, not the disease progressing.
Which Antibiotics Carry the Highest Risk
Fluoroquinolones stand out as particularly concerning for brain-related side effects. In a study of 631 hospitalized veterans receiving these drugs for at least 48 hours, 3.7% developed psychosis or delirium. Elderly patients face higher odds of these neuropsychiatric events. The mechanism involves interference with a key calming signal in the brain (GABA) while simultaneously activating an excitatory one (NMDA receptors), essentially tipping the brain toward overstimulation.
Cefepime, a cephalosporin commonly used in hospitals for serious infections, is another high-risk antibiotic. Up to 15% of ICU patients treated with cefepime experience neurotoxic effects, which can range from altered consciousness to seizures and even coma. These effects typically begin within days of starting the drug. The patients most commonly affected are elderly, have kidney problems, and are critically ill.
Why Kidney Function Is the Biggest Risk Factor
The kidneys clear most antibiotics from the body. When kidney function declines, as it commonly does with aging, antibiotics linger in the bloodstream at higher concentrations and have more opportunity to cross into the brain. This is the single strongest predictor of antibiotic-related cognitive side effects.
The numbers are striking. In one systematic review, 87% of patients who developed neurotoxicity from cefepime had underlying kidney dysfunction. A separate monitoring study found that 23% of cefepime-treated patients with reduced kidney function experienced neurotoxic effects. The drug’s half-life, normally about 2 hours, extends to 13 to 20 hours in people with severe kidney impairment. That means the drug stays in the system roughly seven to ten times longer than it should, steadily building to toxic levels.
Kidney function naturally declines with age, and many people with dementia are in age groups where mild to moderate kidney impairment is common but may not be obvious. This makes dose adjustments critical whenever an older adult needs these medications.
The Infection Itself Can Cause Confusion Too
One of the trickiest aspects of this situation is that infections, particularly urinary tract infections and pneumonia, independently cause delirium and confusion in older adults and people with dementia. So when someone starts an antibiotic and their cognition worsens, there are two possible explanations: the infection is causing the confusion, or the antibiotic is, or both.
Distinguishing between these causes is genuinely difficult. As researchers have noted, changes in mental status during antibiotic treatment are easily attributed to the infection itself, the underlying metabolic state, or the dementia, rather than to the drug. This means antibiotic-induced cognitive side effects are likely underreported, especially in elderly populations where some degree of confusion may already be expected. The timing of symptoms can offer a clue: if confusion worsens or newly appears days after the infection should be improving, the antibiotic itself deserves scrutiny.
The Gut Microbiome Connection
Beyond their direct effects on the brain, antibiotics may influence cognition through a less obvious route: the gut. Antibiotics reduce the diversity and richness of gut bacteria, killing beneficial species alongside harmful ones. This disruption, known as dysbiosis, changes the production of short-chain fatty acids and other microbial metabolites that play a role in communication between the gut and the brain.
Research suggests that gut dysbiosis increases intestinal permeability (sometimes called “leaky gut”), which allows inflammatory compounds to enter the bloodstream and potentially reach the brain. The gut microbiome also helps maintain the blood-brain barrier, the protective layer that keeps harmful substances out of brain tissue. When gut bacteria are disrupted, this barrier may become more permeable as well. Animal and observational studies have linked antibiotic-induced dysbiosis to increased neuroinflammation, and some researchers believe this inflammation may contribute to the progression of Alzheimer’s disease, though this area of research is still developing.
Long-Term Risk Appears Low
Despite the temporary cognitive effects and the theoretical concerns about gut health, the best available evidence on long-term outcomes is reassuring. A study published in 2024 followed over 13,500 initially healthy older adults (average age 75) for a median of 4.7 years. Compared to people who never used antibiotics, those who did showed no increased risk of dementia, no increased risk of mild cognitive impairment, and no faster decline on cognitive test scores. This held true regardless of how many antibiotic courses someone took, how long they used antibiotics, or which class of antibiotic they received, including beta-lactams, tetracyclines, and sulfonamides.
This suggests that while antibiotics can cause acute, sometimes dramatic cognitive disruption, they are not permanently damaging the brain or speeding up dementia in most people. The key word is “acute.” The confusion, delirium, or encephalopathy that antibiotics trigger is generally reversible once the drug is stopped or switched.
What to Watch For
If you’re caring for someone with dementia who needs antibiotics, pay close attention to their cognitive state in the first few days after starting treatment. New or worsening confusion, sudden difficulty speaking, unusual drowsiness, agitation, or hallucinations are all potential signs of an antibiotic-related reaction rather than disease progression. These symptoms are most likely to appear with fluoroquinolones, cefepime, and metronidazole, and in people with reduced kidney function.
The timing pattern can help: antibiotic-associated encephalopathy typically begins within days of starting the drug and improves within days of stopping it. A sudden cognitive drop that lines up with a new prescription is worth raising with the prescribing doctor, who may be able to switch to a different antibiotic with a lower neurological risk profile. In many cases, the symptoms resolve completely, and the person returns to their previous cognitive baseline.

