Although individuals have different kinds of defensive strategies towards identity threat, the relationship between identity threat and unethical behavior is still unclear. In the current study, according to identity threat and self-affirmation theory, we propose and test the role of publicness of identity threat in determining whether identity threat will lead to unethical behavior. One online experiment with 197 participants (mixed design) and one laboratory experiment with 86 participants (between-subject design) are used to test our hypotheses. Our findings reveal that when individuals' identity threat is from the public sphere, it will increase their unethical behavior, but when such a threat is from the private sphere, it will reduce their unethical behavior. Theoretical and practical implications are discussed.