General information only. It does not replace advice from a health professional. For severe symptoms, call emergency services.

In brief
- What it is
- Diabetes that appears during pregnancy, almost always in the second trimester. It is looked for with a blood test between weeks 24 and 28 and, when well controlled, the pregnancy usually goes well.
- How it is diagnosed
- Oral glucose tolerance test between weeks 24 and 28 of pregnancy, or earlier if there is risk.
- Treatment
- Diet, physical activity and self-monitoring; insulin if that is not enough.
- When to see a doctor
- After the birth, repeat the test at 4-12 weeks and then every 1-3 years.
What it is
Gestational diabetes is high glucose that is detected for the first time during pregnancy and does not meet the criteria for pre-existing diabetes. Hormones from the placenta (placental lactogen, progesterone, cortisol) increase insulin resistance from the second trimester onwards. Most women compensate by making more insulin; when the pancreas cannot keep up, glucose rises.
It affects between 5 and 15 % of pregnancies, depending on the population and the criteria used.
Why it matters
Without control, the mother's high glucose passes to the baby, which makes more insulin and grows too much (macrosomia). This increases the risk of a difficult birth, caesarean section, low blood sugar in the newborn and pre-eclampsia. When it is well controlled, the risks are greatly reduced.
How it is diagnosed
In Spain, following the Spanish Diabetes and Pregnancy Group (GEDE), it is done in two steps:
- O'Sullivan test between weeks 24 and 28: glucose is measured one hour after taking 50 g of glucose, without needing to fast. If it is 140 mg/dl or more, the second step follows.
- Oral glucose tolerance test with 100 g of glucose over three hours.
Other countries use a single step with 75 g. In women with risk factors (obesity, previous gestational diabetes, relatives with diabetes, polycystic ovary syndrome) a first screening test is done early in pregnancy to rule out diabetes that was already there.
Treatment
- An adapted diet, spread over several meals and snacks, with slow-release carbohydrates.
- Gentle, regular physical activity, such as walking after meals.
- Self-monitoring of capillary glucose (finger-prick) several times a day.
- Insulin if the targets are not reached; it is safe in pregnancy. Metformin is used in some countries, although it crosses the placenta.
After the birth
Gestational diabetes usually goes away after the birth, but this must be confirmed with a blood test 4 to 12 weeks later. Up to half of these women will develop type 2 diabetes in the following 10 years, so a test every one to three years is recommended, along with keeping a healthy weight and breastfeeding, which reduces that risk.
Reference values
In Spain, two diagnostic strategies are used side by side:
Two-step (Spanish Diabetes and Pregnancy Group, GEDE): first an O'Sullivan test (50 g of glucose, no fasting): positive if at one hour it is ≥ 140 mg/dl. Then a 100 g glucose tolerance test over 3 hours, with these limits (NDDG criteria):
| Time | Limit |
|---|---|
| Fasting | 105 mg/dl |
| 1 hour | 190 mg/dl |
| 2 hours | 165 mg/dl |
| 3 hours | 145 mg/dl |
Gestational diabetes if two or more values reach or exceed the limit.
One-step (IADPSG/WHO): a 75 g glucose tolerance test with a single abnormal value: fasting ≥ 92, 1 hour ≥ 180 or 2 hours ≥ 153 mg/dl.
Targets during pregnancy: fasting < 95 mg/dl, 1 hour after eating < 140 or 2 hours < 120 mg/dl.
In numbers
- It affects between 5 and 15 % of pregnancies, depending on the criteria and the population.
- Between 70 and 85 % of women are controlled with diet and exercise alone.
- Up to half of women who have had it will develop type 2 diabetes in the following 10-20 years.
Risk factors
Overweight or obesity, age over 35, gestational diabetes in a previous pregnancy, first-degree relatives with diabetes, a previous baby weighing more than 4 kg, polycystic ovary syndrome and a high-risk ethnic background. In women at high risk, a test is done as early as the first trimester, to detect previously unknown diabetes.
For the baby
Without control, the excess glucose that passes to the baby makes it produce more insulin and grow more (macrosomia), which increases the risk of a difficult birth, caesarean section, hypoglycaemia in the newborn and jaundice. In the long term, these children have a slightly higher risk of obesity.
Breastfeeding and the future
Breastfeeding is linked to a lower risk of type 2 diabetes in the mother. It is advisable to have a glucose tolerance test 4-12 weeks after the birth and then a blood test every 1-3 years, and to plan future pregnancies.
Recent guidelines and documents (2024-2026)
- American Diabetes Association. Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1). The annual reference update on diagnosing, treating and monitoring diabetes.
Sources
- Grupo Español de Diabetes y Embarazo. Asistencia a la gestante con diabetes. Guía de práctica clínica actualizada en 2014. Av Diabetol. 2015;31:45-59.
- American Diabetes Association. Management of Diabetes in Pregnancy. Standards of Care, chapter 15.
- NIDDK. Gestational Diabetes.
- HAPO Study Cooperative Research Group. Hyperglycemia and adverse pregnancy outcomes. N Engl J Med. 2008;358:1991-2002.
- Metzger BE et al. International Association of Diabetes and Pregnancy Study Groups recommendations. Diabetes Care. 2010;33:676-682.