What Causes MS? The Autoimmune Connection Explained

Medically Reviewed by Dr. José A. Jiménez, Medical Director — Medical Doctor and Surgeon (UNAM), Specialist in Critical Care and Intensive Care Medicine, with advanced training in Stem Cell Therapy, Sports Medicine, and Musculoskeletal Ultrasound. More than 30 years of medical experience. Last Reviewed: August 2026

MS is classified as an autoimmune disease: the immune system mistakenly attacks myelin, the protective coating around nerve fibers in the brain and spinal cord. Researchers believe MS develops from a combination of genetic susceptibility and environmental triggers — and one of the strongest environmental links identified to date is infection with the Epstein-Barr virus (EBV).

Get in Touch

Send us a message and our team will get back to you shortly.

How Autoimmunity Works in MS

In a healthy immune system, white blood cells identify and attack foreign invaders like viruses and bacteria. In MS, this same system misidentifies myelin as a threat and attacks it, along with the nerve fibers it protects. Over time, this creates scarred areas called lesions that disrupt the normal flow of nerve signals between the brain, spinal cord, and the rest of the body — which is what produces the wide range of MS symptoms.

Researchers describe this as a T-cell-mediated process: certain immune cells become activated against myelin proteins and cross into the central nervous system, triggering inflammation that damages both the myelin sheath and, over time, the nerve fibers themselves. Once enough of this damage accumulates, or occurs in a functionally important area, it produces the kind of noticeable symptoms that typically lead to a diagnosis.

Get in Touch

Send us a message and our team will get back to you shortly.

The Epstein-Barr Virus Connection

In 2022, researchers at the Harvard T.H. Chan School of Public Health published a large longitudinal study following more than 10 million young adults in the U.S. military over two decades. They found that the risk of developing MS increased roughly 32-fold following infection with the Epstein-Barr virus, and that MS almost never occurred in people who had not previously been infected with EBV. The research team, led by Dr. Alberto Ascherio, described this as the first study providing compelling evidence that EBV is a necessary precursor for most MS cases — a significant shift in scientific understanding of what triggers the disease.

EBV itself is extremely common — it infects the large majority of adults worldwide, most of whom never develop MS. Researchers believe additional genetic and environmental factors determine why only a small fraction of people infected with EBV go on to develop MS.

Other Known Risk Factors

Beyond EBV, researchers have identified several other factors associated with MS risk, including certain inherited genetic variations, low vitamin D levels or limited sun exposure, smoking, and living farther from the equator during childhood. None of these factors alone determines whether someone develops MS — they’re understood to interact with each other in ways researchers are still working to fully map out.

Genetics and Family Risk

MS is not inherited in the way some genetic conditions are, but having a close family member with MS does modestly increase risk compared to the general population. Researchers have identified dozens of gene variants associated with MS susceptibility, though no single gene causes the disease on its own. This is consistent with how MS is generally understood: a genetic predisposition that only leads to disease when combined with specific environmental exposures, such as EBV infection.

what causes multiple sclerosis 2

Geography, Sunlight, and Vitamin D

MS is notably more common in regions farther from the equator, a pattern researchers have observed for decades. Lower sunlight exposure in these regions is associated with lower vitamin D levels, and vitamin D is thought to play a role in immune regulation — leading to a long-standing hypothesis that vitamin D deficiency may contribute to MS risk. Migration studies add an interesting wrinkle: people who move from a high-risk region to a low-risk region before adolescence tend to take on the risk level of their new home, suggesting that childhood environmental exposure plays a meaningful role in later disease risk.

Why This Research Matters

Understanding MS as an immune-driven disease is part of why researchers continue to explore immune-modulating approaches to treatment — from established disease-modifying medications to newer regenerative options such as stem cell therapy. Our guide to MS treatment options walks through how these approaches compare, and patients curious specifically about the regenerative side can learn more about stem cell therapy for MS.

Where Research Is Headed Next

The EBV discovery has opened new lines of research that weren’t seriously pursued a decade ago, including early work on EBV-targeted vaccines and antiviral treatments aimed at reducing MS risk before it develops, rather than only managing it after diagnosis. Separately, researchers continue to investigate exactly how EBV triggers the immune system to attack myelin, since understanding that mechanism in more detail could eventually inform more targeted treatments. Both lines of research are still in relatively early stages, and neither is expected to change how existing MS patients are treated in the near term.

What This Means If You’ve Already Been Diagnosed

If you already have MS, understanding its cause won’t change your current treatment plan, but many patients find it genuinely helpful context — it explains why MS is treated as an immune condition rather than, say, a purely genetic or purely environmental one, and why researchers keep returning to immune-modulating approaches, from established DMTs to newer regenerative options, as the most promising direction for future treatment.

Frequently Asked Questions

Yes. MS is classified as an autoimmune disease in which the immune system attacks myelin, the protective coating around nerve fibers.

No. EBV infects the vast majority of adults worldwide, and only a small fraction go on to develop MS. Researchers believe additional genetic and environmental factors are involved.

There is no confirmed way to prevent MS today, though research into EBV vaccines and antiviral approaches is ongoing given the strength of the EBV-MS link.

MS is not directly inherited, but certain genetic variations are associated with higher risk when combined with environmental triggers like EBV infection.

Researchers believe reduced sunlight exposure and lower vitamin D levels in these regions may contribute to MS risk, though this is one of several interacting factors rather than a sole cause.

Having a close family member with MS modestly increases your risk compared to the general population, but MS is not directly inherited, and most children of people with MS never develop the condition.