The PD-1/PD-L1 axis is upregulated in the 3D TB granuloma system. Here, PDCD1 is linked to tuberculosis.