A psychological mechanism in which certain thoughts or memories are suppressed and remain unconscious.