The incidence of diabetes in women of childbearing age has been increasing recently and implantation failure and early abortion are important reasons for infertility in diabetic women. Glycogen synthesis and decomposition are the cores of glucose homeostasis in endometrium and AMPK is activated when cellular energy consumption increases. Embryo implantation is a complex process required huge energy. Yet the changes of glucose metabolism in endometrium and its impact on embryo implantation in diabetic women are still unclear. In this research, we established diabetic pregnancy mice model by intraperitoneal injecting streptozotocin on pregnant day 1. We first tested the changes of endometrial glucose homeostasis and embryo implantation. Next, we demonstrated abnormal activation of AMPK in the endometrium of diabetic mice and its affecting endometrial glucose homeostasis. Finally, we compared the endometrial glucose homeostasis and embryo implantation outcome in diabetic pregnant mice treated with insulin or insulin combined with metformin. The results indicated that there was disturbed glucose homeostasis associated with excessive activation of AMPK in endometrium of diabetic pregnant mice. AMPK inhibitor improved the over-activation of AMPK pathway in the endometrium, meanwhile, partially corrected the abnormal glycogen metabolism and improved the implantation. Insulin improved the disorder of endometrial glucose homeostasis and implantation of diabetic mice. Our research explores the causes of high abortion and infertility rate in diabetic women which is to provide a therapeutic reference for patients with diabetes complicated with infertility and early abortion.