A defence mechanism is a coping technique that reduces anxiety arising from unacceptable or potentially harmful impulses. Defence mechanisms, which are unconscious, are not to be confused with conscious coping strategies. Sigmund Freud was one of the first proponents of this construct. Defence mechanisms may result in healthy or unhealthy consequences depending on the circumstances and frequency with which the mechanism is used.
More at: Defence mechanisms