At a glance
Q: Does sunlight through windows provide vitamin D?
A: No. Standard window glass blocks most UVB light needed for vitamin D production in the skin.
Q: Can indoor workers be at higher risk of low vitamin D?
A: Yes, especially if most daylight hours are spent indoors during peak UVB times.
Q: Does living in a city affect vitamin D levels?
A: It can, because shading from buildings, reduced green space access and air pollution reduce UVB exposure.
Q: Do screens or artificial light make vitamin D?
A: No. Ordinary indoor lighting and screens do not produce UVB light and do not stimulate vitamin D synthesis.
Q: Is sun avoidance always harmful for vitamin D?
A: Sun protection is important for skin health, but it can reduce UVB exposure. Vitamin D status then depends on sunlight habits, diet and supplementation where appropriate.
Read the full article below ↓How contemporary lifestyles influence natural vitamin D production
Modern living and vitamin D are closely linked because contemporary lifestyles have shifted how much natural sunlight reaches the skin. This page explains how indoor life, transport, architecture, technology and daily behaviour influence vitamin D biology in everyday life.
How contemporary lifestyles shape vitamin D biology
Vitamin D physiology evolved in environments where people spent large parts of the day outdoors with direct sunlight exposure. Modern life has changed that context dramatically. Daily routines, buildings, transport systems and technology all reduce exposure to ultraviolet-B (UVB) light, limiting the opportunity for the skin to make vitamin D naturally. Understanding this helps connect vitamin D patterns with real-world behaviours, similar to ideas discussed in Evolutionary Context of Vitamin D.
Shift from outdoor life to indoor life
One of the biggest shifts in modern living is the move toward predominantly indoor life. Many people now spend most of their day inside due to office or screen-based work, climate-controlled environments, transport in enclosed vehicles and leisure activities that occur indoors. This shift reduces incidental UVB exposure and links to the patterns discussed in Indoor Lifestyles and Vitamin D.
Built environments and sunlight exposure
Modern architecture and urban design change how sunlight reaches the body. High-rise buildings extend shade into public spaces, smaller private outdoor areas limit time in full sun, standard glass blocks UVB and narrow streets often reduce midday sun angles. These built environment effects echo some of the geographic influences on vitamin D explored in Latitude and Vitamin D Physiology.
Technology and daily behaviour
Technology influences how time is spent every day. Prolonged screen use, evening artificial light and reduced outdoor recreation contribute to less time spent under UVB. These behaviours interact with circadian systems, similar to effects examined in Vitamin D and Circadian Biology, because natural light exposure patterns influence broader biological rhythms.
Transportation patterns and vitamin D opportunity
In many places, modern transport replaces walking or outdoor movement. Car, bus and rail travel behind glass and travel at times with low UVB availability further reduce incidental sunlight exposure that once occurred during daily movement. This reduced movement outdoors connects with lifestyle patterns in Urban Living and Vitamin D.
Work schedules and timing of sunlight
Vitamin D synthesis is highest when UVB levels peak around midday. Modern routines often keep people indoors during peak UVB hours or shift outdoor activity to early morning or evening. This timing mismatch reduces the biological window for natural vitamin D production, similar to the seasonal timing issues discussed in Seasonal Biology of Vitamin D.
Urbanisation and access to green space
Urban living modifies environmental exposure. Access to large natural outdoor areas is limited in many cities, dense building structures increase shading, and air pollution can scatter or absorb UVB radiation.
Cultural emphasis on sun avoidance
Public health advice appropriately highlights skin protection, but this can also lead to intentional avoidance of direct sunlight, reliance on shade or covering clothing and viewing sunlight mainly as a risk factor. These behaviours interact with vitamin D physiology in complex ways, connecting with discussions in Sunscreen Use and Vitamin D Synthesis.
Indoor climate control and seasonal behaviour
Heating and cooling systems make indoor conditions comfortable year-round, which can reduce seasonal outdoor activity and shift more time inside. As lifestyle becomes less tied to environmental light cycles, opportunities for UVB exposure can decrease further.
Vitamin D in the context of modern environments
Modern environments are very different from those in which human vitamin D physiology developed. This evolutionary mismatch helps explain why vitamin D status often varies widely in contemporary populations and why contextual, whole-system interpretation is important, as described in A Physiology-First Framework for Vitamin D.
Adaptation strategies within modern life
Modern living does not remove the body’s biological need for vitamin D, but it does require more deliberate adaptation. Small behavioural changes such as consciously spending short periods outdoors, using breaks for daylight exposure, or aligning outdoor time with higher UVB availability can partially offset indoor-heavy routines. These adaptations are not about returning to ancestral lifestyles, but about recognising how modern environments alter physiological inputs and responding intelligently within contemporary constraints. This perspective reinforces the importance of understanding vitamin D biology in context rather than assuming that modern conditions automatically meet historical biological requirements.
Why modern context matters for interpretation
Because modern environments differ so sharply from those in which vitamin D physiology evolved, interpretation of vitamin D status must consider lifestyle context. Identical blood results may reflect very different underlying exposures depending on indoor time, occupation, urban design and behavioural patterns. This is why population averages or single measurements often fail to capture individual reality. A contextual approach helps explain why vitamin D-related outcomes vary widely across modern populations.
Key takeaway
Modern lifestyles have reshaped vitamin D biology by changing sunlight exposure patterns. Indoor living, urban environments, technology use, transport habits and cultural attitudes all influence how much UVB reaches the skin, and therefore how much vitamin D the body can make naturally.
External reference links
NHS guidance on vitamin D
NIH Office of Dietary Supplements: vitamin D fact sheet
Cancer Research UK: sunlight and vitamin D
Related reading
Ultraviolet B Light Emitting Diodes (LEDs) Are More Efficient and Effective in Producing Vitamin D3 in Human Skin Compared to Natural Sunlight
Vitamin D, the sunshine vitamin is important for health.
Original paper ↗Read more →Knowledge and attitudes about vitamin D and sunlight exposure in premenopausal women living in Jeddah, and their relationship with serum vitamin D levels
Participants completed questionnaires about socio-demographics, dietary vitamin D intake, attitudes toward sun exposure, and were tested on their knowledge of vitamin D.
Original paper ↗Read more →Air Pollution and UVB Exposure
This page explains how air pollution reduces UVB exposure and limits the skin’s ability to make vitamin D from sunlight.
Read more →A 6-month “self-monitoring” lifestyle modification with increased sunlight exposure modestly improves vitamin D status, lipid profile and glycemic status in overweight and obese Saudi adults with varying glycemic levels
The over-all age-adjusted prevalence of diabetes mellitus type 2 (DMT2) in Saudi Arabia is unprecedented at 31%.
Original paper ↗Read more →Association between sunlight exposure and risk of rheumatic diseases: a prospective cohort study in the UK
Data were derived from the UK Biobank (a nationwide prospective cohort in the United Kingdom), including 363,873 participants followed up from 2006 to 2022.
Original paper ↗Read more →Association of hepatitis B vaccine response to vitamin D supplementation and ultraviolet B (UVB) exposure during different time intervals in experimental animals
We aimed to elucidate the effect of vitamin D supplementation and UVB exposure on short: and long-term performance of hepatitis B vaccine.
Original paper ↗Read more →Development and validation of sunlight exposure measurement questionnaire (SEM-Q) for use in adult population residing in Pakistan
Hence, the aim of this study was to develop and validate questionnaires to assess sunlight exposure in healthy individuals residing in Karachi, Pakistan.
Original paper ↗Read more →Effectiveness of Educational Practices in University Students’ Knowledge about Sun Protection and Its Relation to Sunlight Exposure: An Exploratory Study in a Portuguese Higher Education Institution
Nowadays, there is worldwide recognition that health and educational outcomes are inextricably linked.
Original paper ↗Read more →Field Evidence of Endogenous Vitamin D Synthesis in Atlantic Salmon Induced by Natural Sunlight
Fish are believed not to synthesize vitamin D through UV exposure but to meet their requirements from dietary sources.
Original paper ↗Read more →Hypovitaminosis D in patients undergoing kidney transplant: the importance of sunlight exposure
We evaluated 25-hydroxyvitamin D serum levels in a representative sample of patients undergoing kidney transplant.
Original paper ↗Read more →Is Sunlight Exposure Enough to Avoid Wintertime Vitamin D Deficiency in United Kingdom Population Groups?
Our objectives are to examine the sun exposure behaviours of different United Kingdom sectors and to identify if their exposure is enough to maintain winter circulating 25-hydroxyvitamin D above deficiency (>25 nmol/L).
Original paper ↗Read more →Positive Association between Blood 25-Hydroxyvitamin D Levels and Pterygium after Control for Sunlight Exposure
A total of 19,178 participants aged ≥ 30 years were evaluated for blood 25-hydroxyvitamin D levels and performed ophthalmic slit lamp examinations.
Original paper ↗Read more →Public Awareness and Behaviour in Great Britain in the Context of Sunlight Exposure and Vitamin D: Results from the First Large-Scale and Representative Survey
In recent years, UK public health messages about the risks of sunlight exposure (skin cancer) have been increasingly balanced by messages about its benefits (vitamin D production).
Original paper ↗Read more →Skin-directed Solius UVB light therapy increases vitamin D levels and alters intestinal microbiome and metabolome homeostasis
The recent global rise in immune and inflammatory diseases, such as psoriasis and inflammatory bowel diseases, has been linked to Western society-based changes in lifestyle and environment.
Original paper ↗Read more →Skin Exposure to Narrow Band Ultraviolet (UVB) Light Modulates the Human Intestinal Microbiome
In this study we investigated whether exposing the skin to Narrow Band Ultraviolet B (NB-UVB) light to increase serum vitamin D levels would also modulate the makeup of the human intestinal microbiota.
Original paper ↗Read more →The Impact of Minimal Sunlight Exposure on Bone Health: Insights From a Cohort Study in Erythropoietic Protoporphyria
Erythropoietic protoporphyria (EPP) is a rare inherited metabolic disease, causing lifelong painful phototoxic reactions, minimal sunlight exposure, and vitamin D deficiency.
Original paper ↗Read more →The Impact of Sunlight Exposure on Postoperative Hypoparathyroidism: A Retrospective Analysis from Two Greek Centers
The aim of the present study is to evaluate the effect of sunshine levels on postoperative hypoparathyroidism.
Original paper ↗Read more →UVB Exposure of Farm Animals: Study on a Food-Based Strategy to Bridge the Gap between Current Vitamin D Intakes and Dietary Targets
This study aimed to investigate the efficacy of ultraviolet (UV) B radiation for improving vitamin D3 content of eggs and meat.
Original paper ↗Read more →Variations in 25-Hydroxyvitamin D in Countries from the Middle East and Europe: The Roles of UVB Exposure and Diet
Serum 25-hydroxyvitamin D (25(OH)D) has been largely associated with latitude and sunshine exposure across several regions.
Original paper ↗Read more →Vitamin D and calcium-phosphorus in serum of children with celiac disease in a zone of high sunlight exposure
We examined 60 children with first diagnosed CeD aged from 1 to 16 years, the average age was 6 ± 2.3 years.
Original paper ↗Read more →Vitamin D and Sunlight Exposure in Newly-Diagnosed Parkinson’s Disease
Therefore, we evaluated the associations between serum vitamin D, vitamin D intake, sunlight exposure, and newly-diagnosed PD patients in a Chinese population.
Original paper ↗Read more →Original sources
NHS guidance on vitamin D
NHS guidance on vitamin D.
Publication details
NHS guidance on vitamin D
NIH Office of Dietary Supplements – vitamin D fact sheet
NIH Office of Dietary Supplements: vitamin D fact sheet.
Publication details
NIH Office of Dietary Supplements: vitamin D fact sheet
Cancer Research UK – sunlight and vitamin D
Cancer Research UK: sunlight and vitamin D.
Publication details
Cancer Research UK: sunlight and vitamin D