Infection with Epstein-Barr virus (EBV) and HLA-DRB1*1501-positivity is a risk factor for multiple sclerosis (MS), but whether an interaction between these two factors causes MS is unclear. Here, HLA-DRB1 is linked to infection.