In HBV infected HD patients, anti-HBs development was positively associated with AC rs3212227 IL-12B (OR 8.0, 95 % CI 2.6–24.9, P < 0.001), whereas HBsAg positivity, AA rs3212227 IL-12B (OR 0.3, 95 % CI 0.1–0.7, P = 0.007), and CC rs3212227 IL-12B (OR 0.1, 95 % CI 0.03–0.6, P = 0.011) were negative predictors of positive anti-HBs phenotype. This evidence concerns the gene IL12B and Huntington disease.