Theories on economic voting and democratic accountability are rooted in the reward–punishment hypothesis, stating that voters punish incumbent governments for economic decline and reward them for economic expansion. We argue that this accountability mechanism goes beyond economic performance indicators, as voters take into account a moral perspective about the economy as well. More specifically, we argue that when economic inequality is high, citizens’ social justice preferences are infringed upon, which could lower support for the incumbent. Moreover, as inequality leads to higher levels of conflict over economic resources, we should observe higher levels of economic voting in unequal contexts. Hence, we hypothesise that (1) economic inequality is negatively related to electoral support for the incumbent party (parties), and (2) the level of economic inequality moderates the effect of perceptions of economic performance on electoral support for the incumbent party (parties). We test our hypotheses using hierarchical models based on the Comparative Study of Electoral Systems and the European Social Survey. While we do not find support for a direct effect of inequality on electoral support, our findings strongly support the second hypothesis: incumbents are punished more strongly for a bad economic performance when economic inequality in the country is high.