TRPV1 activation ameliorates high-glucose-induced endothelial dysfunction in a UCP2-dependent manner. Here, UCP2 is linked to endothelial dysfunction.