Herein, the numbers of CD4+ cells and the contents of IL-2 of both groups two and four weeks after treatment significantly exceeded those before treatment (P < 0.05), with significant inter-group differences also (P < 0.05), indicating that foscarnet sodium effectively suppressed viral infection and proliferation by regulating immune and inflammatory mechanisms. Here, CD4 is linked to viral infectious disease.