Postherpetic neuralgia (PHN) is a chronic pain condition that occurs after a shingles outbreak. Shingles is an infection caused by the varicella-zoster virus, the same virus that causes chickenpox. PHN is characterized by persistent pain in the area where the shingles rash was located, lasting for months or even years after the rash has healed.