2026 ICD-10-CM Diagnosis Code O24

Diabetes mellitus in pregnancy, childbirth, and the puerperium

ICD-10-CM Code:
O24
ICD-10 Code for:
Diabetes in pregnancy, childbirth, and the puerperium
Is Billable?
Not Valid for Submission
Code Navigator:

O24 is a non-specific and non-billable diagnosis code code, consider using a code with a higher level of specificity for a diagnosis of diabetes mellitus in pregnancy, childbirth, and the puerperium. The code is not specific and is NOT valid for the year 2026 for the submission of HIPAA-covered transactions. Category or Header define the heading of a category of codes that may be further subdivided by the use of 4th, 5th, 6th or 7th characters.

Specific Coding Applicable to Diabetes in pregnancy, childbirth, and the puerperium

Non-specific codes like O24 require more digits to indicate the appropriate level of specificity. Consider using any of the following ICD-10-CM codes with a higher level of specificity when coding for diabetes in pregnancy, childbirth, and the puerperium:

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

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

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

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

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

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

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

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

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

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

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

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

  • O24.4 for Gestational diabetes mellitus - NON-BILLABLE CODE

  • O24.41 for Gestational diabetes mellitus in pregnancy - NON-BILLABLE CODE

  • O24.42 for Gestational diabetes mellitus in childbirth - NON-BILLABLE CODE

  • O24.43 for Gestational diabetes mellitus in the puerperium - NON-BILLABLE CODE

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

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

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

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

  • O24.9 for Unspecified diabetes mellitus in pregnancy, childbirth and the puerperium - NON-BILLABLE CODE

  • O24.91 for Unspecified diabetes mellitus in pregnancy - NON-BILLABLE CODE

  • Use O24.92 for Unspecified diabetes mellitus in childbirth - BILLABLE CODE

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

Code Classification

  • Pregnancy, childbirth and the puerperium
    O00-O9A
    • Other maternal disorders predominantly related to pregnancy
      O20-O29
      • Diabetes mellitus in pregnancy, childbirth, and the puerperium
        O24

Patient Education


Diabetes and Pregnancy

What is diabetes?

If you have diabetes, your blood glucose, or blood sugar, levels are too high. Glucose comes from the foods you eat. A hormone called insulin helps the glucose get into your cells to give them energy. With type 1 diabetes, your body does not make insulin. With type 2 diabetes, your body does not make or use insulin well. Without enough insulin, the glucose stays in your blood.

What is gestational diabetes?

Some people already have diabetes before they get pregnant. But others may develop diabetes during pregnancy. This type of diabetes is called gestational diabetes. It usually develops around the 24th week of pregnancy. It happens when your body can't make the extra insulin it needs during pregnancy. Researchers think gestational diabetes is caused by the hormonal changes of pregnancy, along with genetic and lifestyle factors.

Who is more likely to develop gestational diabetes?

Anyone who is pregnant could develop gestational diabetes. But you are more likely to develop it if you:

  • Are overweight or have obesity
  • Have a family history of diabetes
  • Had gestational diabetes in a previous pregnancy
  • Have given birth to a baby weighing 9 pounds or more
  • Have polycystic ovary syndrome (PCOS)
  • Are African American, Hispanic/Latino, American Indian, Alaska Native, Native Hawaiian, or Pacific Islander person

How do I know if I have gestational diabetes?

Gestational diabetes often has no symptoms. If you do have symptoms, they may be mild, such as being thirstier than normal or having to urinate (pee) more often.

If you are pregnant, you will most likely be screened for gestational diabetes between 24 and 28 weeks of pregnancy. But if you have an increased chance of developing gestational diabetes, you may be tested during your first prenatal visit. Your health care provider will use one or more blood glucose tests to check for gestational diabetes. You may have the glucose challenge test, the oral glucose tolerance test (OGTT), or both.

For these two tests, you will drink a sugary liquid and wait for an hour before your blood sample is taken. If you have an oral glucose tolerance test, you will also get your blood drawn after 2 and 3 hours.

How can diabetes affect my pregnancy?

Having diabetes during pregnancy can affect your health. For example:

  • You are more likely to develop preeclampsia, a serious medical condition that causes a sudden increase in your blood pressure.
  • You are more likely to need a cesarean delivery, because your baby is more likely to be bigger than average.
  • Changes to your hormones and your body during pregnancy can affect your blood glucose levels. If you had diabetes before pregnancy, you may now need to adjust your meal plan, physical activity routine, and/or medicines. If you have any diabetes health problems, they may get worse during pregnancy.
  • Gestational diabetes usually goes away after you have your baby. But you will be at higher risk of developing type 2 diabetes later.

Having diabetes during pregnancy can also affect the health of your developing baby:

  • If you have high blood glucose levels at the beginning of your pregnancy, there is a higher risk of birth defects.
  • Your baby will be at risk for obesity and type 2 diabetes later in life.
  • Your baby is more likely to be born early.
  • Your baby may have breathing problems or hypoglycemia (low blood glucose levels) right after birth.
  • There is a higher risk of miscarriage and stillbirth.

How can I manage diabetes during pregnancy?

There are steps you can take to manage your diabetes before, during, and after pregnancy.

If you already have diabetes, the best time to control your blood glucose is before you get pregnant. High blood glucose levels can be harmful to your developing baby during the first weeks of pregnancy, even before you know you are pregnant. See your provider to help you plan for pregnancy. You can talk about how to lower the risk of health problems for you and your developing baby. You can also discuss your diet, physical activity, and which diabetes medicines are safe during pregnancy.

During your pregnancy, you will work with your provider to manage your blood glucose levels. You may be able to manage them with a healthy diet and regular physical activity. If that's not enough, then you will need to take diabetes medicines. It's also important that you:

  • Get regular prenatal checkups
  • Take your prenatal vitamins
  • Don't use harmful substances such as alcohol, tobacco, and illegal drugs

After pregnancy, there are steps you need to take to stay healthy:

  • If you had gestational diabetes, you are at risk of developing type 2 diabetes. You will be tested for it within 4 to 12 weeks after giving birth. Even if your blood glucose levels have returned to normal, you will need to get them tested every 1 to 3 years.
  • If you already had diabetes before pregnancy, you and your provider will monitor changes to your blood glucose levels. They will tell you if you need to adjust your diabetes management plan.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Pregnancy if You Have Diabetes

Learn about how to take care of your diabetes before, during, and after pregnancy, so you may prevent or treat health problems before and after delivery.
[Learn More in MedlinePlus]

Code History

  • FY 2026 - No Change, effective from 10/1/2025 through 9/30/2026
  • FY 2025 - No Change, effective from 10/1/2024 through 9/30/2025
  • FY 2024 - No Change, effective from 10/1/2023 through 9/30/2024
  • FY 2023 - No Change, effective from 10/1/2022 through 9/30/2023
  • FY 2022 - No Change, effective from 10/1/2021 through 9/30/2022
  • FY 2021 - No Change, effective from 10/1/2020 through 9/30/2021
  • FY 2020 - No Change, effective from 10/1/2019 through 9/30/2020
  • FY 2019 - No Change, effective from 10/1/2018 through 9/30/2019
  • FY 2018 - No Change, effective from 10/1/2017 through 9/30/2018
  • FY 2017 - No Change, effective from 10/1/2016 through 9/30/2017
  • FY 2016 - New Code, effective from 10/1/2015 through 9/30/2016. This was the first year ICD-10-CM was implemented into the HIPAA code set.