The depletion of TRPV1 may lead to elevated glucose intolerance in T2DM. Here, TRPV1 is linked to type 2 diabetes mellitus.