Our study suggests that intrahepatic IL17+ T cells played an important role in the development of chronic hepatitis B and that an imbalance between IL-17+ and Foxp3+ T cells in the liver might lead to progression of disease. This evidence concerns the gene IL17A and chronic hepatitis B virus infection.