Brain fog is not a medical diagnosis but a collection of symptoms: difficulty concentrating, forgetfulness, mental fatigue, slow thinking, and trouble finding the right words. The good news is that most cases have an identifiable, treatable cause. Addressing brain fog starts with figuring out what’s driving it, then making targeted changes to sleep, movement, nutrition, and sometimes medication.
Identify What’s Causing It First
Brain fog is almost always a symptom of something else. Treating it without understanding the underlying cause is like turning off a smoke alarm instead of putting out the fire. The most common triggers fall into a few broad categories: poor sleep, chronic stress, nutritional deficiencies, medication side effects, hormonal changes, and lingering effects of infection.
Medical conditions frequently linked to persistent brain fog include thyroid disorders (especially an underactive thyroid), chronic fatigue syndrome, fibromyalgia, depression, anxiety, autoimmune diseases, and long COVID. If your brain fog appeared suddenly, worsened over weeks, or came with other new symptoms like vision changes, weakness, or persistent headaches, that warrants a medical workup rather than lifestyle tweaks alone.
A basic evaluation typically includes blood tests for thyroid function, vitamin B12, vitamin D, iron, and blood sugar. These are simple, inexpensive, and can reveal fixable problems that account for a surprising share of brain fog cases.
Fix Your Sleep Before Anything Else
Sleep is the single most impactful lever for cognitive clarity, and it’s the one most people underestimate. Your brain has a dedicated waste-clearance system, sometimes called the glymphatic system, that flushes out metabolic debris while you sleep. This system works by pumping cerebrospinal fluid through brain tissue, where it picks up waste products like excess proteins and lactic acid and drains them out through channels in your neck.
This cleanup peaks during deep sleep, the slow-wave phase of non-REM sleep that typically happens in the first half of the night. During deep sleep, the spaces between brain cells physically expand, allowing fluid to flow more efficiently. When you cut sleep short, sleep poorly, or don’t reach enough deep sleep, waste accumulates. The result, predictably, is foggy thinking the next day.
Practical steps that improve deep sleep specifically:
- Keep a consistent wake time, even on weekends. This anchors your circadian rhythm more than any other single habit.
- Limit alcohol, which fragments sleep architecture and suppresses deep sleep even when total sleep hours look normal.
- Keep your room cool, ideally around 65 to 68°F. Your core body temperature needs to drop for deep sleep to initiate.
- Avoid screens for 30 to 60 minutes before bed. The light isn’t the only problem; the mental stimulation keeps your brain in an alert state that delays slow-wave sleep onset.
If you’re sleeping seven to eight hours and still waking up foggy, consider whether you might have a sleep disorder like sleep apnea, which repeatedly disrupts deep sleep without fully waking you. It’s far more common than people realize, especially in people who snore or wake up with dry mouth.
Move Your Body Regularly
Exercise increases blood flow to the brain and triggers the release of a protein called brain-derived neurotrophic factor (BDNF), which supports the growth and maintenance of brain cells involved in learning and memory. Even a single session of vigorous aerobic exercise raises BDNF levels measurably. Research published in BMJ Open Sport and Exercise Medicine found that high-intensity cycling to exhaustion increased BDNF in people with mild cognitive impairment.
That said, a single workout won’t instantly sharpen your thinking. The cognitive benefits of exercise come primarily from consistency over weeks and months, not from any one session. Aim for at least 150 minutes per week of moderate-intensity activity, such as brisk walking, swimming, or cycling. If you can include two or three sessions of higher intensity work, that appears to amplify the BDNF response. The key is regularity. Three 30-minute walks per week will do more for your brain fog than one heroic weekend workout.
One important caveat: if your brain fog is related to chronic fatigue syndrome or long COVID, exercise can backfire. These conditions often involve post-exertional malaise, where physical or mental effort triggers a crash in symptoms hours or days later. If that describes your experience, a pacing strategy (staying within your energy limits rather than pushing through) is more appropriate than a standard exercise prescription.
Check Your Medications
A class of drugs called anticholinergics is one of the most overlooked causes of brain fog. These medications block a brain chemical involved in memory and attention, and their cognitive side effects include short-term memory problems, confusion, slowed reasoning, and drowsiness. What makes them tricky is that many are available over the counter and are widely used without a second thought.
Common anticholinergic medications include certain antihistamines (like diphenhydramine, the active ingredient in Benadryl), older tricyclic antidepressants, overactive bladder medications, and some sleep aids. According to research from Indiana University, taking a high-potency anticholinergic drug for three years or more was associated with a 54% higher risk of dementia compared to short-term use. Even in the short term, these drugs can cloud your thinking noticeably.
If you take any of these regularly, especially for sleep or allergies, it’s worth asking about alternatives. There are newer antihistamines that don’t cross into the brain as readily and don’t carry the same cognitive burden. You don’t need to stop anything abruptly, but a conversation with your pharmacist or doctor about your full medication list can reveal surprising contributors to brain fog.
Address Nutritional Gaps
Two deficiencies stand out as common and directly linked to cognitive symptoms: vitamin B12 and vitamin D. B12 is essential for nerve function and the production of brain signaling chemicals. Deficiency causes fatigue, memory problems, difficulty concentrating, and in severe cases, irreversible nerve damage. It’s especially common in people over 50, vegetarians and vegans, and anyone taking acid-reducing medications like proton pump inhibitors, which impair B12 absorption.
Vitamin D deficiency is widespread in northern climates and among people who spend most of their time indoors. Low levels are consistently associated with poorer cognitive performance, though the relationship is complex and correcting a deficiency doesn’t always produce dramatic improvement. Still, if your levels are low, supplementation is inexpensive and low-risk.
Iron deficiency is another common culprit, particularly in women with heavy menstrual periods. Your brain needs iron to transport oxygen efficiently. When iron stores drop, fatigue and mental sluggishness are often the first symptoms, sometimes appearing before a full-blown anemia shows up on standard blood tests. A ferritin level (which measures stored iron) can catch this early.
Beyond specific deficiencies, your overall dietary pattern matters. Diets high in ultra-processed foods and added sugar are linked to increased inflammation, which can impair cognitive function. You don’t need a perfect diet, but consistently eating vegetables, whole grains, fatty fish, nuts, and legumes provides the building blocks your brain needs for clear thinking.
Manage Stress and Mental Load
Chronic stress keeps your brain in a state of heightened alert that’s useful for short-term survival but terrible for sustained concentration. Prolonged exposure to stress hormones, particularly cortisol, impairs the brain’s ability to form new memories and retrieve existing ones. If you’ve ever blanked on a word or forgotten why you walked into a room during a stressful period, that’s the mechanism at work.
The mental load of modern life compounds this. Constant task-switching between emails, notifications, conversations, and to-do lists fragments your attention in ways that mimic brain fog. Your brain isn’t actually foggy in these cases; it’s overtaxed. Reducing inputs, even modestly, can produce noticeable improvement. That might mean turning off non-essential notifications, batching email into two or three check-ins per day, or building 10-minute breaks into your schedule where you do literally nothing.
Mindfulness meditation has a reasonable evidence base for improving attention and reducing the subjective experience of brain fog. You don’t need long sessions. Even 10 minutes of focused breathing practice daily can help retrain your brain’s ability to sustain attention on one thing at a time.
What to Do About Long COVID Brain Fog
Post-viral brain fog, particularly after COVID-19, is one of the more stubborn forms. It can persist for months or longer and doesn’t always respond to the standard lifestyle interventions above. The CDC’s current clinical guidance for long COVID focuses on symptom management tailored to each patient’s most burdensome symptoms, creating rehabilitation plans, and optimizing any underlying conditions that might be making things worse.
Practically, this means working with a healthcare provider to build a structured plan. Useful tools include keeping a symptom diary to track what worsens or improves your fog, pacing your cognitive and physical activity to avoid crashes, and using external supports like calendars, reminders, and written lists to compensate for working memory problems. These aren’t just coping strategies; they reduce the cognitive load on an already stressed system, which can speed recovery.
Some people with long COVID brain fog also meet criteria for conditions like dysautonomia (where your nervous system doesn’t regulate blood pressure and heart rate properly) or mast cell activation syndrome. These are treatable once identified, so persistent brain fog after a viral illness is worth investigating beyond basic blood work.
Building a Daily Anti-Fog Routine
The most effective approach combines several small changes rather than relying on any single fix. A practical starting framework looks like this:
- Morning: Wake at the same time daily. Get bright light exposure within 30 minutes of waking, which sharpens alertness and helps set your sleep cycle for that night.
- Midday: Take a 20 to 30 minute walk. Even low-intensity movement improves cerebral blood flow for hours afterward.
- Afternoon: Cut caffeine by early afternoon. Caffeine blocks the brain’s sleep-pressure signals for six or more hours, which can silently erode your deep sleep even if you fall asleep fine.
- Evening: Wind down with reduced screen time and a consistent bedtime. Protect seven to eight hours of sleep opportunity.
Track your fog levels for two to three weeks alongside these changes. Many people notice improvement within days of fixing sleep alone. If lifestyle adjustments don’t move the needle after a month, that’s a strong signal to pursue medical testing for thyroid issues, nutritional deficiencies, sleep disorders, or other underlying conditions that need targeted treatment.

