Despite the availability of effective vaccines, hepatitis B virus (HBV) infection is still commonly seen worldwide. Several reports show that the human major histocompatibility complex (MHC) systems were involved in the elimination of HBV via the restrictive antigen-processing pathway. We investigate whether LMP/TAP gene polymorphisms coded by MHC-II region were associated with HBV infection. A total of seven polymorphisms of LMP/TAP gene were identified by polymerase chain reaction (PCR) restriction fragment length polymorphism (RFLP) assays. Three hundred fifty-six patients and 326 unrelated healthy volunteers were included in the case-control study. Of the seven polymorphisms, three of which (LMP7 codons 145, TAP1 codons 637, and TAP2 codons 651) were observed to have statistically significant association with HBV infection (P < 0.05). We analyzed the three-locus haplotype constructed with three such polymorphisms and found that the frequency of haplotypes D and E increased significantly in patients, in comparison with that in controls (OR = 3.57, 95% CI: 2.09-6.12, P < 0.001; OR = 2.74, 95% CI: 1.35-5.56, P = 0.005, respectively). The results imply that LMP7-145, TAP1-637, and TAP2-651 sites were associated with the risk of HBV infection. Haplotypes D and E might be involved in the development of HBV infection. These data suggest a potential role of LMP/TAP gene as a candidate gene for susceptibility to HBV infection.