When should serum vitamin B12 and 25‑hydroxy vitamin D levels be checked?

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: March 9, 2026View editorial policy

Personalize

Help us tailor your experience

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

When to Check B12 and Vitamin D Levels

Check vitamin B12 and 25-hydroxyvitamin D levels in patients with specific risk factors or clinical conditions rather than screening the general population—vitamin D testing is indicated for bone fragility, malabsorption, chronic kidney disease, and phosphocalcic disorders, while B12 testing should be performed when evaluating anemia, neurological symptoms, or in patients with malabsorption syndromes.

Vitamin D Testing Indications

Do NOT Screen the General Population

The USPSTF explicitly recommends against population-wide screening for vitamin D deficiency 1. No national primary care organization supports universal screening 1. The Endocrine Society similarly states there is no evidence showing benefits of screening at a population level 1.

Specific Clinical Situations Warranting Vitamin D Testing

Test vitamin D (25-hydroxyvitamin D) in these conditions:

  • Bone fragility disorders including low bone mineral density, low-energy fractures, or osteoporosis 2, 3
  • Malabsorption syndromes of any etiology 2, 3
  • Chronic kidney disease and kidney transplant recipients 3
  • Any phosphocalcic pathology or when exploring calcium/phosphorus metabolism (including PTH measurement) 2, 3
  • Clinical signs of profound vitamin D deficiency or excess (e.g., diffuse pain, elderly with recurrent falls) 3
  • Primary hyperparathyroidism 3
  • Granulomatous diseases 3
  • Patients receiving treatments causing bone loss or modifying vitamin D metabolism (e.g., anticonvulsants) 3

Additional High-Risk Groups

Consider testing in patients aged >65 years, pregnant women, those with recurrent falls, secondary hyperparathyroidism, or cancer 4. The ESPEN guideline notes that patients requiring nutritional therapy are frequently depleted in vitamin D due to low intake and lack of UV light 5.

Target Levels

When testing is indicated, aim for 25-hydroxyvitamin D levels of 20-60 ng/mL (50-100 nmol/L) for most patients 6, 4. Higher targets of >30 ng/mL may benefit specific populations including elderly, pregnant women, and those with osteoporosis or chronic kidney disease 4.

Vitamin B12 Testing Indications

Clinical Scenarios for B12 Testing

Test vitamin B12 in these situations:

  • Macrocytic anemia or unexplained anemia 7
  • Neurological symptoms including cognitive changes, developmental delay, or peripheral neuropathy 7
  • Malabsorption syndromes (celiac disease, inflammatory bowel disease, post-gastric surgery) 7
  • Suspected pernicious anemia (the most common non-dietary cause of B12 deficiency) 7
  • Elderly patients with bone health concerns, particularly women with osteoporosis 8
  • Patients with unexplained fatigue and weakness 9

Important Consideration

There is a significant association between vitamin D deficiency and vitamin B12 deficiency 9. When one deficiency is identified, consider testing for the other, particularly in children and adolescents where the co-occurrence rate is substantial 9.

Common Pitfalls to Avoid

  • Don't order routine screening in asymptomatic, low-risk individuals—this wastes resources and may lead to unnecessary treatment
  • Don't measure vitamin D metabolites other than 25-hydroxyvitamin D for assessing vitamin D status 5
  • Don't forget seasonal variation in vitamin D levels (lowest after winter) when interpreting results 5
  • Recognize that vitamin B12 deficiency is particularly common in adolescents (>12 years) and should be considered in this age group 9
  • Use LC-MS/MS methodology when available for vitamin D testing as it is the gold standard 5

Treatment Without Testing

For many patients, empiric supplementation without testing is appropriate and cost-effective 3. The recommended daily allowance is 600-800 IU for adults (vitamin D) 1, 5, and treatment is inexpensive with a large safety margin. Consider empiric supplementation rather than testing in low-risk individuals who would benefit from supplementation regardless of baseline levels.

References

Related Questions

What is the appropriate treatment for a 24-year-old female with a serum 25‑hydroxyvitamin D level of 15 ng/mL?
How should I manage a 25‑hydroxy vitamin D level of 11.2 ng/mL?
What is the appropriate management for a patient with a 25‑hydroxyvitamin D level of 15.1 ng/mL?
What are the recommendations for screening serum 25‑hydroxyvitamin D levels in adults, particularly those over 65 years, with osteoporosis or low‑impact fractures, malabsorption syndromes, chronic kidney disease, obesity, limited sun exposure, darker skin pigmentation, chronic glucocorticoid or anticonvulsant therapy, or who are pregnant or lactating?
What is the recommended treatment for an adult with a serum 25‑hydroxy‑vitamin D level of 28 ng/mL?
With a stable, non‑displaced C6 cervical fracture requiring a minimum 12‑week cervical brace, does this duration alter the timing for brace removal and return to unrestricted activity?
What is the recommended management of polycystic ovary syndrome in women?
What is the appropriate management when a patient’s prothrombin time (PT) and activated partial thromboplastin time (aPTT) are both prolonged?
What conservative treatments are recommended for temporomandibular joint (TMJ) pain triggered by chewing and talking?
What dose of amoxicillin suspension (250 mg per 5 mL) should be given to a child weighing 9.71 kg?
What is the appropriate management plan for a patient presenting with tachypnea and tachycardia while having normal oxygen saturation?

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.