Daily routines shape how much time people spend outdoors in daylight. Many work, commute or relax indoors under artificial lighting, so the hours of daylight may pass without much exposure to the sun.

A sunny window can look like a bright place to sit, but ordinary window glass blocks ultraviolet B, the part of sunlight needed to start vitamin D production in the skin. Light through a window therefore does not meaningfully contribute to making vitamin D.

The useful part of sunlight varies with the time of day and season. Midday generally brings the strongest ultraviolet B, while early morning and late afternoon contribute little. In some regions, winter sunlight is too weak to sustain vitamin D production, regardless of how long someone is exposed.

Night shifts can place waking hours outside the usual daylight routine, but the supplied evidence does not establish how shift work changes a person’s vitamin D level. Whether sunlight can start production depends on conditions such as season, latitude, time of day, cloud cover and air quality, as well as skin exposure and individual biology. Sunlight production is also self-limiting, while excessive ultraviolet exposure can still damage skin.

Commentary

Why does sitting near a sunny window not meaningfully contribute to vitamin D production?

Ordinary window glass blocks ultraviolet B, the part of sunlight that starts vitamin D production in skin. A room may look bright, but sunlight through the glass does not meaningfully contribute.

Why might a winter day outdoors offer little sunlight for vitamin D production?

In some regions, winter ultraviolet B is insufficient to sustain vitamin D production, regardless of exposure duration. The amount of effective ultraviolet B also varies with latitude, time of day, cloud cover and air quality.

What is the difference between midday sun and early morning or late afternoon sun for vitamin D production?

Midday sunlight generally has the highest ultraviolet B intensity. Early morning and late afternoon contribute little to vitamin D synthesis.

Does spending longer in the sun keep increasing vitamin D production?

No. Skin production is self-limiting: after enough precursor forms, further ultraviolet exposure converts excess precursor into inactive forms. Excessive ultraviolet exposure can still damage skin.