Through differential gene expression analysis, clustering, and enrichment analysis, we identified 13 key biomarkers, including CCL2, SLC11A1, CD209, HLA-DQA1, and TIRAP, which are strongly associated with immune responses in tuberculosis. Here, CD209 is linked to tuberculosis.