This will be a randomized trial of patients with gestational diabetes who start hypoglycemic therapy with metformin but eventually require insulin. It will examine whether continuing metformin when adding insulin versus discontinuing metformin when insulin is added is beneficial. The investigators hypothesize that continuing metformin will reduce the needed insulin dosage and improve maternal and neonatal outcomes in these patients.