No single mental illness causes self-harm. Several conditions are strongly associated with it, including depression, borderline personality disorder, eating disorders, anxiety, and post-traumatic stress disorder. Self-harm can also occur in people who don’t meet criteria for any diagnosis at all. What these conditions share is difficulty managing intense emotional states, and self-injury often develops as a way to cope with feelings that feel unbearable.
About one in five adolescents reports engaging in self-harm, and the behavior typically emerges during the teenage years. Between 40% and 80% of young people who self-injure during adolescence stop by early adulthood. Understanding which conditions drive the behavior helps clarify why it happens and what actually helps.
Depression and Emotional Overwhelm
Depression is one of the most common conditions linked to self-harm. When sadness, guilt, numbness, or self-hatred become overwhelming, some people use physical pain to interrupt those feelings or to feel something when emotional numbness takes over. The behavior functions like a pressure valve: it provides brief relief from internal distress, which makes it likely to happen again the next time emotions spike. For people with depression, treating the underlying mood disorder with therapy or medication can reduce the urge to self-injure by lowering the emotional intensity that triggers it.
Borderline Personality Disorder
Borderline personality disorder (BPD) has the strongest association with self-harm of any psychiatric diagnosis. People with BPD experience emotions more intensely and have significant difficulty regulating them. Self-injury in BPD most commonly involves superficial cuts to the wrists or arms, and patients describe the behavior as addictive. Cutting relieves emotional tension but does not reflect a wish to die.
Episodes usually follow stressful life events, and the most frequently reported motivation is a desire to escape painful inner states. The pattern tends to become self-reinforcing: emotional pain builds, self-injury provides temporary relief, and the cycle repeats. Treatment for BPD focuses heavily on building alternative skills for tolerating distress without resorting to self-injury.
Post-Traumatic Stress Disorder
Trauma-related conditions create a specific pathway to self-harm through dissociation, which is the feeling of being disconnected from your body, your surroundings, or reality itself. People experiencing flashbacks, emotional numbness, or a sense of unreality sometimes use physical pain to “ground” themselves. One person in a study of dissociative disorders described self-injuring to feel “real pain,” transforming emotional distress into something more tangible and manageable.
For others, the mechanism works in the opposite direction. Rather than using pain to snap out of dissociation, self-injury helps them dissociate further, escaping overwhelming feelings of hyperarousal or internal conflict. Trauma-related intrusions like flashbacks and sudden emotional flooding are primary triggers. Treatment for this group typically emphasizes grounding and containment skills, giving people tools to manage dissociative episodes and traumatic memories without harming themselves.
Eating Disorders
Self-harm is surprisingly common among people with eating disorders. A meta-analysis found that about 22% of people with anorexia nervosa and 33% of people with bulimia nervosa had a lifetime history of self-injury. The overlap likely reflects shared underlying factors: difficulty regulating emotions, impulsivity, and dissociation appear in both conditions. In some cases, the eating disorder itself functions as a form of self-punishment or emotional control, and self-injury serves a parallel purpose. Treating one without addressing the other often leaves the core vulnerability intact.
Anxiety Disorders
Anxiety is a common trigger for self-harm, though the relationship is sometimes less obvious than with depression or BPD. When anxiety becomes unbearable, physical pain can temporarily redirect attention away from racing thoughts or a sense of dread. The relief is real but short-lived, which sets up a pattern of repeated self-injury.
It’s worth noting that some behaviors that look like self-harm are classified differently. Compulsive hair pulling (trichotillomania) and skin picking are sometimes mistaken for self-injury, and they do share anxiety and stress as common triggers. However, these behaviors are typically driven by a desire to correct something that feels “not right” about a hair or patch of skin, rather than the complex emotional motivations behind cutting or burning. They fall under a separate diagnostic category and generally respond to different treatments.
Why Self-Harm Provides Relief
Regardless of the diagnosis, the psychological functions of self-harm are remarkably consistent across conditions. Research identifies several core reasons people self-injure: to relieve negative emotions like anxiety, guilt, or self-hatred; to release anger or emotional tension; to punish themselves; to feel a sense of control; and to end episodes of dissociation or racing thoughts.
There’s also a biological component. When the body is injured, it releases beta-endorphin, a natural chemical that reduces pain perception and produces feelings of calm or even mild euphoria. Beta-endorphin influences the same brain pathways involved in motivation and pleasure, which means self-injury can create a reward cycle. The relief is not imagined. It is a real neurochemical response, and that’s part of what makes the behavior so difficult to stop without learning alternative coping strategies that can activate similar regulatory pathways.
Self-Harm Is Not the Same as a Suicide Attempt
This distinction matters. Self-harm is defined as self-injurious behavior without intent to die. A suicide attempt involves at least some intent to end one’s life. People who self-injure are typically trying to manage pain, not escape life entirely. That said, the two are not completely unrelated. A history of self-harm does increase the risk of a future suicide attempt, which is one reason the behavior is taken seriously even when suicidal intent is absent.
The DSM-5, the main diagnostic manual used in psychiatry, does not classify non-suicidal self-injury as an official standalone diagnosis. It’s listed as a condition warranting further study. In practice, this means self-harm is usually documented as a symptom of another condition rather than a diagnosis in its own right. This can be frustrating for people whose self-injury feels like the central problem, not a side effect of something else.
What Connects These Conditions
The thread running through every condition linked to self-harm is emotion dysregulation: the inability to manage intense feelings using the coping tools most people develop naturally. Whether the primary diagnosis is depression, BPD, PTSD, an eating disorder, or anxiety, the core problem is the same. Emotions spike beyond what feels tolerable, and self-injury becomes the fastest available way to bring them down.
This is why effective treatment for self-harm, regardless of the underlying diagnosis, almost always includes building skills for tolerating distress. Approaches like dialectical behavior therapy were originally developed specifically for people with BPD and self-harm, but the emotion regulation skills they teach apply broadly. The goal is not to eliminate painful feelings but to expand the range of strategies available for surviving them.

