The Drug You Don't Think of as a Drug
Diphenhydramine — the active ingredient in Benadryl, ZzzQuil, Tylenol PM, Advil PM, and dozens of generic allergy and sleep products — is one of the most widely consumed medications in the world. It's available without a prescription, sold at every pharmacy and convenience store, and marketed as safe enough for routine use. What most users don't know is that it's also one of the most potent cognitive impairing drugs available over the counter.
First-generation antihistamines like diphenhydramine cross the blood-brain barrier easily and block two neurotransmitters: histamine (which causes drowsiness — the intended effect) and acetylcholine (which impairs memory, attention, and processing speed — the unintended effect). The anticholinergic action is the problem. Acetylcholine is critical for learning, working memory, attention, and arousal. When it's blocked, cognitive function degrades measurably.
The Acute Cognitive Effects
Multiple controlled studies have demonstrated that a single dose of diphenhydramine (50 mg — one standard dose in most PM products) significantly impairs working memory, psychomotor speed, reasoning, divided attention, and reaction time compared to placebo. A randomized, double-blind trial comparing diphenhydramine to the second-generation antihistamine desloratadine (Clarinex) found that diphenhydramine impaired all measured cognitive domains while desloratadine performed identically to placebo.
A 2003 meta-analysis published in the Journal of Allergy and Clinical Immunology found that diphenhydramine produced significantly worse performance than second-generation antihistamines on measures of attention (effect size 0.31) and memory, with self-reported sedation being the most prominent effect. The cognitive impairment isn't subtle — it's comparable in magnitude to being over the legal blood alcohol limit.
The half-life of diphenhydramine ranges from 4 to 8 hours in adults and longer in older adults. This means that a PM dose taken at bedtime can impair cognitive function well into the following morning. The daytime brain fog that many regular users report isn't a mysterious condition — it's a predictable pharmacological effect of a drug with a long enough half-life to carry its cognitive effects into the next day.
A single dose of diphenhydramine impairs working memory, processing speed, and attention at levels comparable to legal intoxication. And because its half-life extends well past bedtime, the cognitive cost carries into the next morning.
The Long-Term Concern
Beyond acute impairment, there's a more serious concern. A landmark 2015 prospective cohort study published in JAMA Internal Medicine (Gray et al.) followed over 3,400 adults aged 65 and older and found that cumulative use of strong anticholinergic medications — including diphenhydramine — was associated with an increased risk of dementia. Those with the highest cumulative exposure had a 54% increased risk compared to non-users. The relationship was dose-dependent: more use correlated with more risk.
A 2024 study in The Journal of Allergy and Clinical Immunology: In Practice confirmed this pattern specifically for antihistamines, finding that first-generation antihistamines in patients with allergic rhinitis were associated with elevated dementia risk in a dose-dependent manner, while second-generation antihistamines showed no such association.
The causal relationship is still debated. It's possible that people developing early cognitive decline are more likely to use sleep aids (reverse causation), or that the conditions being treated contribute to dementia risk independently. But the consistency of the association across multiple large studies has led the American Geriatrics Society to recommend against diphenhydramine use in older adults through its Beers Criteria — a widely used guide to potentially inappropriate medications for the elderly.
The Second-Generation Alternative
Second-generation antihistamines — loratadine (Claritin), cetirizine (Zyrtec), and fexofenadine (Allegra) — were specifically designed to avoid crossing the blood-brain barrier. They provide equivalent antihistamine efficacy with dramatically lower cognitive impairment. In controlled studies, loratadine and fexofenadine performed identically to placebo on cognitive measures, while cetirizine showed mild sedation at higher doses but far less cognitive impairment than diphenhydramine.
For allergy relief, the switch from first- to second-generation antihistamines is straightforward and well-supported by evidence. For sleep, the situation is more complex — diphenhydramine's sedation is precisely why it's used in PM products. But the cognitive cost of that sedation extends well beyond the night, and non-pharmacological sleep interventions (sleep hygiene, cognitive behavioral therapy for insomnia) address the root cause without the cognitive morning-after.
Measuring the Impact
If you regularly use diphenhydramine-containing products, your Sharpness Score can show you the cognitive cost in real numbers. Take your morning score on days when you used a PM product the night before and compare it to mornings after natural sleep. The processing speed difference may be larger than you expect — and seeing it as a concrete number rather than a vague feeling of morning grogginess may motivate the switch to alternatives that don't tax your brain.
The Cumulative Burden
Diphenhydramine's cognitive effects don't exist in isolation. Many people unknowingly accumulate what researchers call "anticholinergic burden" by taking multiple medications that block acetylcholine. Tricyclic antidepressants, some bladder medications, certain antipsychotics, and first-generation antihistamines all contribute to this cumulative load. The Anticholinergic Cognitive Burden (ACB) Scale, developed by Boustani's team at Indiana University, scores medications from 1 (possibly anticholinergic) to 3 (definitely strongly anticholinergic). A person taking three low-scoring medications may experience the same cumulative cognitive effect as someone taking one high-scoring medication.
This cumulative burden is especially concerning for older adults, who are more likely to take multiple medications and whose brains are more sensitive to anticholinergic effects due to age-related decreases in cholinergic neurons, reduced liver metabolism, and increased blood-brain barrier permeability. But the acute cognitive effects of diphenhydramine are not limited to the elderly — controlled studies in healthy young adults show significant impairments on attention, memory, and processing speed tasks after a single standard dose.
The practical message is straightforward: if you're taking diphenhydramine regularly — for allergies, sleep, or as a component of PM pain medications — you're likely paying a cognitive price that extends well beyond the hours you feel drowsy. Your Sharpness Score on mornings after diphenhydramine use versus mornings after natural sleep may reveal the exact magnitude of that cost.
For parents, the cognitive implications extend to children. Diphenhydramine is a common ingredient in children's allergy and cold products, and children's brains are even more sensitive to anticholinergic effects than adults's. A child taking diphenhydramine for allergies before school is going into the classroom with impaired attention, working memory, and processing speed — a pharmacological disadvantage that may manifest as inattention, slow processing, and poor recall — symptoms that might look like a learning disability or ADHD to teachers who don't know the child took medication. Pediatricians increasingly recommend second-generation antihistamines for children precisely because of this cognitive concern. A child's developing brain shouldn't be pharmacologically handicapped during the hours when it needs to learn most. For adults, the principle is the same: cognitive impairment that may look like or learning difficulty to teachers who don't know the child took medication that morning.
The irony of diphenhydramine is that it's often taken to improve sleep quality, but the cognitive impairment it produces the next morning may cancel out any benefit the sleep provided. If your goal is to wake up sharp, the drug designed to make you drowsy is working against you — and your Sharpness Score will show exactly how much.
The solution isn't to suffer through allergies or insomnia. It's to choose medications that treat the symptom without taxing the brain. Second-generation antihistamines handle allergies without crossing the blood-brain barrier. CBT-I and sleep hygiene address insomnia without pharmacological cognitive costs. The over-the-counter aisle offers both effective and ineffective options — knowing which is which is the difference between waking up sharp and waking up in a fog you didn't need to be in.
Measure your own cognitive sharpness.
MentalMather gives you a daily Sharpness Score based on your speed, accuracy, and personal baseline.
Download Free →