Objective To investigate the efficacy of robotic stereotactic puncture hematoma drainage in the treatment of spontaneous cerebral hemorrhage in the basal ganglia region.Methods A total of 71 patients with spontaneous cerebral hemorrhage in the basal ganglia region were selected from the Second People's Hospital of Anhui Province from January 2019 to October 2023,and were divided into two groups based on the randomized number table method,the control group(36 cases,craniotomy)and the experimental group(35 cases,robotic stereotactic puncture hematoma drainage).The therapeutic effects of the two groups were compared and analyzed.Results Postoperative neurological function was substantially enhanced in the experimental group compared to the control group in all cases(P<0.05).The hematoma of the experimental group was significantly reduced compared with the control group at1 week postoperatively.Postoperatively,the total effective rate of both groups was above 90.00%(P>0.05).The proportion of postoperative complications in the experimental group was significantly lower than that in the control group(P<0.05).Compared with the control group,the Glasgow outcome scale(GOS)was obviously higher and the modified Rankin scale(mRS)was appreciably lower in the experimental group at 3 and 6 months after surgery(P<0.05).Conclusions Robotic stereotactic puncture hematoma drainage effectively enhances neurological function and reduces hematoma size in postoperative patients with spontaneous cerebral hemorrhage in the basal ganglia region,while considerably improving complications and long-term prognosis.