The largest genetic study of gestational diabetes to date has led to a discovery of nine novel genetic regions linked to this severe and common pregnancy complication. The results shed light on previously unknown physiological mechanisms related to the development of diabetes that involve adaptive changes in the brain during pregnancy.