Gestational diabetes. Gestational diabetes is a type of diabetes that affects pregnant women, usually during the second or third trimester. Women with gestational diabetes don’t have diabetes before their pregnancy, and after giving birth it usually goes away.