Articles & Guides › Articles › Dermatology
Actinic keratosis, basal cell and squamous cell carcinoma
How UVB makes pyrimidine dimers and how nucleotide excision repair removes them, why xeroderma pigmentosum causes skin cancer in childhood, how actinic keratoses progress, how basal cell carcinoma looks and why the hedgehog pathway drives it and Gorlin syndrome, and how squamous cell carcinoma, keratoacanthoma and Marjolin ulcer differ, with transplant recipients at highest risk.
Dermatology · 8 min read · Reviewed 2026-11-22
Basal cell and squamous cell carcinoma, the keratinocyte cancers, are the most common cancers in people, and almost all of them begin with ultraviolet (UV) light damaging DNA. They rarely kill, but they are common enough that recognizing them, and knowing who is at highest risk, is part of everyday medicine.
This article follows the path from UV damage and DNA repair through actinic keratosis to basal cell carcinoma, squamous cell carcinoma and keratoacanthoma.
Key points
- UVB is absorbed by DNA and forms pyrimidine (thymine) dimers, which nucleotide excision repair removes. Unrepaired dimers cause C-to-T mutations, often in TP53.
- Xeroderma pigmentosum is an autosomal recessive defect in nucleotide excision repair that causes extreme sun sensitivity and skin cancers in the first decade of life.
- Actinic keratoses are rough, scaly precursors of squamous cell carcinoma on chronically sun-exposed skin, treated with freezing or field therapy (5-fluorouracil, imiquimod).
- Basal cell carcinoma is a pearly papule with rolled borders and telangiectasias, with palisading basaloid nests on histology. It is driven by the hedgehog pathway (PTCH1, SMO), invades locally and almost never metastasizes.
- Squamous cell carcinoma is a scaly, crusted nodule with keratin pearls on histology. It can metastasize, especially on the lip and ear and in organ transplant recipients, who get it more often than basal cell carcinoma.
UV damage, actinic keratosis and xeroderma pigmentosum
Two kinds of UV
| Feature | UVB (290–320 nm) | UVA (320–400 nm) |
|---|---|---|
| How deep it reaches | Epidermis | Into the dermis; passes through window glass |
| How it damages | Absorbed directly by DNA, forming cyclobutane pyrimidine dimers (mostly thymine dimers) and 6-4 photoproducts | Mainly through reactive oxygen species |
| Effects | Sunburn, most skin cancers, vitamin D synthesis | Photoaging (wrinkles, solar elastosis), tanning; contributes to cancer; used in PUVA |
UVB "burns" and UVA "ages". UVC is absorbed by the ozone layer.
Nucleotide excision repair
Nucleotide excision repair removes bulky lesions that distort the DNA helix, such as pyrimidine dimers[1]. A protein complex recognizes the distortion, endonucleases cut the damaged strand on both sides, the short damaged stretch is removed, DNA polymerase fills the gap and ligase seals it.
Dimers that escape repair cause C-to-T changes, the "UV signature", and the gene most often hit in keratinocyte cancers is *TP53*[2].
For contrast, other repair pathways fail in other syndromes: mismatch repair in Lynch syndrome, base excision repair in MUTYH polyposis, and homologous recombination with *BRCA1 and BRCA2*.
Xeroderma pigmentosum
- Autosomal recessive defects in nucleotide excision repair, in genes named XPA through XPG. The XP variant type affects a polymerase that copies past damage instead[1,3].
- Extreme sun sensitivity, with blistering burns after minimal exposure, early heavy freckling, dry skin and eye damage (photophobia, conjunctivitis and corneal clouding).
- Basal cell carcinoma, squamous cell carcinoma and melanoma begin in the first decade of life, at thousands of times the usual rate. Some patients also have progressive neurologic decline.
- Management is strict lifelong avoidance of UV and early removal of tumors.
Actinic keratosis
- A precancerous lesion caused by years of sun, in fair-skinned older adults, outdoor workers and transplant recipients[4].
- Rough, scaly papules like sandpaper on the face, scalp, ears, backs of the hands and forearms. They are often easier to feel than to see.
- Histology: atypical keratinocytes in the lower epidermis, parakeratosis, and solar elastosis (degenerated, bluish elastic fibers) in the dermis, without invasion.
- Actinic cheilitis is the same process on the lower lip.
- Each lesion has only a small chance of becoming squamous cell carcinoma, but patients usually have many. Thickening, tenderness, bleeding or fast growth suggest invasion.
- Treatment: freezing (cryotherapy) for single lesions, and field therapy for a whole sun-damaged area with topical 5-fluorouracil, imiquimod or photodynamic therapy[4].
Prevention is broad-spectrum sunscreen, clothing and shade, and avoiding tanning beds. Oral nicotinamide reduces new keratinocyte cancers in high-risk patients.
Basal cell carcinoma
Basal cell carcinoma is the most common cancer in people. It arises from the basal layer of the epidermis and hair follicles[5].
Risk factors and sites
- Fair skin, older age, intermittent intense sun and childhood sunburns, radiation, arsenic and immunosuppression.
- Mostly on the head and neck, especially the nose, and often above the line of the upper lip.
Types
| Type | Appearance |
|---|---|
| Nodular (most common) | Pearly, translucent pink papule with rolled borders and telangiectasias; may form a central ulcer that bleeds ("rodent ulcer") |
| Superficial | Red, slightly shiny, scaly patch, usually on the trunk; can be mistaken for eczema or psoriasis |
| Pigmented | Brown or black flecks; can mimic melanoma; more common on darker skin |
| Morpheaform (sclerosing) | Flat, firm, ill-defined and scar-like; aggressive, with a high recurrence rate |
Histology and behavior
Nests of basaloid cells with dark nuclei, lined up in a palisade at the edge of each nest, separated from the surrounding stroma by retraction clefts[6]. Basal cell carcinoma grows slowly and invades locally: neglected tumors can destroy cartilage, bone and the orbit. It almost never metastasizes.
The hedgehog pathway
PTCH1 (patched) normally inhibits SMO (smoothened). When a hedgehog ligand binds PTCH1, SMO is released and activates GLI transcription factors. Nearly every basal cell carcinoma has the pathway switched on, usually from UV-induced loss of PTCH1 or activation of SMO[5].
Basal cell nevus syndrome (Gorlin syndrome)
- Autosomal dominant, from a germline *PTCH1* mutation.
- Many basal cell carcinomas from childhood or adolescence, including on skin that sees little sun.
- Odontogenic keratocysts of the jaw, pits in the palms and soles, calcification of the falx cerebri, bifid ribs, a large head and medulloblastoma in childhood.
- Radiation triggers new tumors and is avoided.
Treatment
- Surgical excision, or Mohs micrographic surgery for the face and for recurrent or high-risk tumors. Mohs removes the tumor in thin layers and checks every margin as it goes, sparing healthy tissue.
- Curettage and electrodesiccation; topical imiquimod or 5-fluorouracil for superficial tumors; radiation.
- SMO inhibitors (vismodegib, sonidegib) for locally advanced or metastatic disease[7]. They are teratogenic and cause muscle cramps, hair loss and loss of taste.
Squamous cell carcinoma and keratoacanthoma
Cutaneous squamous cell carcinoma
- The second most common skin cancer, arising from keratinocytes and linked to cumulative lifetime sun[8].
- Found on the scalp, face, ears, lower lip, backs of the hands and forearms, often arising from an actinic keratosis.
- A firm, scaly, crusted or ulcerated nodule or plaque, sometimes tender, that grows over months.
- Histology: nests of atypical squamous cells with abundant pink cytoplasm, intercellular bridges and keratin pearls, invading the dermis.
- Squamous cell carcinoma in situ (Bowen disease) shows atypia through the full thickness of the epidermis without invasion and looks like a red, scaly patch. On the genitals it is called erythroplasia of Queyrat and is linked to HPV.
Risk factors
| Group | Examples |
|---|---|
| UV | Cumulative sun, tanning beds, PUVA, fair skin, older age |
| Immunosuppression | Organ transplant recipients, at about 65–100 times the usual risk, in whom squamous cell carcinoma outnumbers basal cell[9]; HIV; chronic lymphocytic leukemia |
| Genetic | Xeroderma pigmentosum, albinism, dystrophic epidermolysis bullosa |
| Chemicals and radiation | Arsenic (which also causes keratoses on the palms), ionizing radiation, tar, soot |
| Chronic injury | Chronic wounds, burn scars, draining sinuses, chronic osteomyelitis, hidradenitis suppurativa, lichen sclerosus |
| Viruses | HPV, around the nails and on the genitals |
| Drugs | Voriconazole, BRAF inhibitors, azathioprine, TNF inhibitors |
Behavior and treatment
Squamous cell carcinoma can metastasize, usually to regional lymph nodes. Risk is highest for tumors on the lip and ear, tumors larger than 2 cm or deeply invasive, tumors with perineural invasion, tumors arising in scars and tumors in immunosuppressed patients[8]. It is treated by excision or Mohs surgery and radiation, and advanced disease by cemiplimab, a PD-1 inhibitor.
Marjolin ulcer
An aggressive squamous cell carcinoma that arises years or decades later in a chronic wound, burn scar or draining sinus. A man whose leg has drained pus through a sinus tract since childhood osteomyelitis, and whose sinus opening has recently become a raised, crusted, slowly enlarging ulcer, needs a biopsy for squamous cell carcinoma.
Keratoacanthoma
- A dome-shaped nodule, 1–2 cm, that grows quickly over weeks, with a central crater filled with keratin, like a volcano, on sun-exposed skin of older adults[6].
- It can stop growing and then regress on its own over months, leaving a scar.
- Histology: a cup-shaped growth of well-differentiated squamous cells with glassy pink cytoplasm around a keratin plug.
- It is considered a low-grade variant of squamous cell carcinoma and is hard to separate from invasive disease, so it is usually excised.
- Many keratoacanthomas suggest Muir-Torre syndrome (sebaceous tumors plus Lynch syndrome cancers) or BRAF inhibitor treatment.
Merkel cell carcinoma, for contrast
A fast-growing, painless, red-violet nodule on sun-exposed skin of older or immunosuppressed adults. It is a neuroendocrine cancer linked to Merkel cell polyomavirus, made of small round blue cells with cytokeratin 20 in a dot beside the nucleus, and it is aggressive.
Basal cell and squamous cell carcinoma compared
| Feature | Basal cell carcinoma | Squamous cell carcinoma |
|---|---|---|
| Frequency | Most common | Second most common; most common in transplant recipients |
| Sun pattern | Intermittent, intense | Cumulative |
| Classic site | Nose, upper face | Scalp, ears, lower lip, hands |
| Appearance | Pearly, rolled borders, telangiectasias | Scaly, crusted, ulcerated |
| Precursor | None | Actinic keratosis, Bowen disease |
| Histology | Palisading basaloid nests, retraction clefts | Keratin pearls, intercellular bridges |
| Metastasis | Almost never | Sometimes |
| Pathway | Hedgehog (PTCH1, SMO) | *TP53, NOTCH* |
Common confusions
- Lip cancers: basal cell carcinoma on the upper lip versus squamous cell carcinoma on the lower lip ("basal up, squamous down").
- Actinic keratosis versus Bowen disease versus invasive squamous cell carcinoma: atypia in the lower epidermis versus atypia through the full epidermis versus cells through the basement membrane.
- Keratoacanthoma versus squamous cell carcinoma: a crater that grows fast and may regress versus steady growth. Both are usually excised.
- Nucleotide excision repair versus mismatch repair: UV dimers and xeroderma pigmentosum versus replication errors and Lynch syndrome.
References
- Cleaver JE. Defective repair replication of DNA in xeroderma pigmentosum. Nature. 1968;218(5142):652-656. doi:10.1038/218652a0 Link ↩
- Brash DE, Rudolph JA, Simon JA, et al. A role for sunlight in skin cancer: UV-induced p53 mutations in squamous cell carcinoma. Proc Natl Acad Sci U S A. 1991;88(22):10124-10128. doi:10.1073/pnas.88.22.10124 Link ↩
- Bolognia JL, Schaffer JV, Cerroni L, eds. Dermatology. 4th ed. Elsevier; 2018. ↩
- Eisen DB, Asgari MM, Bennett DD, et al. Guidelines of care for the management of actinic keratosis. J Am Acad Dermatol. 2021;85(4):e209-e233. doi:10.1016/j.jaad.2021.02.082 Link ↩
- Epstein EH. Basal cell carcinomas: attack of the hedgehog. Nat Rev Cancer. 2008;8(10):743-754. doi:10.1038/nrc2503 Link ↩
- Kumar V, Abbas AK, Aster JC. Robbins & Cotran Pathologic Basis of Disease. 10th ed. Elsevier; 2021. ↩
- Sekulic A, Migden MR, Oro AE, et al. Efficacy and safety of vismodegib in advanced basal-cell carcinoma. N Engl J Med. 2012;366(23):2171-2179. doi:10.1056/NEJMoa1113713 Link ↩
- Que SKT, Zwald FO, Schmults CD. Cutaneous squamous cell carcinoma: incidence, risk factors, diagnosis, and staging. J Am Acad Dermatol. 2018;78(2):237-247. doi:10.1016/j.jaad.2017.08.059 Link ↩
- Euvrard S, Kanitakis J, Claudy A. Skin cancers after organ transplantation. N Engl J Med. 2003;348(17):1681-1691. doi:10.1056/NEJMra022137 Link ↩