Granulysin (GNLY) is found in cytotoxic granules of cytolytic T lymphocytes and natural killer (NK) cells, which are critical for hepatitis B virus (HBV) clearance. GNLY cytotoxicity plays an important role in the defense against viruses or intracellular bacteria. We hypothesized that genetic variation in the GNLY gene could affect the resistance of hosts against HBV infection. We compared the distribution frequencies of GNLY polymorphisms between an HBV-induced chronic liver disease (CLD) group and a spontaneous recovery (SR) control group to determine whether GNLY polymorphisms play a role in HBV clearance. A total of 117 patients in the SR group and 230 patients in the CLD group were enrolled. Samples derived from complex infections, including hepatitis C and human immunodeficiency virus, and those associated with insufficient clinical information (10 samples in SR and 24 samples in CLD) were excluded from the study. The final analysis included 107 SR and 206 CLD samples. DNA was extracted from peripheral blood, and GNLY genotypes were determined by the GoldenGate(®) method. The genotype distribution of the single-nucleotide polymorphisms (SNPs) rs2886767 (C>T), rs1561285 (G>C), and rs11127 (T>C) were significantly different between the SR and CLD groups in a recessive model (p<0.015). These three SNPs were in a complete linkage disequilibrium (LD) block. Diplotype distributions of haplotype (HT) 1 (C-G-T) and HT2 (T-C-C) were significantly different between the SR and CLD groups in a recessive model (p=0.025) and a dominant model (p=0.008). All p-values remained significant after multiple comparisons. GNLY polymorphism genotypes and diplotypes were associated with the chronicity of HBV. These data suggested that genetic variation of GNLY may be an important factor in HBV clearance through the CD8+ T or NK cell-mediated removal of HBV-infected cells from the host.