How to Get Rid of Brain Fog: What Actually Works

Brain fog isn’t a medical diagnosis, but the experience is real: sluggish thinking, poor concentration, forgotten words, and a feeling like your mind is wading through mud. The good news is that most cases trace back to fixable causes like poor sleep, chronic stress, nutritional gaps, or hormonal shifts. Clearing it up usually means identifying what’s driving it and making targeted changes.

Why Your Brain Feels Foggy

Your brain’s immune cells can shift into an inflammatory state in response to stress, poor sleep, infections, or metabolic problems. When that happens, they release signaling molecules that ramp up inflammation inside the central nervous system. This low-grade neuroinflammation disrupts the chemical communication between neurons, slowing processing speed, weakening focus, and making recall harder. It’s the biological thread connecting nearly every common cause of brain fog, from sleep deprivation to long COVID.

The practical takeaway: brain fog is rarely about intelligence or willpower. It’s a signal that something in your body is interfering with how your brain operates. Figuring out what that something is makes the fix much more straightforward.

Fix Your Sleep First

Sleep is the single highest-leverage fix for brain fog. During deep sleep (stage 3, also called slow-wave sleep), your brain activates its built-in waste clearance system, sometimes called the glymphatic system. The spaces between brain cells physically expand, allowing cerebrospinal fluid to flush out metabolic debris that accumulates during the day. At the same time, levels of the alertness chemical norepinephrine drop, which relaxes the channels that carry this fluid and makes the whole process more efficient.

When you don’t get enough deep sleep, that waste builds up. The result is the mental heaviness you feel after a bad night, and it compounds over days of poor sleep. To protect deep sleep specifically:

  • Keep a consistent wake time. Your body’s internal clock anchors to when you wake up more than when you fall asleep. Shifting your alarm by even an hour on weekends can disrupt your sleep architecture for days.
  • Get bright light within 30 minutes of waking. Light is the primary input that sets your circadian clock. Morning light exposure helps your cortisol peak on schedule (cortisol naturally surges right after waking, then tapers through the day) and promotes better sleep pressure by evening.
  • Cut alcohol and screens before bed. Both reduce the proportion of time you spend in deep sleep, even if your total hours look fine.

Most adults need 7 to 9 hours, but the quality of that sleep matters as much as the quantity. If you’re sleeping enough hours and still waking foggy, a sleep study can check for conditions like sleep apnea that fragment deep sleep without you realizing it.

Move Your Body, Sharpen Your Mind

Exercise triggers the release of a protein called BDNF, which acts like fertilizer for brain cells, supporting the growth of new connections and strengthening existing ones. A randomized controlled study found that even a single session of high-intensity aerobic exercise significantly increased BDNF levels in people with mild cognitive impairment. The effect was measurable immediately after the workout.

You don’t need to train like an athlete. Moderate aerobic exercise, the kind where you’re breathing hard but can still talk, done for 20 to 40 minutes most days, consistently shows cognitive benefits in research. Walking, cycling, swimming, and dancing all count. The key is raising your heart rate regularly rather than choosing any one specific activity. If you’re currently sedentary, even 10-minute walks produce noticeable improvements in mental clarity over a few weeks.

Eat to Reduce Brain Inflammation

A Mediterranean-style eating pattern has the strongest evidence for protecting cognitive function. A meta-analysis of cohort studies and clinical trials found that high adherence to this diet was associated with a 25% lower risk of mild cognitive impairment and measurably better working memory and recall compared to typical Western diets.

The pattern emphasizes vegetables, fruits, whole grains, olive oil as the primary fat source, and moderate amounts of fish. These foods deliver omega-3 fatty acids, antioxidants, and fiber that collectively lower systemic inflammation, the same inflammatory process that contributes to brain fog. You don’t need to overhaul your diet overnight. Adding more vegetables, swapping refined grains for whole grains, and eating fatty fish two or three times a week moves you meaningfully in the right direction.

Highly processed foods, excess sugar, and seed-oil-heavy fast food tend to push inflammation in the other direction. If your brain fog reliably worsens after meals, blood sugar swings may be part of the picture. Pairing carbohydrates with protein or fat slows glucose absorption and can smooth out the post-meal mental crash.

Check for Nutritional Deficiencies

Vitamin B12 deficiency is one of the most common and most overlooked causes of brain fog. A 2025 study from UC San Francisco found that even people with B12 levels considered “healthy” by standard lab ranges showed slower cognitive processing speed when their active B12 was on the lower end. The U.S. minimum threshold is 148 pmol/L, but participants averaging 414.8 pmol/L still showed cognitive differences based on their levels. In other words, “normal” on a lab report doesn’t always mean optimal for your brain.

Iron deficiency (even without full-blown anemia), vitamin D deficiency, and low magnesium can also contribute to foggy thinking. If your brain fog is persistent and unexplained, a blood panel checking these levels is a reasonable starting point. Vegetarians, vegans, adults over 50, and people taking acid-reducing medications are at higher risk for B12 deficiency specifically.

Hormonal Brain Fog in Perimenopause

If you’re in your 40s or early 50s and your brain fog arrived alongside irregular periods, hot flashes, or mood changes, declining estrogen is a likely contributor. Estrogen plays a direct role in brain energy metabolism, and as levels drop during the menopause transition, brain cells actually grow additional estrogen receptors in a compensatory attempt to capture whatever estrogen remains available. Imaging research from Weill Cornell Medicine found that the density of these receptors in certain brain regions correlated with the severity of cognitive and mood symptoms women reported.

This type of brain fog is not permanent. For many women, cognitive symptoms improve after the body adjusts to its new hormonal baseline, though this can take a few years. Hormone replacement therapy can help in some cases, and the lifestyle strategies in this article (sleep, exercise, diet) are particularly effective during this transition because they address the same inflammatory pathways that hormonal shifts activate.

Stress and Cortisol Disruption

Cortisol follows a predictable daily rhythm in healthy people: it peaks shortly after waking, providing the alertness you need to start the day, then gradually declines through the afternoon and evening, reaching its lowest point a few hours into sleep. Chronic stress flattens this curve. You get less of the morning spike (hello, groggy mornings) and more cortisol at night (hello, racing thoughts at bedtime), which fragments sleep and impairs the brain’s overnight waste clearance.

Addressing chronic stress isn’t just a wellness cliché. It directly restores the cortisol rhythm your brain depends on. Regular exercise, consistent sleep timing, and morning light exposure all help re-anchor the cycle. Meditation, even 10 minutes a day, has been shown to lower baseline cortisol. If your stress is situational (work, caregiving, grief), the fog will often lift as circumstances change, but supporting your sleep and cortisol rhythm in the meantime limits the cognitive damage.

Post-Viral Brain Fog

Brain fog is one of the most commonly reported symptoms of long COVID, and it can also follow other viral infections like the flu, Epstein-Barr, and Lyme disease. According to the CDC, most people with long COVID symptoms see significant improvement after three months, but others may not improve for months or even years. The underlying mechanism appears to involve persistent neuroinflammation triggered by the initial infection.

If you’re dealing with post-viral brain fog, the same foundations apply: prioritize sleep, gentle movement (avoiding overexertion, which can worsen symptoms in long COVID), and an anti-inflammatory diet. Recovery tends to be gradual and nonlinear, with good weeks and bad weeks. Pacing your activity level, rather than pushing through on good days, generally leads to better outcomes over time.

What About Supplements?

Citicoline is one of the more studied supplements for cognitive support. Typical doses in research range from 250 to 1,000 mg per day, with lower doses (around 250 mg) potentially more effective for healthy individuals and higher doses used in studies of neurological disease. However, clinical trials have been small, and the Alzheimer’s Drug Discovery Foundation notes that large confirmatory trials are still lacking. In studies of dementia patients, at least 12 months of use was needed to see cognitive benefits.

Other commonly marketed brain fog supplements like ginkgo biloba, lion’s mane mushroom, and various nootropic blends have even thinner evidence. They’re unlikely to cause harm at standard doses, but they’re also unlikely to overcome brain fog caused by poor sleep, chronic stress, or a nutritional deficiency. Fix the foundations before spending money on supplements.

When Brain Fog Needs Medical Attention

Occasional fogginess after a bad night’s sleep or during a stressful period is normal. But brain fog that persists for weeks, progressively worsens, or interferes with your ability to do your job, keep appointments, or follow conversations warrants a medical evaluation. A healthcare provider can check for thyroid dysfunction, autoimmune conditions, sleep disorders, medication side effects, and the nutritional deficiencies mentioned above. Many of these have straightforward treatments once identified, and the fog often clears relatively quickly once the underlying cause is addressed.