By dissecting an autoimmune disease genetic locus, the authors define an immune cell-type-specific enhancer and the molecular mechanisms underlying the dysregulation of IRF8 expression by lupus risk variants. Here, IRF8 is linked to systemic lupus erythematosus.