Sunlight has real benefits for your skin, but the overall balance tips toward caution. Brief, moderate exposure triggers vitamin D production, can improve certain skin conditions, and even releases feel-good chemicals in your body. At the same time, UV radiation is the single largest driver of visible skin aging and the primary cause of skin cancer. Up to 90 percent of the wrinkles, spots, and texture changes people blame on getting older are actually caused by sun exposure, according to the EPA. So the honest answer is: the sun can be good for your skin in small, deliberate doses, and harmful in almost every other scenario.
Vitamin D: The Main Benefit
When UVB rays hit bare skin, they convert a cholesterol compound in your skin cells into vitamin D3. This is the body’s primary way of making vitamin D, and it happens remarkably fast. Experts suggest that roughly 5 to 30 minutes of sun exposure to your face, arms, and legs, at least twice a week between 10 a.m. and 4 p.m., is typically enough to maintain healthy vitamin D levels without sunscreen during that window.
How much time you personally need depends on several factors. People with darker skin produce vitamin D more slowly because higher melanin content filters out more UVB. Older adults also synthesize it less efficiently. Cloud cover, air pollution, latitude, and the season all play a role too. Someone with very fair skin in Miami in July might need only five minutes, while someone with deep brown skin in Seattle in December might not produce meaningful vitamin D from sunlight at all. The NIH notes that these variables make it genuinely difficult to set universal guidelines.
How Sunlight Helps Certain Skin Conditions
UV light is an established medical treatment for psoriasis and eczema, not just a folk remedy. It works through several mechanisms at once. UV exposure suppresses overactive immune cells in the skin, reducing the population of T-cells and inflammatory signaling molecules that drive flare-ups. At the same time, it increases the activity of regulatory immune cells that calm the immune response down. The net effect is less inflammation and fewer symptoms.
Beyond immune modulation, UV therapy strengthens the outermost layer of skin by promoting the production of key barrier proteins responsible for moisture retention and protection. It also has antibacterial properties, particularly against Staphylococcus aureus, a bacterium that commonly colonizes eczema-prone skin and worsens flare-ups. For these reasons, narrowband UVB phototherapy is considered one of the best treatment options for moderate to severe eczema, working across multiple disease pathways simultaneously.
Acne is a different story. Sunlight can temporarily improve the appearance of breakouts, but the improvement is largely cosmetic. A tan camouflages redness and makes blemishes less visible. It doesn’t address the underlying causes of acne, and prolonged exposure can actually trigger post-inflammatory dark spots, especially on deeper skin tones.
The Feel-Good Effect Is Real
There’s a biological reason why lying in the sun feels so satisfying. When UV rays damage skin cell DNA, those cells respond by producing a precursor molecule that gets split into two active compounds. One triggers tanning. The other is beta-endorphin, a natural opioid chemically similar to morphine. Research published in Cell showed that UV exposure in rodents elevated beta-endorphin levels in the bloodstream, raised pain thresholds, and produced measurable withdrawal symptoms when an opioid-blocking drug was administered.
This isn’t just an animal curiosity. Studies in humans have found that frequent tanners can distinguish real UV from fake UV in blinded experiments, and some meet clinical criteria for substance-related disorders with respect to UV exposure. The compulsive pull toward sunbathing may be less about vanity and more about a genuine opioid-driven feedback loop in the skin. It’s a useful thing to be aware of if you find it hard to limit your time in the sun.
How UV Radiation Damages Skin
The sun emits two types of ultraviolet light that reach your skin, and they cause damage in different ways. UVB rays penetrate into the upper layers of skin and directly damage DNA by creating structural defects in the genetic code. These defects are highly prone to causing mutations and are a primary source of the DNA errors that lead to skin cancer. UVA rays penetrate deeper and cause damage indirectly by generating reactive oxygen species, unstable molecules that oxidize and corrupt DNA from the inside.
Both types of UV also attack your skin’s physical structure. The outermost layer of skin is held together by a “mortar” of lipids (ceramides, cholesterol, and fatty acids) between skin cells. Research from the Proceedings of the National Academy of Sciences found that increasing UVB exposure significantly reduced the lipid content and intercellular cohesion of this layer. In practical terms, UV radiation makes your skin less able to hold itself together and retain moisture. It poses what the researchers described as a “double threat,” simultaneously increasing the mechanical forces that damage skin while reducing skin’s natural ability to resist them.
Over years, this accumulated damage shows up as what most people think of as aging: wrinkles, leathery texture, uneven pigmentation, and sagging. Since it develops gradually, often appearing decades after the sun exposure that caused it, people tend to assume it’s just a normal part of getting older. Most of it is preventable.
Your Skin Type Shapes Your Risk
Not everyone faces the same level of risk from the same amount of sun. The Fitzpatrick scale classifies skin into six types based on how it responds to UV exposure. Type I (very fair, often with red hair) always burns and never tans. Type II usually burns with minimal tanning. Type III occasionally burns but generally tans evenly. Types IV through VI rarely or never burn and tan easily to deeply.
Darker skin does offer more natural UV protection. Epidemiological studies consistently show that people with deeper skin tones have significantly lower rates of both melanoma and non-melanoma skin cancers. But lower risk is not zero risk, and darker skin is still vulnerable to UV-driven aging, barrier damage, and post-inflammatory hyperpigmentation. People with skin types I and II need to be especially careful, as their skin has the least built-in defense against UV damage.
Finding the Practical Balance
The question isn’t really whether the sun is “good” or “bad” for skin. It’s about dose. A few minutes of unprotected exposure several times a week gives your body what it needs for vitamin D without significant cumulative damage. The problems start with prolonged, repeated, or intense exposure, particularly the kind that leads to reddening or burning.
For your brief vitamin D window, exposing your arms and legs without sunscreen is reasonable. Outside that window, sun-protective clothing, shade, and broad-spectrum sunscreen are the most effective ways to preserve your skin’s structure and appearance over time. There is no version of a deep, maintained tan that doesn’t involve meaningful DNA damage. The American Academy of Dermatology is direct on this point: tanning beds are not safer than the sun, and there is no such thing as a safe tan.
If you have psoriasis or eczema and notice your skin improves with sun exposure, that’s a real therapeutic effect worth discussing with a dermatologist. Medical phototherapy delivers controlled UV doses calibrated to your skin type, giving you the anti-inflammatory benefits while minimizing cumulative damage. It’s a more precise tool than simply spending more time outdoors and hoping for the best.

