In order to reduce the consequences of narcotic-related side effects and provide effective analgesia after craniotomy, we conducted a randomized trial to compare the analgesic efficacy of preemptive scalp infiltrations with 1% lidocaine and 0.5% ropivacaine on the postoperative pain.