Explainer

Skin cancer risk factors: sun, tanning beds, moles and skin type

Ultraviolet (UV) light from the sun and tanning beds is the main risk factor you can control. Here is what the National Cancer Institute and MedlinePlus list as risk factors for the common skin cancers and for melanoma, what sun protection can and cannot promise, the ABCDE signs to watch on a mole, and what the USPSTF says.

Last reviewed: By the uncovermyrisk.com editorial team Educational only, not medical advice.

The main types of skin cancer

Skin cancer is the most common cancer in the United States (NCI PDQ). The two most common types are basal cell carcinoma and squamous cell carcinoma, together called nonmelanoma skin cancer (or keratinocyte carcinoma). Nonmelanoma skin cancer can usually be cured. Melanoma, which forms in the cells that give skin its color, is less common but grows and spreads quickly and can be harder to cure (NCI PDQ). Skin cancer can appear anywhere on the body, but it is most common on skin that gets sun, such as the face, neck, hands and arms (NCI PDQ).

The main cause: ultraviolet (UV) light

UV radiation is the invisible energy in sunlight. Sunlamps and tanning beds give off UV radiation too (NCI PDQ). The NCI lists being exposed to UV, and how sensitive your skin is to it, as risk factors for skin cancer (NCI PDQ). The USPSTF adds that exposure in childhood and the teen years raises the risk later in life, especially with bad sunburns (USPSTF 2018).

Risk factors for basal and squamous cell skin cancer

The NCI lists these risk factors for nonmelanoma skin cancer (NCI PDQ):

Risk factors for melanoma

The NCI lists these risk factors for melanoma (NCI PDQ):

Fair skin raises the risk, but people of all skin colors can get skin cancer (NCI PDQ). MedlinePlus sums up who is more likely to get skin cancer: people who spend a lot of time in the sun or have been sunburned, have light-colored skin, hair and eyes, have a family member with skin cancer, or are over age 50 (MedlinePlus).

Which ones you can change

Risk factorCan you change it?What to do
Sun exposure, sunburnsYesShade, clothing, hats, sunglasses, sunscreen; extra care for children
Tanning beds and sunlampsYesAvoid indoor tanning (USPSTF 2018)
Fair complexion, many moles, family history, ageNoKnow your skin and show changes to a clinician
Weakened immune system, past radiationUsually notAsk your doctor whether you need regular skin checks

What sun protection can and cannot promise

The NCI is careful here. Sunscreen has been shown to prevent sunburns and actinic keratoses, which can turn into squamous cell carcinoma (NCI PDQ). But not enough studies have been done to prove that staying out of the sun, sunscreen or protective clothing lowers the risk of nonmelanoma skin cancer, and it has not been proven that sunscreen protects against melanoma (NCI PDQ). Even so, skin experts suggest (NCI PDQ):

The USPSTF counseling advice names broad-spectrum sunscreen with SPF 15 or higher, hats, sunglasses or sun-protective clothing, seeking shade during midday hours (10 am to 4 pm), and avoiding indoor tanning (USPSTF 2018). One caution from the NCI: people who use sunscreen to avoid burning may stay in the sun too long (NCI PDQ). The skin cancer prevention check shows whether the USPSTF advises sun protection counseling for your age and skin type.

Warning signs on a mole: ABCDE

Often the first sign of melanoma is a change in the size, shape, color or feel of a mole. Melanoma may also appear as a new mole. MedlinePlus suggests thinking of ABCDE (MedlinePlus):

Have a doctor check any suspicious skin markings and any changes in how your skin looks. Treatment is more likely to work well when cancer is found early (MedlinePlus).

What the USPSTF says about skin checks

WhoUSPSTF
Ages 6 months to 24 years with fair skin, and parents of young childrenCounsel about less UV exposure (grade B, 2018) (USPSTF 2018)
Adults older than 24 with fair skinOffer counseling selectively, weighing risk factors (grade C, 2018) (USPSTF 2018)
Teens and adults with no signs or symptomsNot enough evidence for or against a full-body skin exam by a clinician (I statement, 2023) (USPSTF 2023)

The 2023 screening statement does not apply to people with a personal or family history of skin cancer, people with changing or irregular moles, or people already followed for a high risk (USPSTF 2023). The skin cancer screening check walks through it, and screening tests by age lists the other checks for your age.

Common questions

Can people with dark skin get skin cancer?

Yes. A fair complexion raises the risk, but people of all skin colors can get skin cancer (NCI PDQ).

Does sunscreen prevent skin cancer?

It prevents sunburn and actinic keratoses (NCI PDQ). Studies have not yet proven that it lowers the risk of skin cancer itself, so skin experts pair it with shade, clothing and less time in strong sun (NCI PDQ).

Are tanning beds safer than the sun?

No. Tanning beds and sunlamps give off UV radiation, and the NCI lists artificial sunlight from tanning beds as a risk factor for both nonmelanoma skin cancer and melanoma (NCI PDQ).

Sources

  1. PDQ Screening and Prevention Editorial Board. Skin Cancer Prevention (PDQ): Patient Version. Bethesda, MD: National Cancer Institute. Updated May 16, 2025. PMID 26389434. www.cancer.gov/types/skin/patient/skin-prevention-pdq
  2. MedlinePlus (National Library of Medicine). Skin Cancer. Health topic page, last updated August 9, 2025. medlineplus.gov/skincancer.html
  3. MedlinePlus (National Library of Medicine). Melanoma. Health topic page, last updated December 16, 2019. medlineplus.gov/melanoma.html
  4. US Preventive Services Task Force. Behavioral Counseling to Prevent Skin Cancer: US Preventive Services Task Force Recommendation Statement. JAMA. 2018;319(11):1134. www.uspreventiveservicestaskforce.org/uspstf/recommendation/skin-cancer-counseling
  5. US Preventive Services Task Force. Screening for Skin Cancer: US Preventive Services Task Force Recommendation Statement. JAMA. 2023;329(15):1290-1295. www.uspreventiveservicestaskforce.org/uspstf/recommendation/skin-cancer-screening

Written and maintained by the uncovermyrisk.com editorial team. We do not have a medical reviewer; every claim links to its primary source above. Last reviewed: 2026-11-05. Spotted an error? See About.