Vitamin D is a fat-soluble vitamin the skin makes from sunlight and that also comes from a few foods, fortified products and supplements. Its main job is helping the gut absorb calcium and phosphate so bones mineralize properly; severe deficiency causes rickets in children and osteomalacia (soft bones) in adults.
Vitamin D comes as over-the-counter supplements, which are not FDA-approved drugs, and as prescription ergocalciferol. This guide explains the forms, how vitamin D status is measured, what large trials such as VITAL found about cancer, heart disease and fractures, who may benefit from testing, and the risks of taking too much. A clinician should interpret your level and decide whether and how to supplement.
At a glance
- Also called
- Cholecalciferol, Vitamin D3, Ergocalciferol, Vitamin D2
- Drug class
- Vitamin (fat-soluble secosteroid)
- Forms
- Oral capsule, tablet or softgel · Oral liquid drops · Prescription oral capsule (ergocalciferol)
- FDA status
- Vitamin D3 and D2 supplements are dietary supplements, not FDA-approved drugs. Prescription ergocalciferol is an FDA-approved drug for specific conditions.
- Prescription
- Available without a prescription (some forms need one)
- Two forms: D3 (cholecalciferol, from skin and animal sources) and D2 (ergocalciferol, from plants and fungi)
- Status is measured with a 25-hydroxyvitamin D [25(OH)D] blood test
- The NIH considers 20 ng/mL or higher adequate for most people; under 12 ng/mL signals deficiency risk
- In the VITAL trial, vitamin D did not lower cancer, cardiovascular events or fractures in generally healthy adults
- Too much causes high blood calcium; supplements are the usual cause of toxicity
How does vitamin D work?
Vitamin D from sunlight, food or supplements is inactive at first. The liver converts it into 25-hydroxyvitamin D [25(OH)D], the main circulating form, and the kidney converts that into calcitriol, the active hormone. Calcitriol increases calcium absorption in the gut and keeps calcium and phosphate in the range bones need. Without enough, the body pulls calcium from bone, which can leave bones thin, soft or misshapen.
Vitamin D also influences muscle, immune function, inflammation and cell growth, and many tissues have vitamin D receptors. Those findings fueled interest in vitamin D for preventing cancer, heart disease and other conditions, but large randomized trials have mostly not borne that out in people who are not deficient.
Both D2 and D3 are well absorbed in the small intestine, and fat in the same meal helps. They differ only in their side chain, and both raise 25(OH)D.
What is vitamin D used for?
FDA-approved prescription use. The ergocalciferol capsule label lists hypoparathyroidism, vitamin D-resistant (refractory) rickets and familial hypophosphatemia. Prescribers also commonly use prescription ergocalciferol to correct a documented deficiency, which is outside the label's listed indications.
Supplement uses (not FDA-approved). Over-the-counter vitamin D is taken to prevent or correct low levels and to support bone health, usually alongside enough calcium. The evidence for other goals is weaker:
- Cancer and heart disease: the VITAL trial randomized 25,871 men 50 and older and women 55 and older to vitamin D3 or placebo for a median of 5.3 years. Vitamin D did not lower invasive cancer (hazard ratio 0.96) or major cardiovascular events (0.97). Most participants were not deficient at the start.
- Fractures: in a VITAL ancillary study, vitamin D did not lower total, hip or nonvertebral fractures compared with placebo. The US Preventive Services Task Force also found vitamin D does not reduce falls in community-dwelling adults 65 and older without deficiency or osteoporosis.
- Depression: VITAL found no difference in the rate of new or recurrent depression.
The takeaway is not that vitamin D is useless but that extra vitamin D mainly helps people who are low. Our guide to bone health after 40 covers calcium, exercise and screening alongside vitamin D.
How is vitamin D tested, and who should be tested?
The serum 25(OH)D test is the standard measure of vitamin D status. The NIH Office of Dietary Supplements summarizes the National Academies' cutoffs:
- Below 12 ng/mL (30 nmol/L): associated with deficiency, which can lead to rickets or osteomalacia.
- 12 to under 20 ng/mL: generally considered inadequate for bone and overall health.
- 20 ng/mL (50 nmol/L) or higher: generally adequate for most people.
- Above 50 ng/mL (125 nmol/L): linked to potential adverse effects, particularly above 60 ng/mL.
Many labs flag results below 30 ng/mL, so the same number can be flagged differently; assays also vary between laboratories. In 2021 the USPSTF concluded the evidence is insufficient to assess the benefits and harms of screening asymptomatic adults for vitamin D deficiency, and the Endocrine Society's 2024 guideline does not recommend routine testing in healthy people. Testing makes more sense with risk factors: limited sun, darker skin, older age, obesity or gastric bypass, or conditions that impair fat absorption, which are the groups the NIH lists as most likely to run low. Our piece on optimal vs. normal lab ranges explains why chasing a high number is not the goal.
How is vitamin D taken?
Supplements come as capsules, tablets, softgels, gummies and liquid drops, and vitamin D is often combined with calcium or included in multivitamins. Prescription ergocalciferol comes as capsules. Because vitamin D is fat-soluble, it is better absorbed with a meal that contains some fat. The right amount depends on your starting level, age, body size and medical conditions, so let a clinician set the plan and recheck your level after a few months rather than guessing.
Can you take too much vitamin D?
Yes. The NIH explains that vitamin D toxicity is almost always caused by supplements, not sun or food. It raises blood calcium (hypercalcemia), which can cause nausea, vomiting, muscle weakness, confusion, loss of appetite, dehydration, frequent urination, excessive thirst and kidney stones. In extreme cases it leads to kidney failure, calcium deposits in blood vessels and the heart, abnormal heart rhythms and death. Cases have come from manufacturing errors, misuse and incorrectly prescribed amounts. The ergocalciferol label adds that its effects can persist for two months or more after stopping.
As safety information, the NIH sets a tolerable upper intake level for adults of 4,000 IU (100 mcg) a day from all sources, lower for young children. That is a ceiling for everyday intake, not a target; any treatment above it should be prescribed and monitored by a clinician.
Who should be careful with vitamin D, and what does it interact with?
The ergocalciferol label lists high blood calcium, hypervitaminosis D, malabsorption syndromes and abnormal sensitivity to vitamin D as contraindications. People with a history of high calcium or kidney stones, hyperparathyroidism or reduced kidney function should discuss vitamin D with a clinician before supplementing. Interactions listed by the NIH include:
- Thiazide diuretics: reduce calcium loss in urine, so combined with vitamin D they can raise blood calcium, especially in older adults or people with kidney problems.
- Corticosteroids such as prednisone: reduce calcium absorption and impair vitamin D metabolism.
- [Orlistat](/drugs/orlistat): reduces absorption of vitamin D from food and supplements.
- Some statins: high vitamin D intakes may compete with atorvastatin, lovastatin and simvastatin for the same metabolizing enzyme.
- Mineral oil: interferes with absorption of fat-soluble vitamins, per the ergocalciferol label.
Taking high-dose calcium supplements with vitamin D can increase the risk of some adverse effects, including kidney stones, so mention every supplement you use.
How much does vitamin D cost?
Over-the-counter vitamin D is inexpensive. Because supplements are not reviewed by the FDA before sale, look for products with third-party quality verification. Prescription ergocalciferol is a low-cost generic. The 25(OH)D test itself is usually the larger expense; insurance may cover it when there is a clinical reason, and it is included in many wellness panels.
Talk with a provider
Know your number before you supplement
We do not prescribe vitamin D as a standalone plan. Our Longevity Essentials Panel measures vitamin D along with ferritin, lipids with ApoB, HbA1c, cortisol, DHEA-S and sex hormones, and a licensed provider reviews your results and talks through whether supplementing makes sense for you.
A licensed provider decides whether any medication is appropriate for you. Not everyone who has a consultation is prescribed medication.
Frequently asked questions
What is the difference between vitamin D2 and D3?
Vitamin D3 (cholecalciferol) is the form the skin makes and is found in animal foods; vitamin D2 (ergocalciferol) comes from plants and fungi and is used in prescription capsules. Both are well absorbed and both raise blood 25(OH)D levels.
What is a normal vitamin D level?
The NIH, citing the National Academies, considers a 25(OH)D level of 20 ng/mL (50 nmol/L) or higher adequate for most people, and below 12 ng/mL a risk for deficiency. Levels above 50 ng/mL are linked to potential adverse effects.
Should everyone get their vitamin D tested?
Not necessarily. The USPSTF found insufficient evidence to recommend screening adults without symptoms, and the Endocrine Society does not advise routine testing in healthy people. Testing is more useful if you have risk factors such as limited sun, darker skin, older age, obesity or malabsorption.
Does vitamin D prevent cancer or heart disease?
Not in generally healthy adults, according to the VITAL trial. Over a median of 5.3 years, vitamin D3 did not lower rates of invasive cancer or major cardiovascular events compared with placebo.
Can vitamin D be toxic?
Yes. Excess vitamin D, almost always from supplements, raises blood calcium and can cause nausea, weakness, confusion, kidney stones and, in extreme cases, kidney failure and heart rhythm problems. The NIH upper limit for adults is 4,000 IU a day from all sources.
Is prescription vitamin D different from over-the-counter?
Prescription ergocalciferol is an FDA-approved drug made to drug standards, labeled for hypoparathyroidism and certain forms of rickets and often used for documented deficiency. Over-the-counter vitamin D is a dietary supplement that is not FDA-approved.
What medications interact with vitamin D?
The NIH lists thiazide diuretics (risk of high calcium), corticosteroids, orlistat and some statins. Tell your clinician about every prescription and supplement you take.
How do I check my vitamin D level?
A simple blood test measures 25-hydroxyvitamin D. Our Longevity Essentials Panel includes vitamin D, and a provider reviews the result with you.
Sources
- National Institutes of Health, Office of Dietary Supplements. Vitamin D: fact sheet for health professionals. Link (opens in a new tab)
- Ergocalciferol capsules prescribing information (DailyMed). Link (opens in a new tab)
- Manson JE, Cook NR, Lee IM, et al. Vitamin D supplements and prevention of cancer and cardiovascular disease. N Engl J Med. 2019;380(1):33–44. Link (opens in a new tab)
- LeBoff MS, Chou SH, Ratliff KA, et al. Supplemental vitamin D and incident fractures in midlife and older adults. N Engl J Med. 2022;387(4):299–309. Link (opens in a new tab)
- US Preventive Services Task Force. Screening for vitamin D deficiency in adults: recommendation statement. JAMA. 2021;325(14):1436–1442. Link (opens in a new tab)
- US Preventive Services Task Force. Vitamin D deficiency in adults: screening (final recommendation). Link (opens in a new tab)
- Demay MB, Pittas AG, Bikle DD, et al. Vitamin D for the prevention of disease: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab. 2024;109(8):1907–1947. Link (opens in a new tab)
For education only. This guide is for general education and is not medical advice. It does not replace the prescribing information for your medication or a conversation with a licensed provider, and it does not cover every use, precaution, interaction or side effect. Only a licensed provider can decide whether a medication is appropriate for you and at what dose. If you think you are having a serious reaction or an emergency, call 911.




