Causes, Risk Factors, and Prevention of Basal Cell Carcinoma

Learn about the causes and risk factors for basal cell carcinoma (BCC), also known as basal cell skin cancer, and what you might be able to do to help lower your risk.

What causes basal cell carcinoma?

There are many known risk factors for basal cell skin cancer, but it’s not always clear exactly how these factors might cause cancer.

The main cause of basal cell skin cancer is repeated and unprotected skin exposure to ultraviolet (UV) rays from sunlight, tanning beds, or sun lamps. UV rays can cause changes in the DNA (genes) inside skin cells.

How gene changes (mutations) can lead to cancer

Researchers have made great progress in understanding how certain gene changes in skin cells can lead to them becoming cancer cells. For example, some genes contain instructions for controlling when our cells grow and divide. Changes in these genes can lead to cells growing out of control. To learn more, see Genes and Cancer.

Gene changes that can lead to basal cell carcinoma

Gene changes that lead to cancer can either be acquired during a person’s life or inherited from a parent. Changes in different genes are usually needed to cause cancer.

Researchers have found that BCC cells often have changes in genes that normally help keep cell growth under control or repair mistakes in a cell’s DNA.

Acquired gene changes

Most often, gene changes related to BCC are acquired during a person’s lifetime and are not inherited.

BCC cells often have a change in the PTCH1 gene, which is part of the “hedgehog” signaling pathway inside cells. PTCH1 is a tumor suppressor gene that normally helps keep cell growth in check, so changes in this gene can allow cells to grow out of control.

Other genes that can be altered in BCC cells include TP53, SMO, and NOTCH1.

Inherited gene changes

Rarely, people have an inherited gene change that increases their risk of basal cell carcinoma.

Basal cell nevus syndrome, also known as nevoid basal cell carcinoma syndrome or Gorlin syndrome, is often inherited from a parent and results in having a very high risk of BCC. People with this syndrome have an altered PTCH1 gene in all the cells of their body.

Xeroderma pigmentosum (XP) is a rare inherited condition resulting from a change in one of the XP (ERCC) genes, which normally help repair damaged DNA inside cells. Because people with XP are less able to repair DNA damage caused by the UV rays in sunlight, they often develop many skin cancers starting at an early age, especially on sun-exposed areas.

Several other inherited conditions are also linked to BCC, including:

  • Muir-Torre syndrome
  • Rombo syndrome
  • Oculocutaneous albinism

Basal cell carcinoma risk factors

A risk factor is anything that raises your risk of getting a disease such as cancer. Different cancers have different risk factors. Some risk factors, such as smoking and excess sun exposure, can be changed. Others, such as your age or family history, can’t be changed.

It’s important to know about the risk factors for BCC because there might be things you can do that could lower your risk. If you are at higher risk of BCC because of certain factors, there are also things you can do that might help find it early, when treatment is more likely to be successful.

Exposure to UV rays is a major risk factor for most skin cancers, including BCC. Sunlight is the main source of UV rays. Tanning beds and sun lamps are also sources of UV rays.

Although UV rays make up a very small portion of the sun’s rays, they are the main cause of the damaging effects of the sun on the skin. UV rays damage the DNA (genes) inside skin cells. Skin cancers can begin when this damage affects genes that control skin cell growth.

To learn more about UV exposure and what you can do to protect yourself and your loved ones, see:

Anyone can get skin cancer, but people with lighter skin tones have a much higher risk than people with naturally darker skin tones. This is because melanin (skin pigment) has a protective effect in people with darker skin.

People are at especially high risk if they have skin that freckles or burns easily, blue or green eyes, or naturally red or blonde hair.

The risk of getting basal cell skin cancer rises as people get older. This is probably because years of sun exposure can lead to a buildup of gene changes in skin cells. But these cancers are becoming more common in younger people as well, probably because they are spending more time in the sun with their skin exposed.

Being exposed to large amounts of arsenic increases the risk of developing skin cancer, including BCC. Arsenic is an element found naturally in well water in some areas. It’s also used to make some pesticides and other substances.

People who have had radiation treatment have a higher risk of developing skin cancer, including BCC, in the area where the radiation was focused. This is particularly a concern in children who have had radiation treatment for cancer.

People who have had a BCC or another type of skin cancer have a much higher chance of developing another one.

Psoralens and ultraviolet light (PUVA) treatments given to some people with psoriasis, a chronic inflammatory skin disease, can increase the risk of developing skin cancer. Most of this increased risk seems to be for squamous cell skin cancer, but the risk of BCC might be higher as well.

This very rare inherited condition reduces the ability of skin cells to repair DNA damage caused by sun exposure. People with this disorder often develop many skin cancers, including BCC, starting in childhood.

In this rare congenital (present at birth) condition, people develop many basal cell cancers over their lifetime. People with this syndrome might also have abnormalities of the jaw and other bones, eyes, and nervous tissue.

Most often this syndrome is inherited from a parent. Those affected often start to develop basal cell cancers as children or teens.

Exposure to UV rays can increase the number of tumors these people get.

Several other genetic syndromes have also been linked with an increased risk of BCC. Examples include:

  • Muir-Torre syndrome
  • Rombo syndrome
  • Oculocutaneous albinism

The immune system helps the body fight cancers of the skin and other organs. People with weakened immune systems from certain diseases or medical treatments are more likely to develop many types of skin cancer, including basal cell carcinoma.

For example, people who get organ transplants are usually given medicines that weaken their immune system to help prevent their body from rejecting the new organ. This increases their risk of developing skin cancer. Skin cancers in people with weakened immune systems tend to grow faster and are often harder to treat.

People living with HIV, the virus that causes AIDS, often have weakened immune systems and are also at increased risk for basal cell cancers.

Can basal cell carcinoma be prevented?

There is no sure way to prevent all basal cell skin cancers. Some risk factors, such as your age, natural skin color, and family history, can’t be controlled. But there are things you can do that could lower your risk of getting BCC and other skin cancers.

The most important way to lower your risk of basal cell carcinoma and other skin cancers is to limit your exposure to UV rays. To learn more about UV exposure and what you can do to protect yourself and your loved ones, see How to Protect Yourself from UV Rays.

Look for shade

Simply staying in the shade is one of the best ways to limit your UV exposure.

Use sun protection

If you are going to be in the sun:

  • Wear a shirt and a wide-brimmed hat.
  • Apply sunscreen to areas not covered by clothing.
  • Put on sunglasses to protect your eyes and sensitive skin around them.

Avoid tanning beds and sun lamps

Just like UV rays from the sun, the UV rays of tanning beds and sun lamps are harmful. Most skin doctors and health organizations recommend not using tanning beds and sun lamps.

Protect children from the sun

Children tend to spend more time outdoors and can burn easily, so they need special attention to protect their skin. Parents and other caregivers should protect children from excess sun exposure by keeping them in shady areas and making sure they wear sun protection. Children also need to be taught about the dangers of too much sun exposure as they become more independent.

Exposure to certain chemicals, such as arsenic, can increase a person’s risk of skin cancer. People can be exposed to arsenic from well water in some areas, pesticides, herbicides, some medicines, certain imported traditional herbal remedies, and certain occupations such as mining and smelting.

Checking your skin regularly might help you spot any new growths or abnormal areas before they have a chance to turn into skin cancer. If you find an abnormal spot on your skin, it’s important to show it to your doctor to see if it needs to be treated. To learn more, see Early Detection, Diagnosis, and Staging of Basal Cell Carcinoma of the Skin.

Infection with HIV, the virus that causes AIDS, can weaken your immune system, increasing your risk for BCC and other cancers. Avoiding known risk factors for HIV infection, such as intravenous (IV) drug use and having unprotected sex with many partners, might lower your risk of skin cancer, as well as many other types of cancer.

Some people at increased risk for skin cancer, such as people with certain inherited conditions or a weakened immune system, might be helped by medicines that could lower their risk. This is known as chemoprevention.

Doctors are studying many drugs that might lower risk, although they are not commonly used at this time.

Nicotinamide, a form of vitamin B3, has been shown to lower the risk of BCCs and other skin cancers in people at high risk, and with very few side effects, although it hasn’t been studied extensively in people with weakened immune systems.

Vismodegib (Erivedge) is a targeted drug that has been shown to lower the number of new BCCs and to shrink existing tumors in people with basal cell nevus syndrome. This drug can have side effects, including taste loss and muscle cramps, which can make it hard for people to take it every day.

side by side logos for American Cancer Society and American Society of Clinical Oncology

Developed by the American Cancer Society medical and editorial content team with medical review and contribution by the American Society of Clinical Oncology (ASCO).

Breglio KF, Knox KM, Hwang J, et al. Nicotinamide for Skin Cancer Chemoprevention. JAMA Dermatol. 2025;161(11):1140-1147. doi: 10.1001/jamadermatol.2025.3238. Erratum in: JAMA Dermatol. 2025 Nov 1;161(11):1195.

National Cancer Institute. Genetics of Skin Cancer (PDQ®)–Health Professional Version. 2025. Accessed at https://www.cancer.gov/types/skin/hp/skin-genetics-pdq on June 2, 2026.

Silverberg MJ, Leyden W, Warton EM, et al. HIV infection status, immunodeficiency, and the incidence of non-melanoma skin cancer. J Natl Cancer Inst. 2013;105:350-360.

Wu PA. Basal cell carcinoma: Epidemiology, pathogenesis, clinical features, and diagnosis. UpToDate. 2026. Accessed at https://www.uptodate.com/contents/basal-cell-carcinoma-epidemiology-pathogenesis-clinical-features-and-diagnosis on June 1, 2026.

Xu YG, Aylward JL, Swanson AM, et al. Chapter 67: Nonmelanoma Skin Cancers. In: Niederhuber JE, Armitage JO, Doroshow JH, Kastan MB, Tepper JE, eds. Abeloff’s Clinical Oncology. 6th ed. Philadelphia, Pa: Elsevier; 2020.

Last Revised: August 11, 2026

American Cancer Society Emails

Sign up to stay up-to-date with news, valuable information, and ways to get involved with the American Cancer Society.