Shingles is caused by the varicella zoster virus, the same virus that causes chickenpox. Â After a person recovers from chickenpox, the virus stays in the body in a dormant (inactive) state. For reasons that are not fully known, the virus can reactivate years later, causing shingles.