Objective To explore the influence of immunological levels on prognosis in children with refractory mycoplasma pneumonia.Methods A retrospective study was conducted on 57 children with refractory mycoplasma pneumonia admitted to the Second Hospital of Longyan City from June 2021 to April 2022.According to different prognosis,they were divided into the good prognosis group(n=46)and the poor prognosis group(n=11).The cellular immunity,humoral immunity,white blood cells(WBC)and C-reactive protein(CRP)levels of the two groups were compared.Multivariate logistic regression analysis was used to investigate the impact of immunological levels on prognosis in children with refractory mycoplasma pneumonia.Results CD4+,CD4+/CD8+in the good prognosis group were higher than those in the poor prognosis group,and CD8+,immunoglobulin(Ig)G,IgE,IgA,WBC and CRP were lower than those in the poor prognosis group,with statistical significance(P<0.05).Multivariate logistic regression analysis showed that CD4+(OR=3.582,95%CI=2.482-6.313),CD4+/CD8+(OR=6.413,95%CI=5.682-8.452),CD8+(OR=4.083,95%CI=3.235-4.572),IgG(OR=1.034,95%CI=0.283-4.394),IgE(OR=1.593,95%CI=1.241-1.786),IgA(OR=1.246.95%CI=0.987-1.583),WBC(OR=1.692,95%CI=1.212-1.889),C RP(OR=1.326,95%CI=1.021-1.984)were all immune level factors for prognosis of children with refractory mycoplasma pneumonia(P<0.05).Conclusion Abnormal expression of cellular and humoral immunity in children with refractory mycoplasma pneumonia can predict prognosis and provide reference for clinical diagnosis and treatment.