Overall, we showed that individuals carrying the C allele of the IL17F rs763780 SNP displayed a weaker immune response against Mtb, supporting a potential role for IL17F in tuberculosis. This evidence concerns the gene IL17F and tuberculosis.