There were significant differences in erythrocyte, hemoglobin, hematocrit, albumin, globulin, creatinine, IgG, IgG/IgM ratio, CD4+ T-lymphocytes, CD19-lymphocytes, CD4+/CD8+ ratio, platelet/lymphocyte ratio, CD19/CD3 ratio, and clinical infection events between the chronic insomnia group and the control group (p < 0.05). The gene discussed is CD19; the disease is infection.