Lost in the Fog: How Viruses Impact Our Brain Function

  • Published18 Sep 2025
  • Author Caleb Neal
  • Source BrainFacts/SfN
Man holding temples
Viruses can evade, influence, and attack our immune systems, sometimes leaving us feeling like we are in a fog.
Designed by Freepik

A high fever, sore throat, and body aches — viral infections usually run their course. But sometimes, something else lingers: a persistent mental haze. Tasks take longer, details evade recall, and concentration falters. 

Viruses like SARS-CoV-2 (the virus causing COVID-19), human immunodeficiency virus (HIV), and herpes simplex virus type 1 (HSV-1) all have the capacity to cause “brain fog,” impairing memory and disrupting brain function, even in people who have not experienced other symptoms.

Viral infections can precipitate lasting negative mental effects by over-activating the immune system, triggering chronic inflammation and structural damage. The result may include short-term memory lapses, trouble focusing, and a general sense of cognitive dulling for those experiencing brain fog.

How a Virus Hijacks the Immune System

Neurologist William T. Hu of Rutgers University thinks that post-COVID cognitive symptoms may be linked to immune system dysfunction in the brain. In a 2024 study, Hu and his colleagues identified an altered immune signature in the cerebrospinal fluid (CSF) of patients with post-COVID brain fog, a hallmark symptom of Long COVID — a condition where symptoms like fatigue, muscle weakness, and cognitive impairment continue long after the initial COVID-19 infection has cleared.

The team analyzed patients nine months after COVID-19 infection and found cognitive dysfunction was common and could not be explained by fatigue, sleep, or mood. “We found a very unifying pattern in people with cognitive Long COVID: a gene signature that recruited more monocytes,” Hu explained. Monocytes, a type of white blood cell, help regulate inflammation, fight infections, and repair dead or damaged cells. 

The team also found abnormal immune cell activation and elevated cytokines — the chemical messengers helping coordinate the body’s immune response — closely followed with cognitive impairment. High cytokine levels in the brain can induce inflammation, disrupting brain function and causing problems with attention, memory, and mental clarity. Their findings suggest the changes in immune cell activation represent a lasting immune response in the brain, not just stress or exhaustion.

“…Something’s off in the crosstalk between immune cells.” — William HuNot everyone exposed to SARS-CoV-2 will develop cognitive impairment. “In people who recover, monocyte recruitment leads to a normal immune response,” Hu explained. “But in those who don’t, the clearance mechanism isn’t what we expect. Something’s off in the crosstalk between immune cells.” As people who fully recovered from COVID did not show the same immune patterns, researchers believe persistent immune dysfunction can drive the cognitive symptoms many Long COVID patients face. 

Other findings suggest SARS-CoV-2 can directly enter the brain and infect neurons, without invoking immune dysfunction, to cause brain fog. These infections may also induce the production of amyloid proteins linked to Alzheimer’s, potentially leading to chronic, excessive protein production and harmful inflammation.
 
Not All Viruses Cause Damage the Same

The mechanisms by which viruses impair memory vary. While some RNA viruses like SARS-CoV-2 can directly affect neuronal cells and induce immune responses that persist for an acute period, other viruses like HIV lie dormant after initial infection.

HIV causes damage to the immune system, triggering inflammation in the brain and spinal cord, attacking T cells — white blood cells helping protect the body from infection — infecting microglia, the brain’s resident immune cells. As viral proteins continue to circulate in the brain, people living with HIV can develop long-term neurocognitive impairments, resulting in a lack of concentration, trouble with memory, and slowed thinking.

Treatments like antiretroviral therapies can keep HIV undetectable and may help prevent or reverse mild cognitive symptoms. But people on these therapies may still experience mild cognitive impairments. “Even though the person doesn't have infectious virus coming out of them, they've still got these proteins that are causing problems, causing immune activation, inflammation, and affecting the brain negatively,” said Ronald Ellis, a board-certified neurologist at University of California San Diego Health who specializes in neurological manifestations of HIV.

Other viruses, like HSV-1 — the common trigger for cold sores — can directly infect neurons, causing inflammation and even neuronal death. Once infected, the virus lies dormant inside nerve cells and evades the immune system for years. 

Researchers are increasingly finding associations between HSV-1 infections and dementia, a more permanent decline in cognitive ability marked by symptoms like those seen in brain fog. One 2023 meta-analysis reviewing 90 studies with nearly 350,000 participants concluded HSV-1 was significantly associated with an increased risk of dementia. Other research using organoids, or tiny lab-grown brain models, found HSV-1 infection can cause inflammation and a buildup of amyloid-beta proteins linked to Alzheimer’s. And head trauma may reactivate dormant HSV-1, jumpstarting inflammation and amyloid buildup. 

What’s Causing the Fog?

Across viral infections leading to brain fog, age, genetic background, and immune health all impact susceptibility to cognitive problems. 

For example, those who carry the APOE4 allele gene, a gene variant linked to a higher risk of Alzheimer’s, are likely to be more vulnerable to memory and cognitive dysfunction. Patients with pre-existing neurological conditions such as Parkinson’s disease, or those who are on immunosuppressive therapy, often struggle to return to their baseline after infection.

The integrity of the blood-brain barrier (BBB), a protective layer separating the brain from the rest of the body’s bloodstream, also plays a critical role. Age, injury, disease and lifestyle choices — like poor diet or drug use — all alter the BBB. A weakened barrier allows immune mediators and pathogens to infiltrate the brain, amplifying damage. “Something that wouldn't tip a healthy person over does tip them over because they're starting from a different place. That's something that's held in common for pretty much every brain disease,” said Ellis.

Still, the brain is a resilient organ. Neuroplasticity, the brain's ability to rewire itself, offers a pathway to recovery. “Neuroplasticity is essential to how the brain recovers from viral insult,” said Tamara Kermani, a family medicine physician at Parkview Health in Fort Wayne, Ind., with expertise in Long COVID.

“With hard work and neuropsychiatric rehab, the brain can remold confused or lost connections to regain memory, attention, and function,” Kermani said. Rehabilitative treatment options, however, remain limited. “Access to cognitive rehab is a major challenge, especially for patients not near large medical centers,” she added. 

Other treatment options for viral-induced cognitive impairments have mixed results to date. One approach, an intravenous immunoglobulin therapy made from donated antibodies used to regulate the immune system responses, hasn’t consistently improved symptoms.

Hu believes there may be hope with antiviral treatments. “Antivirals may have a better shot, especially if we’re dealing with a chronic viral infection, not just a lingering immune response,” he said.

“The big, unanswered question is: Are they all just part and parcel of the same underlying problem? Or is there a level of specificity that you could target one or more of those?” asked Ellis. Determining which biomarkers are relevant for studying each viral infection, whether there is overlap in treating brain fog across viruses, and how to target these shared processes, are all important steps toward identifying potential treatments. “I suspect it's going to be multiple shots on goal — combination therapies. But combination therapies are very hard to study because the clinical trials become incredibly complex, and it is hard to disentangle the effects of things when you have them given at the same time.” 

Determining whether brain fog is caused by lingering inflammation or a virus that has never fully gone away is essential. The answer will tell us whether calming down an overactive immune system or suppressing a virus could help ease patients’ symptoms.  the answer. For those still struggling to think clearly after infection, understanding the difference between the two is the first step toward recovery.

CONTENT PROVIDED BY

BrainFacts/SfN

Beckman D. (2025). Beyond brain fog: COVID-19 can leave lasting effects on the brain. Psychiatry and Clinical Neurosciences, 79(9), 511–512. https://doi.org/10.1111/pcn.13867

Bonilla, H., Peluso, M. J., Rodgers, K., Aberg, J. A., Patterson, T. F., Tamburro, R., Baizer, L., Goldman, J. D., Rouphael, N., Deitchman, A., Fine, J., Fontelo, P., Kim, A. Y., Shaw, G., Stratford, J., Ceger, P., Costantine, M. M., Fisher, L., O'Brien, L., Maughan, C., … McComsey, G. A. (2023). Therapeutic trials for long COVID-19: A call to action from the interventions taskforce of the RECOVER initiative. Frontiers in Immunology14, 1129459. https://doi.org/10.3389/fimmu.2023.1129459

Douaud, G., Lee, S., Alfaro-Almagro, F., Arthofer, C., Wang, C., McCarthy, P., Lange, F., Andersson, J. L. R., Griffanti, L., Duff, E., Jbabdi, S., Taschler, B., Keating, P., Winkler, A. M., Collins, R., Matthews, P. M., Allen, N., Miller, K. L., Nichols, T. E., & Smith, S. M. (2022). SARS-CoV-2 is associated with changes in brain structure in UK Biobank. Nature, 604(7907), 697–707. https://doi.org/10.1038/s41586-022-04569-5

Düsedau, H. P., Steffen, J., Figueiredo, C. A., Boehme, J. D., Schultz, K., Erck, C., Korte, M., Faber-Zuschratter, H., Smalla, K. H., Dieterich, D., Kröger, A., Bruder, D., & Dunay, I. R. (2021). Influenza A Virus (H1N1) Infection Induces Microglial Activation and Temporal Dysbalance in Glutamatergic Synaptic Transmission. mBio12(5), e0177621. https://doi.org/10.1128/mBio.01776-21

Elhalag, R. H., Motawea, K. R., Talat, N. E., Rouzan, S. S., Mahmoud, N., Hammad, E. M., Reyad, S. M., Mohamed, M. S., & Shah, J. (2023). Herpes simplex virus infection and the risk of dementia: a systematic review and meta-analysis. Annals of Medicine and Surgery (2012)85(10), 5060–5074. https://doi.org/10.1097/MS9.0000000000000951

Ellis, R. J., Marquine, M. J., Kaul, M., Fields, J. A., & Schlachetzki, J. C. M. (2023). Mechanisms underlying HIV-associated cognitive impairment and emerging therapies for its management. Nature Reviews. Neurology19(11), 668–687. https://doi.org/10.1038/s41582-023-00879-y

Hassan, L., Ahsan, Z., & Bint E Riaz, H. (2023). An Unusual Case of Blackout in a COVID-19 Patient: COVID-19 Brain Fog. Cureus15(3), e36273. https://doi.org/10.7759/cureus.36273

Hu, W. T., Kaluzova, M., Dawson, A., Sotelo, V., Papas, J., Lemenze, A., Shu, C., Jomartin, M., Nayyar, A., & Hussain, S. (2024). Clinical and CSF single-cell profiling of post-COVID-19 cognitive impairment. Cell Reports. Medicine, 5(5), 101561. https://doi.org/10.1016/j.xcrm.2024.101561

Miller, S. J., Dhodapkar, R. M., Sutova, H. E., Xue, Y., Lee, S., Logan, R., Ran, C., Bhatta, S., Gomm, A., Ju, I. G., Heyang, M., Darji, R. Y., DiStasio, M., Tanzi, R. E., Zhang, C., Zhou, Z. J., & Hafler, B. P. (2025). SARS-CoV-2 induces Alzheimer's disease-related amyloid-β pathology in ex vivo human retinal explants and retinal organoids. Science Advances, 11(27), eads5006. https://doi.org/10.1126/sciadv.ads5006 

Shim, S. M., Cheon, H. S., Jo, C., Koh, Y. H., Song, J., & Jeon, J. P. (2017). Elevated Epstein-Barr Virus Antibody Level is Associated with Cognitive Decline in the Korean Elderly. Journal of Alzheimer's Disease: JAD55(1), 293–301. https://doi.org/10.3233/JAD-160563

Wang, E., Huang, X., Ye, Y., Zou, S., Chen, G., Yang, L., Fraser, N. W., Bao, F., Zhou, J., & Cao, X. (2023). Persistent inflammation and neuronal loss in the mouse brain induced by a modified form of attenuated herpes simplex virus type I. Virologica Sinica, 38(1), 108–118. https://doi.org/10.1016/j.virs.2022.11.008

Educator Resources

Explain the brain to your students with a variety of teaching tools and resources.

Explore

Core Concepts

A beginner's guide to the brain and nervous system.

Explore

Neuroscience in the News

Check out the latest news from the field.

Read More