Melanoma is caused by DNA damage in melanocytes, the pigment-producing cells of the skin, that accumulates over decades and produces mutations in growth-control genes such as BRAF, NRAS, and CDKN2A. Ultraviolet radiation is the main carcinogen: it damages DNA directly and indirectly, and it suppresses the skin's immune surveillance, allowing damaged cells to survive and divide. Melanoma arises when enough of these mutations collide in one cell lineage that it escapes normal growth limits.

The two-hit origin of a melanoma cell

A melanoma does not begin with a single mutation. It begins with a melanocyte that has already survived years of genomic insult and then acquires a mutation that flips a growth switch permanently on.

The most common initiating event is a point mutation in the BRAF gene, most often the V600E substitution, in which a single DNA letter change swaps one amino acid in the BRAF kinase. That kinase sits in the MAPK signaling cascade, a chain of proteins that relays growth signals from the cell surface to the nucleus. The V600E change locks BRAF in its active state, so the cascade fires continuously without any external growth factor. The cell receives a constant "divide" order. Roughly half of cutaneous melanomas carry a BRAF mutation, making it the single most frequent driver alteration in this cancer.

A second route runs through NRAS, another signaling protein in the same cascade, mutated in roughly 15 to 20 percent of cases. NRAS and BRAF mutations are largely mutually exclusive, because either one alone is enough to jam the accelerator. A third front involves loss of CDKN2A, which encodes proteins that brake the cell cycle. Deleting this brake removes a safeguard, so the cell can replicate despite damage.

Here is the crucial detail most summaries skip: the order of mutations matters. A nevus, or mole, is a clone of melanocytes that already carries a BRAF mutation but remains growth-arrested through a fail-safe called oncogene-induced senescence. This is why most moles never become cancer. Progression requires additional hits that dismantle the senescence program, typically inactivation of CDKN2A and PTEN, and later changes that grant the cell access to blood vessels and lymphatics. Melanoma, in other words, is a multi-step disease in which each mutation must land in a cell that has already defeated the previous safeguard. The pathway is not a single switch but a sequence of broken locks.

How ultraviolet radiation actually damages DNA

UV radiation is not a generic poison. It is a physical agent that fuses adjacent DNA bases together.

When UVB photons strike DNA, they cause adjacent pyrimidine bases, mainly thymine and cytosine, to covalently bond into cyclobutane pyrimidine dimers and, less often, 6-4 photoproducts. These distortions bend the DNA helix and stall the polymerases that copy it. Cells normally repair these lesions through nucleotide excision repair, a cut-and-patch system; the disease xeroderma pigmentosum, in which that repair pathway is defective, produces a thousand-fold or greater increase in skin cancer risk and demonstrates how central repair is to protection. When a dimer is not repaired before replication, the copying machinery inserts the wrong base across from the lesion, and the error is cemented as a mutation. Signature C-to-T transitions appear in melanoma genomes in patterns that point directly to UV as the mutagen.

UVA, the longer-wavelength component and the dominant UV in sunlight, works differently. It is weakly absorbed by DNA directly but generates reactive oxygen species that oxidize bases, most notably producing 8-oxoguanine, and it can also trigger delayed "dark" cyclobutane dimers hours after exposure. UVA penetrates deeper into the dermis and passes through window glass. Both wavebands matter, which is why broad-spectrum protection is the standard.

A counterintuitive point deserves emphasis: UV does more than mutate. It also suppresses local immune surveillance in the skin, impairing the patrolling T cells that would otherwise recognize and destroy abnormal cells. So UV simultaneously creates damaged cells and dims the system meant to clear them. That dual action is part of why ultraviolet exposure is such an efficient carcinogen. In plain terms, sunlight both breaks the DNA and blinds the repair crew.

How big is the risk, and where does melanoma appear?

Quantifying risk makes the mechanism concrete. Sunburn history is a dose marker: blistering sunburns, especially in childhood and adolescence, are associated with a substantially elevated lifetime melanoma risk, and risk rises with the number of such events. Intermittent intense exposure, the vacation sunbather pattern, is more strongly linked to melanoma than the steady daily exposure of outdoor workers, which is a pattern that surprised early researchers and remains a professional caveat.

Site distribution follows exposure and biology together. In men, melanoma most often appears on the trunk and back; in women, on the back and the legs. But melanomas also arise in places that never see the sun: the soles of the feet, the palms, under the nails, and the mucosal surfaces of the mouth, nose, and genital tract. These acral and mucosal melanomas have distinct mutation profiles, often lacking BRAF mutations and carrying different drivers. Roughly a few percent of melanomas occur in these sun-shielded sites, which tells you UV is the dominant cause but not the only one.

Only a small fraction of cases, generally cited as around 5 to 10 percent, occur in families with multiple affected relatives. A minority of these carry germline mutations in high-penetrance genes such as CDKN2A or, in the context of pancreatic cancer and other tumors, other predisposition genes. Having a first-degree relative with melanoma raises personal risk, but most melanoma occurs in people with no family history at all.

A comparison of causal pathways

Pathway Dominant trigger Typical genes Body site Key feature
UV-driven cutaneous (superficial spreading, nodular) Cumulative and intermittent UV BRAF, NRAS, CDKN2A, PTEN Trunk, back, legs, arms High mutation burden with UV signature
Chronic sun-damaged skin (lentigo maligna) Decades of cumulative UV NRAS, KIT, NF1 Face, scalp, neck of older adults Slow radial growth
Acral Unknown; not primarily UV KIT, NRAS, BRAF less common Soles, palms, nail beds Often diagnosed late
Mucosal Unknown KIT, NRAS, SF3B1 Mouth, nose, genital tract Rare, aggressive
Familial/hereditary Inherited susceptibility plus UV CDKN2A, CDK4, BAP1 Variable Multiple cases in family

The table makes the central point: "melanoma" is a family of diseases with different upstream causes converging on similar downstream growth pathways.

Timeline: from sun exposure to detectable tumor

Stage Approximate time course What happens
UV exposure Minutes to hours DNA dimers and oxidative lesions form
Repair or mutation Hours to days Most lesions repaired; some become fixed mutations
Clonal expansion in a mole Years to decades BRAF-mutant clone growth-arrested by senescence
Senescence escape Years CDKN2A or PTEN loss; mole becomes dysplastic
Radial growth phase Months to years Malignant cells spread within the epidermis
Vertical growth phase Months Invasion into dermis; access to lymphatics and blood
Metastasis Variable Spread to lymph nodes, then distant organs

The clinical implication is uncomfortable but important: by the time a melanoma is visible, the causal chain has usually been running for decades. Prevention works because it interrupts the earliest steps. A melanoma that has entered vertical growth phase has already crossed the threshold where local treatment alone may not be enough.

Misconceptions and professional caveats

Several widespread beliefs are wrong or incomplete, and correcting them changes behavior.

A "base tan" does not protect you. Tanning is itself a DNA-damage response, and a tan provides only minimal protection while adding cumulative dose. Indoor tanning devices are classified as carcinogenic to humans by the World Health Organization's cancer agency. Dark skin is not immune. Melanoma occurs in people of all skin tones and is often diagnosed later in darker skin, partly because it appears in sun-shielded sites and partly because of lower suspicion. Mortality can be higher even when incidence is lower. Most moles do not become melanoma. The great majority of melanomas arise in normal-appearing skin rather than in a pre-existing mole, so "watch your moles" is necessary but not sufficient. Sunscreen alone is not a complete strategy. Real-world application is thinner and less frequent than in the trials that established efficacy, and no sunscreen blocks 100 percent of UV. Melanoma is not purely genetic destiny. The dominant cause is environmental exposure that accumulates over a lifetime, which means the risk is partly modifiable.

One professional caveat deserves its own sentence: association is not the same as proven causation for every exposure. The UV-melanoma link is supported by mechanistic, epidemiologic, and molecular-signature evidence, but debates continue about the precise contribution of UVA versus UVB and about the exact dose-response at low exposure levels.

Red flags that warrant prompt evaluation

A new or changing spot that is asymmetric, has irregular borders, contains multiple colors, or is larger than a pencil eraser (about 6 mm). Any mole or lesion that evolves in size, shape, color, or symptoms over weeks to months. A sore that does not heal, or a pigmented streak under a nail that is not explained by injury. A lesion on a sun-shielded site (sole, palm, nail bed, mucosa) that is new or changing. A changing spot in someone with a strong family history or a personal history of melanoma.

The "evolving" criterion is the most important of these. Benign lesions are stable; melanoma changes.

Practical actions that interrupt the causal chain

Prevention targets the mechanism at each step, and the specific steps are concrete.

Reduce UV dose. Use broad-spectrum sunscreen with an SPF of 30 or higher, reapplied roughly every two hours during exposure and after swimming or sweating. Seek shade during midday hours, when UV index peaks, and wear tightly woven clothing, a wide-brimmed hat, and UV-blocking sunglasses. Avoid indoor tanning entirely.

Protect children especially. Because blistering sunburns in childhood and adolescence carry an outsized risk, early protection has a disproportionate payoff. Keep infants under six months out of direct sun.

Know your skin and check it. Perform monthly self-examinations using the ABCDE criteria (asymmetry, border, color, diameter, evolving), and have a clinician examine your skin if you have many moles, a family history, or a personal history of skin cancer. Dermoscopy by a trained clinician improves detection over naked-eye inspection.

Use risk stratification. People with fair skin, light eyes, many atypical moles, a history of sunburns, or a family history should consider periodic professional skin exams; the exact interval is a clinical judgment, not a fixed rule, and should be set with a clinician.

Stay current with evidence. Treatment for advanced melanoma has changed substantially in the past decade, and survival for metastatic disease has improved markedly, but those are treatment developments outside the scope of causation. The preventive logic is stable: less cumulative DNA damage means fewer opportunities for the mutations that start the disease.

What this explanation cannot settle

The mechanism described here is well established at the level of gene, mutagen, and pathway. What remains genuinely uncertain includes the precise contribution of low-dose chronic UV versus intermittent high-dose exposure, the role of non-UV environmental exposures, and why some people with heavy sun exposure never develop melanoma while others with modest exposure do. Individual genetic background, immune function, and skin pigmentation all modulate risk in ways that are not fully quantified.

That uncertainty has a practical consequence: no risk calculator can tell an individual whether they will develop melanoma. The biology explains why prevention is rational in aggregate, not why any one person's outcome was inevitable. Causation in melanoma is probabilistic, not deterministic, and the most defensible statement is the one the evidence supports: accumulated DNA damage from ultraviolet radiation, combined with inherited susceptibility and immune factors, is the central causal pathway, and reducing that damage reduces risk.