Elevated plasma levels of IL-6 and TNF-α in MHO and T2D patients promoted Th22 polarization. Here, TNF is linked to type 2 diabetes mellitus.