Recombinant IL-22 and IL-22 producing ILC3s reduced the bacterial burden, lung epithelial cell damage, insulin level and lipid metabolites and prolonged the survival of Mtb-infected T2DM mice. Here, IL22 is linked to type 2 diabetes mellitus.