To assess the association of the number of medical nutrition therapy (MNT) consultations and eating behavior (cognitive restraint, uncontrolled eating, and emotional eating) with GWG in women with type 2 diabetes mellitus (T2DM) and gestational diabetes mellitus (GDM).