Abstract Why do elections in some ethnically diverse constituencies resemble an ethnic census, while in others ethnicity plays a less prominent role? Prior literature on ethnic bloc voting in Africa suggests that political parties acquire ethnic ‘labels’ that tacitly signal which groups belong to the party. In ethnic census-style elections, voters and politicians then use ethnicity as a heuristic for deciding which party to support. However, ethnic censuses are not the only possible outcome in diverse constituencies. Links between ethnic identities and political parties can create a disconnect between locally and nationally relevant identities that affects the dynamics of local elections. Drawing on data from over 160 semi-structured, qualitative interviews and detailed election results in four ethnically diverse Kenyan parliamentary constituencies, I show how local constructions of ethnic difference mediate the effects of national political dynamics and shape patterns of political competition in parliamentary elections, affecting the behaviour of politicians and voters.