How Do You Get Brain Fog: Causes, Symptoms & Fixes

Brain fog isn’t a single condition but a collection of cognitive symptoms, including difficulty concentrating, slow thinking, poor memory recall, and a general feeling of mental cloudiness. It develops when something disrupts the normal signaling between brain cells, whether that’s inflammation, poor sleep, a nutritional gap, or a medication side effect. Understanding the specific triggers helps because many of them are fixable.

What Happens in the Brain During Fog

Your brain cells communicate through connections called synapses, and those connections need to fire cleanly for you to think clearly. When the body is under stress from illness, poor sleep, or chronic inflammation, immune cells in the brain called microglia become overactive. Once activated, these cells release inflammatory signals that interfere with the process your brain uses to form and retrieve memories. They also produce toxic byproducts that damage the tiny branches neurons use to connect with each other, weakening the networks responsible for concentration and recall.

In more severe cases, overactive immune cells can actually strip away synaptic connections, tagging them for destruction through the same system the body normally uses to clear damaged tissue. This reduces the density of connections in brain regions critical for memory and learning. It also disrupts the blood-brain barrier, the protective lining that normally keeps inflammatory molecules out of brain tissue, allowing even more irritants in. Reduced oxygen delivery to the brain has been measured in people experiencing fog, which compounds the problem further.

Common Causes of Brain Fog

Sleep Deprivation and Poor Sleep Quality

Sleep is when your brain clears metabolic waste and consolidates memories. Even one night of poor sleep impairs attention, working memory, and processing speed the next day. Chronic sleep disruption, whether from insomnia, sleep apnea, or inconsistent schedules, keeps inflammatory markers elevated and prevents the brain from completing its nightly maintenance cycle. If your fog is worst in the morning or lifts noticeably after a good night’s rest, sleep quality is the first place to look.

Blood Sugar Swings

Your brain runs almost exclusively on glucose, and it’s sensitive to sudden changes in supply. After a high-carbohydrate meal, your body can overshoot its insulin response, dropping blood sugar below comfortable levels within about four hours of eating. This reactive dip produces confusion, difficulty concentrating, irritability, and shakiness. People who skip meals or rely on sugary snacks and refined carbs throughout the day often cycle through these dips repeatedly, experiencing fog as a near-constant background state.

Medications That Block a Key Brain Chemical

A surprising number of common medications cause brain fog by blocking acetylcholine, a chemical messenger your brain depends on for attention, learning, and memory. Drugs with strong effects on this system include over-the-counter sleep aids and allergy medications containing diphenhydramine (Benadryl) or doxylamine (Unisom), motion sickness tablets containing meclizine or dimenhydrinate (Dramamine), overactive bladder medications, older tricyclic antidepressants, and certain antipsychotics like quetiapine.

The risk compounds when you take more than one of these at the same time. Research from Indiana University’s Center for Aging Research found that each high-scoring medication on their anticholinergic burden scale increases the risk of cognitive impairment by 46% over six years. If you started a new medication around the time your fog began, or if you take several of these drugs together, that combination may be the cause.

Vitamin B12 Deficiency

B12 is essential for maintaining the protective coating around nerve fibers and for producing neurotransmitters. Deficiency causes fatigue, memory problems, and difficulty thinking clearly, sometimes long before anemia shows up in blood work. The standard clinical cutoff for deficiency is set quite low, around 148 pmol/L. But research published in Neurology found that optimal neurological function required levels closer to 400 pmol/L, nearly three times the deficiency threshold. This means you can have “normal” B12 on a lab report and still have levels too low for your brain to work well.

Vegetarians, vegans, adults over 50, people taking acid-reducing medications, and those with digestive conditions that impair absorption are all at higher risk. A simple blood test can check your levels, though you may need to ask specifically for it.

Chronic Stress and Burnout

Sustained stress keeps cortisol elevated, and cortisol at chronically high levels damages the hippocampus, the brain region most involved in forming new memories. People under prolonged work stress, caregiver burden, or emotional strain often describe feeling like they can’t hold onto information, lose track of conversations, or walk into rooms and forget why. This isn’t a character flaw. It’s a measurable effect of stress hormones on brain tissue that typically reverses when the stress load decreases.

Hormonal Changes

Estrogen and progesterone both influence brain signaling, which is why cognitive fog is commonly reported during perimenopause, pregnancy, the postpartum period, and certain points in the menstrual cycle. Thyroid hormones also play a direct role: both underactive and overactive thyroid function can produce significant mental cloudiness, fatigue, and slowed thinking. Thyroid-related fog tends to come on gradually, making it easy to dismiss as aging or stress.

Long COVID

COVID-19 is now one of the most studied causes of brain fog. More than 60% of people with long COVID report cognitive dysfunction, and a Northwestern Medicine study found these symptoms persisting two to three years after infection with no signs of improving on their own. Brain fog and fatigue remained consistent regardless of how long someone had been dealing with long COVID.

The mechanism appears to involve a combination of sustained brain inflammation, blood-brain barrier damage, and reduced cerebral oxygen levels. MRI studies have shown significantly increased barrier leakage in long COVID patients with brain fog compared to those without it, as well as markers of reduced blood flow to brain tissue. Some imaging has revealed damage to brainstem structures that regulate both breathing and cognition. This is not psychological. It is structural and measurable.

Other Conditions Linked to Brain Fog

Brain fog is a recognized symptom of many chronic conditions. Depression and anxiety both impair concentration and working memory. Autoimmune diseases like lupus, multiple sclerosis, and rheumatoid arthritis produce neuroinflammation through the same microglial pathways described above. Fibromyalgia, chronic fatigue syndrome, and Lyme disease all list cognitive dysfunction among their core symptoms. Anemia from iron deficiency reduces oxygen delivery to the brain. Even chronic allergies and sinus inflammation can produce enough low-grade immune activation to dull your thinking.

Dehydration, alcohol use, and gut health also play roles. The gut produces many of the same neurotransmitters the brain uses, and disruptions to the gut microbiome from antibiotics, poor diet, or chronic digestive issues can affect mental clarity through the gut-brain axis.

Why It’s Hard to Get a Diagnosis

There is currently no single blood test, brain scan, or clinical checklist that definitively diagnoses brain fog. Researchers have identified several promising biomarkers, including inflammatory markers, clotting factors, and signs of blood-brain barrier breakdown, but these are not yet part of routine clinical practice. Brain fog during acute COVID-19 has been associated with measurable blood markers of inflammation and barrier dysfunction, but translating these into standard diagnostic tools is still in progress.

This means diagnosis usually happens by identifying and addressing the underlying cause. A thorough workup typically includes blood tests for thyroid function, B12, iron, blood sugar regulation, and inflammatory markers, along with a review of medications and sleep habits. If your doctor dismisses fog as “just stress,” it’s reasonable to push for blood work or seek a second opinion. The causes are real and most of them are treatable.

What Tends to Help

Because brain fog has so many possible triggers, the most effective approach is identifying and addressing your specific cause rather than relying on general brain health advice. That said, several strategies help across nearly all causes. Prioritizing consistent, high-quality sleep has the most immediate impact for most people. Stabilizing blood sugar by eating balanced meals with protein, fat, and fiber reduces the reactive dips that cloud thinking. Regular aerobic exercise increases blood flow to the brain and promotes the growth of new neural connections.

If you suspect a medication is contributing, review your full medication list (including over-the-counter drugs) with a pharmacist or doctor. Switching from a high-anticholinergic drug to an alternative in the same class can make a noticeable difference. For nutritional deficiencies, targeted supplementation, particularly B12 and iron when levels are low, often resolves symptoms within weeks to a few months depending on severity.

For inflammation-driven fog, including post-COVID cases, the current best evidence supports optimizing cardiovascular risk factors through diet, exercise, social engagement, and stress reduction. These are broad recommendations, but they target the same inflammatory pathways that drive microglial overactivation. Some people also find that reducing processed food, alcohol, and added sugar noticeably sharpens their thinking within a few weeks, likely by lowering systemic inflammation.