ObjectivesWe aimed to compare the risk of herpes zoster (HZ) in adults with and without laboratory-confirmed severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infection. MethodsThis retrospective dynamic cohort study analyzed data from a public healthcare database in Spain between November 2020 and October 2021. The main outcome was incident cases of HZ in individuals ≥18-year-old. Relative risk (RR) of HZ in SARS-CoV-2-confirmed versus SARS-CoV-2-free individuals was estimated by a multivariable negative binomial regression adjusted by age, sex, and comorbidities. ResultsData from 4,085,590 adults were analyzed. The overall HZ incidence rate in adults was 5.76 (95% confidence interval [CI], 5.66-5.85) cases per 1000 person-years. Individuals ≥18-year-old with SARS-CoV-2-confirmed infection had a 19% higher risk of developing HZ versus SARS-CoV-2-free ≥18-year-olds (adjusted RR = 1.19; 95% CI, 1.09-1.29); this percentage was 16% (adjusted RR = 1.16; 95% CI, 1.05-1.29) in ≥50-year-olds. Severe (hospitalized) cases of SARS-CoV-2 infection had a 64% (if ≥18 years old) or 44% (if ≥50 years old) higher risk of HZ versus nonhospitalized cases. ConclusionThese results support an association between SARS-CoV-2 infection and HZ, with a greater HZ risk in severe cases of SARS-CoV-2 infection.