Defense mechanism
Undoing
Undoing is a defense in which a person tries to cancel out an unacceptable thought, wish, or act by doing something that symbolically reverses it. Examples include being extra generous after a hostile remark, or performing a ritual to neutralize a forbidden thought. Sigmund Freud described it in connection with obsessional neurosis, and Anna Freud included it in her catalog of ego defenses.
Exam items give a short vignette and ask you to name the defense: a man who yells at his wife and then brings her flowers and cooks dinner without acknowledging the fight, or a client who repeatedly checks or repeats phrases after an aggressive thought. The key feature is a later action meant to erase an earlier one.
The trap is confusing undoing with reaction formation. Reaction formation replaces an impulse with its opposite on an ongoing basis (overly sweet toward someone one resents); undoing is a corrective act after the fact. Undoing also overlaps with compulsions in OCD, but the defense label describes the mechanism, not the diagnosis.
On the exam
An act that tries to take back or cancel an earlier act or thought points to undoing.
Related concepts
References
Practice with exam-style questions
The free mini test is 30 questions on an exam-style screen, each with a detailed answer. You do not need an account to start.