Polymorphic estrogen receptor binding site causes Cd2-dependent sex bias in the susceptibility to autoimmune diseases. Here, ESR1 is linked to autoimmune disease.