Egodystonic

Background
Egodystonic is a psychological term referring to behaviors, (e.g., dreams, impulses, compulsions, desires, etc.), that are in conflict, or dissonant, with the needs and goals of the ego, or, further, in conflict with a person's ideal self-image.

The concept is studied in detail in abnormal psychology, and is the opposite of egosyntonic. Obessive compulsive disorder is considered to be an ego-dystonic disorder, as the thoughts and compulsions experienced or expressed are often not consistent with the individual's self-perception, causing extreme distress.