ICD-10-CM · Chapter 3 · D50-D89
D51 Vitamin B12 deficiency anemia
Excludes 2 (not included here)
- deficiency of other B group vitamins (E53-)
Subcodes
Each subcode links to a detail page with full clinical annotations.
| Code | Description | Billable |
|---|---|---|
| D51..0 | Vitamin B12 deficiency anemia due to intrinsic factor deficiency | Yes |
| D51..1 | Vitamin B12 deficiency anemia due to selective vitamin B12 malabsorption with proteinuria | Yes |
| D51..2 | Transcobalamin II deficiency | Yes |
| D51..3 | Other dietary vitamin B12 deficiency anemia | Yes |
| D51..8 | Other vitamin B12 deficiency anemias | Yes |
| D51..9 | Vitamin B12 deficiency anemia, unspecified | Yes |
Related pages
In Spanish: anemia perniciosa → (Pernicious Anemia, in the US Medical Glossary)
Plain-language term for this code
The following entry in the US Medical Glossary corresponds to ICD-10-CM category D51:
- Pernicious Anemia — Anemia perniciosa
In Spanish
The condition this category covers is called Anemia por deficiencia de vitamina B12 in Spanish.
Notes on individual codes in D51
These annotations appear under the child codes in the FY2027 ICD-10-CM Tabular List. Codes not listed here carry no annotation of their own.
- D51.0 Vitamin B12 deficiency anemia due to intrinsic factor deficiency
-
Includes: Addison anemia; Biermer anemia; Pernicious (congenital) anemia; Congenital intrinsic factor deficiency
- D51.1 Vitamin B12 deficiency anemia due to selective vitamin B12 malabsorption with proteinuria
-
Includes: Imerslund (Gräsbeck) syndrome; Megaloblastic hereditary anemia
- D51.3 Other dietary vitamin B12 deficiency anemia
-
Includes: Vegan anemia
Coding notes for D51
- D51 is a three-character category heading and is not billable on its own. The Official Guidelines state that "a three-character code is to be used only if it is not further subdivided" and that diagnosis codes are reported "at their highest number of characters available". Of the 6 child codes listed above, 6 are billable.
- Deficiency of other B group vitamins (E53-) is Excludes2 for the whole category: it is classified elsewhere and may be reported with a D51 code when both are documented.
- D51.0 (due to intrinsic factor deficiency) lists Addison anemia, Biermer anemia, pernicious (congenital) anemia and congenital intrinsic factor deficiency as inclusion terms.
- D51.1 (due to selective vitamin B12 malabsorption with proteinuria) lists Imerslund (Gräsbeck) syndrome and megaloblastic hereditary anemia as inclusion terms; D51.3 (other dietary vitamin B12 deficiency anemia) lists vegan anemia.
- All six codes in the category (D51.0, D51.1, D51.2, D51.3, D51.8, D51.9) are billable at four characters.
How to read the notes
- Includes
- Appears under a three-character code title "to further define, or give examples of, the content of the category."
- Excludes1
- "A type 1 Excludes note is a pure excludes note. It means 'NOT CODED HERE!'" The excluded code "should never be used at the same time as the code above the Excludes1 note."
- Excludes2
- "A type 2 Excludes note represents 'Not included here.'" The excluded condition is not part of this code, "but a patient may have both conditions at the same time", so both codes may be used together when appropriate.
- Code first / Use additional code
- Sequencing rules: when a "code first" note is present and an underlying condition is present, "the underlying condition should be sequenced first, if known."
- Code also
- "Two codes may be required to fully describe a condition, but this note does not provide sequencing direction."
Sources
- ICD-10-CM Files, FY2027 release (effective October 1, 2026) — CDC National Center for Health Statistics
- ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027 — CDC/NCHS and CMS (the quoted conventions: Sections I.A.10–13, I.A.17, I.B.2, I.B.7, I.B.13)
Code titles, child codes and annotations are reproduced from the FY2027 ICD-10-CM release. This page is a reference, not coding or medical advice.
Last reviewed: October 7, 2026