Cell competition is a cell-cell interaction by which a cell compares its fitness to that of neighboring cells. The cell with the relatively lower fitness level is the "loser" and actively eliminated, while the cell with the relatively higher fitness level is the "winner" and survives. Recent studies have shown that cells with high Yes-associated protein (YAP) activity win cell competitions but the mechanism is unknown. Here, we report the unexpected finding that cells overexpressing constitutively active YAP undergo apical extrusion and are losers, rather than winners, in competitions with normal mammalian epithelial cells. Inhibitors of metabolism-related proteins such as phosphoinositide-3-kinase (PI3K), mammalian target of rapamycin (mTOR), or p70S6 kinase (p70S6K) suppressed this apical extrusion, as did knockdown of vimentin or filamin in neighboring cells. Interestingly, YAP-overexpressing cells switched from losers to winners when co-cultured with cells expressing K-Ras (G12V) or v-Src. Thus, the role of YAP in deciding cell competitions depends on metabolic factors and the status of neighboring cells.