Sunlight starts vitamin D production when ultraviolet B (UVB) reaches the skin. It changes a cholesterol-derived compound into a vitamin D precursor. The skin then turns that precursor into vitamin D, which the body later converts into its active form.

The skin limits this production. Once enough precursor has formed, more UV exposure does not keep increasing vitamin D output; excess precursor is converted into inactive forms. Sunlight alone is therefore unlikely to cause vitamin D toxicity, though UV can still damage skin.

How much vitamin D the skin makes depends on available UVB and how much skin it reaches. Midday generally has the strongest UVB, while early morning and late afternoon contribute little. Season, latitude, altitude, clouds and air quality also affect UVB. Clothing changes the exposed area; melanin absorbs UV, and older skin generally has less of the starting compound.

Skin production is one contributor to vitamin D status, alongside food and supplements. Vitamin D from all three sources goes through the same processing in the body, so skin production alone does not show whether someone has enough. Stored vitamin D can be released later, and winter UVB at high latitudes may be too weak for skin production.

Commentary

Does the time of day affect how much vitamin D the skin makes?

Yes. Midday generally has the strongest UVB, while early morning and late afternoon contribute little to vitamin D production.

Why can two people make different amounts of vitamin D in the same sunlight?

A larger exposed skin area gives UVB more skin to reach. Melanin absorbs UV, and older skin generally has less of the starting compound used to make vitamin D, so equal sunlight does not mean equal production.

What happens to vitamin D after the skin makes it?

The body converts it into its active form. Vitamin D made in skin and vitamin D from food or supplements go through the same metabolic pathways.

Can sunlight alone cause vitamin D toxicity, and can it still damage skin?

Vitamin D toxicity from sunlight alone is unlikely because skin production is self-limiting and excess precursor becomes inactive forms. UV can still damage skin.

Does sunlight through a window help make vitamin D?

Ordinary window glass blocks the UVB needed for vitamin D production, so sunlight through it does not provide a useful amount.

Why can vitamin D levels change across the year?

Seasonal UVB changes affect how much vitamin D the skin makes. Vitamin D stored in fat can also be released later, so levels can reflect both current production and stored vitamin D.

Can staying outdoors longer make up for weak winter sunlight at high latitudes?

Not necessarily. Winter UVB in high-latitude regions may be too weak for skin production regardless of exposure duration.

What changes when you are in shade?

Shade reduces sunlight reaching exposed skin and can reduce UVB exposure and vitamin D production. The effect depends on available UVB and how much skin is exposed.

Does making vitamin D in the skin guarantee enough vitamin D?

No. Skin production alone does not show whether someone has enough; food, supplements and the body’s processing also contribute to vitamin D status.