Abstract:〔Abstract〕 Objective To observe the relationship between changes in cellular immune function and virus replication in patients with hepatitis B (HB). Methods A total of 160 HB patients who were admitted to Weishi County People’s Hospital from August 2018 to August 2019 were selected as the research objects. The patients were divided into group A (80 cases) and group B (80 cases), compare the clinical treatment effects of immune function cytokine and the related parameters of liver function between the two groups. Results The CD3+、CD4+ and CD4+ /CD8+ of group A were lower than those of group B, the differences were statistically significant (P < 0.05). Interleukin-4 (IL-4), IL-6, IL-9, IL-10 and other cytokines, liver functions such as alanine aminotransferase (ALT), aspartate aminotransferase (AST), γ-glutamyltransferase (γ-GT), and total bilirubin (TBiL) of group A were all higher than those of group B, and the differences were statistically significant Significance (P < 0.05). Conclusion Increased HB virus replication can further aggravate cellular immune dysfunction and reduce individual liver function.