That cloudy, sluggish feeling where you can’t concentrate, forget words mid-sentence, or feel like your brain is wading through mud is commonly called brain fog. It’s not a medical diagnosis on its own but a symptom with a surprisingly wide range of causes, from something as simple as poor sleep to medication side effects you’d never suspect. Understanding what’s behind it is the first step toward clearing it.
Sleep and Stress: The Most Common Culprits
Before looking for complex explanations, start with the basics. Sleep deprivation is the single most common reason people feel mentally foggy. Even one night of poor sleep reduces your ability to focus and recall information, and chronic sleep debt compounds the problem. Your brain clears metabolic waste during deep sleep, and when that process gets cut short night after night, the buildup directly affects how sharp you feel during the day.
Chronic stress works through a different mechanism but produces the same foggy result. When your body stays in a prolonged stress response, elevated cortisol impairs the parts of the brain responsible for working memory and attention. If you’ve been under sustained pressure at work, dealing with a major life change, or running on anxiety for weeks, that alone can explain why your thinking feels slow and scattered. Depression and anxiety disorders produce similar cognitive symptoms, often described as feeling “detached” or mentally blank.
Medications That Cloud Your Thinking
Some of the most common over-the-counter medications can directly impair cognition, and many people take them without realizing the trade-off. The mechanism involves blocking a chemical messenger in the brain called acetylcholine, which plays a central role in memory and attention. Pharmacologists call this “anticholinergic burden,” and it adds up when you take multiple offending drugs at once.
The worst offenders, all available without a prescription, include:
- Diphenhydramine (Benadryl, many “PM” sleep aids)
- Doxylamine (Unisom)
- Chlorpheniramine (Chlor-Trimeton)
- Dimenhydrinate (Dramamine)
- Meclizine (Antivert)
Each one of these carries a high anticholinergic rating, and research from Indiana University’s Center for Aging Research found that each definite anticholinergic medication may increase the risk of cognitive impairment by 46% over six years. Even milder antihistamines like cetirizine (Zyrtec) and loratadine (Claritin) have some anticholinergic activity, though far less. If you take a “PM” version of any pain reliever, you’re almost certainly getting diphenhydramine. Check your medicine cabinet: the answer to your brain fog might be sitting on the shelf.
Nutritional Gaps, Especially B12
Vitamin B12 deficiency is one of the most overlooked causes of mental fogginess, partly because the threshold for “normal” blood levels may be set too low. A 2025 study from UC San Francisco found that older adults whose B12 levels averaged 414.8 pmol/L, well above the U.S. minimum of 148 pmol/L, still showed slower processing speed and signs of subtle cognitive decline when researchers measured the biologically active form of the vitamin.
In other words, your lab results can come back “normal” while your brain is quietly underperforming. B12 is essential for maintaining the protective coating around nerve fibers and for producing neurotransmitters involved in focus and mood. People at higher risk for low B12 include vegetarians and vegans, adults over 50 (who absorb less from food), anyone taking acid-reducing medications like proton pump inhibitors, and people with digestive conditions that affect absorption.
Iron deficiency, low vitamin D, and dehydration can also produce foggy thinking, though B12 tends to cause the most pronounced cognitive symptoms before other obvious signs appear.
Post-Viral Brain Fog
If your fogginess started after a viral illness, particularly COVID-19, you’re far from alone. A large meta-analysis published by the Public Health Agency of Canada found that more than 50% of COVID-19 survivors experienced at least one lingering symptom up to two years after infection. Concentration problems affected roughly 15% of survivors at the three-to-six-month mark, and memory disturbances persisted in about 13% at that same window.
What’s striking is that concentration difficulties actually appeared to increase over time in some groups, affecting nearly 30% of people followed for more than a year. The leading explanation involves persistent low-grade inflammation in the brain, disrupted blood flow in small vessels, and reactivation of dormant viruses like Epstein-Barr. In Canada, nearly 80% of people who developed post-COVID symptoms continued experiencing them for six months or longer, and more than 40% for over a year.
Other viruses can trigger similar prolonged fog, including influenza, Epstein-Barr (mono), and Lyme disease. If your cognitive symptoms lined up with a recent infection, that connection is worth noting.
Hormonal Shifts
Hormones have a powerful effect on cognition, which is why brain fog clusters around specific life stages. Estrogen supports blood flow to the brain and helps regulate neurotransmitters tied to memory and attention. During perimenopause, when estrogen levels fluctuate unpredictably, many women experience a noticeable dip in mental clarity that can last months or years. Pregnancy and the postpartum period produce similar effects for related reasons.
Thyroid dysfunction is another hormonal cause that frequently gets missed. An underactive thyroid slows metabolism body-wide, including in the brain, producing a characteristic combination of fatigue, sluggish thinking, and difficulty finding words. Because thyroid problems develop gradually, many people attribute the fog to aging or stress and don’t think to get tested.
Blood Sugar and Blood Flow
Your brain consumes about 20% of your body’s glucose supply, so anything that disrupts steady fuel delivery will affect how clearly you think. Blood sugar that swings sharply after meals (reactive hypoglycemia) or stays chronically elevated (insulin resistance, prediabetes) both produce brain fog, though through slightly different paths. The post-meal crash is the more noticeable one: you eat a carb-heavy lunch, your blood sugar spikes, insulin overcompensates, and 90 minutes later you can barely keep your eyes open or follow a conversation.
Conditions that reduce blood flow to the brain also cause fogginess. People with postural orthostatic tachycardia syndrome (POTS) often describe severe brain fog when standing, because their cardiovascular system struggles to maintain adequate blood delivery to the brain in an upright position. Even in people without POTS, dehydration and prolonged sitting reduce cerebral blood flow enough to impair concentration.
When Fogginess Signals Something Bigger
Most brain fog is reversible once you identify the cause. But there are specific patterns that suggest something more serious. According to researchers at Oregon Health & Science University, the key distinction between ordinary brain fog and early dementia is functional decline. The questions to ask yourself: Have you stopped doing household tasks you’ve always handled? Have you pulled away from social activities you used to enjoy? These functional changes, paired with memory complaints, point toward a neurological evaluation rather than lifestyle adjustments.
Brain fog from poor sleep, stress, or medication tends to fluctuate. You have good days and bad days, and your thinking improves when the underlying cause is addressed. Dementia and other neurodegenerative conditions produce a steady, progressive decline that doesn’t bounce back with a good night’s rest. As long as your foggy episodes aren’t keeping you from functioning day to day, the cause is far more likely to be one of the treatable factors above.
Practical Steps to Start Clearing the Fog
Because brain fog has so many possible triggers, a systematic approach works better than guessing. Start by auditing your medications, including over-the-counter allergy pills, sleep aids, and heartburn drugs. Switch any “PM” pain relievers to their regular versions and see if you notice a difference within a week or two.
Next, look at sleep honestly. Not just how many hours you spend in bed, but whether you wake feeling rested. If you snore heavily or wake frequently, sleep apnea could be fragmenting your deep sleep without you realizing it. Address hydration, which most people underestimate: even mild dehydration (1-2% of body weight) measurably reduces concentration.
If those basics don’t help, blood work can rule out thyroid dysfunction, B12 deficiency, iron deficiency, and blood sugar abnormalities. Ask specifically for active B12 (holotranscobalamin) rather than total B12, since the standard test can mask a functional deficiency. For post-viral fog, the timeline of your symptoms relative to your last infection is the most useful diagnostic clue you can bring to a medical appointment.

