Data for this study came from Danish medical registries over a 20-year period for 247,305 people who visited a hospital or were prescribed antiviral medication for herpes zoster and 1,235,890 people who did not have the disease. These individuals were an average age 64. Up to 21 years later, 9.7% of those with vs. 10.3% of those without herpes zoster developed dementia.