Our study showed that 1) the hyperglycemic environment in patients with GDM causes a significant decrease in uterine contractility in late pregnancy and increases HIF-1α/TREK1 protein expression and that 2) hyperglycemia promotes hypoxia in HUSMCs, causing increased TREK1 expression and decreased HUSMCs contractility. Here, KCNK2 is linked to gestational diabetes.