O24.410: Gestational diabetes in pregnancy, diet controlled
O24.410 is the ICD-10-CM code for gestational diabetes mellitus in pregnancy, diet controlled. Report it with a Z3A code for the weeks of gestation. Gestational diabetes codes stand alone in O24: no other O24 code, and no Z79 medication code, is reported with them.
- Code
- O24.410
- Official description
- Gestational diabetes mellitus in pregnancy, diet controlled
- Billable
- Yes, a complete code that can be reported
- Category
- O24 Diabetes mellitus in pregnancy, childbirth, and the puerperium
- Block
- Other maternal disorders predominantly related to pregnancy (O20-O29)
- Chapter
- 15. Pregnancy, childbirth and the puerperium (O00-O9A)
- Code set
- ICD-10-CM FY2027, effective October 1, 2026 to September 30, 2027
How to code O24.410
- The 5th character is the episode: O24.41- in pregnancy, O24.42- in childbirth, O24.43- in the puerperium. The 6th is the control: 0 diet, 4 insulin, 5 oral hypoglycemic drugs, 9 unspecified.
- Diet plus insulin is insulin controlled (O24.414) only; diet plus oral drugs is O24.415 only.
- Don't add Z79.4, Z79.84 or Z79.85 with O24.4- codes.
- An abnormal glucose tolerance test without a diagnosis of gestational diabetes is O99.81-, not O24.4-.
Official Guidelines: Section I.C.15.i, Gestational (pregnancy induced) diabetes; Section I.C.15.a, General rules for obstetric cases.
Worked example
Obstetrics, prenatal visit ยท synthetic note
G2P1 at 28 weeks. Gestational diabetes diagnosed on 3-hour glucose tolerance test last week. Managing with diet and glucose monitoring; fasting values in range.
| Code | Description | Why |
|---|---|---|
| O24.410 | Gestational diabetes mellitus in pregnancy, diet controlled | Gestational diabetes in pregnancy, diet controlled. |
| Z3A.28 | 28 weeks gestation of pregnancy | Weeks of gestation. |
Tabular list notes for O24.410
The instructions printed at O24.410 and at the headings above it, from the FY2027 tabular list.
Inclusion terms at O24.4
- Diabetes mellitus arising in pregnancy
- Gestational diabetes mellitus NOS
Alphabetic Index entries that lead to O24.410
- Diabetes, diabetic (mellitus) (sugar) > gestational (in pregnancy) > diet controlled
Codes to compare
| O24.414 | Gestational diabetes mellitus in pregnancy, insulin controlled |
| O99.810 | Abnormal glucose complicating pregnancy |
| Z3A.28 | 28 weeks gestation of pregnancy |
| E11.9 | Type 2 diabetes mellitus without complications |
Billable codes near O24.410 (4)
| O24.410 | Gestational diabetes mellitus in pregnancy, diet controlled |
| O24.414 | Gestational diabetes mellitus in pregnancy, insulin controlled |
| O24.415 | Gestational diabetes mellitus in pregnancy, controlled by oral hypoglycemic drugs |
| O24.419 | Gestational diabetes mellitus in pregnancy, unspecified control |
Practise it on a chart
Gestational diabetes at 33 weeks: a Casebook case where you read a synthetic note, find the codes in the codebook and get graded with a reason for each code.
Questions about O24.410
What is the ICD-10 code for gestational diabetes?
A code from O24.4: in pregnancy O24.410 (diet controlled), O24.414 (insulin), O24.415 (oral drugs) or O24.419 (control unspecified), plus a Z3A code for the weeks.
What if gestational diabetes is treated with diet and insulin?
Only the insulin-controlled code, O24.414 during pregnancy, is required.
Is Z79.4 coded with gestational diabetes on insulin?
No. The guidelines say Z79.4, Z79.84 and Z79.85 are not assigned with O24.4- codes.
Last updated December 2, 2026. Published by Casebook. Codes, descriptions, tabular notes and index entries come from the ICD-10-CM FY2027 release of CDC's National Center for Health Statistics (effective October 1, 2026 to September 30, 2027); guideline sections refer to the ICD-10-CM Official Guidelines for Coding and Reporting FY2027. A study aid, not coding advice for a specific claim.