Hepatitis B virus (HBV) infection is a severe public health problem worldwide. The relationship between polymorphisms of autophagy‐related 16‐like 1 gene (ATG16L1) and autophagy‐related gene 5 (ATG5) with susceptibility to the stage of HBV infection has been reported in different populations. Nevertheless, this association is not seen in the population of central China. This study recruited 452 participants, including 246 HBV‐infected patients (139 chronically infected HBV without hepatocellular carcinoma [HCC] and 107 HBV‐related HCC patients) and 206 healthy controls. Genotyping of ATG16L1 rs2241880 and ATG5 rs688810 were performed using Sanger sequencing and polymerase chain reaction‐restriction fragment length polymorphism, respectively. Our results indicated that the G allele of ATG16L1 rs2241880 was more frequent in healthy controls than in patients with chronicHBV infection. After adjusting for age and sex, an association between the ATG16L1 rs2241880 polymorphism and HBV infection was significant under the dominant and allele models (p = 0.009 and 0.003, respectively). However, no association between the ATG5 polymorphisms and HBV infection was observed. We also did not find a significant association between ATG16L1 and ATG5 polymorphisms and the progression of HBV‐related HCC. Therefore, the genetic polymorphism of ATG16L1 rs2241880 may be associated with susceptibility to HBV infection in the population of central China.