Recognizing democratic backsliding and increasing support for authoritarianism, research on public preferences for democracy and its authoritarian alternatives has gained traction. Moving beyond the extant focus on economic determinants, our analysis examines the effect of national identity, demonstrating that it is a double-edged sword for regime preferences. Using recent European Values Survey data on 24 European countries from 2017 to 2018, we show that civic national identity is associated with a higher support for democracy and lower support for authoritarian regimes, whereas the reverse holds for ethnic identities. Further, economic hardship moderates these relationships: it strengthens both the negative effect of ethnic national identities and, to some extent, the positive effect of civic national identities on democracy support vis-à-vis authoritarian alternatives. This has important implications for the survival of democracy in times of crises and the study of a cultural backlash, since social identity matters substantively for individuals’ responses to economic hardship.