PNP and immune system disorder: This work reveals that one purine metabolism gene protects against immunodeficiency and autoimmunity via independent mechanisms operating in distinct immune lineages and identifies PNP as a potentially novel metabolic immune checkpoint.