ICD-10-CM FY2027 · Pregnancy, childbirth and the puerperium

O24 Diabetes mellitus in pregnancy, childbirth, and the puerperium

Not billable. O24 is a heading. Code to a more specific code below (6 codes directly under it).
Short title
Diabetes in pregnancy, childbirth, and the puerperium
Category
O24 Diabetes mellitus in pregnancy, childbirth, and the puerperium
Section
O20-O29 Other maternal disorders predominantly related to pregnancy
Chapter
15 Pregnancy, childbirth and the puerperium (O00-O9A)

Choose a specific code

O24 is not billable. These codes sit under it:

  • O24.0 Pre-existing type 1 diabetes mellitus, in pregnancy, childbirth and the puerperium Heading
    • O24.01 Pre-existing type 1 diabetes mellitus, in pregnancy Heading
      • O24.011 Pre-existing type 1 diabetes mellitus, in pregnancy, first trimester Billable
      • O24.012 Pre-existing type 1 diabetes mellitus, in pregnancy, second trimester Billable
      • O24.013 Pre-existing type 1 diabetes mellitus, in pregnancy, third trimester Billable
      • O24.019 Pre-existing type 1 diabetes mellitus, in pregnancy, unspecified trimester Billable
    • O24.02 Pre-existing type 1 diabetes mellitus, in childbirth Billable
    • O24.03 Pre-existing type 1 diabetes mellitus, in the puerperium Billable
  • O24.1 Pre-existing type 2 diabetes mellitus, in pregnancy, childbirth and the puerperium Heading
    • O24.11 Pre-existing type 2 diabetes mellitus, in pregnancy Heading
      • O24.111 Pre-existing type 2 diabetes mellitus, in pregnancy, first trimester Billable
      • O24.112 Pre-existing type 2 diabetes mellitus, in pregnancy, second trimester Billable
      • O24.113 Pre-existing type 2 diabetes mellitus, in pregnancy, third trimester Billable
      • O24.119 Pre-existing type 2 diabetes mellitus, in pregnancy, unspecified trimester Billable
    • O24.12 Pre-existing type 2 diabetes mellitus, in childbirth Billable
    • O24.13 Pre-existing type 2 diabetes mellitus, in the puerperium Billable
  • O24.3 Unspecified pre-existing diabetes mellitus in pregnancy, childbirth and the puerperium Heading
    • O24.31 Unspecified pre-existing diabetes mellitus in pregnancy Heading
      • O24.311 Unspecified pre-existing diabetes mellitus in pregnancy, first trimester Billable
      • O24.312 Unspecified pre-existing diabetes mellitus in pregnancy, second trimester Billable
      • O24.313 Unspecified pre-existing diabetes mellitus in pregnancy, third trimester Billable
      • O24.319 Unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester Billable
    • O24.32 Unspecified pre-existing diabetes mellitus in childbirth Billable
    • O24.33 Unspecified pre-existing diabetes mellitus in the puerperium Billable
  • O24.4 Gestational diabetes mellitus Heading
    • O24.41 Gestational diabetes mellitus in pregnancy Heading
      • O24.410 Gestational diabetes mellitus in pregnancy, diet controlled Billable
      • O24.414 Gestational diabetes mellitus in pregnancy, insulin controlled Billable
      • O24.415 Gestational diabetes mellitus in pregnancy, controlled by oral hypoglycemic drugs Billable
      • O24.419 Gestational diabetes mellitus in pregnancy, unspecified control Billable
    • O24.42 Gestational diabetes mellitus in childbirth Heading
      • O24.420 Gestational diabetes mellitus in childbirth, diet controlled Billable
      • O24.424 Gestational diabetes mellitus in childbirth, insulin controlled Billable
      • O24.425 Gestational diabetes mellitus in childbirth, controlled by oral hypoglycemic drugs Billable
      • O24.429 Gestational diabetes mellitus in childbirth, unspecified control Billable
    • O24.43 Gestational diabetes mellitus in the puerperium Heading
      • O24.430 Gestational diabetes mellitus in the puerperium, diet controlled Billable
      • O24.434 Gestational diabetes mellitus in the puerperium, insulin controlled Billable
      • O24.435 Gestational diabetes mellitus in puerperium, controlled by oral hypoglycemic drugs Billable
      • O24.439 Gestational diabetes mellitus in the puerperium, unspecified control Billable
  • O24.8 Other pre-existing diabetes mellitus in pregnancy, childbirth, and the puerperium Heading
    • O24.81 Other pre-existing diabetes mellitus in pregnancy Heading
      • O24.811 Other pre-existing diabetes mellitus in pregnancy, first trimester Billable
      • O24.812 Other pre-existing diabetes mellitus in pregnancy, second trimester Billable
      • O24.813 Other pre-existing diabetes mellitus in pregnancy, third trimester Billable
      • O24.819 Other pre-existing diabetes mellitus in pregnancy, unspecified trimester Billable
    • O24.82 Other pre-existing diabetes mellitus in childbirth Billable
    • O24.83 Other pre-existing diabetes mellitus in the puerperium Billable
  • O24.9 Unspecified diabetes mellitus in pregnancy, childbirth and the puerperium Heading
    • O24.91 Unspecified diabetes mellitus in pregnancy Heading
      • O24.911 Unspecified diabetes mellitus in pregnancy, first trimester Billable
      • O24.912 Unspecified diabetes mellitus in pregnancy, second trimester Billable
      • O24.913 Unspecified diabetes mellitus in pregnancy, third trimester Billable
      • O24.919 Unspecified diabetes mellitus in pregnancy, unspecified trimester Billable
    • O24.92 Unspecified diabetes mellitus in childbirth Billable
    • O24.93 Unspecified diabetes mellitus in the puerperium Billable

Coding notes

Excludes1: never code together

A pure exclusion. Do not report the codes below together with this code; the conditions cannot occur together. (Rare exceptions apply when the two conditions are unrelated.)

  • supervision of normal pregnancy (Z34.-)

Excludes2: not included here

The condition below is not part of this code, but a patient may have both. You may report both codes together when both are present.

  • 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)
  • 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 another code to give a fuller picture, for example a cause or a drug.

  • code, if applicable, from category Z3A, Weeks of gestation, to identify the specific week of the pregnancy, if known.

Notes

  • 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

Quick answers

Is O24 billable?

No. O24 is a heading. Report one of the more specific codes under it.

Source: ICD-10-CM FY2027 Tabular List and Index, CMS/NCHS, effective October 1, 2026. Notes shown are the official instructional notes, including those inherited from the category, section and chapter. Last verified against the CMS files December 1, 2026. How we check.