- Barrie, William;
- Yang, Yaoling;
- Irving-Pease, Evan K;
- Attfield, Kathrine E;
- Scorrano, Gabriele;
- Jensen, Lise Torp;
- Armen, Angelos P;
- Dimopoulos, Evangelos Antonios;
- Stern, Aaron;
- Refoyo-Martinez, Alba;
- Pearson, Alice;
- Ramsøe, Abigail;
- Gaunitz, Charleen;
- Demeter, Fabrice;
- Jørkov, Marie Louise S;
- Møller, Stig Bermann;
- Springborg, Bente;
- Klassen, Lutz;
- Hyldgård, Inger Marie;
- Wickmann, Niels;
- Vinner, Lasse;
- Korneliussen, Thorfinn Sand;
- Allentoft, Morten E;
- Sikora, Martin;
- Kristiansen, Kristian;
- Rodriguez, Santiago;
- Nielsen, Rasmus;
- Iversen, Astrid KN;
- Lawson, Daniel J;
- Fugger, Lars;
- Willerslev, Eske
Multiple sclerosis (MS) is a neuro-inflammatory and neurodegenerative disease that is most prevalent in Northern Europe. Although it is known that inherited risk for MS is located within or in close proximity to immune-related genes, it is unknown when, where and how this genetic risk originated1. Here, by using a large ancient genome dataset from the Mesolithic period to the Bronze Age2, along with new Medieval and post-Medieval genomes, we show that the genetic risk for MS rose among pastoralists from the Pontic steppe and was brought into Europe by the Yamnaya-related migration approximately 5,000 years ago. We further show that these MS-associated immunogenetic variants underwent positive selection both within the steppe population and later in Europe, probably driven by pathogenic challenges coinciding with changes in diet, lifestyle and population density. This study highlights the critical importance of the Neolithic period and Bronze Age as determinants of modern immune responses and their subsequent effect on the risk of developing MS in a changing environment.