We used a case-control study design nested within a large prospective cohort to assess the association between circulating levels of anti-lipopolysaccharide (LPS) and anti-flagellin immunoglobulin A (IgA) and G (IgG) (reflecting long-term exposures to LPS and flagellin, respectively) and risk of hepatocellular carcinoma. This evidence concerns the gene CD79A and hepatocellular carcinoma.