In short
Defense mechanisms are largely unconscious psychological strategies the mind uses to reduce anxiety and protect itself from distressing thoughts and feelings. The concept began with Sigmund Freud and was developed systematically by his daughter Anna Freud. Common examples include repression, denial, projection, displacement, rationalization, and sublimation. Some defenses are immature and distort reality heavily, while others are considered mature and adaptive. Everyone uses them; the question is whether they help or hinder.
What defense mechanisms are
Defense mechanisms are unconscious mental strategies that protect a person from anxiety and from thoughts or feelings they find too painful or threatening to face directly. They operate mostly outside of awareness, which is part of what makes them defenses: we usually do not realize we are using them.
The idea originated with Sigmund Freud, who saw defenses as the ego's way of managing conflict between the demands of instinct, conscience, and reality. His daughter, Anna Freud, developed the concept much further in her 1936 book The Ego and the Mechanisms of Defence, cataloguing the main defenses and bringing them to the center of psychoanalytic thinking.
It is important to understand that defenses are not inherently bad. Everyone uses them, and in moderation they help us cope with stress and stay functional. They become a problem when they are rigid, extreme, or used so habitually that they distort reality and get in the way of healthy living.
Repression and denial
Repression is often considered the most basic defense: the unconscious pushing of distressing thoughts, memories, or impulses out of conscious awareness. A person who suffered a trauma may have no clear memory of it, the mind having kept it out of reach. Freud regarded repression as the foundation on which other defenses are built.
Denial is the refusal to accept a painful reality, treating it as if it were not happening. A person told they have a serious illness might insist there has been a mistake, or a person with a drinking problem might flatly deny that any problem exists. Denial blocks the threat at the level of perception itself.
Projection and displacement
Projection involves attributing one's own unacceptable feelings or impulses to someone else. A person who feels hostile toward a colleague but cannot accept that in themselves may become convinced that the colleague is hostile toward them. The uncomfortable feeling is disowned and placed onto another.
Displacement is redirecting an emotion from its real target, which feels too threatening, onto a safer one. The classic example is someone who is angry at their boss but cannot express it, so they come home and snap at their family instead. The feeling is real, but it is aimed at a substitute.
Rationalization, reaction formation, and regression
Rationalization is offering a logical-sounding but false explanation for behavior whose real motive is uncomfortable. Someone rejected for a job might decide they never really wanted it, protecting themselves from the sting of disappointment.
Reaction formation is converting an unacceptable impulse into its opposite, often in an exaggerated form. A person with feelings they find shameful might behave with conspicuous, excessive opposition to those very feelings.
Regression is retreating to behavior typical of an earlier stage of development when under stress. An adult overwhelmed by pressure might become clingy, sulk, or seek comfort in childlike ways. These defenses all manage anxiety by reshaping how an impulse is expressed.
Sublimation and the mature defenses
Not all defenses distort reality in unhelpful ways. Sublimation, which Freud considered the most adaptive, channels unacceptable impulses into socially valued activity. Aggressive energy might be directed into competitive sport, or anxious energy into creative or productive work. The impulse is redirected rather than denied, often to good effect.
Later theorists, notably the psychiatrist George Vaillant, organized defenses along a spectrum of maturity. At the mature end sit defenses like sublimation, humor, altruism, and anticipation, which handle stress in flexible, reality-respecting ways. At the immature end sit defenses like denial, projection, and acting out, which distort reality more heavily. Vaillant's long-term research found that people who relied on mature defenses tended to fare better in life.
How defenses are viewed today
Although they grew out of Freudian theory, much of which has not held up to modern scientific scrutiny, the broad observation behind defense mechanisms has proved durable. People really do protect themselves from distressing emotions through largely automatic mental maneuvers, and this is now studied under headings such as emotion regulation and coping as well as in psychodynamic therapy.
In therapy, recognizing a person's habitual defenses can be valuable. It can reveal what feelings they are avoiding and why certain patterns keep repeating. The goal is rarely to strip defenses away, since everyone needs some, but to help a person rely less on rigid, costly defenses and more on flexible, adaptive ones that let them face reality without being overwhelmed by it.
Key takeaways
- Defense mechanisms are largely unconscious strategies the mind uses to reduce anxiety.
- The concept began with Sigmund Freud and was developed systematically by Anna Freud.
- Common defenses include repression, denial, projection, displacement, rationalization, and sublimation.
- Defenses range from immature ones that distort reality to mature ones like sublimation, humor, and altruism.
- Everyone uses them; they become a problem only when rigid, extreme, or reality-distorting.

Wondering what you might be avoiding?
Talking with a licensed therapist can help you understand your patterns. Search our directory for free.
Frequently asked questions
What are defense mechanisms?
They are largely unconscious mental strategies the mind uses to protect itself from anxiety and from thoughts or feelings that are too painful to face. Examples include repression, denial, projection, and rationalization.
Who came up with defense mechanisms?
The concept originated with Sigmund Freud and was developed in detail by his daughter, Anna Freud, in her 1936 book The Ego and the Mechanisms of Defence.
What is an example of a defense mechanism?
Displacement is a clear example: a person angry at their boss but unable to express it comes home and snaps at their family instead, redirecting the emotion onto a safer target.
Are defense mechanisms bad?
Not inherently. Everyone uses them, and in moderation they help us cope with stress. They become harmful only when they are rigid, extreme, or used so habitually that they distort reality and disrupt healthy living.
What is the difference between mature and immature defenses?
Mature defenses such as sublimation, humor, and altruism handle stress flexibly while respecting reality. Immature defenses such as denial and projection distort reality more heavily. Research links mature defenses to better life outcomes.
Related concepts
References
- Freud A. The Ego and the Mechanisms of Defence. Hogarth Press; 1937. (Original German 1936.)
- Freud S. The Neuro-Psychoses of Defence. In: The Standard Edition of the Complete Psychological Works of Sigmund Freud. Vol 3. Hogarth Press; 1894.
- Vaillant GE. Adaptation to Life. Harvard University Press; 1977.
- Cramer P. Protecting the Self: Defense Mechanisms in Action. Guilford Press; 2006.
