Moms-to-be who slept less than six to seven hours per night were almost twice as likely to have gestational diabetes, reports What To Expect.

Around week 24 to week 28 of pregnancy, your doctor will offer you a glucose screening, where you’ll have to chug a super-sweet orange liquid and then get your blood drawn. This screening looks for gestational diabetes (GDM) — a form of diabetes, or insulin resistance, that happens during pregnancy and affects approximately one in 10 expecting women.

Your doctor has likely already talked to you about some of the ways you can lower your risk of GDM, including paying extra careful attention to the foods you eat. But a new study, published this week in the journal Sleep Medicine Reviews, shows that there’s another not-so-obvious factor that can increase your risk: not getting enough sleep.