Multiple sclerosis (MS) has no single cause. It develops when a combination of genetic susceptibility, viral exposure, and environmental factors converge to trigger an immune attack on the protective coating around nerve fibers in the brain and spinal cord. Understanding these overlapping triggers helps explain why MS affects some people and not others, and why it clusters in certain populations and regions.
The Immune System Turns on Itself
MS is an autoimmune disease. Your immune system, which normally targets bacteria and viruses, mistakenly attacks myelin, the insulating layer that wraps around nerve fibers. When myelin is damaged, electrical signals between the brain and the rest of the body slow down or get disrupted entirely. Over time, the nerve fibers themselves can be injured.
What researchers have been trying to answer for decades is: what flips that switch? Why does the immune system start attacking healthy tissue? The evidence points to a chain of events rather than a single trigger, with genetics loading the gun and environmental factors pulling the trigger.
Genetics Set the Stage
MS is not directly inherited, but your genes influence how vulnerable you are. The strongest genetic link sits on chromosome 6, in a cluster of genes that help the immune system distinguish between your own cells and foreign invaders. This region, called the HLA locus, accounts for 20 to 30 percent of the genetic susceptibility to MS.
One specific gene variant stands out. People who carry the HLA-DRB1*15:01 allele are three times more likely to develop MS than people without it. This variant affects how immune cells present proteins to the rest of the immune system, potentially making it easier for the body to confuse myelin proteins with something harmful. More than 200 other genetic variants have been linked to smaller increases in MS risk, each contributing a tiny nudge toward immune dysfunction.
Having a first-degree relative with MS raises your risk, but it’s far from a guarantee. If one identical twin has MS, the other develops it only about 25 to 30 percent of the time, which tells us that genes alone are not enough.
Epstein-Barr Virus Is the Strongest Environmental Link
Of all the environmental factors studied, Epstein-Barr virus (EBV), the virus that causes mononucleosis, has the most compelling connection to MS. A landmark study tracking more than 10 million active-duty U.S. military personnel over 20 years found that people infected with EBV were 32 times more likely to develop MS than those who were never infected. Of 801 service members who developed MS during the study period, only one had not been infected with EBV beforehand.
After initial infection, EBV doesn’t leave the body. It remains dormant inside immune cells and can periodically reactivate. Researchers measured a biomarker of nerve damage called neurofilament light chain in blood samples collected before MS was diagnosed. Levels of this marker rose only after EBV infection and before MS symptoms appeared, suggesting that the virus sets off nerve damage well before the disease becomes clinically obvious.
The critical point: EBV infection alone is not enough. Roughly 95 percent of adults worldwide carry the virus, yet only a small fraction develop MS. The combination matters. Research in Indian populations found that carrying the high-risk HLA-DRB1*15:01 gene variant alongside an EBV infection had an additive effect on MS susceptibility, meaning the two risk factors together amplified the danger beyond what either posed on its own.
Distance From the Equator Matters
MS is far more common in countries farther from the equator. A large meta-analysis confirmed that for every degree of latitude you move away from the equator, MS prevalence increases by roughly 5 to 7 cases per 100,000 people. Countries like Canada, Scotland, and Scandinavia have some of the highest rates in the world, while MS is relatively rare in tropical regions.
The most likely explanation is sunlight, specifically the ultraviolet B radiation your skin needs to produce vitamin D. A Harvard Medical School study found that white individuals with vitamin D blood levels in the top 20 percent had a 62 percent lower risk of developing MS compared to those in the bottom 20 percent. Vitamin D plays a role in regulating the immune system, and low levels may remove a brake that normally keeps autoimmune responses in check. People who grow up at higher latitudes, particularly during childhood and adolescence when the immune system is still maturing, appear to carry this risk into adulthood even if they later move to sunnier climates.
Who Is Most at Risk
MS is three times more common in women than men. This gap has widened over the past several decades, and researchers suspect hormonal differences play a role, though the exact mechanism is still unclear. Most people are diagnosed between ages 20 and 50, making it one of the most common neurological diseases affecting young adults.
White people of Northern European descent have higher rates than other ethnic groups, though MS occurs across all races and ethnicities. The geographic and genetic risk factors overlap heavily in this population, making it difficult to fully separate the two.
Smoking, Obesity, and Other Modifiable Risks
Certain lifestyle factors increase MS risk in ways that appear independent of genetics. Smoking is one of the clearest. A meta-analysis found that people who have ever smoked regularly face roughly a 50 percent higher risk of developing MS compared to people who have never smoked. Smoking also worsens the disease once it starts, accelerating the transition from relapsing-remitting MS to progressive forms.
Obesity during childhood and adolescence is another established risk factor. Multiple observational studies and genetic analyses (using a technique called Mendelian randomization, which helps rule out coincidence) have confirmed that high body mass before age 20 increases MS susceptibility in both men and women. Excess body fat produces inflammatory signaling molecules and lowers circulating vitamin D levels, both of which could prime the immune system for the kind of dysfunction seen in MS.
The Gut Microbiome Connection
A newer area of research involves the trillions of bacteria living in your digestive tract. People with MS have a different gut bacterial profile than healthy individuals, even when compared to people living in the same household. Specifically, MS patients tend to have higher levels of certain bacteria, including Akkermansia muciniphila, and lower levels of Faecalibacterium prausnitzii and Blautia species, which are generally associated with anti-inflammatory activity.
The gut microbiome communicates with the immune system through metabolic byproducts and signaling pathways. In untreated MS patients, researchers found that pathways involved in breaking down certain plant compounds were overactive, while pathways that produce short-chain fatty acids (which help calm immune responses) were reduced. Whether these bacterial shifts are a cause of MS, a consequence of it, or a bit of both is still being worked out. But the pattern is consistent enough that it likely plays a contributing role in how the disease develops or progresses.
How These Factors Work Together
No single cause explains MS. The clearest picture researchers have assembled looks something like this: a person inherits immune system genes that make them more susceptible. During childhood or adolescence, they contract EBV, which lodges permanently in their immune cells. If they also grow up at higher latitudes with limited sun exposure, have low vitamin D levels, smoke, or carry excess weight during their developmental years, each factor compounds the risk. At some point, the immune system crosses a threshold and begins attacking myelin.
This multi-hit model explains why MS runs in families without following a simple inheritance pattern, why nearly everyone with MS has had EBV but most people with EBV never get MS, and why moving to a sunnier climate as a child can reduce risk but moving as an adult typically does not. The causes of MS are not mysterious so much as layered, with each factor nudging the immune system closer to a tipping point that, for most people, is never reached.