This study demonstrates that the autoimmune disease-causal NCF1 variant is associated with a protective effect against TB infection. Here, NCF1 is linked to autoimmune disease.