Here, we show that the TCR/ITK signaling pathway is enriched in human lungs with active tuberculosis and that Itk deficiency impaired early protection against Mtb in mice, accompanied by defective development of IL-17A-producing γδ T cells in the lungs. The gene discussed is IL17A; the disease is tuberculosis.