Shingles Treatment and Prevention: Medication and Vaccination

“People with shingles almost always have a rash around [either] the left or right side of the body,” though both sides may be affected in immunocompromised people, says Dushyantha T. Jayaweera, MD, an infectious disease specialist and professor at the University of Miami’s Miller Medical School in Miami, Florida. “[It] is usually painful, itchy, or tingly.”
But shingles and its potential complications are almost always avoidable. “Do not wait for [an infection] to happen,” says Jayaweera. “This is almost always preventable [if you] vaccinate early.”
Next up video playing in 10 seconds
Shingles Vaccine: What You Need to Know
Prevention
Medication
- acyclovir
- famciclovir
- valacyclovir (Valtrex)
“This is an emergency, because if it progresses, it can involve the eye itself and threaten sight,” says Andrew Tout, MD, an internal medicine specialist at Northwestern Medicine in Chicago.
“Treatment is initially with high-dose [oral] antiviral medication that is reduced slowly over the course of weeks to months under the close supervision of an ophthalmologist. Anti-inflammatory eye drops may also be used.”
Treating herpes zoster ophthalmicus promptly — within 72 hours — can reduce the chances of eye-related complications by about 50 percent compared with no treatment, Dr. Tout says, but there’s still a small chance of significant vision loss.
Before taking any medication for shingles, be sure to talk to your doctor about possible side effects.
Pain Management
“Shingles can be very, very painful,” says Tout. “The pain is related to inflammation of the nerves and is often described as burning, throbbing, stabbing, or an electric-shock sensation.”
- Acetaminophen (Tylenol)
- Nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen (Advil, Motrin) or naproxen (Aleve)
- Capsaicin topical patch (Qutenza)
- Anticonvulsant drugs such as gabapentin (Neurontin, Gralise) and pregabalin (Lyrica)
- Tricyclic antidepressants such as amitriptyline and nortriptyline (Pamelor)
- Numbing medications such as lidocaine
- Opioids such as tramadol, oxycodone, or morphine
- An injection of corticosteroids and local anesthetic
- Oral corticosteroids
“[W]hile [pain medications] can be somewhat helpful, they often have drawbacks, especially in older adults or individuals with certain health conditions like diabetes,” Tout says. “Starting antiviral medication promptly has been shown to reduce the severity and duration of time with shingles-related pain, but it doesn't make the pain medications themselves work better.”
“Like the pain-relieving treatments for shingles itself, the medications we use for treating postherpetic neuralgia are less effective than we would like and can often come with side effects,” Tout says.
“It is expected [you’ll] need less and less pain medications over time, and most people experience resolution by three months. However some [people], most commonly older individuals, can experience pain for up to two years or even longer.”
The Takeaway
- Shingles (herpes zoster), a viral infection that causes a painful rash, can be prevented by getting vaccinated, or treated within 72 hours with antivirals and other medications, to prevent complications.
- In addition to antivirals, shingles symptoms like pain are treated using over-the-counter or prescription pain medications, antidepressant and anticonvulsant drugs that alter pain signaling or responses, corticosteroids (steroids), and antibiotics, if needed.
- Most of the same medications are used to treat complications of shingles, such as eye involvement and lingering nerve pain.
Additional reporting by Carlene Bauer and Laura Casey.
- Shingles. Cleveland Clinic. December 11, 2024.
- Shingles (Herpes Zoster) Fact Sheet. District of Columbia Department of Health.
- 5 Facts About Shingles. UCLA Health. May 3, 2022.
- Greene J. Study Confirms Significant Waning of Original Shingles Vaccine Over 10 Years. Kaiser Permanente. November 8, 2023.
- Shingles (Herpes Zoster). Harvard Health Publishing. January 27, 2026.
- Lal H et al. Efficacy of an Adjuvanted Herpes Zoster Subunit Vaccine in Older Adults. The New England Journal of Medicine. May 28, 2015.
- Cunningham AL et al. Efficacy of the Herpes Zoster Subunit Vaccine in Adults 70 Years of Age or Older. The New England Journal of Medicine. September 15, 2016.
- Strezova A et al. Final Analysis of the ZOE-LTFU Trial to 11 Years Post-Vaccination: Efficacy of the Adjuvanted Recombinant Zoster Vaccine Against Herpes Zoster and Related Complications. eClinicalMedicine. May 2025.
- Shingles Vaccination. Centers for Disease Prevention and Control. August 19, 2025.
- Kim SH. Current Scenario and Future Applicability of Antivirals Against Herpes Zoster. The Korean Journal of Pain. January 1, 2023.
- Postherpetic Neuralgia: Symptoms and Causes. Mayo Clinic. February 10, 2023.
- Minor M et al. Herpes Zoster Ophthalmicus. StatPearls. September 14, 2025.
- Morrill J. What Is Shingles: Symptoms, Causes, Treatment, and Vaccine Guide. NewYork-Presbyterian. October 14, 2025.
- Shingles: Diagnosis and Treatment. Mayo Clinic. August 20, 2022.
- Lim DZJ et al. Herpes Zoster and Post-Herpetic Neuralgia: Diagnosis, Treatment, and Vaccination Strategies. Pathogens. July 16, 2024.
- Postherpetic Neuralgia: Diagnosis and Treatment. Mayo Clinic. February 10, 2023.

Jacquelyn Dosal, MD
Medical Reviewer
Jacquelyn Dosal, MD, is a board-certified dermatologist practicing at The Dermatology House in Park City, Utah. Her areas of expertise include acne, rosacea, integrative treatments...

Cathy Cassata
Author
Cathy Cassata is a freelance writer who specializes in stories about health, mental health, medical news, and inspirational people. She writes with empathy and accuracy, and has a ...