The mechanisms underlying MAIT cells defects and increased IL-17 production in T2D and obesity remain to elucidate. Here, IL17A is linked to type 2 diabetes mellitus.