Shingles is a viral infection that causes a painful rash. Shingles can occur anywhere on your body. Shingles is caused by the varicella-zoster virus, the same virus that causes chickenpox.