Purine nucleoside phosphorylase enables dual metabolic checkpoints that prevent T cell immunodeficiency and TLR7-associated autoimmunity. Here, TLR7 is linked to T-cell immunodeficiency.