Scholars of nationalism in the Arab Middle East in the late nineteenth and early twentieth centuries have focused mainly on its spokespeople from among state officials, military officers, and intellectuals. These groups were shaped by European colonialism, modernization, the expansion of education, and state formation, and aspired to achieve national independence and constitutionalism. Little attention was paid to religious scholars (ulema) because they were largely perceived as gatekeepers of the traditional imperial order who had, in the modern era, lost their influence and status. Focusing mainly on Egypt and Syria, this article seeks to contest the prevailing paradigm by highlighting the contribution of ulema to the fostering of ethnic identities in premodern times, and re-examining their place in the emerging national discourse in the Arab Middle East.