In theory, sunscreen should reduce vitamin D production, because the UVB rays that make vitamin D in your skin are the same ones sunscreen filters out. In practice, studies of people using sunscreen in normal life find little or no effect on vitamin D levels. In the UK, the bigger issue is the season: from October to March the sun is too weak to make vitamin D at all, with or without sunscreen.
How skin makes vitamin D
UVB light converts a cholesterol-related compound in the skin into vitamin D3, which the liver and kidneys then turn into its active form. The amount you make depends on:
- how strong the UVB is (season, time of day, latitude, cloud)
- how much skin is exposed
- how long you're out
- your skin tone: melanin filters UVB, so darker skin makes vitamin D more slowly
- your age: older skin makes less
What the research found
Laboratory studies
When volunteers are covered in a tested thickness of sunscreen and exposed to artificial UV lamps, vitamin D production drops sharply. This is where the worry comes from.
Real life
A review of the evidence looked at four experimental studies, three field trials and 69 observational studies. The experimental studies with artificial UV showed sunscreen blocking vitamin D production. The randomised field trials found no effect of daily sunscreen use on vitamin D levels. The observational studies mostly found no association, or found that people who used sunscreen had higher vitamin D levels, probably because they spend more time in the sun.
The reviewers concluded there's little evidence that sunscreen lowers vitamin D in real-life settings, and that concerns about vitamin D shouldn't override skin cancer prevention advice. They noted one gap: the trials used moderate sunscreens of about SPF 16, not the high SPFs recommended now.
A holiday study with careful application
A later study followed holidaymakers through a week of very strong sun. One set of people were given sunscreen and shown how to apply it properly. They didn't burn, and their vitamin D levels still rose significantly. A comparison group used their own sunscreen in their own way: their vitamin D rose more, and they got sunburnt.
The researchers concluded that sunscreen can prevent sunburn and still allow vitamin D to be made.
Free toolSunscreen amount calculatorFind out how much sunscreen you should really be using.Open the sunscreen calculator →Why sunscreen doesn't block it in practice
- No sunscreen filters 100% of UVB. SPF 30 lets about 3% through; SPF 50 about 2%.
- People apply much less than the tested amount.
- Areas get missed, and sunscreen wears off.
- Sunscreen users tend to spend more time outdoors.
The UK problem is winter
At the UK's latitude, sunlight between about October and early March doesn't contain enough UVB for the skin to make vitamin D, whatever you do. Sunscreen is irrelevant to vitamin D in those months.
For that reason, government advice is that everyone in the UK should consider taking a daily supplement of 10 micrograms (400 IU) of vitamin D during autumn and winter.
Related guideBest Sunscreens for the Face in the UK, by Skin TypeHow to choose a face sunscreen in the UK, with ten widely sold options for oily, dry, sensitive and darker skin, chosen on their published formulas.Read the guide →Who should take vitamin D all year
UK guidance recommends a daily 10 microgram supplement throughout the year if you:
- aren't often outdoors, for example if you're housebound or in a care home
- usually wear clothes that cover most of your skin outdoors
- have dark skin, for example African, African-Caribbean or South Asian heritage
Separate advice applies to babies and young children. Ask a pharmacist or health visitor.
Don't take more than 100 micrograms (4,000 IU) a day unless a doctor advises it. More isn't better, and too much is harmful.
Should you skip sunscreen to get vitamin D?
No. The trade is a poor one:
- Vitamin D can be obtained safely from a supplement costing pennies a day, and from food.
- UV damage can't be undone. It causes skin cancer and most visible skin ageing.
- Short, incidental sun exposure in spring and summer, on forearms, hands or lower legs, makes vitamin D quickly, before the skin reddens. You don't need to sunbathe, and tanning isn't a sign of extra benefit.
If you protect your face daily for the sake of ageing and pigmentation, that has a negligible effect on your vitamin D. The face is a small area. See why SPF matters.
Food sources
Few foods contain much:
- Oily fish: salmon, mackerel, sardines, herring
- Egg yolks
- Red meat and liver
- Fortified foods: some breakfast cereals, plant milks and spreads
Most people can't get enough from diet alone, which is why supplements are advised.
If you avoid the sun for medical reasons
People who must avoid sunlight, such as those with photosensitive conditions, a history of skin cancer, or on certain medicines, and people treating melasma with strict sun protection, should take a supplement year-round. Mention it to your GP.
When to ask for a blood test
See a GP if you have bone pain, muscle weakness or aches, or you're in a higher-risk group and have symptoms. Routine testing isn't needed for most people who take the recommended supplement.
References
Neale RE, Khan SR, Lucas RM, Waterhouse M, 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/)
Young AR, Narbutt J, Harrison GI, Lawrence KP, et al. Optimal sunscreen use, during a sun holiday with a very high ultraviolet index, allows vitamin D synthesis without sunburn. Br J Dermatol. 2019;181(5):1052-1062. (https://pubmed.ncbi.nlm.nih.gov/31069787/)
NHS. Vitamin D. (https://www.nhs.uk/conditions/vitamins-and-minerals/vitamin-d/)
FAQs
Does sunscreen block vitamin D?
In laboratory conditions, yes. In real-life use, studies find little or no effect on vitamin D levels.
Can you get vitamin D with SPF 50 on?
Some UVB still gets through, and nobody applies sunscreen perfectly. In a holiday study, people using sunscreen properly still raised their vitamin D.
How much sun do I need for vitamin D?
Short periods of everyday exposure in spring and summer are enough for most people. There's no need to sunbathe.
Should I take vitamin D if I wear sunscreen every day?
Follow the general UK advice: 10 micrograms a day in autumn and winter, and all year if you're rarely in the sun, cover up, or have dark skin.
Can you make vitamin D through a window?
No. Glass blocks UVB.




