Reviewed October 20, 2026
Sunscreen and vitamin D: can you still make enough?
The worry is reasonable: if sunscreen blocks UVB, and UVB makes vitamin D, does daily SPF cause deficiency? What studies of real sunscreen users actually show, and the sensible middle path.
Why the concern makes sense on paper
Vitamin D production starts when UVB light strikes skin and converts a cholesterol based compound into previtamin D. Sunscreen is designed to absorb or scatter exactly that band of light. In a laboratory, skin coated at the full tested thickness with high SPF makes very little vitamin D. The worry follows logically from the mechanism, and it deserves a real answer rather than a dismissal.
The laboratory, though, is not how humans use sunscreen. Real application is thinner, patchier, and confined to exposed areas, and real life includes incidental exposure walking to lunch, driving, and working near windows over a week. Studies that measure blood levels in actual sunscreen users are the evidence that matters.
What studies of real users show
Trials and population studies that track habitual sunscreen users generally find little to no difference in vitamin D blood levels compared with non users, including a well known Australian trial that randomized adults to daily sunscreen or discretionary use for a summer. Deficiency in those populations tracked with latitude, season, skin coverage habits, diet, and age far more than with sunscreen use.
The reasons are mundane. Nobody applies sunscreen at laboratory thickness to every centimeter, every day, and reapplying perfectly. Enough UVB reaches enough skin across a week for most people in sunny seasons. The group genuinely at risk is different: people who are almost never outdoors, cover nearly all skin, live at high latitude through winter, or have absorption issues, and they would be at risk sunscreen or not.
The sensible middle path
Keep the sunscreen. Skin cancer and photoaging risks from deliberate unprotected exposure are well established, while vitamin D has multiple safe sources. If you are concerned about your level, a blood test settles it; guessing from sunscreen habits does not. Confirmed low levels are handled with diet and supplements under a clinician's direction, reliably and measurably, unlike sunbathing, which doses radiation and hopes for the best.
Food sources like oily fish and fortified dairy help at the margins, and a modest supplement is inexpensive where a clinician recommends one. What does not belong in the plan is scheduling unprotected exposure as a vitamin strategy. There is no agreed safe dose of that trade, and the skin keeps the receipts for every session.
Who should actually get tested
Testing makes sense for people with limited outdoor time year round, those who cover most skin for cultural, medical, or occupational reasons, people with darker skin living far from the equator, older adults whose skin synthesizes less efficiently, and anyone with bone health concerns or relevant symptoms. For those groups the answer may well be supplementation, chosen from a number rather than a vibe.
For everyone else, the everyday pattern holds: sunscreen on exposed skin for extended outdoor time, ordinary incidental exposure during daily life, and no deliberate tanning in the name of a vitamin you can get from a tablet for pennies. The sunscreen and vitamin D question dissolves once sources are separated: light for neither, food and supplements for D, sunscreen for skin.
Related reading
If this topic is useful, these earlier guides go deeper on connected questions: SPF in winter and on cloudy days: a clear eyed guide, Reapplying sunscreen over makeup without ruining either, and Sunscreen Before or After Moisturizer? The Right Order.
Frequently asked questions
Does sunscreen block all vitamin D production?
At laboratory thickness on covered skin it blocks most of it, but real world use is thinner and patchy, and studies of habitual users find little difference in blood levels versus non users. Incidental exposure on untreated areas and moments covers most people's needs in sunny seasons. A blood test, not speculation, tells you your own level.
Should I skip sunscreen a few days a week for vitamin D?
That trade is not recommended. Unprotected exposure raises skin cancer and photoaging risk in a way that cannot be dosed precisely, while vitamin D from diet or a supplement is measurable and controllable. If you want to optimize vitamin D, test your level and supplement if needed instead of scheduling radiation.
Can I get vitamin D through a window or in shade?
Glass blocks nearly all UVB, so window light does not drive production. Shade reduces UVB substantially but does not eliminate it, since light scatters; long periods in bright shade can contribute a little. Neither is a reliable strategy compared with diet and supplements for people who test low.
What vitamin D level should I aim for?
Target ranges are set by medical guidelines and interpreted by your clinician in context of your health, latitude, and season. The practical steps are simple: ask for the blood test if you are in a risk group, supplement only to the advised amount, and recheck later. More is not better; excess vitamin D has its own harms.