Whereas IL-17A supports protective immune responses during mycobacterial infections, the role of IL-22 after infection with Mycobacterium tuberculosis (Mtb) is yet poorly characterized. Here, IL17A is linked to infection.