It’s the most common reason people give for skipping sun protection: “If I wear sunscreen, won’t I get vitamin D deficiency?” The relationship between vitamin D and sunscreen is real, but it’s far weaker than the worry suggests. In theory sunscreen blocks the UVB your skin uses to make vitamin D; in practice, the way people actually use sunscreen rarely causes deficiency. Here’s what the evidence shows and how to keep both your skin and your vitamin D in good shape.

Quick answer
- In the lab, sunscreen can sharply reduce vitamin D synthesis by blocking UVB.
- In real life, most people apply too little, too unevenly, and miss spots — so synthesis continues.
- Population studies generally don’t find that regular sunscreen users are vitamin D deficient.
- The real drivers of deficiency are season, latitude, skin tone, indoor lifestyle and age — not your SPF.
- The smart move: keep wearing sunscreen and get vitamin D from short incidental sun, food, or a supplement.
Why the worry exists
The biology is genuine. Your skin makes vitamin D when UVB photons hit it and convert a cholesterol precursor into vitamin D3. Sunscreen is designed to block UVB. So on paper, perfect sunscreen use should cut off the supply. That’s the logic behind the fear, and it’s not made up — it’s just incomplete. For the background on how sun makes the vitamin, see vitamin D from sun.
The real-world catch
Here’s where theory and reality diverge. The lab studies that show big drops in vitamin D synthesis use sunscreen applied at the full recommended thickness — about 2 mg per square centimeter, a shot glass for the whole body. Almost nobody does that. Most people apply a quarter to a half of the proper amount, miss patches, sweat it off, and forget to reapply. All of that lets UVB through. The same under-application that weakens your sun protection also keeps your vitamin D synthesis ticking along.
On top of that, it only takes brief, casual sun exposure on small areas of skin to make meaningful amounts of vitamin D. You don’t need a long unprotected session. A review of vitamin D and UV concluded that short, daily exposures are usually enough for vitamin D synthesis, while prolonged unprotected sun for the sake of vitamin D isn’t worth the skin cancer risk.1 You can read more on timing and dose in best time for vitamin D.
There’s a saturation point, too. Your skin doesn’t keep cranking out vitamin D the longer you stay in the sun — synthesis plateaus after a relatively short exposure, and beyond that you’re collecting UV damage with no extra vitamin D to show for it. That’s another reason the “I need long sessions of unprotected sun” argument falls apart: the marginal vitamin D from a two-hour bake versus a ten-minute walk is small, but the marginal skin damage is large.

What population studies show
If sunscreen really caused deficiency at scale, regular users would be reliably low on vitamin D. They mostly aren’t. Across observational research, routine sunscreen use hasn’t been consistently tied to vitamin D deficiency, which fits the real-world application picture above. Reviews on the topic land on a reassuring conclusion: there’s little evidence that normal sunscreen use causes deficiency, and the far larger drivers of low vitamin D are factors that have nothing to do with SPF.
The things that actually predict low vitamin D include:
- Living at high latitude (weak winter sun for months)
- Darker skin tone (more melanin means less UVB conversion)
- Spending most of the day indoors
- Older age (skin makes less vitamin D over time)
- Covering skin with clothing for cultural or practical reasons
A systematic review of vitamin D in postmenopausal women listed sunscreen use as just one of several lifestyle determinants — alongside clothing coverage, body composition, diet and a sedentary lifestyle — and found supplementation reliably restored levels.2 In other words, if you’re low, the fix is straightforward, and it isn’t “stop protecting your skin.” If you’re worried you might be running low, see vitamin D deficiency symptoms.
Suggested read: How Much Vitamin D Should You Take for Optimal Health?
The tradeoff, stated honestly
There is a genuine tension here, and it deserves a straight answer rather than spin:
- More UV exposure raises vitamin D but also raises skin cancer and aging risk.
- Strict sun protection lowers both — including, in theory, your vitamin D synthesis.
The way out of the dilemma is that you don’t have to choose. Vitamin D from sun is not your only source. You can protect your skin and keep vitamin D up through diet and supplements, which sidesteps the UV risk entirely. A review weighing UV protection against vitamin D needs reached the same practical conclusion: rely on brief sun plus oral vitamin D rather than extended unprotected exposure.1
How to stay protected and sufficient
- Keep wearing broad-spectrum SPF 30+ daily, applied properly and reapplied every two hours.3 Don’t trade skin cancer risk for a vitamin you can get elsewhere.
- Let incidental sun do its thing. Short walks, time with forearms or face exposed before you apply — most people get some UVB regardless.
- Eat vitamin D foods — fatty fish, eggs, fortified milk and cereals.
- Supplement if you’re at risk — high latitude, darker skin, indoors a lot, older, or pregnant. A daily vitamin D supplement is cheap, safe within limits, and effective. See vitamin D2 vs D3 for which form, and how much vitamin D is too much so you don’t overdo it.
- Test if unsure. A simple blood test settles the question instead of guessing.
For more ways to top up, see ways to increase vitamin D.
What about supplements instead of sun entirely?
This is a reasonable strategy and a common point of confusion. A vitamin D supplement genuinely can stand in for sun-made vitamin D — that’s a nutrition question with a clean answer. What a supplement cannot do is replace the UV protection sunscreen provides. Don’t mix those up; we untangle the “internal sunscreen” myth in do supplements replace sunscreen.
Suggested read: Retinol Side Effects: Purge, Irritation, Safety
Bottom line
The link between vitamin D and sunscreen is real in theory but minor in practice. Lab studies show sunscreen can block the UVB needed for vitamin D, but real-world use — thin, patchy, infrequently reapplied — leaves plenty of room for synthesis, and population studies generally don’t find regular sunscreen users to be deficient. The true causes of low vitamin D are latitude, skin tone, indoor living and age, not your SPF. So keep protecting your skin and cover vitamin D through brief incidental sun, food, or a supplement if you’re at risk. You don’t have to choose between sun safety and sufficiency. For the broader topic, see SPF explained, best sunscreen ingredients, and vitamin D from sun.
Zeeb H, Greinert R. The role of vitamin D in cancer prevention: does UV protection conflict with the need to raise low levels of vitamin D? Dtsch Arztebl Int. 2010;107(37):638-643. PubMed | DOI ↩︎ ↩︎
Hassanein MM, Huri HZ, Baig K, Abduelkarem AR. Determinants and Effects of Vitamin D Supplementation in Postmenopausal Women: A Systematic Review. Nutrients. 2023;15(3):685. PubMed | DOI ↩︎
American Cancer Society. How to Use Sunscreen. Cancer.org. Link ↩︎





