Although the overall association between XRCC1 gene Arg399Gln and hepatocellular carcinoma was negative, further stratified analyses revealed that country, sample size, hepatitis B virus infection and source of controls constituted the potential sources of heterogeneity. Here, XRCC1 is linked to hepatitis B virus infection.