Neostigmine acts by inhibiting acetylcholinesterase and preventing the breakdown of acetylcholine. Antinociceptive effects are independent of opioid and a2-receptor systems and are primarily due to stimulation of muscarinic (but not nicotinic) cholinergic receptors.