BackgroundNeutrophil-to-lymphocyte ratio (NLR) and platelet-to-lymphocyte ratio (PLR) play an important role in the inflammatory response in various diseases, but the role in the course of spontaneous intracerebral hemorrhage (ICH) is unclear.MethodsThis study retrospectively collected baseline characteristics and laboratory findings, including NLR and PLR at different time points, from spontaneous ICH patients undergoing surgery between January 2016 and June 2021. Patients were scored using the modified Rankin Scale (mRS) to evaluate their functional status at 30 days post-operation. Patients with mRS score ≥3 were defined as poor functional status, and mRS score <3 was defined as good functional status. The NLR and PLR were calculated at admission, 48 h after surgery and 3–7 days after surgery, respectively, and their trends were observed by connecting the NLR and PLR at different time points. Multivariate logistic regression analysis was used to identify independent risk factors affecting the prognosis of ICH patients at 30 days after surgery.ResultsA total of 101 patients were included in this study, and 59 patients had a poor outcome at 30 days after surgery. NLR and PLR gradually increased and then decreased, peaking at 48 h after surgery. Univariate analysis demonstrated that admission Glasgow Coma Scale (GCS) score, interval from onset to admission, hematoma location, NLR within 48 h after surgery and PLR within 48 h after surgery were associated with poor 30-day prognosis. In multivariate logistic regression analysis, NLR within 48 h after surgery (OR, 1.147; 95% CI, 1.005, 1.308; P, 0.042) was an independent risk factor for 30-day after surgery prognosis in spontaneous ICH patients.ConclusionIn the course of spontaneous intracerebral hemorrhage, NLR and PLR initially increased and subsequently decreased, reaching their peak values at 48 h after surgery. High NLR within 48 h after surgery was an independent risk factor for poor prognosis 30 days after surgery in spontaneous ICH patients.