Background Pentazocine produces a wide variety of actions in the treatment of perioperative analgesia. Neostigmine is a cholinesterase inhibitor used to antagonize the residual effects of muscle relaxants and also produces an analgesic effect. Objectives To investigate the analgesic effects of intrathecally injected pentazocine and neostigmine and their interaction. Methods Sprague–Dawley rats were used to test the analgesic effect of pentazocine and neostigmine using the paw formalin pain model and the incision mechanical allodynia model. Pentazocine (3, 10, 30, and 100 μg), neostigmine (0.3, 1, 3, and 10 μg) or a pentazocine-neostigmine mixture were separately injected to evaluate their antinociceptive effects alone on the treatment groups. The corresponding control group received an intrathecal injection containing the same volume of saline. The formalin pain test, or the plantar incision pain behavior test were performed 30 minutes later. Isobolographic analysis was used to evaluate the interaction between pentazocine and neostigmine. Intrathecally administered selective mu-opioid receptor antagonist CTAP, selective kappa-opioid receptor antagonist nor-Binaltorphimine (nor-BNI), nonselective opioid receptor antagonist naloxone, and muscarinic acetylcholine receptor antagonist atropine were also used to test the possible interaction mechanism. These antagonists were used 30 minutes before the pentazocine and neostigmine mixtures which were intrathecally injected. Results Intrathecally administered pentazocine (3, 10, 30, and 100 μg) and neostigmine (0.3, 1, 3, and 10 μg) alone had a marked dose-related impact on suppressing the biphasic responses in the formalin test. Pentazocine (3, 10, 30, and 100 μg) and neostigmine (0.3, 1, 3, and 10 μg) alone attenuated the mechanical allodynia in a plantar incision model in a dose-dependent manner. Isobolographic analysis revealed that the mixture of intrathecal pentazocine and neostigmine synergistically decreased both phase I and II activity in the formalin test and mechanical allodynia in the plantar incision model. Pretreatment of intrathecally administered nor-BNI, naloxone, atropine, but not CTAP, antagonized the analgesic effect of the pentazocine-neostigmine mixture. Conclusions All of these results suggest that the combined application of pentazocine and neostigmine is an effective way to relieve pain from formalin and acute incision mechanical allodynia. The synergistic effect between pentazocine and neostigmine is mostly attributed to the kappa-opioid receptor and the cholinergic receptor in the spinal cord.