TLR3 and IL-10 play a crucial role in antiviral defence. However, there is a controversy between TLR3 rs3775291 and IL-10 rs1800871 polymorphisms and the risk of hepatitis B virus (HBV) infection. The purpose of this study is to explore the relationship between the two single nucleotide mutations and the risk of HBV infection by meta-analysis. Medline, EMBASE, Web of Science, CNKI, China Wanfang database were searched for the case-control studies on the relationship between TLR3 rs3775291 and IL-10 rs1800871 polymorphism and susceptibility to HBV, updated to June 2020. The data were analysed by Stata 15.0 software. A total of 22 articles were included. The results showed that in the analysis of IL10 rs1800871 polymorphism and the risk of HBV infection, the pooled OR was 1.21 (95% CI 1.06–1.37), 1.28 (95% CI 1.04–1.56) and 1.20 (95% CI 1.06–1.37) and 1.40 (95% CI 1.07–1.83) in the allele model (C vs. T), dominant model (CC+CT vs. TT), recessive model (CC vs. CT+TT) and homozygous model (CC vs. TT), respectively. There was no statistical significance in the heterozygote model. A subgroup analysis of the Asian population showed similar results. The analysis of TLR3 rs3775291 polymorphism and the risk of HBV showed that in the allele model (T vs. C), the pooled OR was 1.30 (95% CI 1.05–1.61). Except for the recessive model, no significances were found in other genetic models. In conclusion, TLR3 rs3775291 and IL-10 rs1800871 polymorphisms are associated with the risk of HBV. Allele C and genotype CC at IL10 rs1800871 loci, as well as allele T and genotype TT at TLR rs3775291 loci, may increase susceptibility to Hepatitis B infection.