What Causes Shingles?

Close-up of middle-aged woman scratching forearm

Sawitree Pamee / EyeEm / Getty Images

Shingles, also known as herpes zoster (HZ), is a viral disease that causes a painful skin rash. 

Typically, a shingles rash appears on only one side of the face or body. Most people will notice itching and pain before a rash with blisters that scabs over in 7–10 days. In severe cases, shingles causes a condition called postherpetic neuralgia (PHN)–persistent nerve pain in the area where the rash used to be. Rarely, shingles can lead to complications like pneumonia, vision or hearing loss, or encephalitis (inflammation of the brain). 

Shingles is caused by the varicella-zoster virus (VZV), which also causes chickenpox. After you have chickenpox—which may happen during childhood, but not always—the virus lies latent (inactive) in your body. However, it can be reactivated as shingles later in life, especially if your immune system is weakened. Anyone who has ever had chickenpox can get shingles, even if they didn’t have symptoms at the time.

In the United States, about 1 in 3 people will develop shingles at some point.

Who Gets Shingles?

Anyone who has had chickenpox or the chickenpox vaccine can get shingles. About 1 million people in the U.S. are diagnosed with shingles each year. However, some people are more likely to develop shingles than others.

The following may affect your chance of getting shingles and shingles-related health complications:

  • Age: Your risk of shingles goes up as you age. Most people who get shingles are in their 50s or older, and around 50% of shingles cases are diagnosed in adults ages 60 and up. Up to half of people ages 85 and over will be diagnosed with shingles at some point.
  • Sex: Shingles tends to be more common in women, making up nearly 60% of cases.
  • Ethnicity: Some studies suggest shingles is more common in people of non-Hispanic white ancestry.

Varicella-zoster Virus Is Contagious

If you have shingles, you should keep your rashes and blisters covered to prevent spreading VZV to other people. They can develop chickenpox if they’ve never had chickenpox or the chickenpox vaccine. Be especially conscientious of:

  • Pregnant women
  • Babies under 12 months
  • Anyone who is sick or immunocompromised, especially with cancer or human immunodeficiency virus (HIV)

Is Shingles Genetic?

It’s still unclear how genetic factors affect your chance of developing shingles. But some research suggests that having certain genetic variants or a family history of shingles may increase your risk.

For example, in a 2016 meta-analysis of over 2000 reported cases of shingles, people with shingles were three times more likely to report a family history of it. What’s more, when people had more than one first-degree relative (a parent, sibling, or child) with a history of shingles, they were almost three times more likely to get it, compared to people with only one first-degree relative who had shingles.

Also, researchers have identified a potential gene variant for an immune molecule called the human leukocyte antigen (HLA). This gene is known as HCP5 (HLA Complex P5). Your HLA type can be tested with a blood test or cheek swab. Having certain variations of this gene may help prevent developing shingles—specifically in some people with European ancestry. However, more research is needed to explore other genetic variants that may be linked to your risk for shingles.

Risk Factors

Anyone who is immunocompromised (has a weakened immune system)—whether from certain health conditions or treatments—has a higher risk of developing shingles. They also have a higher risk of hospitalization, severe complications, and (rarely) death from shingles.

The following are risk factors for shingles and related complications:


People who have or recently had cancer are at a greater risk of developing shingles and are more likely to be hospitalized for severe complications. The risk of shingles is greatest in the year after a cancer diagnosis. 

Studies have found that people with cancer are 40% more likely to get shingles. Particularly, people with blood cancer, such as leukemia or lymphoma, have a higher risk compared to those with solid organ cancer–such as breast cancer or colon cancer.

Human Immunodeficiency Virus (HIV)

People with human immunodeficiency virus (HIV) are approximately 12–17 times more likely to get shingles than people without HIV. HIV severely weakens the immune system’s ability to fight viruses and other invaders. 

If you have shingles and present with uncommon symptoms, your healthcare provider may test you for HIV.


Type 1 or type 2 diabetes– are conditions that limit your body’s production of insulin (a hormone that regulates blood sugar). People with diabetes are 1.6 times more likely than people without diabetes to develop shingles.

Immunosuppressive Treatments

Any medication or treatment that suppresses your immune function may put you at a greater risk of getting shingles.

These treatments may include immunosuppressants (such as steroids), which are a type of medication that prevent immune system activity and are often used to treat autoimmune disorders (conditions that cause your immune system to be over-reactive, attacking certain parts of your body). If you’re undergoing chemotherapy or radiation therapy, or if you recently had an organ or bone marrow transplant, you may also be at greater risk for developing shingles.

Physical Trauma

There may be a link between getting shingles and recent physical trauma. A 2013 study found that people with shingles were over three times more likely to have experienced physical trauma in the week before their diagnosis. In general, the risk for developing shingles was higher for physical trauma involving open wounds, sprains or strains, and head or neck injury.


Some studies indicate that stressful events could increase the risk of getting shingles, especially if you’re over 50 years old. However, research is ongoing.

Shingles Vaccine

The CDC recommends the shingles vaccine, Shingrix, for adults over 50 or for adults aged 19 and older with weakened immune systems. The vaccine requires two doses that are administered two to six months apart.

A Quick Review

Shingles, also called herpes zoster, is a painful skin rash caused by a reactivation of the varicella-zoster virus—the virus that causes chickenpox. You can get shingles if you’ve ever had chickenpox or the chickenpox vaccine. You can get shingles at any age, but you’re more likely to if you’re over 50 years old. Women may also be somewhat more likely to develop shingles. 

Other risk factors for shingles include having other conditions like diabetes, cancer, and HIV, as well as experiencing stress and physical trauma. People who are immunocompromised are also more at risk.

Was this page helpful?
19 Sources
Health.com uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. MedlinePlus. Shingles.

  2. Centers for Disease Control and Prevention. Shingles (herpes zoster): Signs and symptoms.

  3. Centers for Disease Control and Prevention. Shingles (herpes zoster): Complications of shingles.

  4. Centers for Disease Control and Prevention. Shingles (herpes zoster): Clinical overview.

  5. Centers for Disease Control and Prevention. Shingles (herpes zoster).

  6. MedlinePlus. Chickenpox and shingles tests.

  7. National Institute on Aging. Shingles.

  8. Zachariah S, Sullivan A, Donato A. Shingles: A harbinger of chronic HIV infection. J Community Hosp Intern Med Perspect. 2021;11(6):871-873. doi:10.1080/20009666.2021.1969080

  9. Lai YC, Yew YW. Risk of herpes zoster and family history: A meta-analysis of case-control studies. Indian J Dermatol. 2016;61(2):157-62. doi:10.4103/0019-5154.177748

  10. MedlinePlus. Genetics: Shingles.

  11. Marra F, Parhar K, Huang B, Vadlamudi N. Risk factors for herpes zoster infection: A meta-analysis. Open Forum Infect Dis. 2020;7(1). doi:10.1093/ofid/ofaa005

  12. Centers for Disease Control and Prevention. Shingles (herpes zoster): Transmission.

  13. MedlinePlus. Genetics: shingles.

  14. Crosslin DR, Carrell DS, Burt A, et al. Genetic variation in the HLA region is associated with susceptibility to herpes zoster. Genes Immun. 2015;16(1):1-7. doi:10.1038/gene.2014.51

  15. Qian J, Heywood AE, Karki S, et al. Risk of herpes zoster prior to and following cancer diagnosis and treatment: A population-based prospective cohort study. J Infect Dis. 2019;220(1):3-11. doi:10.1093/infdis/jiy625

  16. Lai SW, Liu CS, Kuo YH, Lin CL, Hwang BF, Liao KF. The incidence of herpes zoster in patients with diabetes mellitus: A meta-analysis of cohort studies. Medicine (Baltimore). 2021;100(16):e25292. doi:10.1097/MD.0000000000025292

  17. Zhang JX, Joesoef RM, Bialek S, Wang C, Harpaz R. Association of physical trauma with risk of herpes zoster among Medicare beneficiaries in the United States. J Infect Dis. 2013;207(6):1007-1011. doi:10.1093/infdis/jis937

  18. Kang H, Crimmins E, Ailshire J. Stress is a risk factor for shingles among older adults. Innov Aging. 2020;4(Suppl 1):399. doi:10.1093/geroni/igaa057.1283

  19. Centers for Disease Control and Prevention. Shingles (herpes zoster): Vaccination.

Related Articles