AIM: To investigate the effects of esketamine on postoperative fatigue syndrome (POFS), recovery quality and cellular immunity in elderly patients undergoing posterior lumbar fusion. METHODS: A total of 128 elderly patients scheduled for posterior lumbar fusion were randomly divided into esketamine group (Esk group, n=64) and normal saline group (NS group, n=64). Both groups underwent MTLIP block under ultrasound guidance before surgery. In the Esk group, 0.25 mg/kg esketamine was injected intravenously during anesthesia induction, followed by continuous infusion at 0.125 mg·kg?1·h?1 until 10 min before the end of surgery. In the NS group, equal-volume normal saline was injected in the same way. The concise perioperative Fatigue Rating Scale (ICFS-10) and Quality of Recovery Scale (QoR-15) were scored 1 day before surgery (D0), 1 day after surgery (D1), 3 days after surgery (D3), 7 days after surgery (D7) and 30 days after surgery (D30), respectively, and the incidence of POFS was analyzed. Peripheral venous blood samples were collected before anesthesia induction (T0), immediately after surgery (T1), 12 hours after surgery (T2), 24 hours after surgery (T3), 48 hours after surgery (T4) and 72 hours after surgery (T5), and the serum levels of IL-6, IL-10, CD3+, CD4+, CD8+ and CD4+/CD8+ were detected. The intraoperative anesthetic drug consumption, extubation time, PACU stay time, postoperative hospital stay, postoperative nausea/vomiting and pain were recorded. RESULTS: Compared with the NS group, the incidence of POFS in the Esk group was significantly decreased on day 1 after surgery (53.3% vs. 32.8%, P=0.022), the ICFS-10 scores of the Esk group were significantly decreased at 1, 3 and 7 days after surgery (P<0.05), the QoR-15 score was significantly increased (P<0.01). The levels of IL-6 and CD8+ were significantly decreased at T1-T2 (P<0.05). The level of IL-10 was significantly increased at T1-T3 (P<0.05). The levels of CD3+, CD4+ and CD4+/CD8+ increased significantly at T1-T4 (P<0.05). The consumption of sufentanil, remifentanil and propofol during operation and the end-tidal concentration of sevoflurane were significantly reduced. The incidence of nausea/vomiting was significantly decreased 48 hours after surgery (P<0.05). The duration of postoperative ventilator assistance, PACU stay and postoperative hospitalization were significantly shortened. CONCLUSION: Esketamine can reduce the incidence of POFS and improve the quality of recovery in elderly patients with posterior lumbar fusion, and its mechanism may be related to inhibiting inflammatory response and improving cellular immune function.