How Long to Stay in the Sun for Vitamin D: 5–30 Min

Most people produce enough vitamin D from roughly 5 to 30 minutes of midday sun on exposed skin, but the actual time you need depends on a tangle of personal and environmental factors: your skin tone, the season, how much skin you bare, your latitude, and your age. That range is wide for a reason. A fair-skinned person near the equator in summer might synthesize a full day’s worth of vitamin D in under ten minutes, while a dark-skinned person in a northern city during autumn could need several times that, or find the sun too weak to trigger production at all. Understanding what pushes your number toward the short or long end of that window matters, because the stakes on both sides are real: too little sun and you risk deficiency, too much and you accumulate DNA damage that raises skin cancer risk.

What Happens in Your Skin During Sun Exposure

When UVB rays in the 290 to 315 nanometer range hit your skin, they strike a cholesterol-like molecule called 7-dehydrocholesterol sitting in the outer layers of the epidermis. That molecule absorbs the UVB energy and transforms into previtamin D3, which then slowly converts to vitamin D3 over the next day or so through body heat alone.1PubMed Central. Sunlight and Vitamin D: A global perspective for health Your liver and kidneys then process vitamin D3 into the active hormone your body actually uses. The key detail is that only UVB drives this process, not the UVA rays that make up most of the ultraviolet light reaching the ground. UVB intensity fluctuates enormously by time of day, season, and geography, which is why a blanket “go outside for 15 minutes” recommendation oversimplifies things.

Why Skin Tone Changes the Clock

Melanin, the pigment that gives skin its color, acts as a natural sunscreen. It absorbs UVB photons before they can reach the 7-dehydrocholesterol deeper in your epidermis. That protection is genuinely useful against sunburn and DNA damage, but it also slows vitamin D production for the same exposure time. Studies comparing lighter-skinned and darker-skinned individuals confirm that people with deeply pigmented skin need substantially more sun exposure to produce the same amount of vitamin D.2PubMed Central. Colour Counts: Sunlight and Skin Type as Drivers of Vitamin D Deficiency at UK Latitudes

A modeling study that estimated UVB exposure times globally found that near the equator at noontime, a person with lighter skin could synthesize adequate vitamin D in about 3 minutes, while a person with dark skin might need around 15 minutes for the same result.3PubMed Central. Globally Estimated UVB Exposure Times Required to Maintain Sufficiency in Vitamin D Levels For people with very fair skin (phototypes I and II) in cities like New York or Boston, some researchers have estimated that just 2 to 8 minutes of midday spring or summer sun can trigger peak vitamin D synthesis.4The American Journal of Clinical Nutrition. Sun exposure and vitamin D sufficiency Those numbers climb quickly as skin gets darker, which helps explain why vitamin D deficiency is disproportionately common among people with deeper skin tones living at higher latitudes.

Latitude, Season, and the “Vitamin D Winter”

The sun’s angle determines how much UVB actually reaches your skin. In summer, when the sun is high, UVB penetrates the atmosphere efficiently. In winter at higher latitudes, the sun sits so low that the atmosphere filters out nearly all UVB before it hits the ground. This creates what researchers call “vitamin D winter,” a stretch of months when your skin simply cannot make vitamin D no matter how long you stand outside.

Classic research on this showed that in Boston, at about 42 degrees north, skin produced zero previtamin D3 from November through February. In Edmonton, Canada, at about 52 degrees north, that dead zone stretched from October through March. Further south, at 34 degrees and 18 degrees north, sunlight remained effective for vitamin D synthesis even in midwinter.5The Journal of Clinical Endocrinology & Metabolism. Influence of Season and Latitude on the Cutaneous Synthesis of Vitamin D3 Atmospheric modeling confirms that at latitudes above about 51 degrees, there are periods of the year when no vitamin D production is possible at all, and at 70 degrees north that gap can stretch to five months.6PubMed. Daily duration of vitamin D synthesis in human skin with relation to latitude, total ozone, altitude, ground cover, aerosols and cloud thickness

The practical upshot: if you live in the northern United States, Canada, the UK, Scandinavia, or similar latitudes, there is a significant chunk of the year when sun exposure simply will not help your vitamin D status. During those months, food sources and supplements are your only realistic options. Between roughly April and September at mid-latitudes, though, most people can get enough UVB exposure without exceeding the threshold for sunburn.7PubMed. Health risks and benefits of UV radiation: Assessing exposure times related to vitamin D(3) synthesis alongside the potential risk of sunburn in northern mid-latitudes

How Much Skin You Expose Matters a Lot

One of the most underappreciated variables is the amount of skin you actually have in the sun. Rolling up your sleeves to bare your forearms is not the same as wearing shorts and a tank top. Research comparing whole-body, upper-body, and face-and-hands-only exposure found dramatic differences. Whole-body exposure produced roughly 14 times more vitamin D per unit of UV than exposing just the face and hands. In fact, face-and-hands-only exposure barely moved the needle at all.8PubMed. Size of the exposed body surface area, skin erythema and body mass index predict skin production of vitamin D

This finding has been replicated: the larger the UVB-exposed skin area, the higher the vitamin D output.9Journal of Investigative Dermatology. Effect of Body Site and Surface on Vitamin D and 25-Hydroxyvitamin D Production after a Single Narrowband UVB Exposure A useful rule of thumb comes from research estimating that producing about 400 IU of vitamin D per day takes roughly one-third the time needed to reach the point of mild reddening (minimal erythemal dose, or MED) when about 600 square centimeters of skin is exposed, roughly the area of your forearms and hands. Double the exposed area to around 1,200 square centimeters, and you need only about one-sixth of the MED time.10PubMed. Determining an Effective UV Radiation Exposure Time for Vitamin D Synthesis in the Skin Without Risk to Health Translation: exposing your arms, legs, and some torso lets you hit your target in a fraction of the time that face-and-hands exposure would require.

Age and the Decline in Skin Production

Your skin’s ability to make vitamin D drops as you get older. The raw material, 7-dehydrocholesterol, becomes less abundant in aging epidermis. Research comparing skin samples across a wide age range found that people in their late seventies and eighties had more than a twofold reduction in the capacity to produce previtamin D3 compared to children and young adults.11JCI Insight. Aging decreases the capacity of human skin to produce vitamin D3 This means that an older adult in the same sun, for the same duration, with the same skin tone, makes substantially less vitamin D than a younger person. Combined with the fact that older adults tend to spend less time outdoors and often cover more of their skin, age becomes a significant risk factor for insufficiency. For people over 65, relying solely on sun exposure becomes increasingly unreliable, and supplementation often makes more practical sense.

The Sunscreen Paradox

There is a long-running tension between dermatologists urging daily sunscreen use and the fact that sunscreen blocks the same UVB rays your skin needs for vitamin D. Under controlled lab conditions, sunscreen use substantially reduced vitamin D production from artificial UV exposure.12PubMed. The effect of sunscreen on vitamin D: a review That sounds alarming, but a review of the full evidence found something interesting: when researchers looked at randomized trials in real-world settings where people used moderate-SPF sunscreen daily, there was no detectable drop in vitamin D levels.13British Journal of Dermatology. The effect of sunscreen on vitamin D: a review The likely explanation is that in everyday life, people apply sunscreen unevenly, miss patches of skin, and still get incidental UV exposure through gaps in coverage.

So the practical answer is nuanced. If you apply high-SPF sunscreen thickly and uniformly to every exposed surface before going outside, yes, it will reduce vitamin D synthesis. But most people don’t do that. The brief, unprotected exposures you get during daily life, walking to your car, eating lunch outdoors, running errands, likely contribute more to your vitamin D levels than you’d expect. The sensible approach for most people is to get a short burst of unprotected sun (within that 5 to 30 minute window, well before burning) and then apply sunscreen if you’ll be out longer.

DNA Damage Starts Before You Burn

A common misconception is that skin damage only happens when you burn. The same UVB photons that trigger vitamin D synthesis also cause DNA lesions called thymine dimers, and these start accumulating from the very first minutes of exposure, well before any visible redness.14PubMed. Sun and ski holidays improve vitamin D status, but are associated with high levels of DNA damage Your body has repair mechanisms that fix most of this damage, but the repair isn’t instantaneous and isn’t perfect.

A study that gave people repeated low-level summer sun exposures, doses calibrated to stay below sunburn, found that vitamin D levels rose in both lighter and darker-skinned participants, but the DNA damage profiles diverged sharply. People with lighter skin (phototype II) showed significant DNA damage even from sub-erythemal doses, with about 44% of the damage still present 24 hours later. People with darker skin (phototype V) showed minimal DNA damage and cleared it fully within a day.15British Journal of Dermatology. Concurrent beneficial (vitamin D production) and hazardous (cutaneous DNA damage) impact of repeated low‐level summer sunlight exposures This is an underappreciated point: fair-skinned people are the ones who make vitamin D fastest, but they also accumulate DNA damage fastest. The “sweet spot” of meaningful vitamin D production with minimal harm is narrower for lighter skin tones than most people realize. The goal is to maximize the vitamin D yield per unit of UV and stay well short of reddening, not to push exposure toward the long end of that 5 to 30 minute range when you don’t need to.16PubMed Central. Benefits and Risks of Sun Exposure to Maintain Adequate Vitamin D Levels

When Sun Is Not Enough

For a substantial share of the global population, regular sun exposure alone cannot maintain adequate vitamin D levels year-round. People who live at high latitudes face months of vitamin D winter. People who work indoors, wear covering clothing for cultural or religious reasons, have deeply pigmented skin, or are elderly face compounding disadvantages. And for anyone in these categories, oral supplementation can fully compensate for the lack of skin production.4The American Journal of Clinical Nutrition. Sun exposure and vitamin D sufficiency

There is ongoing debate among experts about what blood level of vitamin D constitutes “enough.” Major health bodies have set the bar at a serum 25(OH)D level of 50 nmol/L (20 ng/mL), but some researchers argue the threshold should be 75 nmol/L (30 ng/mL), pointing to data on bone density and calcium absorption.17PubMed. Why the minimum desirable serum 25-hydroxyvitamin D level should be 75 nmol/L (30 ng/ml) This disagreement matters because the higher threshold is harder to meet through casual sun exposure alone, especially for people with risk factors for deficiency. A blood test is the only reliable way to know where you stand.

Your Genes Shape Your Response Too

Even two people of the same age, skin tone, and latitude can have meaningfully different vitamin D levels from identical sun exposure, and genetics is a major reason why. Variations in genes that control how your body synthesizes, transports, and breaks down vitamin D influence how efficiently you convert sunlight into usable vitamin D. These include genes involved in the initial skin production step, the liver and kidney conversion steps, and the transport protein that carries vitamin D through your bloodstream. Population-specific patterns in these gene variants add another layer of variability, meaning that ancestry can influence vitamin D metabolism in ways that go beyond skin color alone.18PubMed Central. Genetic Variants Influencing Individual Vitamin D Status

This is one reason blanket time recommendations can miss the mark. Two coworkers eating lunch outside at the same latitude, same season, same time of day, with similar skin tones and similar amounts of exposed skin, may still end up with different vitamin D levels afterward. Genetics makes vitamin D status partly a moving target that can’t be fully predicted from external variables alone.

Why Human Skin Color Evolved Around This Tradeoff

The relationship between sun exposure, vitamin D, and skin color is not a coincidence. The leading evolutionary explanation, known as the vitamin D-folate hypothesis, proposes that human skin pigmentation evolved as a balancing act. UVB exposure is needed to synthesize vitamin D, but it also degrades folate, a B vitamin critical for fertility and fetal development. In equatorial regions with intense year-round UV, darker pigmentation evolved to protect folate while still allowing enough UVB through for vitamin D. As human populations migrated to higher latitudes with weaker sunlight, lighter skin was selected for because it allowed more efficient vitamin D production from limited UV.19PubMed Central. The Vitamin D–Folate Hypothesis as an Evolutionary Model for Skin Pigmentation: An Update and Integration of Current Ideas Newer biophysical evidence continues to support this framework.20PubMed. Biophysical evidence to support and extend the vitamin D-folate hypothesis as a paradigm for the evolution of human skin pigmentation

This evolutionary background helps explain why the “right” amount of sun is so variable across populations. The human body was never designed for a single optimal dose of sunlight. It was designed for a range of UV environments, and our skin pigmentation was the tuning mechanism. Modern life, with indoor jobs, global migration, and clothing norms that differ from ancestral conditions, has disrupted that calibration for billions of people.

Time of Day and Your Skin’s Repair Machinery

Most vitamin D guidance focuses on midday exposure because that is when UVB intensity peaks. But there is another angle to timing that gets less attention: your skin’s ability to repair UV-induced DNA damage fluctuates throughout the day, governed by your circadian clock. A key DNA repair protein called XPA follows a daily rhythm, with activity lowest in the morning and highest in the late afternoon and evening.21PubMed Central. Control of skin cancer by the circadian rhythm In mouse studies, UV exposure in the early morning (when repair capacity was at its lowest) led to about a fivefold increase in skin cancer compared to the same dose given in the late afternoon.

This is still an emerging area of research, and the mouse findings haven’t been fully confirmed in human skin. But the circadian regulation of DNA repair appears to be a real phenomenon.22PubMed Central. Impact of the Circadian Clock on UV-Induced DNA Damage Response and Photocarcinogenesis The practical implication, if it holds up in humans, is somewhat counterintuitive: the midday sun that is best for efficient vitamin D production also arrives when your DNA repair machinery is ramping up from its morning low, which may mean the late morning-to-early-afternoon window offers a reasonable overlap of strong UVB and improving repair capacity. Early morning sun, often perceived as “gentler,” might actually be worse from a DNA damage perspective relative to how well your cells can fix the harm, though UVB levels are also much lower at that hour. The science here is genuinely complicated and still in progress, but it adds another reason to favor short midday exposures over prolonged early or late sessions.

A Practical Framework for Getting It Right

Given all these moving parts, here is how to think about your personal vitamin D sun exposure during the months when it is actually possible where you live:

  • Start short: If you have fair skin and are in strong midday summer sun, 5 to 10 minutes with arms and legs exposed is likely plenty. If you have medium skin, 10 to 20 minutes is a reasonable starting point. If you have deeply pigmented skin, you may need 20 to 30 minutes or more under the same conditions.
  • Expose more skin: Baring just your face and hands produces negligible vitamin D. Shorts and a short-sleeved shirt, or the equivalent, dramatically increases production and can cut the time you need in half or more.
  • Time it around midday: UVB peaks between roughly 10 a.m. and 2 p.m. Early morning and late afternoon sun contains very little UVB regardless of how warm it feels.
  • Check the UV index: A UV index of 3 or above generally indicates enough UVB for vitamin D synthesis. Below 3, you’re unlikely to produce meaningful amounts. Many weather apps report this daily.
  • Stop well before reddening: The target is a fraction of your MED, not a fraction of a sunburn. If your skin starts to feel warm or look pink, you have overshot.
  • Supplement in winter: If you live above about 40 degrees latitude, sun-based vitamin D production may be impossible for several months. Don’t try to compensate by baking in weak winter sun; use a supplement instead.

These guidelines are inherently imprecise because no single number works for everyone. The research consistently shows that the “right” duration is the product of your skin type, the area of skin exposed, the UV index at your location and time of day, and your age. The 5 to 30 minute range reflects these real-world extremes, not a one-size-fits-all prescription. When in doubt, a blood test for 25(OH)D gives you an actual answer instead of an estimate.