Objective To investigate the application effect of oxycodone combined with dexmedetomidine for quadratus lumborum block in laparoscopic radical resection of rectal cancer. Methods Ninety⁃eight patients with rectal cancer scheduled for laparoscopic radical resection of rectal cancer were randomly divided into control group or combination group, with 49 cases in each group. The control group received conventional general anesthesia, based on which the combination group received quadratus lumborum block with oxycodone and dexmedetomidine. Perioperative indices, hemodynamic indicators, Visual Analogue Scale (VAS) score for pain, stress response indices, and the incidence rate of postoperative adverse reactions were compared between the two groups. Results Patients in the combination group exhibited earlier postoperative out⁃of⁃bed time and first exhaust time compared to the control group (P<0.05). The mean arterial pressure (MAP) in the combination group was lower than that in the control group after anesthesia induction and during pneumoperitoneum establishment, while the heart rate was lower during pneumoperitoneum establishment and intestinal anastomosis (P<0.05). Postoperative VAS scores for pain at 4 and 8 hours were lower in the combination group than in the control group (P<0.05). At 24 hours post⁃surgery, levels of serum superoxide dismutase, norepinephrine, and cortisol were lower in the combination group compared to the control group (P<0.05). The overall incidence rate of postoperative adverse reactions was lower in the combination group than in the control group (P<0.05). Conclusion On the basis of general anesthesia, the use of oxycodone combined with dexmedetomidine for quadratus lumborum block in laparoscopic radical resection of rectal cancer can stabilize intraoperative hemodynamic indices, effectively relieve postoperative pain, promote postoperative recovery, alleviate surgical stress response and reduce the occurrence of postoperative adverse reactions in patients.