The method disclosed herein entails spinal cord stimulation via electrodes placed directly into the dorsal horn, dorsal column, spinothalamic tract, nucleus cuneatus, nucleus gracilis, spinal tract of V, or spinal nucleus of V (nucleus caudalis) depending on the source of pain. This “intramedullary” stimulation “jams” or otherwise prevents the pain signal from being transmitted. The method provides a means to stimulate the targeted area directly, creating a stable means of stimulating the desired area, and decreasing stimulation of other structures.