Vitamins & minerals

Sources of Vitamin D: Sun, Nutrients, and Supplements

How much vitamin D you can realistically get from sunlight, which foods contain it, the options for vegans, and what to look for in a supplement.

Updated · 3 min read

sources of vitamin d
On this page

There are three ways to get vitamin D: your skin makes it in sunlight, a short list of foods contain it, and supplements supply it. Each has limits, and which one matters most for you depends on where you live, the time of year, your skin and your diet.

Why does it matter where your vitamin D comes from?

Vitamin D helps you absorb calcium and keeps bones, muscles and the immune system working normally; our guide to what vitamin D does covers the details. Low levels are common. Using a cutoff of 20 ng/mL, an analysis of 2005-2006 national survey data found that about 42% of US adults fell short, and a later CDC analysis of 2011-2014 data found 5% of Americans at risk of deficiency and another 18% at risk of inadequacy.

How much vitamin D can you get from the sun?

When UVB light hits bare skin, your skin makes vitamin D3. How much depends on season, time of day, latitude, skin pigmentation, age and whether the light comes through glass, which blocks UVB entirely. Above roughly 33 degrees latitude, which takes in most of the continental US north of Atlanta or Los Angeles, the winter sun is too low for the skin to make much vitamin D at all.

Some experts suggest a few minutes of midday sun on the face, arms or legs is enough for many people, but the amount varies greatly from person to person, and more than a few minutes without sunscreen is not recommended because of skin cancer risk.

Which foods contain vitamin D?

Very few foods contain much vitamin D naturally. Fatty fish such as salmon, tuna and mackerel are the best sources; beef liver, cheese and egg yolks provide small amounts; and mushrooms provide some, more if they have been exposed to UV light. Most US milk is fortified with 400 IU per quart, and vitamin D is added to many breakfast cereals and some soy drinks, orange juice, yogurt and spreads, according to MedlinePlus.

Vegan food sources

If you eat no animal products, your food options are UV-exposed mushrooms and fortified foods such as plant milks and cereals. Mushrooms make vitamin D2, and fortified foods may use either D2 or D3, so check the label. The form can matter: in a 12-week winter trial at the University of Surrey, vitamin D3 raised blood levels more than the same daily amount of D2.

When does a vitamin D supplement make sense?

A supplement is the simplest option when sun and food fall short, such as in winter, for people who spend most of the day indoors, for older adults, for people with darker skin and for vegans. The 2024 Endocrine Society guideline suggests vitamin D supplements for children and teens, adults over 75, pregnant people and adults with high-risk prediabetes, and advises against routine blood testing for people without a medical reason for it.

Most adults need 600 IU (15 mcg) a day, or 800 IU (20 mcg) after age 70, and the upper limit for adults is 4,000 IU (100 mcg) a day. Our article on vitamin D deficiency symptoms explains when a test is worth asking your doctor about.

What to look for in a vitamin D supplement

  • The form. Look for vitamin D3, which raises blood levels more reliably than D2.
  • The dose. Count what you already get from food and other supplements, and know the reference points: the RDA above and the 4,000 IU adult upper limit.
  • The source. Most D3 is made from lanolin, the oil in sheep's wool. If you avoid animal products, look for D3 from lichen; we explain the difference in why take vegan vitamin D.
  • Testing. Look for a brand that publishes how its products are tested; here is how Ora tests its supplements.

Our Sol Food tablets give you 2,000 IU of vitamin D3 from lichen in one small organic, vegan tablet. Vitamin D is fat-soluble, so take it with a meal that contains some fat; when to take vitamin D covers timing. If you are pregnant, have kidney disease or take prescription medicines, check with your doctor first.

Frequently asked questions

Can you get enough vitamin D from the sun?

Sometimes, but it depends on season, latitude, skin tone and age. Above about 33 degrees latitude the winter sun is too weak for your skin to make much vitamin D.

Which foods are highest in vitamin D?

Fatty fish such as salmon, tuna and mackerel are the best natural sources. Fortified milk, plant milks, cereals and UV-exposed mushrooms also contribute.

Can vegans get vitamin D3?

Yes. Most D3 is made from sheep's wool lanolin, but D3 made from lichen is suitable for vegans.

Does sunscreen stop your body making vitamin D?

Sunscreen blocks UVB in lab tests, but studies of real-life use have found little evidence that it lowers vitamin D levels, so keep wearing it.

Do mushrooms contain vitamin D?

Mushrooms make vitamin D2, and those exposed to UV light during growing or processing contain much more.

References

  1. 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/
  2. 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/
  3. 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/
  4. Clemens TL, et al. Increased skin pigment reduces the capacity of skin to synthesise vitamin D3. Lancet. 1982;1(8263):74-76. https://pubmed.ncbi.nlm.nih.gov/6119494/
  5. MacLaughlin J, Holick MF. Aging decreases the capacity of human skin to produce vitamin D3. J Clin Invest. 1985;76(4):1536-1538. https://pubmed.ncbi.nlm.nih.gov/2997282/
  6. Neale RE, et al. The effect of sunscreen on vitamin D: a review. Br J Dermatol. 2019;181(5):907-915. https://pubmed.ncbi.nlm.nih.gov/30945275/
  7. MedlinePlus Medical Encyclopedia. Vitamin D. US National Library of Medicine. https://medlineplus.gov/ency/article/002405.htm
  8. Tripkovic L, et al. Daily supplementation with 15 μg vitamin D2 compared with vitamin D3 to increase wintertime 25-hydroxyvitamin D status in healthy South Asian and white European women: a 12-wk randomized, placebo-controlled food-fortification trial. Am J Clin Nutr. 2017;106(2):481-490. https://pubmed.ncbi.nlm.nih.gov/28679555/
  9. Demay MB, et al. Vitamin D for the prevention of disease: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab. 2024;109(8):1907-1947. https://pubmed.ncbi.nlm.nih.gov/38828931/
  10. NIH Office of Dietary Supplements. Vitamin D: Fact Sheet for Health Professionals. https://ods.od.nih.gov/factsheets/VitaminD-HealthProfessional/