CD39 exhibited age-dependent immunoregulatory roles in TB patients. Here, ENTPD1 is linked to tuberculosis.