Skip to content
Dx

ICD-10-CM 2027 diagnosis code

D51Vitamin B12 deficiency anemia

Not billable — use a more specific code

D51 is a header code, so it can't be reported by itself. Choose one of the 6 more specific codes beneath it.

Code unchanged since ICD-10-CM took effect on October 1, 2015. Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data

About D51

D51 is the ICD-10-CM diagnosis code for vitamin B12 deficiency anemia. It belongs to block D50-D53 (nutritional anemias) and chapter 3 (diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism). It is a header code, so it can't be reported by itself; one of its 6 subcodes must be used instead.

To report this condition, pick the subcode that matches the documentation: D51.0 (due to intrinsic factor deficiency), D51.1 (due to selective vitamin B12 malabsorption with proteinuria), D51.2 (deficiency), D51.3 (anemia), D51.8 (anemias) and D51.9 (unspecified).

The conditions in its Excludes2 note aren't part of D51, but may be coded alongside it if the patient has both: deficiency of other B group vitamins (E53-).

It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.

Specific codes under D51

Coding notes

Excludes2Not included here — may be reported together if both conditions exist
  • deficiency of other B group vitamins (E53-)

Notes that apply from higher levels

Instructions written at a parent level also apply to D51.

Codes whose notes reference D51

Code history

  1. 2016
  2. 2017
  3. 2018
  4. 2019
  5. 2020
  6. 2021
  7. 2022
  8. 2023
  9. 2024
  10. 2025
  11. 2026
  12. 2027
  • FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
  • No changes since FY2016.

Common questions about D51

Is D51 billable?

No. D51 is a header code. Report one of its more specific subcodes instead.