We studied whether androgen excess and low sex hormone‐binding globulin (SHBG) measured in early pregnancy are independently associated with fasting and post‐prandial hyperglycaemia, gestational diabetes (GDM), and its severity. The gene discussed is SHBG; the disease is hyperandrogenism.