proteinpowder.site

B12 Deficiency ICD-10 Codes: Coding Guide & Examples

Vitamin B12 problems are common in primary care, neurology, and gastroenterology, and they are often coded incorrectly. Understanding B12 deficiency ICD-10 codes helps coders, billers, and clinicians report the right diagnosis, avoid claim denials, and keep patient records accurate. This guide explains the main codes, when to use each one, and how documentation affects the final code.

What Is Vitamin B12 Deficiency?

Vitamin B12 helps the body make red blood cells. It also keeps the nerves healthy. When the body does not get enough B12, we call it B12 deficiency.

There are many reasons for it:

  • The person does not eat enough foods with B12, like meat, eggs, and milk.
  • The body cannot take in B12 well (this is called malabsorption). One cause is pernicious anemia, where the body lacks intrinsic factor, a helper the stomach makes. Other causes of malabsorption are not pernicious anemia.
  • The person had stomach or gut surgery.
  • The person takes some medicines for a long time, like metformin.

Metformin is also sometimes used for PCOS. If that is you, these practical tips for losing weight with PCOS may help.

A person with low B12 may feel tired. The skin may look pale. The hands and feet may tingle. Some people forget things or lose their balance.

Main ICD-10-CM Codes for Vitamin B12 Deficiency

The B12 deficiency ICD-10 codes divide into two groups, depending on whether B12 deficiency anemia is documented. These codes come from the ICD-10-CM Tabular List, which CMS posts every year on its ICD-10 codes page.

Without B12 deficiency anemia

  • E53.8: Covers a shortage of B group vitamins that have no code of their own. This category includes vitamin B12 (cyanocobalamin) deficiency and is the usual code when the provider documents B12 deficiency without B12 deficiency anemia.

With B12 deficiency anemia (D51 category)

  • D51.0: B12 deficiency anemia caused by a missing intrinsic factor (pernicious anemia)
  • D51.1: B12 deficiency anemia from selective B12 malabsorption, with protein in the urine (proteinuria)
  • D51.2: Transcobalamin II deficiency
  • D51.3: Other dietary vitamin B12 deficiency anemia (for example, in strict vegans)
  • D51.8: Other vitamin B12 deficiency anemias
  • D51.9: Vitamin B12 deficiency anemia, unspecified

Note that D51 on its own is a category header and is not billable. Claims use one of the specific codes D51.0 through D51.9.

How to Choose the Right Code

Choosing among the B12 deficiency ICD-10 codes starts with provider documentation. Check these points in the chart:

  1. Is B12 deficiency anemia documented? If yes, look to D51. If not, E53.8 applies.
  2. Is the cause stated? Pernicious anemia, dietary deficiency, or malabsorption each point to a different D51 code.
  3. Are there related conditions? Neurological complications or an underlying digestive disorder may need their own codes.
  4. Is the diagnosis confirmed? A lab value alone, such as a low serum B12 level, is not enough. The provider must document the diagnosis.

Let the documented condition decide. The Tabular List has an Excludes1 note between D51 and E53.8 (vitamin B12 deficiency), so as a rule they are not reported together for the same condition. If the provider documents B12 deficiency anemia, use the D51 code. If there is no anemia, use E53.8. The Official Guidelines allow an exception only when the two conditions are truly unrelated, which is rare, so check the notes in the FY 2027 Tabular List and the Official Guidelines for Coding and Reporting, both posted on the CMS ICD-10 codes page.

Coding Examples

Example 1: Deficiency without anemia. A 62-year-old patient on long-term metformin has fatigue and tingling in the feet. The provider documents “vitamin B12 deficiency” and the hemoglobin is normal. Code E53.8. An adverse-effect code for the drug (from the T36-T50 range, such as T38.3X5-) is added only if the provider documents that the medication caused the deficiency. Metformin use alone does not establish that link, so query the provider if the record is unclear.

Example 2: Pernicious anemia. A patient shows anemia with enlarged red blood cells, a low B12 result, and intrinsic factor antibodies on testing. The provider records the diagnosis as “pernicious anemia.” Code D51.0.

Example 3: Dietary deficiency anemia. A person on a strict vegan diet has anemia with large red blood cells and a low B12 level. The provider diagnoses “anemia due to dietary B12 deficiency,” so the code is D51.3.

Example 4: Unspecified cause. The provider writes only “B12 deficiency anemia” with no cause. Code D51.9. Querying the provider for more detail is good practice.

Example 5: Neurological involvement. A patient with B12 deficiency also develops subacute combined degeneration affecting the spinal cord. G32.0 is a manifestation code with a “code first underlying disease” instruction, so it can never be the first-listed diagnosis. Code the underlying condition first, and choose it from the provider’s documentation: E53.8 for B12 deficiency without anemia, D51.0 if pernicious anemia is documented, D51.3 for documented dietary B12 deficiency anemia, or another D51 code that fits. After that, report G32.0 for the spinal cord involvement.

Common Coding Mistakes

One frequent error when reporting B12 deficiency ICD-10 codes is using a D51 code when anemia is not documented. Others include:

  • Listing E53.8 alongside a D51 code when both describe the same condition
  • Coding from a lab result without a provider diagnosis
  • Choosing D51.9 when the documentation already supports a more specific code
  • Mixing up folate deficiency codes with B12 codes
  • Assuming a medication caused the deficiency without provider documentation
  • Leaving out codes for related conditions such as malabsorption or neuropathy

Documentation and Billing Tips

Payers reviewing claims that use B12 deficiency ICD-10 codes often expect clear support for medical necessity, especially for B12 injections and repeat lab testing. Providers should document the cause (if known), symptoms, lab results, treatment plan, and follow-up. Coders should match the diagnosis code to the services billed and query the provider when the record is unclear.

Final Thoughts

Mastering these codes comes down to one question: is anemia present, and what is the cause? Use E53.8 for deficiency without anemia, the D51 series when anemia is documented, and add codes for complications when the record supports them. Always check the code set and guidelines in effect for the date of service. The FY 2027 ICD-10-CM files apply to encounters from October 1, 2026 through September 30, 2027, and codes and rules change every year.

Last reviewed: October 2026. This article is meant for learning only and should not replace medical advice or professional coding guidance.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top