Self-harm produces a feeling of relief because it triggers the brain’s own painkilling and reward chemistry, creating a neurologically real shift in emotional state. When tissue is damaged, the brain releases endogenous opioids and cannabinoids that dampen pain and, for a brief window, flood reward circuits with the same neurotransmitters involved in pleasure. This is not a character flaw or a sign that someone “enjoys” pain in any ordinary sense. It is the brain’s emergency response system being co-opted to manage emotional distress that feels otherwise uncontrollable. Understanding the biology matters because it replaces shame with clarity and points toward treatments that target the actual mechanisms involved. If you or someone you know is struggling with self-harm, resources like the 988 Suicide and Crisis Lifeline (call or text 988) are available around the clock.
The Brain’s Own Painkillers
Your body manufactures its own versions of opioids and cannabinoids, the same broad classes of chemicals that make drugs like morphine or cannabis feel the way they do. Under normal circumstances, these chemicals help regulate pain, mood, and stress. Research on non-suicidal self-injury (NSSI) has proposed that people who self-harm tend to have lower baseline levels of endogenous opioids, and that the act of self-injury causes a burst of opioid release that temporarily corrects that deficit and regulates negative emotion.1Neuroscience and Biobehavioral Reviews. Endogenous opioids and nonsuicidal self-injury: a mechanism of affect regulation In other words, the relief is chemically genuine. The opioid system does not distinguish between pain from an injury and pain from an emotional crisis; it just responds to tissue damage with a chemical wave designed to help you survive.
The reward part is equally concrete. When pain subsides, whether because an injury heals or because painkillers kick in, the brain treats that relief as a positive event. Neuroimaging and electrophysiology research shows that pain relief activates opioid signaling in the anterior cingulate cortex, fires up dopamine neurons in the midbrain, and releases dopamine in the nucleus accumbens, the same reward hub activated by food, social connection, and addictive drugs.2PubMed Central. Brain Circuits Encoding Reward from Pain Relief Self-harm essentially creates a pain that the brain then gets to relieve, and it is the relief phase that generates the rewarding feeling.
Alongside opioids, the endocannabinoid system plays a parallel role. When you experience acute stress, your brain releases its own cannabis-like compounds, particularly one called 2-AG, in a region called the periaqueductal grey. Research has shown that this endocannabinoid release is responsible for a form of stress-induced pain suppression that operates independently of opioids.3PubMed. An endocannabinoid mechanism for stress-induced analgesia These same endocannabinoids also help shut down the body’s stress-hormone cascade and reduce anxiety-like behavior.4PubMed Central. Neurobiological Interactions Between Stress and the Endocannabinoid System So the chemical cocktail released during self-harm includes at least two overlapping painkilling systems, both of which carry mood-altering side effects that feel like relief.
The Relief That Comes When Pain Stops
There is a distinct psychological phenomenon, separate from the neurochemistry above, that helps explain the “good” feeling: pain-offset relief. In controlled experiments, researchers have found that the moment a painful stimulus is removed, people experience a surge of positive emotion and a simultaneous drop in negative emotion that lasts for at least several seconds.5PubMed. Feeling worse to feel better: pain-offset relief simultaneously stimulates positive affect and reduces negative affect This effect does not require self-harm to demonstrate. Even a stranger squeezing your hand too hard will produce a brief wave of relief when they let go. But in the context of self-injury, it creates a reliable emotional payoff: the person generates pain, the pain stops, and the offset registers as something close to pleasure.
A large web-based study of people with a history of self-injury found that while more participants reported the onset of pain during self-harm than its offset, those who did experience pain offset reported meaningful reductions in emotional pain.6PubMed Central. Pain before, during, and after nonsuicidal self-injury: Findings from a large web study The emotional relief was tied specifically to that transition from pain to no-pain, not to the pain itself. This is a crucial distinction: self-harm does not feel good because the person likes being hurt. It feels good because the brain rewards the moment when the hurt goes away.
A Stress Response That Already Runs Differently
The relief self-harm produces does not happen in a vacuum. People who engage in it typically arrive at the act already carrying a stress system that responds to the world in unusual ways. A meta-analysis of studies measuring physiological stress responses found that people who self-harm have significantly blunted cortisol reactions to stress compared to controls.7PubMed. Physiological stress reactivity and self-harm: A meta-analysis Their cortisol stayed lower during stress and remained lower during recovery, suggesting that the body’s main hormonal stress system was not ramping up the way it should. The same meta-analysis also found evidence for lower baseline activity in the parasympathetic nervous system, the branch responsible for calming you down after a threat passes.
Work specifically in depressed adolescents with NSSI confirmed this pattern: compared to both healthy controls and depressed teens who did not self-harm, those with NSSI showed lower salivary cortisol levels and different cortisol trajectories in response to social stress.8PubMed. Hypothalamic-pituitary-adrenal axis dysregulation in depressed adolescents with non-suicidal self-injury What this implies is that the normal, built-in mechanisms for managing distress are not working as expected. When your stress-hormone system is flat, you lack the natural rise-and-fall of cortisol that helps the brain process and move past an upsetting event. Self-harm may partly function as a way to force a physiological stress response, generating the spike and recovery cycle the body is not producing on its own.
Higher Pain Thresholds and Why That Matters
People who self-harm tend to experience physical pain differently than those who do not. Research consistently shows they have higher pain thresholds, meaning it takes a stronger stimulus before they register something as painful. A recent meta-analysis of studies in young people with self-injurious behavior found a moderately large difference in pain threshold compared to healthy controls.9PubMed. Pain threshold and pain tolerance in young people with self-injurious behavior: A systematic review and meta-analysis Pain tolerance, how long someone can endure pain once it starts, was also higher, though the statistical evidence there was less definitive. Earlier systematic reviews and individual studies had likewise found strong evidence for increased pain tolerance in NSSI specifically.10PubMed. Pain and self-harm: A systematic review11PubMed Central. Thresholds and tolerance of physical pain among young adults who self-injure
This altered pain perception appears to be connected to trauma history. A history of childhood maltreatment and threat can activate the endogenous opioid system in ways that produce chronic numbness and analgesia. The activation of beta-endorphin and related opioid chemicals at mu-opioid receptors, the same receptors targeted by prescription painkillers, contributes to a process sometimes called stress-induced analgesia. This is thought to help explain the “high pain threshold” seen in people who self-harm.12PubMed Central. The relationship between childhood maltreatment and self-harm: the mediating roles of alexithymia, dissociation, internalizing and posttraumatic symptoms In a sense, the same mechanism that makes self-harm feel “good” (the opioid release) also makes it easier to carry out, because the person is already partially numbed to pain before they start.
This creates a troubling feedback loop. Emotional numbness leads someone to self-harm as a way to “feel something,” the act releases opioids that both relieve distress and deepen the pain-suppression process, and over time the threshold shifts further. This is where the neuroscience starts to look worryingly similar to how substance use disorders develop.
Brain Wiring Differences
Neuroimaging studies have identified structural and functional differences in the brains of people who self-harm, particularly in how the amygdala communicates with the rest of the brain. The amygdala is the region most associated with threat detection and emotional responses. In adolescents with NSSI, researchers found abnormal connectivity between the amygdala and frontal brain regions during both rest and task. The strength of connectivity between the amygdala and the supplementary motor area and dorsal anterior cingulate differed significantly from healthy controls, and these differences held up even after accounting for depression symptoms.13PubMed Central. Multi-Modal Neuroimaging of Adolescents with Non-Suicidal Self-Injury: Amygdala Functional Connectivity Within the NSSI group, the number of weekly cutting episodes was positively associated with how strongly the left amygdala connected to areas of the frontal cortex during tasks. In practical terms, stronger emotional reactivity was linked to more frequent self-harm.
A separate study examining white matter structural connectivity found that connections between the amygdala and parahippocampal region, and between the inferior frontal gyrus and the insula, were especially important in distinguishing people with NSSI from healthy controls.14PubMed Central. Nonsuicidal self-injury prediction with pain-processing neural circuits using interpretable graph neural network The insula is heavily involved in processing both physical pain sensations and awareness of internal body states. The picture that emerges is of a brain whose emotional alarm system is tightly wired to pain-processing and body-awareness circuits, potentially making emotional experiences feel more physically urgent and making physical sensation a more natural tool for managing emotion.
On the reward side, research in children and adolescents with NSSI found decreased brain activation in reward-related regions following monetary gains, even after controlling for depression. Regions that showed reduced activity included the anterior cingulate cortex, ventral and dorsal striatum, orbitofrontal cortex, and insula.15PubMed Central. Examining the Neurobiology of Non-Suicidal Self-Injury in Children and Adolescents: The Role of Reward Responsivity In other words, everyday rewards register less strongly. If your brain is under-responsive to normal sources of positive feeling, the intense neurochemical hit from self-harm stands out even more sharply by comparison. The reward system is not broken; it is under-fueled, and self-harm represents a high-intensity way to generate the reward signal that more ordinary experiences fail to produce.
Emotional Escape as Negative Reinforcement
Neuroscience explains the chemical and structural side, but the psychological function is just as important: self-harm works as a way to escape overwhelming internal experiences. The Experiential Avoidance Model proposes that self-harm is primarily maintained through negative reinforcement, meaning the behavior persists because it removes something aversive rather than because it adds something pleasant.16PubMed. Solving the puzzle of deliberate self-harm: the experiential avoidance model The “something aversive” is unbearable emotional distress, and self-harm provides a rapid, reliable way to exit that state.
A systematic review of research on self-harm, emotion regulation, and experiential avoidance found support for this model, noting that many studies described the phenomenon of trying to avoid or escape unwanted internal states even when they did not use the term “experiential avoidance” explicitly.17PubMed. Self-harm, Emotion Regulation, and Experiential Avoidance: A Systematic Review Further research using structural equation modeling showed that limited access to emotion regulation strategies predicted greater avoidance of distressing emotions, which in turn predicted NSSI behavior.18PubMed Central. Testing an Integrative Model of Affect Regulation and Avoidance in Non-Suicidal Self-Injury and Disordered Eating The chain runs from having few emotional coping tools, to a strong drive to avoid distress at any cost, to behaviors like self-harm that shut the distress down quickly.
This framework connects back to the neurochemistry. The opioid and cannabinoid release described earlier is the biological mechanism through which the emotional escape actually happens. The brain does not just “decide” to feel better; it bathes itself in chemicals that physiologically reduce the emotional signal. For the person in crisis, this is not a choice they are carefully weighing. The learning happens below conscious awareness, the same way your brain learns to flinch away from a hot stove. The behavior becomes automatic because the negative reinforcement is immediate and powerful.
Where Physical and Emotional Pain Overlap
One reason self-harm is effective at managing emotional pain is that the brain processes physical and social or emotional pain through substantially overlapping circuits. Neuroimaging research has shown that individuals who are more sensitive to physical pain are also more sensitive to social pain, such as rejection or exclusion. Factors that increase or decrease one type of pain alter the other in the same direction.19PubMed Central. The neural bases of social pain: evidence for shared representations with physical pain This is not a metaphor. The anterior cingulate cortex and the anterior insula, two regions central to processing physical pain, light up during experiences of social rejection and emotional hurt in very similar ways.
Genetic research has begun to uncover why this overlap exists. Variations in the mu-opioid receptor gene OPRM1 have been shown to modulate the brain’s response to both physical pain and social rejection. People with certain versions of this gene show altered activation in brain regions related to processing bodily sensations of pain, and these influences applied equally to physical and psychological pain.20PubMed. Polymorphism in the µ-opioid receptor gene (OPRM1) modulates neural processing of physical pain, social rejection and error processing The implication is that the same opioid receptors are handling both types of suffering, which means flooding those receptors through self-inflicted pain can genuinely reduce emotional hurt through a shared chemical pathway. This overlap is part of why the relief from self-harm can feel so immediate and complete; you are not just “distracting” yourself from emotional pain, you are chemically suppressing it through the same system that processes it.
Tolerance, Habituation, and Why It Tends to Escalate
Perhaps the most important practical thing to understand about the neuroscience of self-harm is that the relief does not stay constant. Like many behaviors that rely on the brain’s reward and pain systems, self-harm is subject to tolerance. Each time the endogenous opioid and cannabinoid systems are activated this way, the receptors gradually adjust. They become less responsive to the same level of stimulation. This mirrors what happens in substance use, where increasing doses are needed to achieve the same effect.21Personalized Medicine in Psychiatry. Characterizing chronic non-suicidal self-injury and other forms of repetitive and escalating suicide behaviour as endocannabinoid-mediated pain and reward disorders
As the receptors become less responsive, two things tend to happen. The emotional distress between episodes gets worse because the baseline opioid deficit deepens, and the acts of self-harm themselves need to become more frequent or more intense to produce the same relief. Researchers have described this as a pattern where “mental distress amasses and withdrawal worsens between repetitive acts,” leading to escalation.21Personalized Medicine in Psychiatry. Characterizing chronic non-suicidal self-injury and other forms of repetitive and escalating suicide behaviour as endocannabinoid-mediated pain and reward disorders This trajectory is one reason clinicians take self-harm seriously even when the injuries appear superficial: the biology pushes toward escalation, not stability.
This tolerance mechanism also explains why stopping self-harm is genuinely difficult, not simply a matter of willpower. The brain has physically adapted its receptor landscape around the repeated chemical surges. People sometimes describe the period after stopping self-harm as involving cravings, irritability, and intensified emotional distress, which maps onto what you would expect from withdrawal of a repeatedly activated opioid and cannabinoid system. Treatments that account for this biological reality, such as therapies that build alternative emotion regulation skills while acknowledging the neurochemical pull, tend to be more effective than approaches that treat self-harm as purely a behavioral choice.
How Ice, Exercise, and Other Alternatives Tap the Same Circuits
Because the relief from self-harm is driven by identifiable neurochemical pathways, it is possible to activate parts of those pathways through less harmful means. Holding ice against your skin, for instance, generates a strong sensory signal and a mild stress response that can trigger some of the same opioid and endocannabinoid release without causing tissue damage. Intense aerobic exercise is another route; it reliably increases endogenous opioid levels (the so-called “runner’s high”) and stimulates endocannabinoid production, while also improving parasympathetic nervous system function over time.
These alternatives do not replicate the full intensity of the chemical response that self-harm produces, and being honest about that matters. Telling someone “just squeeze an ice cube” without acknowledging that the relief will be milder can feel dismissive and erode trust. What the neuroscience does suggest, though, is that these alternatives work on the same general system and can gradually help recalibrate it. Dialectical behavior therapy, one of the best-studied treatments for self-harm, explicitly incorporates “distress tolerance” skills that include intense sensory experiences as substitutes. The biological logic is sound: you are giving the brain a smaller but real dose of the same chemical signal, while building toward longer-term changes in how the stress and reward systems operate. Over time, with repeated practice and therapeutic support, the brain’s receptor landscape can shift back toward a less depleted baseline.