PurposeLocal anesthesia is the most used anesthetic technique for inguinal hernia repair, despite its unpredictability. Selective spinal anesthesia with a short-term local anesthetic guarantees rapid recovery, predictable duration and low incidence of side effects. We tried to assess the efficacy of this neuraxial technique in ambulatory setting.MethodsOne hundred thirty-two ASA I–III, aged > 18 patients scheduled for inguinal hernia repair have been randomized into two groups receiving unilateral spinal anesthesia with 40 mg of hyperbaric prilocaine (group A) or local anesthesia with mepivacaine (group B). Primary endpoint: intraoperative and post-operative NRS. Other outcomes: sensory block onset, need for opiates and deep sedation, surgery duration, and time to discharge.ResultsGroup A: intraoperative NRS was 0 in 100% of patients; post-operative maximum NRS was > 3 in 12.12% of patients. Group B: mean intraoperative NRS was 4; mean post-operative NRS was 2.5. Spinal anesthesia resulted superior in controlling both intraoperative and post-operative pain (p< 0.00001;p= 0.008). Mean time of the motor block resolution in group A was 98 ± 2 min. Mean time to discharge was not significantly different between groups. Surgical time was significantly different between the two groups (mean time of 37 ± 3.2 min group A; 54 ± 6 min group B—p< 0.00001).ConclusionSpinal anesthesia group patients had significantly less pain than local anesthesia group, both intraoperatively and post-operatively, without differences in time to discharge, incidence of complications and with improvement of surgical time. More randomized controlled trials are needed to confirm this hypothesis.Trial registrationNCT05136534. Registered November 29, 2021—Retrospectively registered