Importantly, our work defines Setd2 as a novel regulator of V(D)J recombination and shows that SETD2 is mutated in human PID patients. Here, SETD2 is linked to pelvic inflammatory disease.