Diabetes mellitus is one of the most commonly coded chronic conditions in medical coding. However, it is also one of the most misunderstood diagnoses due to its multiple types, stages, complications, and treatment variations. Correct ICD-10 coding for diabetes requires a strong understanding of not only the disease itself but also the official ICD-10-CM guidelines.
This blog will explain types of diabetes, ICD-10 categories (E08–E13), sequencing rules, default coding, insulin use, secondary diabetes, and special situations in simple language so that even beginners can understand and apply these rules correctly in real-world coding.
What is Diabetes Mellitus?
Diabetes mellitus is a metabolic disorder characterized by high blood glucose levels (hyperglycemia) due to either:
Lack of insulin production, or
Inability of the body to properly use insulin
Insulin is a hormone produced by the pancreas that helps move glucose from the bloodstream into cells for energy. When this process is disrupted, blood sugar levels rise, leading to various complications.
From a medical coding perspective, the key factor in selecting the correct ICD-10 code is NOT insulin use but the TYPE of diabetes.
ICD 10 coding Guide for types of diabetes for Medical coders" width="840" height="469" title="ICD 10 coding Guide for types of diabetes for Medical coders" srcset="https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=840%2C469&ssl=1 840w, https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=654%2C365&ssl=1 654w, https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=500%2C280&ssl=1 500w, https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=768%2C429&ssl=1 768w, https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=1536%2C857&ssl=1 1536w, https://i0.wp.com/www.americanmedicalcoding.com/wp-content/uploads/2016/10/diabetee-scaled.jpg?resize=2048%2C1143&ssl=1 2048w" sizes="(max-width: 840px) 100vw, 840px" />
Major ICD-10 Categories for Diabetes (E08–E13)
The ICD-10-CM classifies diabetes into five main categories:
| ICD-10 Code | Type of Diabetes |
|---|---|
| E08 | Diabetes due to underlying condition |
| E09 | Drug or chemical-induced diabetes |
| E10 | Type 1 diabetes mellitus |
| E11 | Type 2 diabetes mellitus |
| E13 | Other specified diabetes mellitus |
👉 Important Rule:
The type of diabetes determines the code, NOT whether the patient is using insulin.
Default Coding When Type is Unclear
Many medical records do not clearly specify whether the patient has Type 1 or Type 2 diabetes. In such cases, ICD-10 provides a default rule:
If the type of diabetes is not documented, assign E11 – Type 2 diabetes mellitus.
Even if the patient is on insulin, but the type is not documented, still default to E11 (Type 2).
👉 Why? Because many Type 2 patients use insulin, so insulin use alone does not indicate Type 1.
Type 1 Diabetes Mellitus (E10)
Other Names:
Type 1 diabetes may also be described as:
Juvenile diabetes
Juvenile-onset diabetes
Ketosis-prone diabetes
Insulin-dependent diabetes
Although Type 1 often begins in childhood, age alone does not determine the type.
What happens in Type 1 diabetes?
In Type 1 diabetes:
The body does not produce insulin at all, or produces very little.
It is an autoimmune condition where the immune system attacks insulin-producing beta cells in the pancreas.
Patients require lifelong insulin injections to survive.
Without insulin, they are at high risk for diabetic ketoacidosis (DKA), a life-threatening condition.
Stages of Type 1 Diabetes
Modern medicine recognizes that Type 1 diabetes develops in stages before symptoms appear.
Stage 1 – Presymptomatic Type 1 Diabetes
The patient has two or more islet autoantibodies
Blood glucose levels are still normal
No symptoms yet
👉 Code: E10.A- (Type 1 diabetes mellitus, presymptomatic)
Stage 2 – Abnormal Glucose Tolerance
Still asymptomatic
But now glucose levels are abnormal
Beta cells are gradually being destroyed
👉 Still coded under E10.A-
Stage 3 – Symptomatic Type 1 Diabetes
Now the patient has classic symptoms such as:
Excessive thirst
Frequent urination
Weight loss
Fatigue
High blood sugar
At this stage, code E10 (Type 1 diabetes mellitus) and any complications present.
These patients must use insulin regularly. Therefore:
👉 You may assign Z79.4 – Long-term (current) use of insulin along with E10.
Type 2 Diabetes Mellitus (E11)
Type 2 diabetes is much more common than Type 1.
Other Names:
Adult-onset diabetes
Non-insulin-dependent diabetes
Ketosis-resistant diabetes
What happens in Type 2 diabetes?
In Type 2 diabetes:
The body still produces insulin, but either:
Not enough insulin is produced, or
The body does not use insulin properly (insulin resistance)
Most patients initially manage Type 2 diabetes with:
Diet
Exercise
Oral medications (like metformin)
Coding for Medications in Type 2 Diabetes
Depending on treatment, assign additional Z codes:
| Treatment | Additional Code |
|---|---|
| Oral medications only | Z79.84 |
| Insulin only | Z79.4 |
| Both insulin & oral meds | Z79.4 + Z79.84 |
| Insulin + injectable non-insulin drug | Z79.4 + Z79.85 |
| Oral + injectable non-insulin drug | Z79.84 + Z79.85 |
👉 Do not assign Z79.4 if insulin is given only temporarily during hospitalization.
Secondary Diabetes (E08, E09, E13)
Secondary diabetes is caused by another condition, medication, or medical procedure.
E08 – Diabetes due to underlying condition
In this case, the underlying condition is coded first, followed by E08.
Examples include:
Cushing’s syndrome – E24
Cystic fibrosis – E84
Pancreatitis – K85 or K86
Malnutrition – E40–E46
Malignancy – C00–C96
Example coding: E24.9 – Cushing’s syndrome E08.9 – Diabetes due to underlying condition
E09 – Drug or chemical-induced diabetes
This type occurs due to medications, especially steroids.
Example:
A patient develops diabetes after long-term prednisone use.
Coding:
T38.0x5A – Adverse effect of glucocorticoids E09.9 – Drug-induced diabetes mellitus
👉 The drug causing the problem is coded first.
Postpancreatectomy Diabetes
If diabetes occurs after surgical removal of the pancreas:
Use:
E13.9 – Other specified diabetes
E89.1 – Postprocedural hypoinsulinemia
Plus either:
Z90.410 – Total absence of pancreas
Z90.411 – Partial absence of pancreas
Example:
Category E13 – Other Specified Diabetes
This category includes rare or genetic forms of diabetes.
It also includes:
Type 1.5 Diabetes (LADA – Latent Autoimmune Diabetes in Adults)
This is also called:
Double diabetes
These patients initially resemble Type 2 but later need insulin within 5–10 years.
👉 Coded as E13 – Other specified diabetes mellitus
Key Takeaways for Medical Coders
| Situation | Correct Approach |
|---|---|
| Type not documented | Default to E11 |
| Patient uses insulin | Does NOT mean Type 1 |
| Secondary diabetes | Code underlying cause first |
| Steroid-induced diabetes | Code T38 first, then E09 |
| Temporary insulin use | Do NOT assign Z79.4 |
| Routine insulin use | Assign Z79.4 |
| Post-pancreas surgery | Use E13 + E89.1 + Z90.41- |
Conclusion
Understanding ICD-10 coding for diabetes requires:
Knowing the type of diabetes
Following sequencing rules
Identifying secondary causes
Recognizing long-term medication use
Proper documentation from providers is critical. When unclear, always default to Type 2 (E11) unless clearly stated otherwise.
This knowledge will help medical coders reduce denials, improve accuracy, and ensure proper reimbursement.




Pingback: Super tips for clearing 2018 CPC exams - Medical Coding Guide
Pingback: Cpt code for Urinalysis: Basic Coding Guidelines for Coders
Pingback: How to Prepare and Clear CPC Exam
Pingback: Sample CPC or CCS questions and Answers - Medical Coding Guide
Pingback: Top 5 coding errors done by Medical Coders - Medical Coding Guide
Pingback: ICD 10 codes for Myocardial Infarction Coding Guide - Medical Coding Guide
Pingback: Obesity ICD 10 Coding guide for Coders - Medical Coding Guide
Pingback: ICD 10 Coding Guidelines for Diabetes and its Complications
Pingback: Global Maternity Package: Inclusions, Exclusions & Obstetric Coding Tips - Medical Coding Guide