Antibodies targeting IL-17A or its receptor IL-17RA show unprecedented efficacy in the treatment of autoimmune diseases such as psoriasis. These therapies, by neutralizing critical mediators of immunity, may increase susceptibility to infections. Here, we compared the effect of antibodies neutralizing IL-17A, IL-17F or TNFα on murine host responses to Mycobacterium tuberculosis infection by evaluating lung transcriptomic, microbiological and histological analyses. Coinciding with a significant increase of mycobacterial burden and pathological changes following TNFα blockade, gene array analyses of infected lungs revealed major changes of inflammatory and immune gene expression signatures 4 weeks post-infection. Specifically, gene expression associated with host-pathogen interactions, macrophage recruitment, activation and polarization, host-antimycobacterial activities, immunomodulatory responses, as well as extracellular matrix metallopeptidases, were markedly modulated by TNFα blockade. IL-17A or IL-17F neutralization elicited only mild changes of few genes without impaired host resistance four weeks after M. tuberculosis infection. Further, the absence of both IL-17RA and IL-22 pathways in genetically deficient mice did not profoundly compromise host control of M. tuberculosis over a 6-months period, ruling out potential compensation between these two pathways, while TNFα-deficient mice succumbed rapidly. These data provide experimental confirmation of the low clinical risk of mycobacterial infection under anti-IL-17A therapy, in contrast to anti-TNFα treatment.