2027 ICD-10-CM Diagnosis Code O24Diabetes mellitus in pregnancy, childbirth, and the puerperium

ICD-10-CM Codes›O00-O9A›O20-O29›O24

ICD-10-CM O24
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

O24 is a non-billable ICD-10-CM category code for diabetes mellitus in pregnancy, childbirth, and the puerperium, so it cannot be submitted on claims. Use a more specific code from this category instead, such as O24.011, O24.012, O24.013, and O24.019.

Code Identity

ICD-10-CM Code
O24
Billable Status
No — Non-Billable Category
Code Describes
Diabetes mellitus in pregnancy, childbirth, and the puerperium
Short Description
Diabetes in pregnancy, childbirth, and the puerperium
Chapter
O20-O29
Other maternal disorders predominantly related to pregnancy

Code Classification

ChapterO00-O9APregnancy, childbirth and the puerperium
SectionO20-O29Other maternal disorders predominantly related to pregnancy
CategoryO24Diabetes mellitus in pregnancy, childbirth, and the puerperium
This CodeO24Diabetes mellitus in pregnancy, childbirth, and the puerperium

Specific Coding for Diabetes in pregnancy, childbirth, and the puerperiumOverview

Non-specific codes like O24 require more characters. Use one of these billable codes instead:

  • O24.0 for Pre-existing type 1 diabetes mellitus, in pregnancy, childbirth and the puerperium

  • O24.01 for Pre-existing type 1 diabetes mellitus, in pregnancy

  • Use O24.02 for Pre-existing type 1 diabetes mellitus, in childbirth

  • Use O24.03 for Pre-existing type 1 diabetes mellitus, in the puerperium

  • O24.1 for Pre-existing type 2 diabetes mellitus, in pregnancy, childbirth and the puerperium

  • O24.11 for Pre-existing type 2 diabetes mellitus, in pregnancy

  • Use O24.12 for Pre-existing type 2 diabetes mellitus, in childbirth

  • Use O24.13 for Pre-existing type 2 diabetes mellitus, in the puerperium

  • O24.3 for Unspecified pre-existing diabetes mellitus in pregnancy, childbirth and the puerperium

  • O24.31 for Unspecified pre-existing diabetes mellitus in pregnancy

  • Use O24.32 for Unspecified pre-existing diabetes mellitus in childbirth

  • Use O24.33 for Unspecified pre-existing diabetes mellitus in the puerperium

  • O24.4 for Gestational diabetes mellitus

  • O24.41 for Gestational diabetes mellitus in pregnancy

  • O24.42 for Gestational diabetes mellitus in childbirth

  • O24.43 for Gestational diabetes mellitus in the puerperium

  • O24.8 for Other pre-existing diabetes mellitus in pregnancy, childbirth, and the puerperium

  • O24.81 for Other pre-existing diabetes mellitus in pregnancy

  • Use O24.82 for Other pre-existing diabetes mellitus in childbirth

  • Use O24.83 for Other pre-existing diabetes mellitus in the puerperium

  • O24.9 for Unspecified diabetes mellitus in pregnancy, childbirth and the puerperium

  • O24.91 for Unspecified diabetes mellitus in pregnancy

  • Use O24.92 for Unspecified diabetes mellitus in childbirth

  • Use O24.93 for Unspecified diabetes mellitus in the puerperium

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to O24: its own notes plus those printed at block O20-O29 and Chapter 15. A note printed at a category, block or chapter applies to every code under it.

Excludes1

Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.

From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • supervision of normal pregnancy (Z34.-)

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From Block O20-O29 Other maternal disorders predominantly related to pregnancy applies to 260 codes
  • maternal care related to the fetus and amniotic cavity and possible delivery problems (O30-O48)
  • maternal diseases classifiable elsewhere but complicating pregnancy, labor and delivery, and the puerperium (O98-O99)
From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • mental and behavioral disorders associated with the puerperium (F53.-)
  • obstetrical tetanus (A34)
  • postpartum necrosis of pituitary gland (E23.0)
  • puerperal osteomalacia (M83.0)

Use Additional Code

Add a second code, after this one, to fully describe the condition.

From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • code, if applicable, from category Z3A, Weeks of gestation, to identify the specific week of the pregnancy, if known.

Notes

General instructions on how these codes are used.

From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • CODES FROM THIS CHAPTER ARE FOR USE ONLY ON MATERNAL RECORDS, NEVER ON NEWBORN RECORDS
  • Codes from this chapter are for use for conditions related to or aggravated by the pregnancy, childbirth, or by the puerperium (maternal causes or obstetric causes)
  • Trimesters are counted from the first day of the last menstrual period. They are defined as follows:
  • 1st trimester- less than 14 weeks 0 days
  • 2nd trimester- 14 weeks 0 days to less than 28 weeks 0 days
  • 3rd trimester- 28 weeks 0 days until delivery

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name O24, its category, or a range that includes it.

Excludes1 1

These codes carry an Excludes1 note naming O24: they are not reported together with it, unless the two conditions are unrelated.

  • R73 Elevated blood glucose level
    diabetes mellitus in pregnancy, childbirth and the puerperium (O24.-)

Excludes2 1

These codes carry an Excludes2 note naming O24: its condition is not part of those codes, and both may be reported when the patient has both.

  • O99.2 Endocrine, nutritional and metabolic diseases complicating pregnancy, childbirth and the puerperium
    diabetes mellitus (O24.-)

Patient EducationClinical

Childbirth Problems

Childbirth is the process of giving birth to a baby. It includes labor and delivery. Usually everything goes well, but problems can happen. They may cause a risk to the mother, baby, or both. Some of the more common childbirth problems include:

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About O24Overview

What is the ICD-10 code for diabetes mellitus in pregnancy, childbirth, and the puerperium?

O24 is the ICD-10-CM category for diabetes mellitus in pregnancy, childbirth, and the puerperium, but it is a non-billable header: claims need a more specific code from this category, listed on this page.

Is O24 a billable code?

No. This is a category header that groups the codes for diabetes mellitus in pregnancy, childbirth, and the puerperium, and headers cannot be submitted on claims. Claims for diabetes mellitus in pregnancy, childbirth, and the puerperium need a more specific code from this category, such as O24.011, O24.012, and O24.013.