2026 ICD-10-CM Diagnosis Code D51.8Other vitamin B12 deficiency anemias
ICD-10-CM Codes›D50–D89›D50-D53›D51
- Billable — Valid for Submission
- Chronic Condition
D51.8 is a billable ICD-10-CM diagnosis code for other vitamin B12 deficiency anemias. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026) and groups to MS-DRG 811 through 812. Coders also document this condition as hereditary vitamin B12 deficiency anemia. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Nutritional anemia.
Code Identity
Code Classification
Approximate SynonymsGuidance
Alternate terms and clinical phrases that map to this code.
- Hereditary vitamin B12 deficiency anemia
- Megaloblastic anemia caused by drugs
- Megaloblastic anemia due to vitamin B12 deficiency secondary to intestinal disease
- Thiamine-responsive macrocytosis
- Vitamin B12 deficiency anemia caused by drug
- Vitamin B12 deficiency anemia due to chronic atrophic gastritis
- Vitamin B12 deficiency anemia following gastrectomy
- Vitamin B12 deficiency anemia following total gastrectomy
Index to Diseases and InjuriesGuidance
Alphabetical index entries that point to this code.
External Cause of Injuries IndexGuidance
References for this code in the External Cause of Injuries Index.
- Anemia(essential) (general) (hemoglobin deficiency) (infantile) (primary) (profound)
- deficiency
- vitamin B12 NOS
- specified type NEC
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Patient EducationClinical
Anemia
If you have anemia, your blood does not carry enough oxygen to the rest of your body. The most common cause of anemia is not having enough iron. Your body needs iron to make hemoglobin. Hemoglobin is an iron-rich protein that gives the red color to blood. It carries oxygen from the lungs to the rest of the body.
Read the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert D51.8 to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About D51.8Overview
Is D51.8 (Vitamin B12 deficiency anemia) a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report other vitamin B12 deficiency anemias on HIPAA-covered claims from October 1, 2025 through September 30, 2026.
What MS-DRG does D51.8 group to?
When other vitamin B12 deficiency anemias is the principal diagnosis on an inpatient stay, it groups to MS-DRG 811, 812, with relative weights from 0.9182 to 1.4043 depending on complications. Higher weights mean higher Medicare reimbursement.
What is the ICD-9 equivalent of D51.8?
Under the General Equivalence Mappings, other vitamin B12 deficiency anemias converts to ICD-9-CM 281.1 (B12 defic anemia NEC). The mapping is approximate, so confirm the match fits the documentation.
Footnotes
[1] Chronic - a chronic condition code indicates a condition lasting 12 months or longer and its effect on the patient based on one or both of the following criteria:
- The condition results in the need for ongoing intervention with medical products,treatment, services, and special equipment
- The condition places limitations on self-care, independent living, and social interactions.
