Percutaneous nephrolithotomy (PNL) is the preferred surgical procedure for treating renal stones larger than 2 cm. Patients may experience significant pain in the postoperative period due to factors such as the catheter entry site and tension in the renal capsule. Erector Spinae Plane (ESP) block provides perioperative muscle relaxation and reduces analgesic use. In this study, we investigated the effect of ESP block on postoperative pain scale and quality of recovery in patients undergoing PNL. The study was conducted with a total of 96 patients, with 45 patients receiving the ESP block and 51 patients not receiving the ESP block. Following the surgery, the visual pain scale (VAS) was completed at 0, 2, 6, 12, and 24 h, and the Quality of Recovery-15 (QoR-15) scale along with the willingness scale were completed at the 24-hour mark. The normal distribution of data was evaluated with the Kolmogorov-Smirnov test, histogram, and skewness-kurtosis coefficients. For comparing paired groups, the Student’s T-test was used for normally distributed variables, while the Mann-Whitney U test was used for parameters that did not have a normal distribution. The comparison of postoperative pain, as measured by VAS scores between the groups, revealed statistically significantly lower scores in the ESP block group at 0, 2, 6, 12, and 24 h (p < 0.001, p < 0.001, p < 0.001, p = 0.008, p = 0.010, respectively). Our study results indicated that patients who received the ESP block experienced reduced pain levels and had higher QoR-15 scores compared to those who did not receive the ESP block.