ObjectiveThe purpose of this study was to compare the analgesic effects of intercostal nerve block (ICNB) and local anesthetic infiltration (LAI) on postoperative pain and recovery following thoracoscopic resection of pulmonary bullae.MethodsA total of 160 patients undergoing thoracoscopic pulmonary bullae resection were randomly assigned to receive either ICNB (n = 80) or LAI (n = 80). An experienced anesthesiologist administered ultrasound guided ICNB at the T4 and T7 levels with 5 mL of 0.375% ropivacaine hydrochloride for the ICNB group. Instead, the LAI group received 10 mL of the same concentration of ropivacaine hydrochloride at the same concentration used for ICNB for infiltration anesthesia at the incision sites. Out of the initial cohort, 146 patients completed the study (ICNB group, n = 71; LAI group, n = 75). The collected data included preoperative clinical characteristics, visual analog scale (VAS) scores for pain at various time points post-surgery (6, 12, 24, 48, and 72 h). Additionally, the Quality of Recovery-15 (QoR-15) questionnaire was administered 24 h after surgery, and sleep quality was evaluated using the Pittsburgh Sleep Quality Index (PSQI).ResultsNo significant differences were found in drainage volume, use of additional analgesics, duration of chest tube placement, or hospital stay between the two groups. However, the ICNB group had significantly lower VAS scores and QoR-15 scores 24 h postoperatively (p < 0.05), indicating better pain management and recovery. The ICNB group also reported better sleep quality, as reflected by lower PSQI scores.ConclusionICNB provides superior analgesia compared to LAI after thoracoscopic resection of pulmonary bullae, significantly improving postoperative recovery.