We found an association between the IL17F rs763780 SNP and different immunological and clinical parameters related to higher susceptibility to tuberculosis and disease severity, emphasizing the relationship between the SNP and the active form of the infection. Here, IL17F is linked to infection.