Herein, we show that the ectonucleotidase CD39 plays an essential regulatory role in tuberculosis progression by preventing lung tissue damage, bacterial dissemination, and excessive inflammatory responses. The gene discussed is ENTPD1; the disease is tuberculosis.