Vitamin D and Sun Time: What 'How Long Outside' Actually Depends On
The answer to 'how long in the sun for vitamin D' changes by season, latitude, skin tone, and UV index. Here's what the evidence says about each factor — and how to find your actual window.

Why '15 Minutes in the Sun' Is the Wrong Answer
Roughly one billion people worldwide have vitamin D levels below 20 ng/mL (50 nmol/L), despite living in places with plenty of sunlight. The standard advice — get 15 minutes of midday sun — glosses over every variable that actually controls synthesis: UV index, latitude, season, skin tone, body surface area exposed, and cloud cover. For some people on a clear summer afternoon, 8 minutes is enough. For others on the same day, 90 minutes wouldn't close the gap. Understanding which factors matter, and by how much, is the real answer to the question.
The Biology: What Has to Happen Before You Make Any Vitamin D
Vitamin D synthesis begins when UVB photons (wavelength 290–315 nm) strike 7-dehydrocholesterol in the skin's epidermis, converting it to pre-vitamin D3. This isomerizes to vitamin D3, enters the bloodstream, and is hydroxylated in the liver to 25-hydroxyvitamin D — the form measured in standard blood tests, written as 25(OH)D. The whole cascade depends entirely on one thing arriving at your skin: UVB radiation in the right wavelength range. If UVB can't reach you — blocked by glass, thick cloud, low sun angle, or sunscreen — synthesis stalls regardless of how warm it feels outside.
A detailed overview of this photochemistry and what controls skin synthesis is in the Rays science guide on how UV index drives vitamin D skin synthesis. The key point: UVB intensity at ground level is the master variable, and UV index is its practical proxy.
UV Index: The Starting Point for Every Estimate
UV index (UVI) is a linear scale of solar UV radiation weighted for skin-erythema (redness) risk. It tracks UVB availability closely enough that no meaningful vitamin D synthesis occurs below UVI 3, and synthesis scales upward from there. A UVI of 6 roughly doubles the photon dose compared to UVI 3, shortening the time needed for a given synthesis target. Research published in Photochemistry and Photobiology confirmed that pre-vitamin D3 production in human skin is tightly linked to UVB dose, which UV index approximates well at ground level.
Practical consequence: checking the day's UV index before stepping outside isn't optional — it's the single fastest way to know whether sun time will actually raise 25(OH)D. At UVI below 3, even hours outdoors contribute almost nothing to vitamin D status.
Latitude and Season: When the Sun Angle Cuts You Off
The sun's angle determines how much atmosphere UVB must pass through before reaching your skin. At low solar elevations (early morning, late afternoon, winter months at mid-to-high latitudes), UVB is almost entirely absorbed by ozone and scatter. The practical cutoff is a solar elevation of roughly 35 degrees. Below that angle, UVB in the vitamin-D-producing range is negligible regardless of UV index displayed on a weather app — those apps sometimes include UV components outside the 290–315 nm window. A study modelling vitamin D synthesis across latitudes, published in The Journal of Steroid Biochemistry and Molecular Biology, showed that at latitudes above 51°N (London, Edmonton), vitamin D synthesis from sun is essentially zero from November through February — regardless of clear skies.
Even at 40°N (New York, Madrid, Beijing), November through January produce little meaningful UVB for synthesis. The Rays guide on vitamin D at different latitudes maps exactly when sun exposure stops being useful at common latitudes and when supplements become the primary lever.
Skin Tone: The Biggest Variable Most Estimates Ignore
Melanin acts as a natural broadband UV absorber. Higher melanin concentration (darker skin) reduces UVB penetration into the epidermis, requiring proportionally longer exposure to achieve the same pre-vitamin D3 production rate. The multiplier is substantial: individuals with Fitzpatrick skin types V–VI (dark brown to deeply pigmented skin) need roughly 3–5 times the sun exposure of someone with Fitzpatrick type I–II (very fair, freckled) to produce equivalent amounts of vitamin D3 under identical conditions. This is well-documented in a landmark study by Clemens et al. in The Lancet and confirmed across multiple subsequent population studies.
This helps explain why vitamin D deficiency prevalence is consistently higher in people with darker skin tones, even in sunny climates. NHANES data shows that non-Hispanic Black adults in the United States have mean 25(OH)D levels roughly 10–15 ng/mL below non-Hispanic White adults, a gap that persists even after controlling for diet and supplementation. The clinical evidence is reviewed in JAMA Internal Medicine.
Body Surface Area: More Skin Exposed Means Shorter Time Needed
Vitamin D synthesis is a surface-area reaction. Exposing face and hands contributes a small fraction compared to exposing arms, legs, and torso. Modeling by Holick and colleagues showed that full-body sun exposure at a minimal erythemal dose (the amount needed to barely pink fair skin) can produce 10,000–25,000 IU of vitamin D3. The same exposure on just hands and face produces a fraction of that. Realistically, most people outdoors in office-appropriate clothing expose perhaps 10–20% of total body surface. This is one reason the 15-minute rule — typically calculated for arms-and-legs exposure on a fair-skinned person at midday in summer — dramatically underestimates how long most people actually need.
Time of Day: Why Midday Windows Matter
UVB peaks when the sun is highest — typically between 10 AM and 3 PM local solar time in summer, narrowing significantly in spring and autumn, and disappearing almost entirely in winter at higher latitudes. A 2010 study in Photochemistry and Photobiology modelled vitamin D production at multiple latitudes and found that synthesis outside the midday window — even on clear days at mid-latitude — dropped to near-zero by early morning or late afternoon. Walking the dog at 7 AM or 6:30 PM in a northern city contributes almost nothing to vitamin D status, even in summer.
This is where knowing your UV index by hour — not just a daily average — matters. The Rays guide on how to plan your sun time using UV index walks through how to read hourly UVI data and translate it into an actionable window.
Cloud Cover, Pollution, and Other Attenuators
Thin cloud cover can reduce UVB by 20–30%; heavy overcast reduces it by 50–90%. Air pollution and particulate matter scatter and absorb UVB before it reaches ground level — a significant issue in urban environments. Research published in Environmental Health Perspectives found that UVB in polluted urban areas can be reduced by 5–90% depending on particulate levels, with the largest effect in smoggy cities in South and East Asia — despite high solar angles. Reflected light from sand, water, and snow partially offsets these attenuators by bouncing UVB back up, but the net effect in most cities is reduced synthesis even on nominally sunny days.
Sunscreen, Glass, and What Blocks UVB Entirely
Standard window glass (soda-lime) blocks virtually all UVB below 320 nm, which is precisely the wavelength range needed for vitamin D synthesis. Sitting next to a window does not produce vitamin D. Driving does not produce vitamin D. Being in an office conservatory with glass skylights does not produce vitamin D. This is one of the most persistent misconceptions in the space and one reason indoor workers often have lower 25(OH)D than their time-near-windows would predict.
SPF 30 sunscreen, properly applied, reduces UVB transmission by around 97%. Under lab conditions, this reduces vitamin D synthesis to near zero. In real-world conditions, most people apply sunscreen incompletely, at sub-optimal thickness, and miss areas — meaning some synthesis still occurs. A thorough breakdown of sunscreen effects is in the Rays article on SPF and sunscreen's effect on vitamin D synthesis. The short version: sunscreen meaningfully reduces synthesis, but imperfect real-world application is why deficiency isn't universal among sunscreen users.
Age: Why Older Skin Makes Less
The concentration of 7-dehydrocholesterol in the skin — the precursor molecule UVB converts — declines substantially with age. Holick and colleagues showed that 70-year-olds have roughly 75% less 7-dehydrocholesterol in their skin compared to young adults, reducing synthesis capacity by a similar proportion under identical UV exposure. This is one reason older adults are consistently more deficient even in sunny climates, and why age-specific recommendations for sun exposure and supplementation differ from general adult guidance. A review in The American Journal of Clinical Nutrition documents the age-related decline in synthesis capacity across decades.
Putting It Together: What a Realistic Sun Session Looks Like
Consider two people on the same July afternoon in Chicago (latitude ~42°N), UV index 7, at 12:30 PM. Person A: fair-skinned (Fitzpatrick type II), wearing a T-shirt and shorts (roughly 35% body surface exposed). Estimated synthesis time for a meaningful vitamin D dose: 10–15 minutes. Person B: dark-skinned (Fitzpatrick type V), same clothing. Estimated time: 45–75 minutes. Now move both people to the same day in November in Chicago. UV index: 2. Synthesis: essentially zero for both, regardless of time spent outside. Same city, same people, completely different outcome.
This is why blanket advice consistently fails. Factors stack multiplicatively — and missing any one of them can take your estimate from realistic to completely wrong.
When Sun Exposure Isn't Enough: The Supplement Threshold
For most adults living above 35°N or below 35°S, there is a multi-month window each year when sun exposure simply cannot maintain adequate 25(OH)D regardless of behavior. During those months, supplements are not optional — they are the primary supply. A 2018 global deficiency analysis in Nutrients estimated that over 40% of Europeans are below 20 ng/mL, with rates peaking in winter even in Mediterranean countries. For adults who are deficient, typical repletion ranges from 2,000 to 4,000 IU of D3 daily, taken with a fat-containing meal to maximize absorption. Higher doses require testing first — a baseline 25(OH)D blood test is the only way to calibrate how much supplementation is actually needed.
Key Takeaways
The right amount of sun time for vitamin D is not a single number. It depends on UV index (must be 3 or higher), latitude and season (winter sun at high latitudes produces almost no UVB), skin tone (darker skin needs 3–5 times longer exposure), body surface area exposed (clothing matters enormously), time of day (midday window only), cloud cover and pollution (can cut UVB by more than half), glass and sunscreen (both block UVB substantially), and age (older adults synthesize far less from the same UV dose). A fair-skinned adult in a T-shirt at UV index 6 in midsummer may need 10 minutes. A dark-skinned adult in the same conditions may need 60. In winter above 40°N, neither will make meaningful amounts regardless.
Testing 25(OH)D at least twice a year — end of summer and end of winter — is the only reliable way to know whether your current sun time and supplementation are actually working. Sun exposure does not cause vitamin D toxicity; high-dose supplement use over time without testing does carry risk above 100 ng/mL.
What to do next
If you want a number specific to your location, skin type, and today's UV index, use the Rays vitamin D sun exposure calculator to estimate your personal sun window right now. For ongoing tracking without having to remember to log sessions manually, Rays detects your outdoor time automatically and maps it against real-time UV conditions at your location — so your vitamin D picture updates every day without any manual effort.