Our results showed that higher circulating inflammatory cytokine IL-17 and lower IL-1β levels were beneficial for the HBV spontaneous clearance; and higher IL-17 levels were negatively associated with the probability of hepatoma development. Here, IL17A is linked to hepatocellular carcinoma.