reaction formation

noun

Medical Definition of reaction formation

: a psychological defense mechanism in which one form of behavior substitutes for or conceals a diametrically opposed repressed impulse in order to protect against it