In conclusion, our integrated analysis of publicly available datasets positioned CD39 as a pivotal regulator of TB-associated immune exhaustion and neutrophil-driven inflammation, with demonstrated superior diagnostic accuracy and strong therapeutic potential signaled by its downregulation during successful treatment. This evidence concerns the gene ENTPD1 and tuberculosis.