20 Common Defense Mechanisms Used for Anxiety

We all have thoughts, feelings, impulses, and memories that can be difficult to deal with. In some cases, people deal with difficult feelings by utilizing what are known as defense mechanisms. These defense mechanisms are unconscious psychological responses that protect people from feelings of anxiety, threats to self-esteem, and things that they don't want to think about or deal with.

The term got its start in psychoanalytic therapy, but it has slowly worked its way into the parlance of everyday language. Think of the last time you referred to someone as being "in denial" or accused someone of "rationalizing." Both of these examples refer to a type of defense mechanism.

common defense mechanisms
Verywell / JR Bee

What Exactly Is a Defense Mechanism?

Most notably used by Sigmund Freud in his psychoanalytic theory, a defense mechanism is a tactic developed by the ego to protect against anxiety.

Defense mechanisms are thought to safeguard the mind against feelings and thoughts that are too difficult for the conscious mind to cope with.

In some instances, defense mechanisms are thought to keep inappropriate or unwanted thoughts and impulses from entering the conscious mind.

How Do Defense Mechanisms Work?

In Sigmund Freud's model of personality, the ego is the aspect of personality that deals with reality. While doing this, the ego also has to cope with the conflicting demands of the id and the superego

  • The id: The part of the personality that seeks to fulfill all wants, needs, and impulses. The id is the most basic, primal part of our personalities and does not consider things such as social appropriateness, morality, or even the reality of fulfilling our wants and needs.
  • The superego: The part of the personality that tries to get the ego to act in an idealistic and moral manner. The superego is made up of all of the internalized morals and values we acquire from our parents, other family members, religious influences, and society.

In order to deal with anxiety, Freud believed that defense mechanisms helped shield the ego from the conflicts created by the id, superego, and reality. So what happens when the ego cannot deal with the demands of our desires, the constraints of reality, and our own moral standards?

According to Freud, anxiety is an unpleasant inner state that people seek to avoid. Anxiety acts as a signal to the ego that things are not going the way they should. As a result, the ego then employs some sort of defense mechanism to help reduce these feelings of anxiety.

Types of Anxiety

Not all types of anxiety are created equal. Nor do these anxieties stem from the same sources. Freud identified three types of anxiety:

  • Moral anxiety: A fear of violating our own moral principles
  • Neurotic anxiety: The unconscious worry that we will lose control of the id's urges, resulting in punishment for inappropriate behavior
  • Reality anxiety: Fear of real-world events. The cause of this anxiety is usually easily identified. For example, a person might fear a dog bite when they are near a menacing dog. The most common way of reducing this anxiety is to avoid the threatening object.

Although we may knowingly use these mechanisms, in many cases these defenses work unconsciously to distort reality.

For example, if you are faced with a particularly unpleasant task, your mind may choose to forget your responsibility in order to avoid the dreaded assignment. In addition to forgetting, other defense mechanisms include rationalization, denial, repression, projection, rejection, and reaction formation.

While all defense mechanisms can be unhealthy, they can also be adaptive and allow us to function normally.

The greatest problems arise when defense mechanisms are overused in order to avoid dealing with problems. In psychoanalytic therapy, the goal may be to help the client uncover these unconscious defense mechanisms and find better, healthier ways of coping with anxiety and distress.

10 Key Defense Mechanisms

Sigmund Freud's daughter, Anna Freud, described 10 different defense mechanisms used by the ego. Other researchers have also described a wide variety of additional defense mechanisms.



Have you ever had a really bad day at work and then gone home and taken out your frustration with family and friends? Then you have experienced the ego defense mechanism of displacement.

Displacement involves taking out our frustrations, feelings, and impulses on people or objects that are less threatening.

Displaced aggression is a common example of this defense mechanism. Rather than express our anger in ways that could lead to negative consequences (like arguing with our boss), we instead express our anger towards a person or object that poses no threat (such as our spouse, children, or pets).



Denial is probably one of the best-known defense mechanisms, used often to describe situations in which people seem unable to face reality or admit an obvious truth (e.g., "He's in denial").

Denial is an outright refusal to admit or recognize that something has occurred or is currently occurring. People living with drug or alcohol addiction often deny that they have a problem, while victims of traumatic events may deny that the event ever occurred.

Denial functions to protect the ego from things with which the individual cannot cope.

While this may save us from anxiety or pain, denial also requires a substantial investment of energy. Because of this, other defenses are also used to keep these unacceptable feelings from conscious awareness.

In many cases, there might be overwhelming evidence that something is true, yet the person will continue to deny its existence or truth because it is too uncomfortable to face.

Denial can involve a flat out rejection of the existence of a fact or reality. In other cases, it might involve admitting that something is true, but minimizing its importance. Sometimes people will accept reality and the seriousness of the fact, but they will deny their own responsibility and instead blame other people or other outside forces.

Addiction is one of the best-known examples of denial. People who are living with a substance use problem will often flat-out deny that their behavior is problematic. In other cases, they might admit that they do use drugs or alcohol but will claim that their substance use is not problematic.


Repression and Suppression

Repression is another well-known defense mechanism. Repression acts to keep information out of conscious awareness. However, these memories don't just disappear; they continue to influence our behavior. For example, a person who has repressed memories of abuse suffered as a child may later have difficulty forming relationships.

Sometimes we do this consciously by forcing the unwanted information out of our awareness, which is known as suppression. In most cases, however, this removal of anxiety-provoking memories from our awareness is believed to occur unconsciously.



Sublimation is a defense mechanism that allows us to act out unacceptable impulses by converting these behaviors into a more acceptable form. For example, a person experiencing extreme anger might take up kick-boxing as a means of venting frustration.

Freud believed that sublimation was a sign of maturity that allows people to function normally in socially acceptable ways.



Projection is a defense mechanism that involves taking our own unacceptable qualities or feelings and ascribing them to other people. For example, if you have a strong dislike for someone, you might instead believe that they do not like you. Projection works by allowing the expression of the desire or impulse, but in a way that the ego cannot recognize, therefore reducing anxiety.



Intellectualization works to reduce anxiety by thinking about events in a cold, clinical way.

This defense mechanism allows us to avoid thinking about the stressful, emotional aspect of the situation and instead focus only on the intellectual component.

For example, a person who has just been diagnosed with a terminal illness might focus on learning everything about the disease in order to avoid distress and remain distant from the reality of the situation.



Rationalization is a defense mechanism that involves explaining an unacceptable behavior or feeling in a rational or logical manner, avoiding the true reasons for the behavior.

For example, a person who is turned down for a date might rationalize the situation by saying they were not attracted to the other person anyway. A student might blame a poor exam score on the instructor rather than their own lack of preparation.

Rationalization not only prevents anxiety, but it may also protect self-esteem and self-concept.

When confronted by success or failure, people tend to attribute achievement to their own qualities and skills while failures are blamed on other people or outside forces.



When confronted by stressful events, people sometimes abandon coping strategies and revert to patterns of behavior used earlier in development.

Anna Freud called this defense mechanism regression, suggesting that people act out behaviors from the stage of psychosexual development in which they are fixated. For example, an individual fixated at an earlier developmental stage might cry or sulk upon hearing unpleasant news.

Behaviors associated with regression can vary greatly depending upon which stage at which the person is fixated.

According to Freud, an individual fixated at the oral stage might begin eating or smoking excessively, or might become very verbally aggressive. A fixation at the anal stage might result in excessive tidiness or messiness.


Reaction Formation

Reaction formation reduces anxiety by taking up the opposite feeling, impulse, or behavior. An example of reaction formation would be treating someone you strongly dislike in an excessively friendly manner in order to hide your true feelings.

Why do people behave this way? According to Freud, they are using reaction formation as a defense mechanism to hide their true feelings by behaving in the exact opposite manner.


Other Defense Mechanisms

Since Freud first described the original defense mechanisms, other researchers have continued to describe other methods of reducing anxiety. Some of these defense mechanisms include:

  • Acting out: Coping with stress by engaging in actions rather than acknowledging and bearing certain feelings
  • Aim inhibition: Accepting a modified form of their original goal (e.g., becoming a high school basketball coach rather than a professional athlete)
  • Altruism: Satisfying internal needs through helping others
  • Avoidance: Refusing to deal with or encounter unpleasant objects or situations
  • Compensation: Overachieving in one area to compensate for failures in another
  • Dissociation: Becoming separated or removed from one's experience
  • Fantasy: Avoiding reality by retreating to a safe place within one's mind
  • Humor: Pointing out the funny or ironic aspects of a situation
  • Passive-aggression: Indirectly expressing anger
  • Undoing: Trying to make up for what one feels are inappropriate thoughts, feelings, or behaviors (e.g., if you hurt someone's feelings, you might offer to do something nice for them in order to assuage your anxiety or guilt)

While defense mechanisms are often thought of as negative reactions, we all need them to temporarily ease stress and protect self-esteem during critical times, allowing us to focus on what is necessary at the moment.

Some of these defenses can be more helpful than others. For example, utilizing humor to overcome a stressful, anxiety-provoking situation can actually be an adaptive defense mechanism.

A Word From Verywell

Some of the best-known defense mechanisms have become a common part of everyday language. We might describe someone as being "in denial" of a problem they face. When someone falls back into old ways of doing things, we might term them as "regressing" into an earlier point of development.

Remember, defense mechanisms can be both good and bad.

They can serve a helpful role by protecting your ego from stress and providing a healthy outlet. In other instances, these defense mechanisms might hold you back from facing reality and can act as a form of self-deception.

If you notice that overuse of certain defense mechanisms is having a negative impact on your life, consider consulting with a mental health professional. Psychotherapy may help whether you pursue a traditional face-to-face treatment or an online therapy option.

Was this page helpful?
7 Sources
Verywell Mind uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Cramer P. Understanding defense mechanisms. Psychodyn Psychiatry. 2015;43(4):523-52. doi:10.1521/pdps.2015.43.4.523

  2. Waqas A, Rehman A, Malik A, Muhammad U, Khan S, Mahmood N. Association of ego defense mechanisms with academic performance, anxiety and depression in medical students: A mixed methods study. Cureus. 2015;7(9):e337. doi:10.7759/cureus.337

  3. Corey, G. Theory and Practice of Counseling and Psychotherapy (8th ed.). Belmont, CA: Thomson Brooks/Cole; 2009.

  4. Macdonald K, Thomas ML, Sciolla AF, et al. Minimization of childhood maltreatment is common and consequential: Results from a large, multinational sample using the childhood trauma questionnaire. PLoS ONE. 2016;11(1):e0146058. doi:10.1371/journal.pone.0146058

  5. Malle BF, Guglielmo S, Monroe AE. A theory of blamePsychological Inquiry. 2014;25(2):147-186. doi:10.1080/1047840X.2014.877340

  6. Anderson MC, Huddleston E. Towards a Cognitive and Neurobiological Model of Motivated ForgettingTrue and False Recovered Memories. Nebraska Symposium on Motivation. 2011:53-120. doi:10.1007/978-1-4614-1195-6_3

  7. Vaillant GE. Ego Mechanisms of Defense, A Guide for Clinicans and Researchers. American Psychiatric Pub; 1992.

Additional Reading
  • Burgo, J. Why Do I Do That? Psychological Defense Mechanisms and the Hidden Ways They Shape Our Lives. Chapel Hill, NC: New Rise Press; 2012.