These results demonstrate that macrophages were a significant source of PARP9 inside TB granulomas and that PARP9 deficiency enhanced M. tuberculosis susceptibility and exacerbated lung inflammation. Here, PARP9 is linked to tuberculosis.