Vitamins & minerals

What Does Vitamin D Do? And What Are the Benefits of Taking Vitamin D?

What vitamin D does in your body, which of its benefits are well established, and where large clinical trials found less than the early headlines promised.

Updated · 4 min read

A handful of small vegan vitamin D tablets
On this page

Vitamin D helps your body absorb calcium, keeps bones and muscles working normally and plays a part in immune function. It is also one of the few nutrients your body can make for itself, from sunlight on bare skin. Here is what vitamin D does, which of its benefits are well established, and where large trials have found less than the early headlines promised.

How was vitamin D discovered?

In 1822 the Polish physician Jędrzej Śniadecki noticed that children in inner-city Warsaw had far more rickets, a disease of soft, misshapen bones, than children in the countryside, and put the difference down to a lack of sun. About a century later, researchers showed that rickets could be prevented both by a factor in food and by ultraviolet light on the skin, and that factor was named vitamin D.

Is vitamin D a vitamin or a hormone?

A bit of both. The vitamin D you get from the sun, food or a supplement is inactive. Your liver converts it into 25-hydroxyvitamin D, the form a blood test measures, and your kidneys convert that into 1,25-dihydroxyvitamin D (calcitriol), the active hormone. Because of that two-step activation, vitamin D is often called a prohormone. Most cells and organs carry a vitamin D receptor, which is why researchers have studied its role well beyond bone.

The two forms: D2 and D3

Vitamin D2 (ergocalciferol) is made by fungi such as yeast and mushrooms when they are exposed to UV light. Vitamin D3 (cholecalciferol) is the form your skin makes, and the form in most supplements, according to the NIH Office of Dietary Supplements. Both raise blood levels, but a meta-analysis of randomized trials found D3 raised them more than D2. We compare the two in more detail in what's the difference between vitamin D2 and D3.

What are the proven benefits of vitamin D?

Strong bones and working muscles

Vitamin D's best-established job is helping your intestine absorb calcium, along with phosphorus. Without enough of it, bones cannot mineralize properly: a long-term shortfall can lead to rickets in children and to osteomalacia and osteoporosis in adults.

That benefit is about avoiding a shortfall. In the VITAL trial, 2,000 IU a day for about five years did not lower fracture rates in generally healthy adults over 50 who had not been selected for low vitamin D or low bone density.

Normal immune function

Vitamin D helps keep your muscles, nerves and immune system working normally. In one randomized trial in Japanese schoolchildren, 1,200 IU a day through the winter cut influenza A cases from 18.6% to 10.8%. The bigger picture is more modest: a 2025 meta-analysis of all the trials found that the overall effect on respiratory infections is no longer statistically clear.

What does the research say about weight, mood, cancer and blood sugar?

Many of vitamin D's headline benefits came from observational studies, which show that people with higher vitamin D levels tend to be healthier, but cannot show that vitamin D is the reason. Large randomized trials have since tested several of them.

Weight

In one study of older women, those who gained weight gained slightly less if their vitamin D levels were higher, but a meta-analysis of randomized trials found that vitamin D supplements did not reduce body weight or fat on their own.

Mood

A one-year trial in overweight adults found that high weekly doses improved depression scores. But in VITAL's depression study, 2,000 IU a day for a median of five years did not prevent depression or change mood scores in adults over 50. Anyone dealing with low mood should talk to a doctor rather than rely on a supplement.

Cancer and heart health

Cancer and heart disease rates are lower in some sunnier places, which prompted the theory that vitamin D protects against both. VITAL tested it in 25,871 adults: 2,000 IU a day did not lower rates of invasive cancer or major cardiovascular events over a median of 5.3 years.

Blood sugar

In adults with prediabetes, the large D2d trial of 4,000 IU a day did not significantly lower the risk of type 2 diabetes, though a pooled analysis of three trials found a 15% lower risk. This is a question for your doctor, not something to manage with a supplement on your own.

How common is low vitamin D?

It depends on where you draw the line. Using a cutoff of 20 ng/mL, an analysis of 2005-2006 national survey data found that about 42% of US adults fell short. A later CDC analysis of 2011-2014 data found that 5% of Americans were at risk of deficiency and another 18% at risk of inadequacy. People who get little sun, have darker skin, are older, live with obesity or have conditions that affect absorption are more likely to run low. Our guide to symptoms of vitamin D deficiency covers the signs and how testing works.

How much vitamin D do you need, and where do you get it?

The recommended dietary allowance is 600 IU (15 mcg) a day for ages 1 to 70, including during pregnancy, and 800 IU (20 mcg) after 70, with 400 IU for infants. The upper limit for adults and children 9 and over is 4,000 IU (100 mcg) a day. Our article on how much vitamin D you need goes through the numbers by age.

You can get vitamin D from sunlight, a short list of foods and supplements; we cover each in sources of vitamin D. If you supplement, Sol Food gives you 2,000 IU of vitamin D3 from lichen in one small organic, vegan tablet, which sits above the RDA and within the upper limit. If you are pregnant, have kidney or liver disease or take prescription medicines, check with your doctor before starting any vitamin D supplement.

Frequently asked questions

Is vitamin D a vitamin or a hormone?

It is often called a prohormone. The vitamin D you get from sun, food or supplements is inactive until your liver and kidneys convert it into calcitriol, the active hormone.

What does vitamin D do for your body?

Its main job is helping your intestine absorb calcium and phosphorus so bones can mineralize properly. It also helps keep muscles, nerves and the immune system working normally.

Does vitamin D help you lose weight?

Not on its own. A meta-analysis of randomized trials found vitamin D supplements did not reduce body weight or body fat without calorie restriction.

Does vitamin D prevent cancer or heart disease?

The VITAL trial gave 2,000 IU a day to 25,871 adults for about five years and found no reduction in invasive cancer or major cardiovascular events compared with placebo.

How much vitamin D should adults take?

The RDA is 600 IU a day for adults up to 70 and 800 IU after 70. The upper limit is 4,000 IU a day, and your doctor can advise if you need more.

References

  1. Wacker M, Holick MF. Sunlight and vitamin D: a global perspective for health. Dermatoendocrinol. 2013;5(1):51-108. https://pubmed.ncbi.nlm.nih.gov/24494042/
  2. DeLuca HF. History of the discovery of vitamin D and its active metabolites. Bonekey Rep. 2014;3:479. https://pubmed.ncbi.nlm.nih.gov/24466410/
  3. NIH Office of Dietary Supplements. Vitamin D: Fact Sheet for Health Professionals. https://ods.od.nih.gov/factsheets/VitaminD-HealthProfessional/
  4. Tripkovic L, et al. Comparison of vitamin D2 and vitamin D3 supplementation in raising serum 25-hydroxyvitamin D status: a systematic review and meta-analysis. Am J Clin Nutr. 2012;95(6):1357-1364. https://pubmed.ncbi.nlm.nih.gov/22552031/
  5. Christakos S, et al. Vitamin D and intestinal calcium absorption. Mol Cell Endocrinol. 2011;347(1-2):25-29. https://pubmed.ncbi.nlm.nih.gov/21664413/
  6. MedlinePlus Medical Encyclopedia. Vitamin D. US National Library of Medicine. https://medlineplus.gov/ency/article/002405.htm
  7. LeBoff MS, et al. Supplemental vitamin D and incident fractures in midlife and older adults. N Engl J Med. 2022;387(4):299-309. https://pubmed.ncbi.nlm.nih.gov/35939577/
  8. MedlinePlus. Vitamin D Test. US National Library of Medicine. https://medlineplus.gov/lab-tests/vitamin-d-test/
  9. Urashima M, et al. Randomized trial of vitamin D supplementation to prevent seasonal influenza A in schoolchildren. Am J Clin Nutr. 2010;91(5):1255-1260. https://pubmed.ncbi.nlm.nih.gov/20219962/
  10. Jolliffe DA, et al. Vitamin D supplementation to prevent acute respiratory infections: systematic review and meta-analysis of stratified aggregate data. Lancet Diabetes Endocrinol. 2025;13(4):307-320. https://pubmed.ncbi.nlm.nih.gov/39993397/
  11. LeBlanc ES, et al. Associations between 25-hydroxyvitamin D and weight gain in elderly women. J Womens Health (Larchmt). 2012;21(10):1066-1073. https://pubmed.ncbi.nlm.nih.gov/22731629/
  12. Pathak K, et al. Vitamin D supplementation and body weight status: a systematic review and meta-analysis of randomized controlled trials. Obes Rev. 2014;15(6):528-537. https://pubmed.ncbi.nlm.nih.gov/24528624/
  13. Jorde R, et al. Effects of vitamin D supplementation on symptoms of depression in overweight and obese subjects: randomized double blind trial. J Intern Med. 2008;264(6):599-609. https://pubmed.ncbi.nlm.nih.gov/18793245/
  14. Okereke OI, et al. Effect of long-term vitamin D3 supplementation vs placebo on risk of depression or clinically relevant depressive symptoms and on change in mood scores: a randomized clinical trial. JAMA. 2020;324(5):471-480. https://pubmed.ncbi.nlm.nih.gov/32749491/
  15. Manson JE, et al. Vitamin D supplements and prevention of cancer and cardiovascular disease. N Engl J Med. 2019;380(1):33-44. https://pubmed.ncbi.nlm.nih.gov/30415629/
  16. Pittas AG, et al. Vitamin D supplementation and prevention of type 2 diabetes. N Engl J Med. 2019;381(6):520-530. https://pubmed.ncbi.nlm.nih.gov/31173679/
  17. Pittas AG, et al. Vitamin D and risk for type 2 diabetes in people with prediabetes: a systematic review and meta-analysis of individual participant data from 3 randomized clinical trials. Ann Intern Med. 2023;176(3):355-363. https://pubmed.ncbi.nlm.nih.gov/36745886/
  18. Forrest KY, Stuhldreher WL. Prevalence and correlates of vitamin D deficiency in US adults. Nutr Res. 2011;31(1):48-54. https://pubmed.ncbi.nlm.nih.gov/21310306/
  19. Herrick KA, et al. Vitamin D status in the United States, 2011-2014. Am J Clin Nutr. 2019;110(1):150-157. https://pubmed.ncbi.nlm.nih.gov/31076739/