IL-22 levels were significantly lower in Mtb-infected T2DM mice than in nondiabetic Mtb-infected mice. Here, IL22 is linked to type 2 diabetes mellitus.