Your skin gets darker in the sun because ultraviolet (UV) radiation triggers specialized skin cells to produce more of a protective pigment called melanin. This is your body’s built-in defense system: when UV rays damage skin cell DNA, a chain reaction ramps up pigment production to shield deeper tissue from further harm. The visible result is what we call a tan.
What Happens Inside Your Skin
The process starts in your outermost layer of skin, the epidermis, where two types of cells work together. Keratinocytes, the most common skin cells, absorb UV radiation and sustain DNA damage. In response, they activate a protein called p53, sometimes called the “guardian of the genome,” which sets off an alarm signal. That signal tells nearby melanocytes, the pigment-producing cells, to start making more melanin.
Melanocytes convert the amino acid tyrosine into melanin through a series of chemical reactions. The key enzyme driving this process is tyrosinase, a copper-containing protein inside tiny compartments called melanosomes. Once melanin is produced, melanocytes package it into these melanosomes and deliver them to surrounding keratinocytes. Each melanocyte services roughly 30 to 40 neighboring keratinocytes, distributing pigment like an umbrella that sits over each cell’s nucleus, physically blocking UV rays from reaching DNA.
What’s remarkable is that the damaged keratinocytes themselves drive the process. After UV exposure, they release a signaling molecule that binds to receptors on melanocytes, boosting the production of protective dark pigment. They also release a growth factor that can cause melanocytes to multiply, further increasing the skin’s pigment-producing capacity. The entire tanning response is essentially a wound-healing reaction to DNA damage.
UVA and UVB Do Different Things
Not all UV light darkens your skin the same way. The sun emits two relevant types: UVA (longer wavelength, penetrates deeper) and UVB (shorter wavelength, mostly hits the surface). They produce visibly similar results but through completely different mechanisms.
UVB is the primary driver of true tanning. It stimulates melanocytes to dramatically increase melanin production, creating new pigment granules that get dispersed throughout your skin cells. This is a delayed response, typically becoming visible 48 to 72 hours after exposure, because the cells need time to manufacture fresh melanin. A UVB-induced tan provides some real, if modest, protection against future UV damage.
UVA, on the other hand, produces a faster but more superficial darkening. Rather than triggering new melanin production, UVA oxidizes melanin and its colorless precursors that are already present in your skin. It also redistributes existing pigment granules. This is why you can look noticeably darker after just a few hours in the sun. Research has shown conclusively that UVA increases visible pigmentation without actually increasing melanin content, while UVB is responsible for the genuine uptick in melanin synthesis. When both wavelengths hit your skin together, as they do in natural sunlight, the effects are synergistic.
Two Types of Melanin, Two Levels of Protection
Your body produces two distinct forms of melanin, and the ratio between them largely determines how well your skin handles UV exposure. Eumelanin is brown to black and acts as a potent UV absorber, scattering and soaking up 50 to 75% of incoming UV radiation while also neutralizing harmful free radicals generated by sun exposure. This is the pigment responsible for the protective darkening most people associate with tanning.
Pheomelanin is yellow to reddish and tells a very different story. It’s chemically unstable when exposed to UV light and can actually generate free radicals rather than neutralize them. The sulfur in its molecular structure makes it more reactive, and its production depletes your skin’s natural antioxidant reserves in the process. People with red or blonde hair and very fair skin produce a higher ratio of pheomelanin to eumelanin, which is one reason they burn easily and tan poorly. Their melanocytes are active, but they’re producing the less protective type of pigment.
Why Some People Tan Easily and Others Burn
Your genetic background determines your baseline melanin levels, the ratio of eumelanin to pheomelanin, and how aggressively your melanocytes respond to UV exposure. Dermatologists categorize this range using the Fitzpatrick scale, which runs from Type I to Type VI.
- Type I: Very fair skin, often with red or blonde hair and blue or green eyes. Always burns, never tans.
- Type II: Fair skin with light hair and eyes. Burns easily, tans minimally.
- Type III: Medium skin with brown hair. Sometimes burns, gradually tans.
- Type IV: Olive skin with dark hair and brown eyes. Rarely burns, tans easily.
- Type V: Brown skin with black hair. Very rarely burns, tans darkly.
- Type VI: Deeply pigmented dark brown to black skin. Never burns.
The differences in UV penetration are striking. Dark skin allows only about 7.4% of UVB and 17.5% of UVA to pass through the epidermis. Fair skin lets through 24% of UVB and 55% of UVA. Melanin in darker skin is roughly twice as effective at blocking UVB compared to lighter skin. That said, even at its most protective, melanin provides the equivalent of only about SPF 2 to 4, meaning it absorbs 50 to 75% of UV radiation. That’s meaningful but far from complete protection.
The evolutionary geography of skin tone reflects these tradeoffs. Populations closer to the equator developed higher eumelanin levels for UV protection, while populations at higher latitudes shifted toward more pheomelanin. The lighter pigment allows more UV penetration, which is actually useful in low-sunlight environments because UV exposure is the essential first step in vitamin D production.
How Long a Tan Lasts
A tan is not permanent because the darkened skin cells are constantly being replaced. Your epidermis undergoes a complete turnover cycle of roughly 45 days. New cells form at the base of the epidermis, gradually migrate upward as they mature, and eventually shed from the surface. The melanin-loaded keratinocytes that make up your tan are on this same conveyor belt, so as they reach the surface and flake off, they carry their extra pigment with them.
This is why a tan typically fades over two to four weeks after your last sun exposure. The rate varies depending on the body part (skin on your face turns over faster than skin on your arms), how deep the tan was, and your individual cell turnover speed, which slows with age. Exfoliating speeds the process; continued sun exposure maintains it by constantly triggering fresh melanin production in new cells.
Why Tanning Still Means Damage
The uncomfortable reality is that a tan is visible proof of DNA damage. The entire signaling cascade, from p53 activation to melanin production, exists because UV radiation has injured your skin cells at the genetic level. Some of those damaged cells undergo programmed cell death and become what dermatologists call “sunburn cells.” The surrounding skin proliferates to replace them, which is why sun-exposed skin often thickens slightly over time.
Every time this damage-and-repair cycle runs, there’s a small chance that a mutation slips through uncorrected. The p53 protein that initiates tanning is the same tumor suppressor that prevents cancerous growth, and repeated UV damage can eventually disable it. This is why cumulative sun exposure, even without dramatic burns, increases skin cancer risk over a lifetime. Your tan is your body doing its best to protect you, but the protection it provides is limited, and the damage that triggered it is already done.

