The counts of CD3, CD4, CD8, and lymphocytes decreased, whereas those of neutrophils, platelets, and peripheral blood cells and their derived indices increased among TB patients with depression or anxiety in comparison with those without symptoms (p < 0.05). This evidence concerns the gene CD8A and tuberculosis.