NutriSeek

Does sunscreen block vitamin D production?

General nutrition researchAnswered by NutriSeek AI · October 19, 2026

In theory sunscreen should cut vitamin D production, because it absorbs the same UVB rays your skin uses to make it — but in real-world studies, regular sunscreen use has not been shown to cause vitamin D deficiency. Most people apply sunscreen more thinly and less often than in lab tests, and enough UVB still reaches the skin.

Why the lab and the real world disagree

Vitamin D is made when UVB light (the shorter-wavelength ultraviolet that also causes sunburn) hits a cholesterol-like compound in the skin. A sunscreen with SPF 30, applied at the full test dose of 2 mg per square centimetre of skin, filters out roughly 97–98% of UVB — and small lab studies do show a sharp drop in vitamin D production under those conditions.

But:

  • Typical real-world application is about a quarter to half the test thickness, which leaves much more UVB getting through.
  • People rarely cover every exposed area, and reapplication is patchy.
  • Vitamin D synthesis is very efficient — short, incidental exposures add up.
  • Field trials and reviews, including studies of people using sunscreen daily on holiday in sunny climates, have generally found vitamin D levels stayed the same or even rose.

A 2019 systematic review by the British Association of Dermatologists concluded there is little evidence that everyday sunscreen use compromises vitamin D status. The evidence here is reasonably consistent, though most trials are small.

Who should still pay attention

Some people are genuinely at higher risk of low vitamin D, and for them diet or supplements matter more than sunscreen worries:

  • People with darker skin (more melanin means slower synthesis)
  • Older adults (skin makes less with age)
  • People who cover up for cultural or medical reasons, or who are mostly indoors
  • Anyone living far from the equator in winter, when UVB is too weak for months
  • People with malabsorption conditions, or higher body weight

If you're in one of these groups, a blood test and a chat with your doctor or a registered dietitian is a sensible step before self-prescribing high-dose supplements.

Food sources worth knowing

Few foods carry much vitamin D naturally; oily fish leads the list. USDA figures, per 100 g raw or as noted:

Food Vitamin D per 100 g Per typical serving
Atlantic salmon, farmed, raw 11 µg 9.4 µg per 3 oz (85 g)
Sardines, canned in oil, drained, with bone 4.8 µg ~0.6 µg per small sardine (12 g)
Whole egg, raw 2 µg ~1 µg per large egg (~50 g)
Whole milk, vitamin D added 1.3 µg ~3.2 µg per 8 fl oz (~245 g)

For context, most adult guidelines suggest 15 µg (600 IU) a day, so a single salmon fillet covers a large share of that. Sardines also bring 382 mg of calcium per 100 g (USDA) from the soft edible bones, which pairs usefully with vitamin D's role in calcium absorption.

The practical takeaway

Keep using sunscreen — the skin cancer protection is far better established than any vitamin D downside. Cover the gap with oily fish a couple of times a week, fortified milk or plant milks, and eggs. If you fall into a higher-risk group, ask about a supplement rather than skipping sun protection.

Further reading from the NIH

Ask next

More in this topic

Vitamins & Supplements

Foods in this answer

Full nutrition facts