Chronic opioid-induced drug dependence and withdrawal syndrome after opioid cessation remain a severe obstacle in clinical treatment of chronic pain and opioid drug addiction. One of the key symptoms during opioid withdrawal is a state of sensitized pain. The most significant molecular adaptation induced by chronic opioids in the brain is upregulation of the cAMP-signaling pathway. Although the cAMP system is known to have multiple effects on central neuron functions, how its upregulation mediates behavioral opioid dependence and withdrawal-induced pain in vivo remains unclear. In this study, we demonstrate that withdrawal from chronic morphine significantly upregulates the mRNA level of adenylyl cyclase (AC) VI and VIII isoforms and immunoreactivity of ACV/VI in the nucleus raphe magnus (NRM), a brainstem site critically involved in opioid modulation of pain. In cellular studies of NRM neurons containing -opioid receptors, we show that morphine withdrawal significantly increases glutamate synaptic transmission via a presynaptic mechanism mediated by an upregulated cAMP pathway. Morphine withdrawal also enhances the hyperpolarization-activated current in these neurons by increased intracellular cAMP. Both of the withdrawal-induced cAMP actions increase the excitability of these -receptorcontaining neurons, which are thought to facilitate spinal pain transmission. Furthermore, in morphine-dependent rats in vivo, blocking the cAMP pathway significantly reduces withdrawal-induced pain sensitization. These results illustrate neurobiological mechanisms for the cAMP-mediated withdrawal pain and provide potential therapeutic targets for the treatment of opioid dependence and withdrawalrelated problems.