PurposeThis study examined how consumer competition affects purchase intention. The anticipated loss of not buying and the anticipated gain of buying are considered the underlying mechanism. This research also demonstrated the moderating effects of situational factors such as purchase importance and prior brand attitude.Design/methodology/approachIn total, 200 responses were collected from an experiment that manipulated the level of consumer competition in the retail environment. Structural equation modeling (SEM) and multigroup analysis were used to test the hypotheses.FindingsThe results indicated that perceived competition positively affects both the anticipated loss of not buying and the anticipated gain of buying. Among these, only the anticipated gain of buying significantly increased purchase intention. However, for participants with lower purchase importance or prior brand attitude, both the anticipated loss of not buying and the anticipated gain of buying significantly affected purchase intention.Research limitations/implicationsThe findings suggest an appropriate communication method when practicing retail strategies related to competition. In particular, the consideration of intervention of purchase importance and prior brand attitude helps retail managers execute marketing strategies more effectively.Originality/valueThis study verified the effect of consumer competition on purchase intention in terms of anticipated losses and gains related to buying. Moreover, the moderation effects of situational factors such as purchase importance and prior brand attitude were initially examined in the context of consumer competition.