Here the authors find that DNA methylation at HLA-DRB1 gene mediates the effect of DRB1*15:01 and of a protective HLA variant on HLA-DRB1 expression and the risk of MS. Here, HLA-DRB1 is linked to myeloid sarcoma.