Chronic pain caused by spinal cord injury (SCI) is notoriously resistant to treatment, particularly by opioids. After SCI, DRG neurons show hyperactivity and chronic depolarization of resting membrane potential (RMP) that is maintained by cAMP signaling through PKA and EPAC. Importantly, SCI also reduces the negative regulation by Gai of adenylyl cyclase and its production of cAMP, independent of alterations in G protein-coupled receptors and/or G proteins. Opioid reduction of pain depends on coupling of opioid receptors to Gai/o family members. Combining high-content imaging and cluster analysis, we show that in male rats SCI decreases opioid responsiveness in vitro within a specific subset of small-diameter nociceptors that bind isolectin B4. This SCI effect is mimicked in nociceptors from naive animals by a modest 5 min depolarization of RMP (15 mM K 1 ; 245 mV), reducing inhibition of cAMP signaling by l-opioid receptor agonists DAMGO and morphine. Disinhibition and activation of C-Raf by depolarization-dependent phosphorylation are central to these effects. Expression of an activated C-Raf reduces sensitivity of adenylyl cyclase to opioids in nonexcitable HEK293 cells, whereas inhibition of C-Raf or treatment with the hyperpolarizing drug retigabine restores opioid responsiveness and blocks spontaneous activity of nociceptors after SCI. Inhibition of ERK downstream of C-Raf also blocks SCI-induced hyperexcitability and depolarization, without direct effects on opioid responsiveness. Thus, depolarization-dependent C-Raf and downstream ERK activity maintain a depolarized RMP and nociceptor hyperactivity after SCI, providing a self-reinforcing mechanism to persistently promote nociceptor hyperexcitability and limit the therapeutic effectiveness of opioids.