Back to Blog
February 14, 202612 min read

23andMe MS Risk: Is Multiple Sclerosis in Your DNA? (Check Your Raw Data)

Upload your 23andMe raw data to check your genetic risk for multiple sclerosis. See your HLA-DRB1, IL7R, and IL2RA variants instantly. Free analysis for MS risk factors.

multiple sclerosisMSgeneticsHLAautoimmuneDNA testing23andMe
📬

Genome Weekly — Get articles like this delivered every Wednesday. Subscribe free →

Is Multiple Sclerosis Genetic? What Your DNA Reveals About MS Risk

Multiple sclerosis affects approximately 2.8 million people worldwide, and its geographic distribution has long puzzled researchers (MS International Federation, 2020). Why is MS far more common in northern latitudes? Why do certain ethnic groups have dramatically higher rates? The answers lie in a fascinating intersection of genetics, immune system biology, and environmental triggers.

If someone in your family has MS, you have likely wondered about your own risk. Here is what the science actually shows.

How We Know MS Is Genetic

The evidence for a genetic component in MS is compelling. Heritability estimates for MS are approximately 50%, meaning that half of the variation in susceptibility across the population is driven by genetic differences (Baranzini & Oksenberg, 2017).

Curious about your multiple sclerosis risk? Upload your DNA data from 23andMe or AncestryDNA for a personalized analysis.

100% private - processed entirely in your browser.

Get started

The strongest evidence comes from twin studies. If one identical twin has MS, the other twin has a 25 to 30% chance of also developing the disease. For fraternal twins, that risk drops to about 5%, and for non-twin siblings it is roughly 3 to 5% (Willer et al., 2003). The general population risk is only about 0.1%, so having an affected sibling increases risk 30 to 50 fold.

Adoption studies further confirm the genetic link. Adopted children do not share the MS risk of their adoptive families but do share the risk associated with their biological relatives (Ebers et al., 1995). This rules out shared household environment as the primary driver.

Large-scale genome-wide association studies (GWAS) have now identified over 200 genetic variants associated with MS susceptibility, the vast majority of which are involved in immune system regulation (International Multiple Sclerosis Genetics Consortium, 2019).

Key Genes Linked to Multiple Sclerosis

HLA-DRB1 and the MHC Region (rs3135388)

The single strongest genetic risk factor for MS is the HLA-DRB1*15:01 allele, tagged by the SNP rs3135388. This variant sits within the major histocompatibility complex (MHC) on chromosome 6, the most gene-dense region of the human genome dedicated to immune function.

  • Carrying one copy of HLA-DRB1*15:01 roughly triples your MS risk (odds ratio of approximately 3.08)
  • Two copies increase risk even further, following a dose-dependent pattern (Lincoln et al., 2005)
  • This single allele accounts for more MS risk than all other identified genetic variants combined
  • The HLA-DRB1 protein presents fragments of proteins to T cells, essentially teaching the immune system what to attack
  • The *15:01 variant may cause the immune system to mistakenly recognize myelin as a foreign threat (Hollenbach & Oksenberg, 2015)

Other HLA alleles also play a role. HLA-A*02:01 appears to be protective against MS, reducing risk by approximately 25% (International Multiple Sclerosis Genetics Consortium, 2019). The interplay between risk and protective HLA alleles creates a complex genetic landscape.

IL2RA, Interleukin-2 Receptor Alpha (rs2104286)

IL2RA (also known as CD25) is critical for regulatory T cell function. Regulatory T cells act as the immune system's brakes, preventing autoimmune attacks.

  • The rs2104286 variant in IL2RA has been associated with MS susceptibility across multiple large studies (International Multiple Sclerosis Genetics Consortium, 2007)
  • This same gene region is also associated with type 1 diabetes, rheumatoid arthritis, and other autoimmune conditions (Hafler et al., 2007)
  • The risk allele may reduce regulatory T cell activity, weakening the immune system's ability to suppress self-reactive T cells
  • Soluble IL-2RA levels in cerebrospinal fluid correlate with MS disease activity (Bielekova et al., 2006)

IL7R, Interleukin-7 Receptor (rs6897932)

The rs6897932 variant in the IL7R gene affects alternative splicing of the IL-7 receptor.

  • The risk allele (C allele) increases production of a soluble form of the receptor (Gregory et al., 2007)
  • This soluble form may amplify T cell survival and proliferation, potentially fueling autoimmune responses
  • IL-7 signaling is essential for T cell development and homeostasis
  • The effect has been replicated in populations of European, Asian, and African descent (Lundmark et al., 2007)

Additional Risk Genes

Beyond these major players, several other genes contribute to MS risk:

  • CD58 (rs2300747): encodes a cell adhesion molecule involved in T cell activation; the protective allele increases CD58 expression and may enhance regulatory T cell function (De Jager et al., 2009)
  • CLEC16A (rs6498169): involved in autophagy and immune cell function; variants affect thymic selection of T cells (Skinningsrud et al., 2008)
  • EVI5 (rs10735781): plays a role in cell cycle regulation and may affect immune cell proliferation (International Multiple Sclerosis Genetics Consortium, 2007)

Gene-Environment Interactions in MS

The Vitamin D Connection

One of the most compelling gene-environment interactions in MS involves vitamin D. The HLA-DRB1 gene contains a vitamin D response element (VDRE) in its promoter region, meaning vitamin D directly regulates the expression of the single most important MS risk gene (Ramagopalan et al., 2009).

This discovery elegantly explains several observations:

  • MS is more common at higher latitudes where sunlight exposure, and therefore vitamin D synthesis, is lower
  • MS incidence increases with distance from the equator in a clear gradient (Simpson et al., 2011)
  • Individuals with low vitamin D levels AND the HLA-DRB1*15:01 allele may face a compounded risk that neither factor alone would produce
  • Prospective studies have shown that higher vitamin D levels are associated with reduced MS risk by up to 40%, and this effect appears strongest in individuals who carry HLA risk alleles (Munger et al., 2006)

Epstein-Barr Virus: The Environmental Trigger

A landmark 2022 study in Science provided near-definitive evidence that Epstein-Barr virus (EBV) infection is a necessary trigger for MS (Bjornevik et al., 2022). Analyzing data from over 10 million U.S. military personnel, researchers found that:

  • EBV infection increased MS risk 32-fold
  • Virtually all MS patients were EBV-positive
  • No other virus showed a comparable association
  • Seroconversion to EBV-positive preceded MS onset, establishing temporal causation

The genetic connection is striking. EBV may trigger MS through molecular mimicry, where viral proteins resemble myelin proteins closely enough to confuse the immune system. The HLA-DRB1*15:01 variant may be particularly prone to presenting EBV-derived peptides that cross-react with myelin (Lanz et al., 2022).

Smoking and Obesity

Cigarette smoking increases MS risk by approximately 50% and worsens disease progression in a dose-dependent manner (Hedstrom et al., 2009). Smokers who carry HLA-DRB1*15:01 face a significantly higher risk than either factor alone would predict, demonstrating a multiplicative gene-environment interaction (Hedstrom et al., 2011).

Adolescent obesity, particularly before age 20, has also been associated with doubled MS risk, possibly through chronic low-grade inflammation and vitamin D sequestration in adipose tissue (Munger et al., 2013).

What You Can Do With This Information

For everyone, especially those with a family history:

  • Maintain adequate vitamin D levels; discuss testing and supplementation with your doctor, aiming for serum 25(OH)D levels of at least 40 ng/mL
  • Avoid smoking or quit if you currently smoke
  • Maintain a healthy weight, particularly during adolescence and young adulthood
  • Be aware of early MS symptoms (vision changes, numbness, unusual fatigue, balance problems) so you can seek prompt evaluation

If you carry HLA-DRB1 risk alleles:

  • Vitamin D optimization may be especially important given the direct gene-vitamin D regulatory interaction
  • Consider discussing your genetic risk with a neurologist if you have a first-degree relative with MS
  • Stay informed about MS prevention trials, which increasingly target high-risk genetic groups

Important context: Even with the highest-risk genotype, the absolute lifetime risk of developing MS remains relatively low. Genetics identifies susceptibility, not certainty.

Key Takeaways

  • MS has a heritability of approximately 50%, with over 200 identified risk variants
  • The HLA-DRB1*15:01 allele is the single strongest risk factor, tripling MS risk on its own
  • IL2RA and IL7R variants affect regulatory T cell function and T cell survival, contributing to autoimmune susceptibility
  • Vitamin D directly regulates the most important MS risk gene, explaining the latitude gradient
  • Epstein-Barr virus infection is a near-necessary environmental trigger, increasing risk 32-fold
  • Smoking and adolescent obesity multiply genetic risk through gene-environment interactions
  • Modifiable factors like vitamin D, smoking cessation, and weight management can meaningfully reduce risk even in genetically susceptible individuals

Explore Your Own Genetics

Upload your raw DNA data to Genome Insight and get instant, research-backed insights into your MS-related genetic variants, HLA type, and autoimmune risk factors.

References

Baranzini, S. E., & Oksenberg, J. R. (2017). The genetics of multiple sclerosis: From 0 to 200 in 50 years. Trends in Genetics, 33(12), 960-970. https://doi.org/10.1016/j.tig.2017.09.004

Bielekova, B., Komuj, N., Bock, M., Bielekova, B., Richert, N., Howard, T., Blevins, G., Ohayon, J., Waldmann, T. A., McFarland, H. F., & Martin, R. (2006). Regulatory CD56bright natural killer cells mediate immunomodulatory effects of IL-2Ralpha-targeted therapy (daclizumab) in multiple sclerosis. Proceedings of the National Academy of Sciences, 103(15), 5941-5946. https://doi.org/10.1073/pnas.0601335103

Bjornevik, K., Cortese, M., Healy, B. C., Kuhle, J., Mina, M. J., Leng, Y., Elledge, S. J., Niebuhr, D. W., Scher, A. I., Munger, K. L., & Ascherio, A. (2022). Longitudinal analysis reveals high prevalence of Epstein-Barr virus associated with multiple sclerosis. Science, 375(6578), 296-301. https://doi.org/10.1126/science.abj8222

De Jager, P. L., Baecher-Allan, C., Maier, L. M., Arthur, A. T., Ottoboni, L., Barcellos, L., McCauley, J. L., Sawcer, S., Goris, A., Saarela, J., Yelenoski, S., Price, A., Pericak-Vance, M. A., Dubois, B., Hafler, D. A., & Compston, A. (2009). The role of the CD58 locus in multiple sclerosis. Proceedings of the National Academy of Sciences, 106(13), 5264-5269. https://doi.org/10.1073/pnas.0813310106

Ebers, G. C., Sadovnick, A. D., & Risch, N. J. (1995). A genetic basis for familial aggregation in multiple sclerosis. Nature, 377(6545), 150-151. https://doi.org/10.1038/377150a0

Gregory, S. G., Schmidt, S., Seth, P., Oksenberg, J. R., Hart, J., Prokop, A., Caillier, S. J., Ban, M., Goris, A., Barcellos, L. F., Lincoln, R., McCauley, J. L., Sawcer, S. J., Compston, D. A., Dubois, B., Hauser, S. L., Garcia-Blanco, M. A., Pericak-Vance, M. A., & Haines, J. L. (2007). Interleukin 7 receptor alpha chain (IL7R) shows allelic and functional association with multiple sclerosis. Nature Genetics, 39(9), 1083-1091. https://doi.org/10.1038/ng2103

Hafler, D. A., Compston, A., Sawcer, S., Lander, E. S., Daly, M. J., De Jager, P. L., de Bakker, P. I., Gabriel, S. B., Mirel, D. B., Ivinson, A. J., & International Multiple Sclerosis Genetics Consortium. (2007). Risk alleles for multiple sclerosis identified by a genomewide study. New England Journal of Medicine, 357(9), 851-862. https://doi.org/10.1056/NEJMoa073493

Hedstrom, A. K., Hillert, J., Olsson, T., & Alfredsson, L. (2009). Smoking and multiple sclerosis susceptibility. European Journal of Epidemiology, 24(9), 541-546. https://doi.org/10.1007/s10654-009-9378-2

Hedstrom, A. K., Sundqvist, E., Baarnhielm, M., Nordin, N., Hillert, J., Kockum, I., Olsson, T., & Alfredsson, L. (2011). Smoking and two human leukocyte antigen genes interact to increase the risk for multiple sclerosis. Brain, 134(3), 653-664. https://doi.org/10.1093/brain/awq371

Hollenbach, J. A., & Oksenberg, J. R. (2015). The immunogenetics of multiple sclerosis: A comprehensive review. Journal of Autoimmunity, 64, 13-25. https://doi.org/10.1016/j.jaut.2015.07.014

International Multiple Sclerosis Genetics Consortium. (2007). Risk alleles for multiple sclerosis identified by a genomewide study. New England Journal of Medicine, 357(9), 851-862. https://doi.org/10.1056/NEJMoa073493

International Multiple Sclerosis Genetics Consortium. (2019). Multiple sclerosis genomic map implicates peripheral immune cells and microglia in susceptibility. Science, 365(6460), eaav7188. https://doi.org/10.1126/science.aav7188

Lanz, T. V., Brewer, R. C., Ho, P. P., Moon, J. S., Jude, K. M., Fernandez, D., Fernandes, R. A., Gomez, A. M., Nadj, G. S., Luciani, C. M., & Robinson, W. H. (2022). Clonally expanded B cells in multiple sclerosis bind EBV EBNA1 and GlialCAM. Nature, 603(7900), 321-327. https://doi.org/10.1038/s41586-022-04432-7

Lincoln, M. R., Montpetit, A., Cader, M. Z., Saarela, J., Dyment, D. A., Tiislar, M., Ferretti, V., Tienari, P. J., Sadovnick, A. D., Peltonen, L., Ebers, G. C., & Hudson, T. J. (2005). A predominant role for the HLA class II region in the association of the MHC region with multiple sclerosis. Nature Genetics, 37(10), 1108-1112. https://doi.org/10.1038/ng1647

Lundmark, F., Duvefelt, K., Iacobaeus, E., Kockum, I., Wallstrom, E., Khademi, M., Oturai, A., Ryder, L. P., Saarela, J., Harbo, H. F., Celius, E. G., Salter, H., Olsson, T., & Hillert, J. (2007). Variation in interleukin 7 receptor alpha chain (IL7R) influences risk of multiple sclerosis. Nature Genetics, 39(9), 1108-1113. https://doi.org/10.1038/ng2106

MS International Federation. (2020). Atlas of MS 2020. https://www.atlasofms.org

Munger, K. L., Levin, L. I., Hollis, B. W., Howard, N. S., & Ascherio, A. (2006). Serum 25-hydroxyvitamin D levels and risk of multiple sclerosis. JAMA, 296(23), 2832-2838. https://doi.org/10.1001/jama.296.23.2832

Munger, K. L., Bentzen, J., Laursen, B., Stenager, E., Koch-Henriksen, N., Sorensen, T. I., & Baker, J. L. (2013). Childhood body mass index and multiple sclerosis risk: A long-term cohort study. Multiple Sclerosis Journal, 19(10), 1323-1329. https://doi.org/10.1177/1352458513483889

Ramagopalan, S. V., Maugeri, N. J., Handunnetthi, L., Lincoln, M. R., Orton, S. M., Dyment, D. A., Deluca, G. C., Herrera, B. M., Chao, M. J., Sadovnick, A. D., Ebers, G. C., & Knight, J. C. (2009). Expression of the multiple sclerosis-associated MHC class II allele HLA-DRB1*1501 is regulated by vitamin D. PLoS Genetics, 5(2), e1000369. https://doi.org/10.1371/journal.pgen.1000369

Simpson, S., Blizzard, L., Otahal, P., Van der Mei, I., & Taylor, B. (2011). Latitude is significantly associated with the prevalence of multiple sclerosis: A meta-analysis. Journal of Neurology, Neurosurgery and Psychiatry, 82(10), 1132-1141. https://doi.org/10.1136/jnnp.2011.240432

Skinningsrud, B., Husebye, E. S., Pearce, S. H., McDonald, D. O., Brandal, K., Wolff, A. B., Lovas, K., Egeland, T., & Undlien, D. E. (2008). Polymorphisms in CLEC16A and CIITA at 16p13 are associated with primary adrenal insufficiency. Journal of Clinical Endocrinology and Metabolism, 93(9), 3310-3317. https://doi.org/10.1210/jc.2008-0821

Willer, C. J., Dyment, D. A., Risch, N. J., Ebers, G. C., & Sadovnick, A. D. (2003). Twin concordance and sibling recurrence rates in multiple sclerosis. Proceedings of the National Academy of Sciences, 100(22), 12877-12882. https://doi.org/10.1073/pnas.1932604100


Related Reading

Check Your Own Variants

If you have raw DNA data from 23andMe, AncestryDNA, or similar services, you can analyze the genetic variants discussed in this article. GenomeInsight processes everything in your browser — your data never leaves your device.

H

Henry Martinez

Genetic health insights for everyone.

📬 Genome Weekly

Get Articles Like This Delivered Weekly

Genetics insights backed by peer-reviewed research. Free tier + Pro deep dives.

Discover Your Genetic Insights

Upload your DNA data for personalized health, pharmacogenomics, and trait analysis.

Analyze Your DNA