The results of multi-factor Logistic regression analysis showed that age, CD4+/CD8+ ratio, Treg cell ratio, IL-6, TNF-α, and IL-10 were the independent risk factors for postherpetic neuralgia (p < 0.05). Here, CD4 is linked to postherpetic neuralgia.