What Can Cause Brain Fog? Sleep, Stress, and More

Brain fog isn’t a medical diagnosis on its own, but a collection of cognitive symptoms: difficulty concentrating, sluggish thinking, forgetting words mid-sentence, and a general sense that your mind isn’t working the way it should. Dozens of conditions and lifestyle factors can trigger it, and in many cases, several overlap at once. Here are the most common and well-supported causes.

Inflammation and the Immune System

One of the most consistent findings across brain fog research is the role of inflammation. When your immune system stays activated for too long, whether from infection, autoimmune disease, or chronic illness, it produces signaling molecules called cytokines. Elevated levels of specific cytokines like IL-6 and TNF-alpha have been linked to fatigue, depression, and cognitive slowing in conditions ranging from multiple sclerosis to Parkinson’s disease. These molecules can cross into the brain, activating its resident immune cells (microglia) and disrupting the blood-brain barrier, the protective layer that normally shields brain tissue from inflammatory activity in the rest of the body.

This means brain fog often shows up alongside conditions you might not immediately connect to cognition: rheumatoid arthritis, lupus, inflammatory bowel disease, or even a lingering viral infection. If your immune system is chronically inflamed, your brain is likely feeling it too.

Long COVID and Post-Viral Brain Fog

Roughly 30% of people infected with SARS-CoV-2 develop lingering symptoms, and brain fog is one of the most frequently reported. A leading explanation involves tiny, abnormal blood clots made of a protein called fibrin. These microclots, which range from 1 to 200 micrometers in size, can block capillaries throughout the body, restricting the flow of red blood cells and limiting oxygen delivery to tissues, including the brain. The virus also damages the lining of blood vessels, triggering further clotting and inflammation.

The result is a state of cellular oxygen deprivation that helps explain why post-COVID brain fog often comes with fatigue and exercise intolerance. COVID isn’t the only virus that can do this. Similar post-viral cognitive complaints have been documented after Epstein-Barr virus, influenza, and other infections, though the microclot mechanism has been studied most extensively in long COVID.

Hormonal Changes

Many women notice a sharp decline in mental clarity during perimenopause, and the biology behind it is well established. Estrogen plays a direct role in the hippocampus, the brain region most critical for memory and learning, where it helps maintain the tiny connections between neurons (dendritic spines) and supports the flexibility of those connections. When ovarian estrogen production drops during menopause, the brain’s own locally produced estrogen also declines over time, compounding the effect on memory processing and recall.

Thyroid hormones are another common culprit. Both an underactive thyroid (hypothyroidism) and an overactive one can produce cognitive cloudiness, along with fatigue and mood changes. Thyroid-related brain fog often resolves once hormone levels are corrected.

Poor Sleep and Sleep Disorders

During deep sleep, your brain activates a waste-clearance network called the glymphatic system, which flushes out metabolic byproducts that accumulate during waking hours. Sleep disorders like obstructive sleep apnea disrupt this process in two ways: the repeated drops in oxygen (intermittent hypoxia) and the constant fragmentation of sleep cycles both impair glymphatic function. Over time, this impaired clearance may contribute not only to daily brain fog but also to longer-term cognitive decline.

You don’t need a diagnosed sleep disorder to experience this. Consistently getting fewer than six hours of sleep, sleeping at irregular times, or spending enough hours in bed but never reaching deep sleep stages can all produce the same foggy, sluggish cognition the next day.

Chronic Stress

Prolonged stress keeps cortisol levels elevated, and the prefrontal cortex, the part of your brain responsible for focus, decision-making, and impulse control, is especially vulnerable. Chronic stress exposure causes the branching structures of neurons in this region to physically shrink, a process called dendritic atrophy. At the same time, the amygdala (your brain’s threat-detection center) actually grows more connected, which is why stressed people often feel simultaneously unfocused and anxious.

This explains why brain fog from burnout or prolonged anxiety feels different from sleepiness. It’s not that you’re tired, exactly. It’s that the part of your brain responsible for clear, organized thinking has been structurally compromised by stress hormones. The good news is that this type of atrophy is generally reversible once the stress load decreases.

Blood Sugar Instability

If you’ve ever felt mentally sluggish after a large, carb-heavy meal, blood sugar swings are a likely explanation. Research in people with type 2 diabetes has found that larger fluctuations in blood sugar after meals are significantly associated with worse executive function and attention, even after accounting for other health factors. The greater the glucose variability, the worse the cognitive performance.

This isn’t limited to people with diabetes. Anyone who regularly experiences sharp spikes and crashes in blood sugar, from skipping meals, consuming highly processed foods, or eating large amounts of refined carbohydrates, can experience the same pattern of post-meal mental cloudiness. Pairing carbohydrates with protein, fat, or fiber tends to blunt these swings.

Nutritional Deficiencies

Vitamin B12 deficiency is one of the most underdiagnosed causes of brain fog, partly because symptoms can appear even when blood levels are technically within the “normal” range. A UCSF study found that healthy older adults with lower B12 concentrations, still well above the clinical deficiency threshold, already showed signs of neurological and cognitive decline. This is especially relevant for vegans, vegetarians, older adults (who absorb B12 less efficiently), and people taking acid-reducing medications long term.

Iron deficiency, vitamin D deficiency, and low folate can also impair cognitive function. These deficiencies are common, easily tested for, and generally straightforward to correct.

Medications

A surprisingly wide range of medications can cause brain fog by blocking a neurotransmitter called acetylcholine, which is essential for memory and attention. This effect, called anticholinergic burden, is cumulative: taking several mildly anticholinergic drugs at once can add up to significant cognitive impairment even if no single medication seems problematic on its own.

Common drug categories that contribute include certain antihistamines (especially the older, sedating types like diphenhydramine), some antidepressants, bladder medications for overactive bladder, certain sleep aids, and muscle relaxants. If you take multiple medications and notice worsening mental clarity, the combined anticholinergic load is worth discussing with your pharmacist or prescriber.

Fibromyalgia and Chronic Pain Conditions

People with fibromyalgia frequently describe a specific pattern of cognitive difficulty known as “fibro fog.” The most common complaints include trouble remembering new information, reduced thinking speed (particularly in distracting environments), difficulty staying alert, and problems accessing words during conversation. This last symptom, the tip-of-the-tongue sensation where you know a word but can’t retrieve it, is especially characteristic.

Chronic pain itself appears to hijack cognitive resources. When your brain is constantly processing pain signals, fewer resources are available for attention, working memory, and language retrieval. Poor sleep quality, which is nearly universal in fibromyalgia, compounds the problem.

Gut Health

The connection between the gut and brain fog is an active area of research, but one established pathway involves small intestinal bacterial overgrowth (SIBO). When bacteria proliferate in the small intestine where they don’t belong, they produce a range of metabolites including D-lactic acid and even small amounts of alcohol. These byproducts can enter the bloodstream and affect brain function, producing the poorly defined but very real experience of mental fogginess, often alongside bloating and gas.

This gut-brain connection helps explain why some people notice their cognitive clarity improves dramatically after addressing digestive issues, and why brain fog sometimes appears alongside food intolerances or after courses of antibiotics that disrupt the gut microbiome.

Why Brain Fog Is Hard to Measure

One challenge with brain fog is that it remains poorly defined in clinical settings. No widely accepted objective test exists specifically for it. Standard cognitive assessments can detect impairments in memory, attention, and processing speed, but a validated self-report tool, the Brain Fog Scale, was only recently developed. It captures three distinct dimensions of the experience: mental fatigue, impaired cognitive sharpness, and confusion. The fact that brain fog spans these three overlapping but distinct problems helps explain why it feels different from simple tiredness and why it can be so frustrating to describe to others.

Because brain fog is a symptom rather than a diagnosis, the most productive approach is identifying which underlying cause or combination of causes is driving it. For many people, the answer involves more than one factor on this list working together.