ʿAsabiyya or asabiyyah (Arabic: عصبيّة) is a concept of social solidarity with an emphasis on unity, group consciousness and sense of shared purpose, and social cohesion, originally in a context of "tribalism" and "clanism". It was familiar in the pre-Islamic era, but became popularized in Ibn Khaldun's Muqaddimah where it is described as the fundamental bond of human society and the basic motive force of history, pure only in its nomadic form. ʿAsabiyya is neither necessarily nomadic nor based on blood relations; rather, it resembles philosophy of classical republicanism. In the modern period, it is generally analogous to solidarity. However, it is often negatively associated because it can sometimes suggest loyalty to one's group regardless of circumstances, or partisanship. Ibn Khaldun also argued that ʿasabiyya is cyclical and directly related to the rise and fall of civilizations: it is most strong at the start of a civilization, declines as the civilization advances, and then another more compelling ʿasabiyyah eventually takes its place to help establish a different civilization.
Ibn Khaldun describes Asabiyyah as the bond of cohesion among humans in a group forming community. The bond, Asabiyyah, exists at any level of civilization, from nomadic society to states and empires. Asabiyyah is most strong in the nomadic phase, and decreases as civilization advances. As this Asabiyyah declines, another more compelling Asabiyyah may take its place; thus, civilizations rise and fall, and history describes these cycles of Asabiyyah as they play out.
Ibn Khaldun argues that each dynasty (or civilization) has within itself the seeds of its own downfall. He explains that ruling houses tend to emerge on the peripheries of great empires and use the much stronger ʿasabiyya present in those areas to their advantage, in order to bring about a change in leadership. This implies that the new rulers are at first considered "barbarians" by comparison to the old ones. As they establish themselves at the center of their empire, they become increasingly lax, less coordinated, disciplined and watchful, and more concerned with maintaining their new power and lifestyle. The ʿasabiyya, dissolves into factionalism and individualism, diminishing their capacity as a political unit. Thus, conditions are created wherein a new dynasty can emerge at the periphery of their control, grow strong, and effect a change in leadership, beginning the cycle anew. Ibn Khaldun also further states in the Muqaddimah that "dynasties have a natural life span like individuals", and that no dynasty generally lasts beyond three generations of about 40 years each.