In summary, the present study demonstrates that metformin improves hyperglycemia- and obesity-associated endothelial dysfunction by inhibiting YAP–JNK pathway-related inflammation via activating AMPK. Here, MAPK8 is linked to Hyperglycemia.