Brain fog isn’t a medical diagnosis, but it describes something very real: a persistent feeling of mental cloudiness where you can’t concentrate, forget words mid-sentence, or feel like your thinking has slowed to a crawl. The causes range from something as simple as not drinking enough water to hormonal shifts, chronic stress, nutritional gaps, or medications you might not suspect. Understanding which factors apply to you is the first step toward clearing it up.
What’s Actually Happening in Your Brain
When your brain feels foggy, the problem usually traces back to one of two things: inflammation or disrupted signaling between brain cells. Under chronic stress or illness, immune cells in the brain called microglia become overactive. Once activated, they release inflammatory molecules and reactive oxygen species that essentially create background noise in your neural circuits. This makes it harder for the prefrontal cortex, the part of your brain responsible for focus, decision-making, and working memory, to do its job efficiently.
At the same time, the connections between neurons can physically weaken. Chronic stress, poor sleep, and inflammation all reduce a growth factor called BDNF that helps maintain the tiny spines on neurons where signals pass from one cell to another. When those spines shrink or disappear, the circuits that support sharp thinking become less reliable. This isn’t permanent damage in most cases. Remove the underlying cause and those connections can rebuild.
Stress and Sleep Are the Most Common Culprits
Prolonged stress floods your prefrontal cortex with stress chemicals that essentially take it offline. During uncontrollable psychological stress, high levels of norepinephrine and dopamine activate signaling pathways that open potassium channels on neurons, rapidly weakening the connections that support focused thinking. Your brain literally dials down the circuit responsible for concentration and decision-making as part of its stress response.
When stress becomes chronic, the damage goes further. The signaling that weakens connections during acute stress gets amplified over weeks and months, leading to actual loss of dendritic spines, the physical structures that allow neurons to communicate. Researchers have also found that chronically stressed brain cells develop dysfunctional mitochondria that can trigger inflammatory signals, recruiting immune cells to dismantle weakened neural connections. This is why brain fog from burnout or prolonged anxiety feels so stubborn: it involves structural changes that take time to reverse.
Sleep deprivation compounds the problem. Your brain clears metabolic waste and consolidates memories during sleep. Cut that process short consistently and you get a buildup of inflammatory byproducts alongside impaired memory formation, a recipe for the classic “can’t think straight” feeling.
Depression and Anxiety Mimic Cognitive Decline
If your brain fog came on alongside low mood, lost motivation, or persistent worry, the connection likely isn’t coincidental. Difficulty concentrating, making decisions, and thinking clearly is a core diagnostic criterion for major depressive disorder, not just a side effect. These cognitive symptoms are sometimes called depressive cognitive disorders, and they can include disorientation, poor attention, and short-term memory loss significant enough to be mistaken for early dementia.
Bipolar disorder can produce similar effects. During manic, hypomanic, or mixed episodes, symptoms like easy distractibility, decreased energy, and sleep disruption overlap heavily with what people describe as brain fog. The important distinction is that cognitive problems driven by mood disorders typically improve when the underlying condition is treated, unlike neurodegenerative diseases where decline is progressive.
Hormonal Shifts, Especially During Menopause
Estrogen plays a direct role in memory performance and the brain circuits that regulate it. During perimenopause and menopause, declining estrogen levels reorganize those circuits and reduce glucose availability in the brain. Since glucose is the primary fuel for brain cells, your brain has to scramble to find alternative energy sources while adapting to a completely new hormonal environment. This metabolic shift is why many women in their 40s and 50s suddenly notice difficulty with word-finding, concentration, and recall.
The good news from research at Harvard and elsewhere is that the brain does adapt. For many women, the worst cognitive symptoms are concentrated during the transition period rather than being permanent. That said, if brain fog appeared around the same time as hot flashes, irregular periods, or sleep disruption, hormonal changes are a strong suspect worth discussing with your doctor.
Dehydration Affects Thinking Faster Than You’d Expect
You don’t need to be visibly dehydrated to experience cognitive effects. Losing just 1 to 2% of your body water, an amount that may not even trigger strong thirst, can impair concentration, slow your reaction time, and cause short-term memory problems. That threshold is easy to hit if you’re drinking mostly coffee, exercising without replacing fluids, or simply forgetting to drink water during a busy day. Mild dehydration also increases moodiness and anxiety, which can make brain fog feel even worse.
Your Diet May Be Fueling the Problem
A diet heavy in ultra-processed foods does more than affect your waistline. A meta-analysis of observational studies found that high intake of ultra-processed foods was associated with a 44% increased risk of dementia compared to low intake. Some individual studies found the risk increase was even steeper, reaching 67% or more in the highest consumption groups. While these studies looked at long-term dementia risk rather than day-to-day brain fog, the underlying mechanism is the same: processed foods promote systemic inflammation, which crosses into the brain and disrupts neural function.
Moderate intake showed smaller or nonsignificant increases in risk, suggesting that occasional processed food isn’t the issue. The pattern that matters is when ultra-processed items make up the bulk of your diet, displacing whole foods that provide the nutrients your brain needs to maintain its signaling chemistry.
Vitamin B12 and Other Nutritional Gaps
Vitamin B12 deficiency is one of the most treatable causes of cognitive impairment, and it’s more common than most people realize, especially among vegetarians, vegans, older adults, and anyone taking acid-reducing medications long term. Serum B12 levels below 150 pmol/L are associated with measurable cognitive impairment, and even levels in the low-normal range (below 250 pmol/L) have been linked to neurodegenerative conditions.
The encouraging finding is that high-dose B12 supplementation can improve cognition in people who are genuinely deficient. The treatment is inexpensive and safe. However, B12 supplements don’t improve thinking in people whose levels are already adequate, so this isn’t a universal fix. A simple blood test can tell you where you stand. Iron, vitamin D, and folate deficiencies can also contribute to foggy thinking through similar mechanisms.
Thyroid Problems That Lab Work Might Miss
Hypothyroidism is a well-known cause of brain fog, fatigue, and depressed mood. What’s less well known is that 10 to 15% of people being treated for hypothyroidism continue to report cognitive difficulties, poor quality of life, and dissatisfaction with treatment despite having normal thyroid hormone levels on blood tests. Their TSH looks fine on paper, but they still can’t think clearly.
This gap between lab results and lived experience remains an active area of investigation. If you’ve been told your thyroid levels are normal but you still feel foggy, you’re not imagining it. The relationship between thyroid hormones and brain function is more nuanced than a single lab value can capture.
Medications You Might Not Suspect
Several common medications can cause or worsen brain fog by blocking acetylcholine, a neurotransmitter critical for memory and attention. These drugs, called anticholinergics, are found in surprising places. Over-the-counter sleep aids containing diphenhydramine (the active ingredient in many “PM” formulations) are among the most common offenders. Certain heartburn medications, bladder control drugs, and older antidepressants also carry significant anticholinergic effects.
The cognitive impact can be subtle enough that you don’t connect it to the medication, especially if you’ve been taking it for months or years. Research has shown that consistent use of some of these drugs over a five-year period increases the risk of cognitive impairment. If your brain fog started or worsened after beginning a new medication, or if you’re taking multiple medications that each have mild anticholinergic properties, the combined effect can be significant. A pharmacist can help you identify which of your medications might be contributing.
Sorting Out Your Specific Triggers
Brain fog rarely has a single cause. More often, it’s the result of several factors stacking on top of each other: you’re stressed and sleeping poorly, which makes you reach for processed food and coffee instead of water, which worsens inflammation and dehydration, which makes the fog thicker. The most effective approach is to address the basics first. Consistent sleep, adequate hydration, regular movement, and a diet built around whole foods resolve a surprising number of cases without any further intervention.
If the fog persists after cleaning up those fundamentals, blood work checking your B12, vitamin D, iron, thyroid function, and inflammatory markers can reveal hidden contributors. Pay attention to timing: fog that arrived with a new medication, a major life stressor, or hormonal changes points you toward a specific cause. Fog that’s been present for years and gradually worsening warrants a more thorough medical workup to rule out conditions like sleep apnea, autoimmune disease, or early mood disorders that haven’t been formally diagnosed.

