These results show that the PD-1/PD-L1 pathway is involved in the occurrence and development of tuberculosis. Here, PDCD1 is linked to tuberculosis.