Elevated IL-17 levels in TB patients with diabetes may worsen inflammation and pathology, contributing to more severe TB disease in individuals with T2D. Here, IL17A is linked to tuberculosis.