E52 ICD-10-CM Code: Niacin deficiency [pellagra]
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
- Tabular directives
- 3 inclusion terms · 1 Excludes1 · 1 Excludes2
Inpatient Payment Groups (MS-DRG)
Potential MS-DRG participation — not a DRG assignment.
MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v43, Appendix B.
- MS-DRG 640 — MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITH MCC (MDC 10)
- MS-DRG 641 — MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITHOUT MCC (MDC 10)
A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for E52 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025
Notes without a marker are published on E52 itself; “inherited from” names the category or block whose note applies here.
Inclusion Terms
Alternative terms the tabular list files under this code.
- Niacin (-tryptophan) deficiency
- Nicotinamide deficiency
- Pellagra (alcoholic)
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).
- sequelae of niacin deficiency (E64.8) Compare E52 vs E64.8 →
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- nutritional anemias (D50-D53) Compare E52 vs D50 →
Source: inherited from E50-E64
Coder workflow for E52
MedCoder structured workflow — derived from this code’s own official record
Before you code E52
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with E52. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).
Choose the right path
- Does the documentation support a condition named in E52’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.ReviewE64.8
Consider E52. Then 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).
Official instructions as workflow
Excludes1 — check before selecting E52(1 note)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with E52: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.
CompareE64.8
See the official tabular notes · Guidelines I.A.12.a
Excludes2 — not part of E52(1 note)
Coding workflow: The conditions named in this note are not included in E52. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
See the official tabular notes · Guidelines I.A.12.b
Coding decision scenarios
Pattern scenarios for this code’s structure — decision rules, not clinical cases
Documentation: Both the condition E52 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).
ReviewE64.8
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
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Indexed Clinical Terms (28)
Official source data — entries quoted as published, in the Index’s own lookup phrasing
Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.
- Acid, deficiency, amide nicotinic
- Acid, deficiency, nicotinic
- Alcohol, alcoholic, alcohol-induced, pellagra
- Avitaminosis (multiple), B, with, pellagra
- Avitaminosis (multiple), nicotinic acid
- Cheilosis (angular), with pellagra
- Deficiency, deficient, niacin (amide) (-tryptophan)
- Deficiency, deficient, nicotinamide
- Deficiency, deficient, nicotinic acid
- Deficiency, deficient, vitamin NOS (multiple), BNOS (complex), with, pellagra
- Deficiency, deficient, vitamin NOS (multiple), nicotinic
- Deficiency, deficient, vitamin NOS (multiple), PP (pellagra-preventing)
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety), in (due to), niacin deficiency
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety), in (due to), niacin deficiency, with behavioral disturbance
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety), in (due to), pellagra
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety), in (due to), pellagra, with behavioral disturbance
- Dermatitis (eczematous), pellagrous
- Encephalopathy (acute), pellagrous
- Erythema, erythematous (infectional) (inflammation), endemic
- Gingivitis, pellagrous
- Glossitis (chronic superficial) (gangrenous) (Moeller's), pellagrous
- Niacindeficiency (amide)
- Nicotinic acid deficiency
- Pellagra (alcoholic)
- Pellagra (alcoholic), with, polyneuropathy
- Polioencephalopathy, superior hemorrhagic, with, pellagra
- Polyneuropathy (peripheral), in (due to), pellagra
- Syndrome, pellagroid
Verify Before Coding
- No Medicare Code Editor or MS-DRG Definitions Manual restrictions apply to this code.
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 E52 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 2 Excludes1 notes across 2 chapters: T45.2X6 — Underdosing of vitamins, Z72.4 — Inappropriate diet and eating habits.
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
Referenced by 3 Code First instructions across 2 chapters: F02 — Dementia in other diseases classified elsewhere, G32.8 — Other specified degenerative disorders of nervous system in diseases classified elsewhere, G63 — Polyneuropathy in diseases 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.
MS-DRG Grouper Relationships (FY2026)
Potential MS-DRG participation — not a DRG assignment.
FY2026 MS-DRG: not on the CMS CC/MCC list — as a secondary diagnosis this code does not change MS-DRG severity for that release.
Named in the grouper logic of 2 MS-DRGs: DRG 640 (MDC 10), DRG 641 (MDC 10).
From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.
Clinical classification (AHRQ CCSR):END007 — Nutritional deficiencies (default).
Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.
Related Codes
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Nutritional deficiencies).
E50.5 — Vitamin A deficiency with night blindness, E50.6 — Vitamin A deficiency with xerophthalmic scars of cornea, E50.7 — Other ocular manifestations of vitamin A deficiency, E50.8 — Other manifestations of vitamin A deficiency, E50.9 — Vitamin A deficiency, unspecified, E51.11 — Dry beriberi, E51.12 — Wet beriberi, E51.2 — Wernicke's encephalopathy, E51.8 — Other manifestations of thiamine deficiency, E51.9 — Thiamine deficiency, unspecified, E53.0 — Riboflavin deficiency, E53.1 — Pyridoxine deficiency, E53.8 — Deficiency of other specified B group vitamins, E53.9 — Vitamin B deficiency, unspecified, E54 — Ascorbic acid deficiency, E55.0 — Rickets, active, E55.9 — Vitamin D deficiency, unspecified, E56.0 — Deficiency of vitamin E, E56.1 — Deficiency of vitamin K, E56.8 — Deficiency of other vitamins, +23 more
Same Index main term, other category
The ICD-10-CM Index to Diseases and Injuries files this code under the main terms “Avitaminosis”, “Acid”, “Deficiency, deficient”, …; these codes share that main term but sit in a different category of the Tabular List.
E50.4 — Vitamin A deficiency with keratomalacia (vitamin NOS, A, with, keratomalacia), E50.5 — Vitamin A deficiency with night blindness (vitamin NOS, A, with, night blindness), E50.6 — Vitamin A deficiency with xerophthalmic scars of cornea (vitamin NOS, A, with, scar of cornea, xerophthalmic), E50.7 — Other ocular manifestations of vitamin A deficiency (vitamin NOS, A, with, xerophthalmia), E50.8 — Other manifestations of vitamin A deficiency (vitamin NOS, A, with, xeroderma), E50.9 — Vitamin A deficiency, unspecified (carotene), E51.11 — Dry beriberi (in, beriberi), E51.12 — Wet beriberi (thiamin, thiaminic, beriberi, wet), E51.2 — Wernicke's encephalopathy (Wernicke's), E51.9 — Thiamine deficiency, unspecified (aneurin), E53.0 — Riboflavin deficiency (G), E53.1 — Pyridoxine deficiency (B6), E53.8 — Deficiency of other specified B group vitamins (B12), E53.9 — Vitamin B deficiency, unspecified (B), E54 — Ascorbic acid deficiency (deficiency, ascorbic), E55.0 — Rickets, active (D, with rickets), E55.9 — Vitamin D deficiency, unspecified (D), E56.0 — Deficiency of vitamin E (tocopherol), E56.1 — Deficiency of vitamin K (K), E56.8 — Deficiency of other vitamins (vitamin NOS, P), +529 more
Contextual Map
Every relationship of E52 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 E52 with these 10 related codes in Claim Check
Hierarchy
- E00-E89 — Chapter 4: Endocrine, Nutritional and Metabolic Diseases (E00-E89) (E00-E89)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- E50-E64 — Other nutritional deficiencies[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Excludes1
- E64.8 — Sequelae of other nutritional deficiencies[Excludes1]: “sequelae of niacin deficiency (E64.8)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Excludes2
- D50 — Iron deficiency anemia[Excludes2]: “nutritional anemias (D50-D53)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- D51 — Vitamin B12 deficiency anemia[Excludes2]: “nutritional anemias (D50-D53)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- D52 — Folate deficiency anemia[Excludes2]: “nutritional anemias (D50-D53)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- D53 — Other nutritional anemias[Excludes2]: “nutritional anemias (D50-D53)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Excludes1 notes
- T45.2X6 — Underdosing of vitamins[Excludes1]: “vitamin deficiencies (E50-E56)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- Z72.4 — Inappropriate diet and eating habits[Excludes1]: “malnutrition and other nutritional deficiencies (E40-E64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Code First instructions
- F02 — Dementia in other diseases classified elsewhere[Code First]: “niacin deficiency [pellagra] (E52)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- G32.8 — Other specified degenerative disorders of nervous system in diseases classified elsewhere[Code First]: “cerebral degeneration (due to) vitamin B deficiency, except thiamine (E52-E53.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- G63 — Polyneuropathy in diseases classified elsewhere[Code First]: “nutritional deficiency (E40-E64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Clinical classification (CCSR)
- END007 — Nutritional deficiencies[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
MS-DRG Grouper
- DRG 640 — MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITH MCC[MS-DRG]: “MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITH MCC (MDC 10)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
- DRG 641 — MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITHOUT MCC[MS-DRG]: “MISCELLANEOUS DISORDERS OF NUTRITION, METABOLISM, FLUIDS AND ELECTROLYTES WITHOUT MCC (MDC 10)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
MDC crossing
- MDC 10 — Endocrine, Nutritional and Metabolic Diseases and Disorders[MDC crossing]: “Endocrine, Nutritional and Metabolic Diseases and Disorders — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 5,008 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026
Index entries (28)
- Acid, deficiency, amide nicotinic[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Acid, deficiency, nicotinic[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Alcohol, alcoholic, alcohol-induced, pellagra[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Avitaminosis (multiple), B, with, pellagra[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Avitaminosis (multiple), nicotinic acid[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Cheilosis (angular), with pellagra[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Deficiency, deficient, niacin (amide) (-tryptophan)[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Deficiency, deficient, nicotinamide[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- and 20 more
Change history
- FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016
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 FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v43.1 (April 2026) Release, file and checksum · Publisher’s page
- Inpatient payment groups Official source data
- CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v43 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. "E52 — Niacin deficiency [pellagra]." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/e52-niacin-deficiency-pellagra
Change history
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionNiacin deficiency [pellagra]
No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027 (effective October 1, 2026), and none are recorded for this code. Note changes are tracked from FY2027 only.