The aim of the present study was to investigate the T cell immune function in chronic hepatitis B hepatocirrhosis patients at the compensated and decompensated stage following treatment with adefovir dipivoxil. A total of 104 patients diagnosed with hepatitis B hepatocirrhosis during the period from October 2013 to October 2014 were enrolled in the study. Among the cases, there were 56 cases at compensated stage, and another 48 at decompensated stage. Adefovir dipivoxil was administered for antiviral therapy (10 mg/time, 1 time/day, for a total of 24 weeks), and we compared the virus disappearance rate, liver function improvement and T cell immune function between the two groups before and after treatment. The difference between the virus disappearance rate in the two groups was not statistically significant (P>0.05). The decreased level of ALT decrease in the compensated group was significantly higher than that in the decompensated group, while the increased level of albumin in the compensated group was significantly higher as well. The differences showed statistical significance (P<0.05). After treatment, the level of CD4+ and CD4+/CD8+ ratio were higher than before treatment, while the level of CD8+ was lower after treatment than before treatment in the two groups. The differences all showed statistical significance (P<0.05). The CD4+CXCR5+ T follicular helper (TFH) cell level in the two groups was higher after treatment, as was interleukin-2 and interferon-γ. The differences all showed statistical significance (P<0.05). As for comparison between groups, the difference had no statistical significance (P>0.05). Adefovir dipivoxil treatment can improve T cell immune function at the compensated and decompensated stages in chronic hepatitis B hepatocirrhosis patients. This may be associated with virus disappearance and liver function improvement.