Skip to content

E08 ICD-10-CM Code: Diabetes mellitus due to underlying condition

ICD-10-CM Code View

HCC Buddy Code Card

Digital ICD-10 code-book layout with official code detail, always-visible risk models, Code Trumping, and Buddy coding guidance.

FY 2026 Apr update / Endocrine, nutritional and metabolic diseases (E00-E89) / Diabetes mellitus (E08-E13)

E08

Header CodeICD-10-CMOfficial ICD-10-CMCodebook guidance

Diabetes mellitus due to underlying condition

Diabetes mellitus due to underlying condition

CMS-HCC V28

0

0

RAF 0

CMS-HCC V24

0

0

RAF 0

ACA/HHS

0

0

RAF 0

ESRD/PACE

0

0

RAF 0

RXHCC

0

0

RAF 0

Code Trumping

Basket needed

Code Book Path

Official
E0Diabetes mellitus (E08-E13)
E08Diabetes mellitus due to underlying condition

Inclusion Terms

Official

ICD-10-CM does not list inclusion terms for E08 in this effective period.

Excludes 2

Official

ICD-10-CM does not list Excludes 2 notes for E08 in this effective period.

Related Child Codes

Official
E08.0Diabetes mellitus due to underlying condition with hyperosmolarity
E08.1Diabetes mellitus due to underlying condition with ketoacidosis
E08.2Diabetes mellitus due to underlying condition with kidney complications
E08.3Diabetes mellitus due to underlying condition with ophthalmic complications
E08.4Diabetes mellitus due to underlying condition with neurological complications

Includes

Official

ICD-10-CM does not list Includes notes for E08 in this effective period.

Excludes 1

Official
  • drug or chemical induced diabetes mellitus (E09.-)
  • gestational diabetes (O24.4-)
  • neonatal diabetes mellitus (P70.2)
  • postpancreatectomy diabetes mellitus (E13.-)
  • postprocedural diabetes mellitus (E13.-)

Code First

Official
  • the underlying condition, such as:
  • congenital rubella (P35.0)
  • Cushing's syndrome (E24.-)
  • cystic fibrosis (E84.-)
  • malignant neoplasm (C00-C96)

Use Additional

Official
  • code to identify control using:
  • injectable non-insulin antidiabetic drugs (Z79.85)
  • insulin (Z79.4)
  • oral antidiabetic drugs (Z79.84)
  • oral hypoglycemic drugs (Z79.84)

Code Also

Official

ICD-10-CM does not list Code Also instructions for E08 in this effective period.

Last updated: FY2026 ICD-10-CM Apr update, Apr 1, 2026 through Sep 30, 2026. CMS-HCC V28 is 100% phased in for payment year 2026.

What This Code Means

E08 is the ICD-10-CM diagnosis code for diabetes mellitus due to underlying condition. E08 sits in the ICD-10-CM chapter for endocrine, nutritional and metabolic diseases (e00-e89), within the section covering diabetes mellitus (e08-e13).

Header codes like E08 cannot be reported on claims directly, they organize child codes that share clinical context but the actual diagnosis must be coded to the highest level of specificity supported by the documentation. Coders should look at E08's child codes and select the one that matches the patient's documented presentation, since payers reject header codes submitted as the primary diagnosis. For risk adjustment workflows, header codes never contribute to a Medicare Advantage member's RAF score on their own; only billable child codes that happen to map to a payment HCC affect risk-adjusted plan payments.

HCC Buddy maintains structured V28 and V24 mapping, RAF weights, and MEAT documentation criteria for E08 sourced directly from the CMS-HCC risk adjustment model files and the CMS ICD-10-CM code set.

Excludes 1, Do NOT code together

  • drug or chemical induced diabetes mellitus (E09.-)
  • gestational diabetes (O24.4-)
  • neonatal diabetes mellitus (P70.2)
  • postpancreatectomy diabetes mellitus (E13.-)
  • postprocedural diabetes mellitus (E13.-)
  • secondary diabetes mellitus NEC (E13.-)
  • type 1 diabetes mellitus (E10.-)
  • type 2 diabetes mellitus (E11.-)

Use Additional Code

  • code to identify control using:
  • injectable non-insulin antidiabetic drugs (Z79.85)
  • insulin (Z79.4)
  • oral antidiabetic drugs (Z79.84)
  • oral hypoglycemic drugs (Z79.84)

Code First

  • the underlying condition, such as:
  • congenital rubella (P35.0)
  • Cushing's syndrome (E24.-)
  • cystic fibrosis (E84.-)
  • malignant neoplasm (C00-C96)
  • malnutrition (E40-E46)
  • pancreatitis and other diseases of the pancreas (K85-K86.-)

Child Codes

Code Hierarchy

E08Diabetes mellitus due to underlying condition
E08Diabetes mellitus due to underlying condition

More on E08

Referenced in blog posts

Open E08 in the Interactive Encoder

See full code details, coding tips, HCC mappings, and related codes in our interactive encoder. Start your 14-day Pro trial. No credit card required.