Skin cancer develops when UV radiation or other factors damage the DNA inside skin cells, causing them to grow out of control. Ultraviolet light from the sun is the dominant cause: 83% of all melanoma cases worldwide are directly caused by UV exposure, and the percentage climbs above 95% in places like Australia, northern Europe, and North America.
What UV Light Does to Your Skin Cells
When ultraviolet rays hit your skin, they physically damage the DNA inside your cells. The energy from UV light fuses together neighboring building blocks of your DNA, creating defects called pyrimidine dimers. Your cells have repair machinery that can fix these defects, but when you get too much sun exposure, especially repeatedly, some damage slips through unrepaired.
That unrepaired damage becomes a permanent mutation. Over time, mutations accumulate in genes that control how cells grow and when they die. The most important of these is a gene called TP53, which normally forces damaged cells to self-destruct before they can become dangerous. When TP53 is mutated, damaged cells survive and keep dividing instead of dying off. This mutated gene shows up in over 90% of squamous cell carcinomas and about 50% of basal cell carcinomas, the two most common types of skin cancer.
Sunburns vs. Cumulative Exposure
You’ll sometimes hear that childhood sunburns are the biggest risk factor for skin cancer later in life. That’s partly true, but the full picture is more nuanced. A comprehensive meta-analysis found that it’s really the total number of sunburns over your lifetime that drives melanoma risk, not specifically when they happen. Five sunburns per decade during adulthood carried at least as much risk as childhood burns.
This matters because it means sun protection isn’t just something for kids at the beach. Every blistering sunburn you get at any age adds to your cumulative risk. Chronic, lower-level exposure over years also contributes, particularly for non-melanoma skin cancers like squamous cell and basal cell carcinoma, which tend to appear on areas of skin that get daily sun like the face, ears, neck, and hands.
Tanning Beds Carry Serious Risk
Indoor tanning delivers concentrated UV radiation directly to your skin, and the numbers are striking. Using a tanning bed before age 35 increases your melanoma risk by 59%, your squamous cell carcinoma risk by 67%, and your basal cell carcinoma risk by 29%. These aren’t small bumps in probability. Tanning beds expose you to UV intensities that can be many times stronger than midday sun, and the damage accumulates just like outdoor exposure does.
How Skin Type Affects Your Risk
Your natural skin tone plays a significant role in how vulnerable you are to UV damage, though no skin type is immune. Skin types are grouped into six categories based on how your skin reacts to sun exposure:
- Types 1 and 2 (very fair skin that always burns easily) are at the highest risk. If you fall into this category, sun protection is essential anytime the UV index is 3 or above.
- Types 3 and 4 (skin that sometimes burns and can tan) still sustain real UV damage. Tanning itself is a sign of DNA injury, not healthy skin.
- Types 5 and 6 (deeply pigmented skin that rarely or never burns) have more natural protection, but skin cancer still occurs in people with very dark skin, and it’s often diagnosed later because people aren’t looking for it.
Causes Beyond UV Exposure
While UV radiation is responsible for the vast majority of skin cancers, it’s not the only cause. Several other factors can trigger or accelerate the disease.
A weakened immune system is one of the most significant non-UV risk factors. Organ transplant recipients, who take medications to suppress their immune system so their body doesn’t reject the new organ, develop skin cancer at roughly seven times the rate of the general population. More than half of white transplant recipients will develop a skin cancer at some point after their transplant, with squamous cell carcinoma being especially common. The median time to diagnosis is about four years post-transplant.
Other non-UV causes include arsenic in drinking water (a problem in parts of Bangladesh, China, and India, though it can occur anywhere water is contaminated by mining or industrial activity), infection with certain strains of HPV (which can cause squamous cell carcinoma, particularly in immunosuppressed people), and exposure to industrial chemicals like polychlorinated biphenyls. Rare inherited gene mutations can also cause skin cancer independent of sun exposure, and having a family history of skin cancer raises your baseline risk.
The Three Main Types and What Triggers Each
Not all skin cancers develop through the same pathway. Basal cell carcinoma, the most common type, typically involves mutations in genes called PTCH1 or PTCH2 that are part of a signaling system controlling cell growth. When these genes are damaged, usually by UV exposure, cells lose the brakes that normally keep them from multiplying too fast. Basal cell carcinomas grow slowly and rarely spread to other parts of the body, but they can cause significant local damage if left untreated.
Squamous cell carcinoma is more closely tied to TP53 mutations and cumulative sun exposure over many years. It’s also the type most strongly linked to HPV infection and immunosuppression. Unlike basal cell carcinoma, squamous cell carcinoma can sometimes become aggressive and spread.
Melanoma is the least common but most dangerous form. It develops in the pigment-producing cells of your skin and is strongly associated with intense, intermittent UV exposure (the kind that causes sunburns) rather than slow, chronic exposure. Melanoma can also develop in areas that rarely see sunlight, which points to genetic and other non-UV factors playing a role in some cases.
What Actually Reduces Your Risk
Sunscreen works, but it’s not a force field. A large Norwegian study found that regular use of SPF 15 or higher sunscreen lowered melanoma risk by about 30%. That’s meaningful, but it also means sunscreen alone isn’t enough. Combining it with shade, protective clothing, and avoiding peak UV hours (typically 10 a.m. to 4 p.m.) provides substantially better protection.
The UV index, available in most weather apps, tells you how strong the sun’s UV radiation is on any given day. When it’s 3 or above, your skin is accumulating damage during unprotected exposure, regardless of your skin type. On days when the UV index hits 8 or higher, even brief unprotected exposure can cause real harm to fair-skinned people. Checking this number before spending time outdoors is one of the simplest things you can do to protect yourself over the long term.