GDM was positively associated with apolipoprotein B and B/A1 ratio at time point 1 but a negative association with apolipoprotein A1 was evident only at the time of diagnosis. Here, APOB is linked to gestational diabetes.