Fuzzy, sluggish thinking rarely points to a single cause. The feeling that your brain is wading through mud can stem from something as simple as mild dehydration or a bad night of sleep, or from something more involved like a thyroid disorder, chronic stress, or the lingering effects of a viral infection. The encouraging reality is that most causes of muddled thinking are treatable or even self-correcting once identified, with depression being the single most common reversible condition found in people evaluated for cognitive problems.
Sleep Deprivation and the Brain’s Cleanup System
Sleep is not just rest for the brain. During deep sleep, the spaces between brain cells physically expand, allowing cerebrospinal fluid to flush out metabolic waste products. Among those waste products is amyloid-beta, a protein fragment linked to neurodegeneration. Research in animal models has shown that amyloid-beta clearance roughly doubles during sleep compared to wakefulness, and even a single night of sleep deprivation leads to measurable increases in amyloid-beta accumulation in memory-related brain regions like the hippocampus.1PubMed Central. The Sleeping Brain: Harnessing the Power of the Glymphatic System through Lifestyle Choices That buildup can itself worsen sleep quality, setting up a cycle where poor sleep generates more waste, which makes the next night’s sleep worse.
The cognitive toll is easy to feel even after one or two short nights: slower reaction times, trouble holding information in working memory, difficulty focusing. But chronic sleep disruption does something deeper. Obstructive sleep apnea, a condition in which breathing repeatedly stops during sleep, is associated with declines across a wide range of cognitive abilities, from memory and attention to psychomotor speed and executive function. Studies have found that people with more severe apnea tend to score worse on tests of mental flexibility and processing speed.2PubMed Central. Cognitive Impairment and Affective Disorders in Patients With Obstructive Sleep Apnea Syndrome If you snore loudly, wake up gasping, or feel exhausted no matter how long you sleep, apnea is worth investigating.
Stress Hormones and Cortisol’s Effect on Memory
Stress does not just feel bad. It changes the chemical environment your brain is working in. When you are under chronic pressure, your body produces elevated levels of glucocorticoids, the main class of stress hormones (cortisol being the one most people recognize). Animal and human research consistently shows that elevated glucocorticoid levels are associated with declining memory performance, in both normal aging and conditions involving cognitive decline.3PubMed Central. Effects of stress hormones on the brain and cognition: Evidence from normal to pathological aging The hippocampus, the brain region most central to forming new memories, is especially sensitive to cortisol because it has a high density of stress hormone receptors.
This means the “I can’t think straight” feeling during a stressful stretch at work or a family crisis is not imaginary. Cortisol is actively interfering with how your hippocampus processes information. The effect is usually reversible once the stressor passes and cortisol levels normalize, but people under sustained stress for months or years can experience more persistent cognitive difficulties. Combining chronic stress with heavy alcohol use makes the picture worse: the oxidative damage from both stressors converges on the hippocampus, compounding the harm to memory and cognitive function.4PubMed. Alcohol aggravates stress-induced cognitive deficits and hippocampal neurotoxicity: Protective effect of melatonin
Depression and Anxiety
Depression and anxiety are not just emotional experiences. Both conditions reliably disrupt executive function, the set of mental skills you use to plan, stay organized, switch between tasks, and keep your goals in mind. Research shows that depressed mood and anxious arousal both interfere broadly with the ability to maintain task goals, while the worry characteristic of anxiety (sometimes called anxious apprehension) produces a more specific kind of cognitive inflexibility, making it harder to shift your thinking when circumstances change.5PubMed Central. The Structure of Executive Dysfunction in Depression and Anxiety
In practical terms, this means a person with depression might struggle to start tasks, lose their train of thought mid-sentence, or feel like their brain simply refuses to engage. Someone with anxiety might find it impossible to redirect attention away from a worry, or might feel mentally locked on a single concern while everything else blurs. Higher anxiety scores are also associated with poorer working memory performance, though the relationship between stress and working memory measures has been harder to pin down in research settings.6PubMed Central. The Relationship of Anxiety and Stress With Working Memory Performance in a Large Non-depressed Sample
Depression is, by a wide margin, the most frequently identified reversible cause of cognitive impairment in people evaluated for possible dementia.7PubMed Central. Reversible dementias This matters because many people experiencing depression-related brain fog worry they are developing dementia when they are actually dealing with a treatable mood disorder.
Thyroid and Metabolic Disorders
The thyroid gland sets the metabolic pace for virtually every organ in your body, including the brain. When thyroid hormone levels are too low (hypothyroidism), common cognitive symptoms include difficulty with memory and executive function, often accompanied by fatigue and depressed mood. These symptoms frequently appear before a person is even diagnosed with hypothyroidism, and their severity ranges from mild forgetfulness to pronounced impairment.8PubMed Central. Brain Fog in Hypothyroidism: What Is It, How Is It Measured, and What Can Be Done About It Once thyroid hormone is replaced through medication, many people see cognitive improvement, though the timeline varies.
Insulin resistance represents another metabolic pathway to foggy thinking. When your cells become less responsive to insulin, the effects extend beyond blood sugar regulation. Neuroimaging research has linked insulin resistance to structural and functional changes in brain regions critical for memory and higher-order thinking, including the hippocampus, medial temporal lobe, and prefrontal cortex. These regions overlap heavily with those affected early in Alzheimer’s disease.9PubMed. Insulin Resistance and Cognitive Impairment: Evidence From Neuroimaging You do not need to have diabetes for insulin resistance to matter. Many people with prediabetes or metabolic syndrome have some degree of insulin resistance and may notice subtle cognitive effects years before blood sugar numbers become alarming.
Medications That Quietly Interfere With Thinking
Some of the most widely used medications carry anticholinergic effects, meaning they block a neurotransmitter called acetylcholine that is involved in attention, learning, and memory. The list includes certain allergy medications (like diphenhydramine, the active ingredient in many over-the-counter sleep aids), older antidepressants, some bladder medications, and certain muscle relaxants. Reviews of the evidence have found that anticholinergic drug exposure is linked to deficits in processing speed, attention, concentration, and problem-solving, even when global cognitive scores look normal.10PubMed Central. The cognitive impact of anticholinergics: A clinical review
A meta-analysis looking at older adults found that exposure to drugs with anticholinergic effects was associated with roughly 45% higher odds of cognitive impairment.11PubMed Central. Drugs with anticholinergic effects and cognitive impairment, falls and all-cause mortality in older adults: A systematic review and meta-analysis The tricky part is that many people take these drugs without realizing they have anticholinergic properties. If you started a new medication around the time your thinking got cloudier, it is worth asking a pharmacist or doctor whether it has anticholinergic activity. Drug-related cognitive impairment is one of the most commonly identified reversible causes when people are evaluated for thinking problems.7PubMed Central. Reversible dementias
Dehydration and Blood Pressure
Your brain is exquisitely sensitive to changes in blood flow and hydration. Even mild dehydration, the kind you might not feel especially thirsty from, has measurable effects on cognition. In a controlled trial with college-aged men, dehydration led to lower scores on digit span tests (a measure of short-term memory capacity) and higher error rates on sustained-attention tasks compared to participants’ own baseline performance.12PubMed Central. Effects of Dehydration and Rehydration on Cognitive Performance and Mood among Male College Students in Cangzhou, China: A Self-Controlled Trial The fix is straightforward, though easy to overlook if you are busy or distracted.
Chronically low blood pressure can produce a more persistent version of the same problem. Research has shown that people with constitutional hypotension (naturally low blood pressure) have reduced baseline brain perfusion, and their brains are less effective at adjusting blood flow upward when cognitive demands increase.13PubMed Central. Reduced brain perfusion and cognitive performance due to constitutional hypotension Postural tachycardia syndrome (POTS), a condition involving abnormal heart rate responses to standing, provides an even starker example. In a study comparing POTS patients with healthy controls, a prolonged mental stress test produced a roughly 8% drop in cerebral blood flow velocity in the POTS group, compared to less than 2% in controls, along with greater slowing in psychomotor speed and increased difficulty concentrating.14PubMed Central. Cerebral Blood Flow and Cognitive Performance in Postural Tachycardia Syndrome: Insights from Sustained Cognitive Stress Test These blood flow issues may help explain the “brain fog” that chronic fatigue syndrome patients describe, where reduced cerebral blood flow during mental effort makes information processing feel effortful and exhausting.15PubMed Central. Caught in the thickness of brain fog: exploring the cognitive symptoms of Chronic Fatigue Syndrome
Post-Infection Brain Fog
The cognitive difficulties reported after COVID-19 brought widespread attention to a phenomenon that researchers had already been studying in chronic fatigue syndrome and autoimmune diseases. In long COVID, brain fog appears to involve at least two overlapping mechanisms: sustained system-wide inflammation and a breach in the blood-brain barrier, the protective layer that normally shields brain tissue from circulating immune cells and inflammatory molecules. Dynamic contrast-enhanced MRI scans have revealed blood-brain barrier disruption in patients with long COVID-associated cognitive impairment. Their blood cells showed increased stickiness to brain blood vessel cells in laboratory tests, and blood serum from these patients triggered inflammatory markers in brain endothelial cells.16Nature Neuroscience. Blood–brain barrier disruption and sustained systemic inflammation in individuals with long COVID-associated cognitive impairment
Within the brain itself, the infection can leave immune cells called microglia in an overactive state. These cells normally serve as the brain’s cleanup and defense crew, but when they stay activated beyond the initial threat, they release inflammatory molecules that can damage synapses, the connections between neurons that underlie thinking and memory.17PubMed Central. The Molecular Mechanisms of Cognitive Dysfunction in Long COVID: A Narrative Review This microglial dysfunction may persist long after the virus is cleared from the body, helping to explain why cognitive symptoms can linger for months or even years.18PubMed Central. The Pathogenesis of Long-Term Neuropsychiatric COVID-19 and the Role of Microglia, Mitochondria, and Persistent Neuroinflammation: A Hypothesis
Similar mechanisms show up in autoimmune conditions. In systemic lupus erythematosus, for instance, cognitive dysfunction is thought to stem from blood-brain barrier breakdown combined with autoantibody-mediated damage and microglial activation.19PubMed Central. Cognitive Dysfunction in Systemic Lupus Erythematosus: Immunopathology, Clinical Manifestations, Neuroimaging and Management The shared thread across these conditions is that when the immune system stays inappropriately active, the brain pays a cognitive price.
Nutritional Deficiencies
Vitamin B12 deficiency is one of the classic nutritional causes of cognitive trouble. B12 is essential for maintaining the myelin sheaths that insulate nerve fibers, and when levels drop, the resulting damage can involve delayed or degraded myelination of neurons.20The Journal of Basic and Applied Zoology. Deficiency of vitamin B12 and its relation with neurological disorders: a critical review Symptoms can range from subtle memory lapses and difficulty concentrating to more severe confusion and mood changes. People at higher risk include older adults (whose ability to absorb B12 from food declines with age), strict vegetarians and vegans, and people taking certain acid-suppressing medications long-term. A simple blood test can identify the problem, and supplementation often reverses cognitive symptoms when caught early.
B12 deficiency is consistently listed among the most frequently identified reversible conditions in patients evaluated for cognitive impairment or dementia, alongside hypothyroidism, depression, and medication side effects.7PubMed Central. Reversible dementias Other nutritional factors, including iron, folate, and vitamin D status, have also been linked to cognitive performance, though the evidence is less clear-cut than for B12.
Digital Multitasking and Cognitive Fatigue
The way you use technology may be eating into your thinking capacity without you realizing it. Research on digital multitasking, switching between phone, laptop, and other screens during the workday, suggests the cognitive costs are steeper than most people assume. Task-switching can consume up to 40% of a person’s productive time due to the mental overhead of repeatedly reorienting attention. People who frequently multitask with digital devices report higher levels of stress and lower productivity, and heavy multitaskers show significantly higher rates of anxiety and depression symptoms compared to people who multitask less.21PubMed Central. Digital multitasking and hyperactivity: unveiling the hidden costs to brain health
Prolonged multitasking has also been linked to reduced working memory capacity and weaker executive function, the very skills you need for planning, problem-solving, and sustained focus. This does not mean screens are inherently harmful to cognition. It means the pattern of constant switching between tasks, notifications, and information streams creates a form of cognitive overload that mimics and compounds many of the same deficits associated with sleep deprivation and chronic stress.
Environmental Toxins and Heavy Metals
Long-term exposure to heavy metals like lead, mercury, and cadmium can cause cognitive decline through several mechanisms, including oxidative damage to brain tissue, disrupted neurotransmitter signaling, and neuronal cell death.22PubMed Central. Heavy Metal Air Pollution: Human Health Effects and Nanomaterial Strategies for Monitoring and Remediation Lead exposure is the best-studied example. Even at levels once considered “safe,” chronic lead exposure has been linked to slower processing speed and reduced executive function in adults. Occupational exposure (construction, battery manufacturing, painting) is the most common route for adults, though aging water infrastructure can also be a source.
These exposures tend to produce gradual cognitive changes that people may attribute to aging or stress rather than something in their environment. If you work in an industry with known chemical or metal exposures and have noticed increasing difficulty with concentration or memory, it is worth mentioning the occupational context to a doctor.
The Gut-Brain Connection
The idea that your gut influences your brain might sound like wellness marketing, but the evidence for a gut-brain axis is now well-established in research. The gastrointestinal tract and the central nervous system communicate bidirectionally through neural, hormonal, and immune pathways. Changes in gut microbiome composition have been shown to influence neural development, cognition, and behavior, and conversely, behavioral changes can alter the composition of the gut microbiota.23PubMed Central. From gut dysbiosis to altered brain function and mental illness: mechanisms and pathways Gut dysbiosis, an imbalance in the microbial community, has been associated with depressive-like behaviors in animal models and with inflammatory signaling that can affect the brain remotely.
In practical terms, this means that chronic digestive problems, courses of antibiotics, or diets that starve beneficial gut bacteria could plausibly contribute to cognitive symptoms. The field is still young and specific recommendations beyond eating a varied, fiber-rich diet remain hard to justify from the current evidence. But if unexplained brain fog coincides with gut symptoms, the connection is worth discussing with a clinician rather than dismissing as coincidence.
Sorting Out What Is Reversible
When clinicians evaluate a person for cognitive impairment, one of the first priorities is ruling out reversible causes. The most commonly identified treatable conditions in these evaluations are depression, adverse medication effects, drug or alcohol misuse, thyroid dysfunction, B12 deficiency, and certain structural brain conditions like normal pressure hydrocephalus.7PubMed Central. Reversible dementias That list is worth keeping in mind if your thinking has deteriorated, because every item on it responds to treatment.
A few practical signals can help guide what to investigate first. If the foggy thinking appeared suddenly or within a recognizable time window, look at what changed: a new medication, a shift in sleep patterns, a stressful life event, or a recent illness. If the decline has been slow and progressive over months to years, metabolic causes (thyroid, B12, blood sugar regulation) and mood disorders deserve early screening. If you notice symptoms are worst when standing or after prolonged mental effort, blood flow and cardiovascular regulation may be involved. And if cognitive problems are accompanied by physical symptoms like weight gain, cold intolerance, or hair loss, thyroid testing is a reasonable starting point. The overlapping nature of these causes means that for many people, foggy thinking turns out to involve more than one contributing factor, and treating even one of them can bring noticeable improvement.