What are the ICD10 (International Classification of Diseases, 10th Revision) codes for checking vitamin B12 levels?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 12, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Codes for Vitamin B12 Testing

The most commonly used ICD-10 codes to justify checking vitamin B12 levels include D53.8 (other nutritional anemias), E53.8 (deficiency of other specified B group vitamins), and R53.83 (fatigue), with the specific code selection depending on the clinical presentation and risk factors present.

Primary Diagnostic Codes

Anemia-Related Codes

  • D53.8 - Other nutritional anemias: Use when macrocytic anemia or unexplained anemia is present on complete blood count 1
  • D51.9 - Vitamin B12 deficiency anemia, unspecified: Appropriate when B12 deficiency anemia is suspected or confirmed 2
  • D51.0 - Vitamin B12 deficiency anemia due to intrinsic factor deficiency (pernicious anemia): Use when autoimmune gastritis or intrinsic factor antibodies are suspected 2

Deficiency and Nutritional Codes

  • E53.8 - Deficiency of other specified B group vitamins: General code for suspected B12 deficiency without anemia 1, 2
  • E56.9 - Vitamin deficiency, unspecified: Broader code when multiple nutritional deficiencies are being evaluated 3

Symptom-Based Codes

Neurological Manifestations

  • G62.9 - Polyneuropathy, unspecified: For symmetric paresthesia or peripheral nerve symptoms 1
  • R26.81 - Unsteadiness on feet: For balance issues and gait impairment 1
  • R26.89 - Other abnormalities of gait and mobility: For proprioception impairment 1
  • H53.8 - Other visual disturbances: For blurred vision or visual field loss related to optic nerve dysfunction 1

Cognitive and Psychiatric Symptoms

  • R41.840 - Attention and concentration deficit: For difficulty concentrating 1
  • R41.3 - Other amnesia (memory loss): For short-term memory problems 1
  • F07.9 - Personality change due to known physiological condition, unspecified: For personality changes 1
  • R53.83 - Other fatigue: For generalized fatigue and brain fog 2

Risk Factor-Based Codes

Post-Surgical and Gastrointestinal Conditions

  • Z98.84 - Bariatric surgery status: For patients who have undergone gastric bypass, sleeve gastrectomy, or other bariatric procedures 3, 4
  • K29.40 - Chronic atrophic gastritis without bleeding: For atrophic gastritis affecting B12 absorption 5, 1
  • K90.0 - Celiac disease: For malabsorptive conditions 1
  • K90.89 - Other intestinal malabsorption: For other gastrointestinal conditions affecting absorption 1

Medication-Related Codes

  • Z79.84 - Long-term (current) use of oral hypoglycemic drugs: For metformin use (especially >4 months) 5, 1, 4
  • Z79.899 - Other long-term (current) drug therapy: For proton pump inhibitors, H2 receptor antagonists, colchicine, phenobarbital, or pregabalin 5, 1

Autoimmune and Chronic Conditions

  • E03.9 - Hypothyroidism, unspecified: For thyroid disease as autoimmune risk factor 5, 1
  • E10.9 - Type 1 diabetes mellitus without complications: For type 1 diabetes as autoimmune condition 1
  • M35.00 - Sjögren syndrome, unspecified: For Sjögren syndrome 1
  • B20 - Human immunodeficiency virus [HIV] disease: For HIV patients at risk 1

Age and Dietary Risk Factors

  • Z91.11 - Patient's noncompliance with dietary regimen: For vegans or strict vegetarians with limited B12 intake 1, 4
  • R62.7 - Adult failure to thrive: For older adults (>75 years) at increased risk 4

Post-Bariatric Surgery Monitoring Codes

For patients after bariatric surgery, use Z98.84 as the primary code, as these patients require regular B12 monitoring every 3,6, and 12 months in the first year, then at least annually thereafter 3. This population has high risk for B12 malabsorption due to reduced gastric acid production and intrinsic factor availability 5.

Clinical Pitfalls to Avoid

  • Do not use codes for routine screening: Universal screening is not recommended; testing requires at least one risk factor AND one clinical feature 2, 4
  • Consider pregnancy-specific monitoring: For pregnant patients after bariatric surgery, use O99.89 (other specified diseases complicating pregnancy) along with Z98.84, as B12 should be checked every 3 months 3
  • Document medication use: Always include Z79 codes for medications that interfere with B12 absorption, as this strengthens medical necessity 5, 1
  • Avoid testing without clinical indication: Elevated B12 levels (>1000 pg/mL) require different diagnostic codes focused on underlying pathology such as liver disease or hematologic malignancy 6, 2

References

Guideline

Vitamin B12 Deficiency Indications and Testing

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Vitamin B12 Deficiency: Common Questions and Answers.

American family physician, 2025

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Vitamin B12 Deficiency: Recognition and Management.

American family physician, 2017

Guideline

Vitamin B12 and Magnesium Deficiency Diagnosis

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Implications of Elevated Vitamin B12 Levels

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.