Multiple studies have shown that early decompressive surgery in patients with intracerebral hemorrhage can effectively limit hematoma expansion, reduce perihematomal edema, and improve prognosis. However, these studies are limited by small sample sizes and short follow-up times. To analyze the effect of early decompressive surgery on the long-term prognosis of patients with cerebral hemorrhage and identify the influencing factors for poor prognosis. A retrospective analysis of 78 patients with cerebral hemorrhage admitted between January 2020 and December 2022 was conducted. Patients were divided into early and delayed surgery groups for comparison of outcomes such as mortality rate, modified Rankin Scale score, and Short Form-36 scores. Additionally, factors influencing long-term prognosis were analyzed through logistic regression based on significant differences observed between groups. The early decompressive surgery group showed superior outcomes with lower mortality rates, modified Rankin Scale (mRS) scores, hematoma expansion rates, and perihematomal edema volumes compared to the delayed surgery group (P< 0.05). Additionally, age, preoperative Glasgow Coma Scale (GCS) score, preoperative hematoma volume, and a history of hypertension or diabetes were identified as independent prognostic factors for patients with cerebral hemorrhage, with odds ratios (ORs) greater than 1. Early decompressive surgery can improve the long-term prognosis and quality of life of patients with cerebral hemorrhage, reduce mortality rates, and decrease hematoma expansion and perihematomal edema. Older patients, those with higher preoperative hematoma volume and GCS score, and those with coexisting hypertension and diabetes should be given special attention to decrease the occurrence of adverse prognosis.