ICD-10 Code for Shingles (Herpes Zoster)
The ICD-10-CM code for herpes zoster (shingles) is B02.x, where the "x" represents additional characters that specify the anatomical location or complication of the infection.
Primary Code Structure
The base code B02 identifies herpes zoster infection 1, 2. This code requires additional specificity through fourth and sometimes fifth characters to accurately capture the clinical presentation:
Common ICD-10-CM Codes for Shingles:
- B02.9 - Zoster without complications (uncomplicated shingles)
- B02.2x - Zoster with other nervous system involvement
- B02.3x - Zoster ocular disease (herpes zoster ophthalmicus)
- B02.7 - Disseminated zoster
- B02.8 - Zoster with other complications
- B02.21 - Postherpetic geniculate ganglionitis
- B02.22 - Postherpetic trigeminal neuralgia
- B02.23 - Postherpetic polyneuropathy
- B02.24 - Postherpetic myelitis
- B02.29 - Other postherpetic nervous system involvement
Clinical Context for Coding
When coding for shingles, the position of the diagnosis matters significantly for administrative purposes. Research demonstrates that when herpes zoster is listed as the primary diagnosis, the positive predictive value is 89% compared to only 27% when listed as a secondary diagnosis 1. This has important implications for accurate disease surveillance and reimbursement.
Key Coding Considerations:
- Active disease at admission: Use B02.x as primary diagnosis when shingles is the reason for hospitalization 1
- Hospital-acquired zoster: Code appropriately when HZ develops during hospitalization (accounts for ~23% of HZ hospitalizations) 1
- Complications: Use specific B02.2x codes when postherpetic neuralgia or other neurological complications are present 1
Validation and Documentation
The accuracy of HZ coding can be enhanced by documenting:
- Antiviral prescription within 7 days of diagnosis (combining ICD-10 code B02.2x with antiviral use achieves 100% positive predictive value) 1
- Dermatomal distribution of the characteristic vesicular rash 3
- Unilateral presentation with pain preceding skin findings by 24-72 hours 3
For immunocompromised patients (including those with HIV, transplant recipients, or cancer patients), the same B02.x codes apply, but additional codes for the underlying immunocompromising condition should be included as secondary diagnoses 3, 4.
Special Populations
In pediatric patients, the same ICD-10 code structure (B02.xx) applies with a positive predictive value of 91.7% for definitive/probable cases 2. The most common complication in children is zoster ophthalmicus (B02.3x), occurring in approximately 48% of complicated cases 5.
For healthcare personnel with localized herpes zoster, work restrictions apply until all lesions dry and crust, regardless of the specific B02.x code used 6.