Stimulating the motor cortex can reduce pain by modulating brain activities in the areas involved in cerebral circuits controlling pain, such as thalamus, facilitating the descendant inhibitory mechanisms and enhancing the number of opiates receptors.