The role of IL-17 and its family members in protective immunity to TB remains unclear. Here, IL17A is linked to tuberculosis.