The frequencies of Th17 in the peripheral blood were significantly higher in the patients with CHB, cirrhosis, and liver failure, compared with HC. The same trend was observed in the serum levels of IL-17. Both peripheral Th17 cells and serum IL-17 correlated positively with ALT and the prothrombin times. This evidence concerns the gene IL17A and liver failure.