Undoing Defense Mechanism: What It Means and How to Stop the Pattern

Undoing is the defense mechanism of trying to symbolically cancel a troubling thought, feeling, impulse, or action with a second act. The giveaway is not simply apologizing or making amends. It is expecting the later act to make the first one feel as though it no longer counts.

Someone snaps at a partner and later arrives with an extravagant gift, but avoids talking about the argument. Another person has a hostile thought about a friend, feels guilty about having it, and immediately sends an unusually affectionate message.

The gift and the message may be kind acts in themselves. They become examples of undoing when they are given another job: erase, neutralize, or reverse what came before.

That distinction matters if you are trying to stop the pattern. The goal is not to stop apologizing, reconsidering what you said, or repairing harm. It is to stop demanding that the repair also erase the original thought, feeling, or action.

Undoing is one of the psychological defenses covered in Cognitive Train’s Defense Mechanisms guide.

What Is the Undoing Defense Mechanism?

In the Defense Mechanisms Rating Scales hierarchy, undoing belongs to the obsessional defense level. The DMRS-Q description of undoing defines it as behavior designed to symbolically make amends for or negate previous thoughts, feelings, or actions.

The sequence is usually straightforward. Something creates guilt or anxiety. A second, opposite, corrective, or ritualized act follows. Distress falls because the second act feels as though it has cancelled the first.

How the undoing defense mechanism works A three-stage diagram showing a troubling thought, feeling, or action leading to guilt or anxiety, followed by a symbolic opposite act and temporary relief. The Undoing Sequence 1. Something feels unacceptable A thought, feeling, statement, or action produces guilt, anxiety, shame, or inner conflict. 2. An opposite act tries to cancel it The person repairs, reverses, qualifies, or performs something that symbolically balances the first act. 3. Temporary relief The original event feels less threatening, even though it still happened.

Undoing can also appear in speech. The DMRS-Q includes patterns such as making a strong statement and immediately qualifying it in the opposite direction, or repeatedly pairing one position with its contradiction. The common thread is the same: something is expressed, then rapidly pulled back.

Undoing vs. Real Repair

The easiest way to misunderstand undoing is to treat every apology, gift, or act of restitution as defensive. That would make the concept almost useless.

Real repair faces the original event. If you insult someone, you can acknowledge what you said, listen to the impact, apologize, and behave differently next time. If you break something, you can replace it. Feeling better afterward does not turn the repair into a defense mechanism.

Undoing is a stronger fit when the corrective act functions like a psychological eraser. The person focuses on the gift, apology, ritual, qualification, or opposite act while sidestepping the guilt, conflict, or meaning of what came before.

A useful question: “Am I addressing what happened, or trying to make myself feel that it did not happen?”

Examples of the Undoing Defense Mechanism

After an argument: Someone says something cruel, then becomes unusually affectionate and expects the affection to close the subject without discussing the hurtful comment.

After a hostile thought: A person notices a flash of anger toward a relative, becomes disturbed by having the thought, and immediately performs an exaggeratedly kind act to neutralize it.

After a selfish action: Someone behaves inconsiderately, then makes a conspicuously generous gesture that feels less like addressing the consequence and more like restoring the sense of being a “good person.”

In conversation: A person makes a clear criticism and instantly follows it with so many reversals and disclaimers that the original position is effectively taken back.

The examples look different on the surface. What connects them is the attempt to balance one thing with an opposite thing so that the first loses its emotional force.

How to Stop Relying on Undoing

Research has not established a specific self-help protocol for “stopping undoing.” But if you recognize the pattern, there is a practical place to intervene: the sequence of discomfort → symbolic cancellation → relief.

1. Catch the urge to cancel

The revealing moment is often what happens immediately afterward. You may suddenly feel that you have to send a nice message, soften the statement, make an opposite gesture, or do something good so the first event no longer feels true.

Instead of acting automatically, name the urge: “I am trying to make the first thing disappear.”

2. Decide whether anything actually needs repair

A thought is not an action. Feeling irritated with someone does not by itself create a debt that has to be cancelled. An unwanted thought can remain an unwanted thought without requiring a compensating ritual or gesture.

If you actually caused harm, identify the concrete consequence. That gives you something real to respond to.

3. Repair the consequence directly

If you hurt someone, address the hurt. If you broke something, replace it. If you made a commitment you cannot keep, say so clearly. Direct repair leaves the original event visible; it does not pretend that the corrective act erased it.

This is where self-observation can be useful as a contrasting defense: noticing your own reaction without immediately needing to remove it creates room to choose what actually needs to happen next.

4. Let some discomfort remain

This is often the hardest part. Undoing is attractive because the opposite act can reduce guilt or anxiety quickly. If every uncomfortable thought or action is immediately followed by something designed to neutralize it, the relief itself can keep the sequence going.

You do not need to feel completely absolved before moving on. Sometimes the realistic outcome is simply: “I do not like what I thought,” or “I wish I had handled that differently.”

5. Look for repeated pairings, not isolated incidents

One apology after one mistake tells you very little. A recurring sequence is more revealing: hostility followed by exaggerated affection, selfishness followed by conspicuous generosity, or strong statements followed by immediate reversals.

Patterns tell you more than individual gestures.

Why Undoing Can Be Hard to Notice

Undoing often hides inside behavior that looks positive. Generosity, affection, apology, reconsideration, and restitution can all be healthy. You have to look at the function of the second act, not merely its form.

That is also why identifying a defense mechanism from one isolated behavior is unreliable. The same gift could represent ordinary affection, genuine reparation, conflict avoidance, or undoing depending on the context.

Research on undoing is much smaller than the popular literature around defense mechanisms can make it seem. In a 2025 longitudinal study of 286 German psychotherapy outpatients, higher baseline undoing was associated with greater interpersonal problems across the following months. Because the study was observational, it does not show that undoing caused those difficulties.

An older study followed 17 people with obsessive-compulsive disorder through seven weeks of group behavior therapy. The researchers reported a significant decrease in self-reported undoing after treatment. The 1998 study was very small, however, and it does not establish a general treatment method for undoing outside that clinical context.

Undoing vs. Similar Defense Mechanisms

Reaction formation: Reaction formation substitutes an unacceptable feeling with its opposite as an attitude or behavior. Undoing is more sequential: something is expressed or done first, then another act tries to cancel it.

Rationalization: Rationalization creates an acceptable-sounding explanation for a troubling motive or action. Undoing does not mainly explain the event. It tries to neutralize it.

Isolation of affect: Isolation of affect keeps the idea or memory available while separating it from the expected emotion. With undoing, the emotional conflict is active enough that a corrective or opposite act feels necessary.

Suppression: Suppression is a conscious choice to postpone attention to something. Undoing adds something new in an attempt to reverse or balance what came before.

If you want to see where these patterns sit within the larger hierarchy, the 30 Defense Mechanisms guide maps the major mechanisms and their differences. Related material on emotion, behavior, and self-understanding is collected in our Mind hub.

Can You Recognize Undoing in Context?

Definitions make undoing sound simple. Real examples are harder because apology, generosity, reaction formation, rationalization, and genuine repair can overlap on the surface.

The Defense Mechanism Recognition Test is built around that problem: identify what the behavior is doing psychologically rather than matching one obvious keyword.

🛡️ Try the Defense Mechanism Recognition Test

⚡ Quick Start
Read each scenario and choose the defense mechanism at work
Standard covers the 20 widely recognized mechanisms, Hard adds 10 narrower ones
Every answer is explained, and missed mechanisms link to their own articles
Humiliated by his manager all afternoon, Greg says nothing at work, then shouts at his son about a bicycle left in the hallway.
Displacement
Acting Out
Projection
Passive Aggression
This session: 20 questions
Question 1 / 20
Correct: 0
Which defense mechanism is operating here?

Test Complete

Set A • Standard Mode
Correct
0
Accuracy
0%
Questions
0

Recognition Accuracy by CT Learning Group

These groups are Cognitive Train learning categories. They are not DSQ-40 or DMRS scales, and these figures show recognition accuracy only, not which defenses you personally use.

Mechanisms to Review

The embedded test is for recognition practice, not for determining which defenses you personally use. For broader assessments of reasoning, memory, attention, processing speed, and other cognitive abilities, browse Cognitive Train’s Brain Tests. The cognitive training and brain training collection brings the wider set of interactive tools together.

A Better Question Than “How Do I Erase This?”

If you notice undoing in yourself, replace the urge to cancel with a more concrete question: “What actually needs to be addressed?”

Sometimes the answer is nothing. A thought can simply be a thought. Sometimes there is a real consequence, and the answer is an apology, restitution, a clearer conversation, or changed behavior.

The difference is subtle but important. Repair accepts that the first event happened and responds to it. Undoing tries to create an opposite act powerful enough to make the first one feel gone.

If you want to practice telling that difference from neighboring defenses, use the full Defense Mechanism Recognition Test and compare undoing with reaction formation, rationalization, suppression, and the other mechanisms in realistic scenarios.