In two studies we examined whether and when anticipated group-based shame leads to less ingroup favoritism on the part of members of high-status groups in stable hierarchies. In Study 1 (n = 195) we measured anticipated group-based shame and found that it only negatively predicted ingroup favoritism in stable high-status groups. When anticipated group-based shame was low, members of such groups exhibited the highest levels of ingroup favoritism. However, these groups displayed the lowest levels of ingroup favoritism when shame was high. In Study 2 (n = 159) we manipulated anticipated group-based shame using a bogus-pipeline method. Members of stable high-status groups were less likely to discriminate against a low-status group in the high than in the low anticipated group-based shame condition. This may explain discrepancies in previous research regarding the amount of ingroup favoritism exhibited by (stable) high-status groups: Shame only leads to less discrimination when identity was secure.