BackgroundPostoperative pain remains a significant concern following uniportal thoracoscopic surgery. The analgesic efficacy of erector spinae plane block (ESPB) and serratus anterior plane block (SAPB) in terms of postoperative opioid consumption in uniportal thoracoscopic surgery still needs further studies.MethodsA randomized controlled trial was conducted, enrolling 150 patients who underwent uniportal thoracoscopic lobectomy. The patients were randomly allocated to three groups in a 1:1:1 ratio: the ESPB group (administered 20 ml of 0.5% ropivacaine), the SAPB group (administered 20 ml of 0.5% ropivacaine), and the standard care (control) group. The primary endpoint was the consumption of sufentanil during the first 24 h following surgery. Secondary endpoints assessed the area under the curve (AUC) of pain numerical rating scale (NRS) scores, occurrence of moderate to severe pain, time to initial sufentanil request, and postoperative adverse events.ResultsNo significant difference was observed in the consumption of sufentanil during the first 24 h following surgery between the ESPB and SAPB groups (adjusted difference, 1.53 [95% CI, -5.15 to 2.08]). However, in comparison to the control group, both intervention groups demonstrated a significant decrease in sufentanil consumption, with adjusted differences of -9.97 [95% CI, -13.10 to -6.84] for the ESPB group and -12.55 [95% CI, -15.63 to -9.47] for the SAPB group. There were no significant differences in AUC of NRS scores during rest and movement between the ESPB and SAPB groups, with adjusted differences of -7.10 [95% CI, 1.33 to -15.55] for the rest condition and 5.61 [95% CI, -13.23 to 2.01] for the movement condition. At 6 h postoperatively, there were fewer patients with moderate to severe pain in the ESPB group compared with those in the SAPB group (adjusted difference, -1.37% [95% CI, -2.29% to -0.45%]. The time to first sufentanil request significantly differed among the three groups (ESPB vs Control P < 0.01, SAPB vs Control P < 0.01, ESPB vs SAPB P = 0.015).ConclusionsIn patients undergoing uniportal thoracoscopic lobectomy, although the differences between the two groups are not statistically significant, both the ESPB and SAPB demonstrate effective reduction in postoperative opioid consumption and the need for rescue analgesics compared to the control group. Moreover, the ESPB group experienced a significantly lower incidence of moderate to severe pain at 6 h postoperatively compared to the SAPB group.Trial registrationThe study was registered in the Chinese Clinical Trial Registry (registration No: ChiCTR1900021695, Date of registration: March 5th, 2019).