Skip to main content

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

Billing Status: NO. This is a clinician non-billable / parent hierarchy grouping in the ICD-10-CM system.

Coding at a Glance

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for E08 in the official ICD-10-CM tabular list, quoted as published.

Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026

Trace:FY2027 changesChange historyRelease, file and checksum

Excludes1 — Not Coded Here

Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

Code First

Underlying conditions that must be sequenced before this code.

  • 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.-)

Use Additional Code

Supplementary codes the tabular list directs you to add.

  • Use additional 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)

Coder workflow for E08

MedCoder structured workflow — derived from this code’s own official record

Before you code E08

  1. E08 is not reportable as written. Select the more specific code beneath it that the documentation supports. Codes are reported to the highest level of specificity the classification provides (Guidelines I.B.2).

    ReviewE08.0, E08.1, E08.2, E08.3, E08.4, E08.5, E08.6, E08.8, E08.9

    See the relationships section · Guide: How to choose an ICD-10-CM code →

  2. E08’s title joins a condition with an associated condition or complication. Confirm each component is documented. Where the classification presumes the link through the “with” convention, only a provider statement that the conditions are unrelated defeats it. A combination code is assigned only when it fully identifies the documented conditions; a required second code for the stage, type or manifestation is still reported when the notes ask for it (Guidelines I.B.9, I.A.15).

    Guide: Combination codes →

  3. Confirm the documented diabetes type or cause (the E08–E13 categories are separated by it) and every documented complication or manifestation; the code is built from the type first and the complication second. Then work the category’s Use Additional Code notes for medication and control status. Type 2 is the default only when the type is not documented, and insulin or other medication use does not by itself establish the type (Guidelines I.C.4.a.2, I.C.4.a.3).

    Guide: Secondary diabetes (E08, E09, E13) →

  4. Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with E08. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).

    See the official tabular notes

Choose the right path

  1. Does the documentation support one of the more specific codes beneath E08?
    Yes → Select that code and continue the checks below on its own page.
    No → E08 cannot be reported as written; query for the specificity its subcategory needs.

    ReviewE08.0, E08.1, E08.2, E08.3, E08.4, E08.5, E08.6, E08.8, E08.9

  2. Does the documentation support a condition named in E08’s Excludes1 note?
    Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
    No → Continue.

    ReviewE09, O24.4, P70.2, E13, E10, E11

  3. Is the underlying (etiologic) condition the Code First note names documented?
    Yes → Sequence the underlying condition first, then E08.
    No → Continue; do not add an underlying condition the record does not document.

    ReviewP35.0, E24, E84

Consider E08. Then work the Use Additional Code note, and confirm the code is valid for the date of service in the Verify section.

Documentation check

The provider’s diagnostic statement
Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
The associated condition or complication
Whether the associated condition the title names is documented; the “with” convention presumes some links, and a provider statement that the conditions are unrelated defeats it (Guidelines I.A.15).
The underlying (etiologic) condition
Named in the Code First note; sequenced before this code when documented (Guidelines I.A.13).
The conditions the Use Additional Code note names
Reported with this code when documented; a conditional instruction (“if applicable”, “if known”) applies only when the record supports it.
Diabetes type or cause, each complication, and medication use
The type is documented, not inferred from medication (Guidelines I.C.4.a.3); each documented complication takes its own combination code.

Official instructions as workflow

  • Excludes1 — check before selecting E08(8 notes)

    Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with E08: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.

    CompareE09, O24.4, P70.2, E13, E10, E11

    See the official tabular notes · Guidelines I.A.12.a

  • Code First — sequencing check(7 notes)

    Coding workflow: Check whether the underlying or etiologic condition the note names is documented. When it is, sequence it before E08. Do not add an underlying condition the record does not document.

    ReviewP35.0, E24, E84

    See the official tabular notes · Guidelines I.A.13

  • Use Additional Code — after identifying E08(5 notes)

    Coding workflow: Check whether the documentation supports the additional code(s) the note names, and report them with E08 when it does. Where the instruction is conditional (“if applicable”, “if known”), it applies only when the record documents the condition.

    ReviewZ79.85, Z79.4, Z79.84

    See the official tabular notes · Guidelines I.A.13

Coding decision scenarios

Pattern scenarios for this code’s structure — decision rules, not clinical cases

Documentation: Both the condition E08 describes and a condition named in its Excludes1 note are documented for the same encounter.

Coding question: Can both codes be reported?

Path: Review the Excludes1 note and the excluded code, and look for a provider statement on whether the two conditions are related.

Reason: Excludes1 means the two are not coded together; the exception is when the record shows the conditions are unrelated to each other (Guidelines I.A.12.a).

ReviewE09, O24.4, P70.2, E13, E10, E11

Documentation: Only one of the components this code’s title joins is documented.

Coding question: Is E08 supported?

Path: Review the code for the documented component on its own.

Reason: A combination code is assigned only when it fully identifies the documented conditions; otherwise the documented component takes its own code (Guidelines I.B.9).

Documentation: The underlying condition the Code First note names is documented alongside this condition.

Coding question: How are the two sequenced?

Path: Review the Code First note.

Reason: The underlying condition is sequenced first and the manifestation follows (Guidelines I.A.13).

ReviewP35.0, E24, E84

Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.

Code Overview

Diabetes mellitus due to underlying condition is a non-billable ICD-10-CM category code (E08). A more specific billable subcode must be selected for claims submission.

MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.

Official Coding Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Verbatim excerpts from the ICD-10-CM Official Guidelines for Coding and Reporting (CMS/NCHS) that govern this code.

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

a. Diabetes mellitus The diabetes mellitus codes are combination codes that include the type of diabetes mellitus, the body system affected, and the complications affecting that body system. As many codes within a particular category as are necessary to describe all of the complications of the disease may be used. They should be sequenced based on the reason for a particular encounter. Assign as many codes from categories E08 – E13 as needed to identify all of the associated conditions that the patient has.

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

6) Secondary diabetes mellitus Codes under categories E08, Diabetes mellitus due to underlying condition, E09, Drug or chemical induced diabetes mellitus, and E13, Other specified diabetes mellitus, identify complications/manifestations associated with secondary diabetes mellitus. Secondary diabetes is always caused by another condition or event (e.g., cystic fibrosis, malignant neoplasm of pancreas, pancreatectomy, adverse effect of drug, or poisoning).

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

(b) Assigning and sequencing secondary diabetes codes and its causes The sequencing of the secondary diabetes codes in relationship to codes for the cause of the diabetes is based on the Tabular List instructions for categories E08, E09 and E13.

Chapter 15: Pregnancy, Childbirth, and the Puerperium (O00-O9A)

g. Diabetes mellitus in pregnancy Diabetes mellitus is a significant complicating factor in pregnancy. Pregnant patients who are diabetic should be assigned a code from category O24, Diabetes mellitus in pregnancy, childbirth, and the puerperium, first, followed by the appropriate diabetes code(s) (E08-E13) from Chapter 4.

Decision Points

The directives on this code's own record, as a pre-claim checklist.

  1. Sequencing: 7 Code First instructions — the underlying condition is sequenced before this code when present. See the Code First notes
  2. 5 Use Additional Code instructions — report the named additional code(s) when the documentation supports them. See the Use Additional Code notes
  3. 8 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes

Checklist rows are derived from this code's own official directives; the wording of each check is MedCoder editorial. The official notes themselves are in the sections each row links to.

Verify Before Coding

From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.

Relationships & Classification

MedCoder structured relationships — computed from published CMS and AHRQ datasets

Other codes that name E08 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.

Referenced by 23 Excludes1 notes across 8 chapters: E09 — Drug or chemical induced diabetes mellitus, E10 — Type 1 diabetes mellitus, E11 — Type 2 diabetes mellitus, E13 — Other specified diabetes mellitus, E74 — Other disorders of carbohydrate metabolism, E87.2 — Acidosis, G54.5 — Neuralgic amyotrophy, G59 — Mononeuropathy in diseases classified elsewhere, G63 — Polyneuropathy in diseases classified elsewhere, G99.0 — Autonomic neuropathy in diseases classified elsewhere, H20.0 — Acute and subacute iridocyclitis, I73.8 — Other specified peripheral vascular diseases, I79.8 — Other disorders of arteries, arterioles and capillaries in diseases classified elsewhere, L92.1 — Necrobiosis lipoidica, not elsewhere classified, L99 — Other disorders of skin and subcutaneous tissue in diseases classified elsewhere, M14 — Arthropathies in other diseases classified elsewhere, M14.6 — Charcôt's joint, M90 — Osteopathies in diseases classified elsewhere, N08 — Glomerular disorders in diseases classified elsewhere, N16 — Renal tubulo-interstitial disorders in diseases classified elsewhere, +3 more.

These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.

Referenced by 4 Excludes2 notes across 4 chapters: E87.0 — Hyperosmolality and hypernatremia, H35 — Other retinal disorders, I96 — Gangrene, not elsewhere classified, R11.15 — Cyclical vomiting syndrome unrelated to migraine.

These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.

Referenced by 1 Code First instruction: D84.81 — Immunodeficiency due to conditions classified elsewhere.

Each of these codes carries a Code First note naming this condition — when that code is reported, THIS code is sequenced first, ahead of it.

Referenced by 1 Code Also instruction: N76.82 — Fournier disease of vagina and vulva.

These codes suggest coding this condition alongside when both are present.

Contextual Map

Every relationship of E08 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.

Run E08 with these 24 related codes in Claim Check

Hierarchy

Excludes1

Code First (12)

Use Additional Code

Referenced by Excludes1 notes (23)

Referenced by Excludes2 notes

Referenced by Code First instructions

Referenced by Code Also instructions

Nearest codes (115)

Change history

  • FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016

Common coding questions

Can E08 be billed directly?

No. E08 (Diabetes mellitus due to underlying condition) is a non-billable ICD-10-CM category code. A more specific billable subcode must be selected based on clinical documentation.

Sources for this page

Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.

Code, title, tabular notes and index terms Official source data
CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
Coding guidelines Official source data
ICD-10-CM Official Guidelines for Coding and Reporting (FY2027), quoted by section Release, file and checksum · Publisher’s page
Claim edits Official source data
CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
Change history and date-of-service validity Official source data
CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
Comparisons, relationships and the contextual map MedCoder structured relationship
Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
Summary and FAQ answers MedCoder explanation
Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.

Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates

Cite this page

Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.

MedCoder.ai. "E08 — Diabetes mellitus due to underlying condition." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/e08-diabetes-mellitus-due-to-underlying-condition

Change history

  • FY2016 — October 1, 2015
    In the code set at ICD-10-CM adoption
    Diabetes mellitus due to underlying condition

No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027, and none are recorded for this code. Note changes are tracked from FY2027 only.

Nearest Codes in This Family

Official ICD-10-CM classifications closest to E08 in its code family, with their registry titles.