About MS

Causes and risk factors of MS

What we know about the causes of MS: genes, Epstein-Barr virus, vitamin D and sunlight, smoking, being overweight when young and age.

Published: Sources checked: ≈ 2 min read

Prepared with AI assistance · editorially checked: Martin Zed, 26 November 2026 · not expert-reviewed

Illustration: damage to the myelin coating of a nerve fibre

In brief

  • The exact cause of MS is not known; it is probably a combination of genes, environment and lifestyle.
  • MS is not directly inherited; the risk is raised by, for example, past Epstein-Barr virus infection, low vitamin D, smoking and obesity when young.
  • Some risk factors, such as smoking and weight, can be changed.

What we know about the causes

The exact cause of MS is not known. It is probably a combination of genes, environmental influences and lifestyle [1]. A risk factor does not mean that a person will get MS – it only makes it more likely.

Genes

MS is not directly inherited, and no single gene causes it. More than 200 genes may affect the chance of getting MS, but they are only part of the story [1].

  • If a parent has MS, their child has a chance of roughly 1.5 %, or about 1 in 67.
  • If a brother or sister has MS, the chance is about 2.7 %, or about 1 in 37 [1].

Epstein-Barr virus

The Epstein-Barr virus, which causes glandular fever, has been linked to MS. Most people have had it without developing MS, though [1].

A US study published in Science in 2022 followed blood samples from more than 10 million military personnel. After infection with this virus, the risk of MS was 32 times higher. The level of NfL, which reveals nerve damage, rose only after the infection and before the MS diagnosis [2]. Up to 95 % of adults have had the virus and most of them never get MS, so it is thought to act together with other factors, such as genes, smoking or obesity [2].

Vitamin D and sunlight

Low vitamin D levels, especially in childhood and adolescence, may play a role. The body makes most of its vitamin D in the skin from summer sun. MS is less common in sunny countries near the equator and more common farther from it, regardless of ethnic background [1]. Too many supplements can be harmful; vitamin D levels can be checked with a blood test [1].

Smoking

Smoking makes it more likely that a person gets MS. The link with passive smoking is less certain. For people with relapsing MS, stopping smoking may slow the change to the secondary progressive form [1].

Being overweight when young

Obesity, especially in childhood or young adulthood, is linked to MS. This may be related to lower vitamin D levels and inflammation in the body; other reasons are not yet known. Weight is one of the risk factors that can be changed [1].

Age

MS is usually diagnosed in people aged 30 to 49, but it can start earlier or later. We cannot yet predict who will get MS in the future [1]. How MS develops and shows itself is described in What is multiple sclerosis.

Sources 2

  1. What causes MS? MS Society UK www.mssociety.org.uk accessed 26 November 2026

  2. New study provides strong evidence for role of Epstein Barr virus as a trigger for multiple sclerosis MS Trust, 14 January 2022 mstrust.org.uk accessed 26 November 2026

Change history

  • First published.

Search

Searches titles, summaries and keywords.

Quick links

Sections

Reading settings

Text size

Display mode

High contrast

Black text on a plain background and stronger outlines.

Fatigue mode: key points only

Shows only the key points of articles.

Simplified view

No illustrations or decoration, more space in the text.

Reduce motion

Turns off transitions and movement on the page.

Settings are stored only in this browser.