Vitamin D: What It Does, How Much You Need, and Where to Get It
A guide to the sunshine vitamin, from bone health to immune function to the ongoing debate over supplements.
Want to see how much vitamin d you actually get? Track it free with Ration →
Key takeaways
- Vitamin D helps the body absorb calcium and supports bone, muscle, and immune health.
- Skin makes vitamin D from sun exposure, but diet and supplements matter too, especially in winter or for people with limited sun.
- Deficiency is common, particularly in northern climates and among people with darker skin or limited outdoor time.
- Evidence for high dose supplementation preventing disease beyond bone health remains mixed.
What is vitamin D?
Vitamin D is a fat soluble vitamin that acts more like a hormone once it is activated in the body.
There are two main dietary forms.
- Vitamin D3 (cholecalciferol), made in skin from sunlight and found in animal foods
- Vitamin D2 (ergocalciferol), found in some plants, fungi, and fortified foods
The body converts both forms into calcidiol in the liver, then into calcitriol, the active hormone, in the kidneys.
How does vitamin D work?
Vitamin D's best established job is helping the small intestine absorb calcium and phosphorus.
Without enough vitamin D, the body cannot build and maintain strong bones, no matter how much calcium is in the diet.
Vitamin D receptors also show up in immune cells, muscle tissue, and many other organs, which is why researchers have investigated links to immune function, muscle strength, and mood.
What does the evidence show?
The strongest, most consistent evidence supports vitamin D's role in bone health.
Severe deficiency causes rickets in children and osteomalacia in adults, both bone softening conditions that improve with vitamin D repletion.
In older adults, low vitamin D status is linked to higher fracture and fall risk, and correcting deficiency is a standard part of bone health strategies alongside calcium and sometimes magnesium.
Beyond bones, the picture gets murkier. Vitamin D has been studied for immune support, mood, cardiovascular health, and cancer prevention, but large randomized trials in people who are not deficient have generally found modest or null effects for these outcomes.
Observational studies often show that people with low vitamin D have worse health outcomes across the board, but this may partly reflect that people who are sick, obese, or spend little time outdoors tend to have lower levels, rather than low vitamin D directly causing the problems.
Interest in vitamin D for immune function surged during discussions of respiratory infections, but trial results have been inconsistent, with some showing modest benefit mainly in people who started out deficient.
Best food sources
Few foods naturally contain much vitamin D, which is why fortification and sun exposure matter so much.
Fatty fish like salmon, mackerel, and sardines are among the richest natural sources. Egg yolks and beef liver contain smaller amounts. Fortified milk, plant milks, and some cereals contribute meaningful amounts in many diets.
How much do you need?
Recommended intakes vary by age and country, but general guidance for adults falls around 600 to 800 IU (15 to 20 mcg) per day, with higher amounts often suggested for older adults.
Many clinicians consider blood levels of 25-hydroxyvitamin D above 20 ng/mL sufficient for bone health, while some suggest higher targets, though this remains debated.
Sun exposure can produce a large amount of vitamin D in a short time for lighter skinned people, but factors like latitude, season, sunscreen use, skin tone, and time spent indoors all reduce production significantly.
Who is at risk of deficiency?
- People living at northern or southern latitudes with limited winter sun
- People with darker skin, since more melanin reduces vitamin D synthesis
- Older adults, whose skin makes vitamin D less efficiently
- People who are obese, since vitamin D is sequestered in fat tissue
- People with limited sun exposure due to indoor lifestyles or covering clothing
- People with conditions affecting fat absorption, such as Crohn's disease or celiac disease
Is it safe? Side effects and interactions
Vitamin D from food and sun exposure carries no risk of toxicity.
Supplemental vitamin D taken in very high doses over long periods can lead to toxicity, causing excess calcium in the blood, nausea, weakness, and in severe cases kidney problems.
This is uncommon with typical supplement doses and generally requires sustained intake far above standard recommendations.
Vitamin D works closely with calcium, magnesium, and vitamin K2, and some researchers suggest balancing these nutrients together rather than focusing on vitamin D alone.
Bottom line
Vitamin D is essential for bone health, and correcting a genuine deficiency has clear, well supported benefits.
For people who are not deficient, evidence that extra vitamin D meaningfully improves immunity, mood, or chronic disease risk remains weaker and inconsistent.
Getting some sun exposure, eating vitamin D containing foods, and considering testing if deficiency is suspected are reasonable steps, ideally discussed with a healthcare provider rather than guided by high dose self supplementation.
Frequently asked questions
Can you get enough vitamin D from food alone?
It is difficult for most people, since natural food sources are limited to fatty fish, egg yolks, and liver, which is why fortified foods and sun exposure play a large role in most people's vitamin D status.
Does more vitamin D mean better immune function?
Trial evidence for immune benefits beyond correcting deficiency is inconsistent, with clearer benefits seen mainly in people who started out with low levels.
How do you know if you're deficient?
A blood test measuring 25-hydroxyvitamin D is the standard way to check status, since symptoms of mild deficiency are often subtle or absent.
Is it possible to take too much vitamin D?
Yes, sustained very high dose supplementation can cause toxicity with elevated blood calcium, though this is rare with typical recommended doses.