Ibn Khaldun identifies roughly five stages in the life of a dynasty. The first is the stage of conquest: a group with powerful ʿaṣabiyya, usually from the desert or the periphery, overthrows the weakened incumbent dynasty. The second is the stage of consolidation: the new ruler concentrates power, building institutions and removing potential rivals. The third is prosperity and leisure: the dynasty produces wealth, patronises culture, and builds monuments — but the ruling group begins to lose its martial vigour. The fourth is contentment and peacefulness: the ruler relies increasingly on bureaucrats and mercenaries; the ruling class becomes passive. The fifth is dissipation: luxury and internal rivalry have destroyed ʿaṣabiyya; the dynasty cannot defend itself and falls to a new challenger.
Ibn Khaldun offers a famous generalisation: dynasties typically last no longer than three or four generations, or roughly 120 years. The first generation builds the dynasty through struggle and maintains the toughness of its desert origins. The second generation experiences both the old hardship and the new prosperity, straddling the transition. The third generation grows up entirely in luxury and has no personal memory of the conditions that made the dynasty possible. By the fourth generation, the ʿaṣabiyya of the founding group has fully dissolved. This "three-generation rule" is not a law of nature but a statistical tendency derived from Ibn Khaldun's reading of Islamic history.
What makes Ibn Khaldun's dynastic cycle theory remarkable is its aspiration to scientific status. Rather than explaining political change by divine providence, personal virtue or vice, or contingent events, he identifies structural forces — ʿaṣabiyya, the material conditions of urban versus nomadic life, the economic effects of luxury — that operate across different cultures and periods. The historian's task is not merely to chronicle events but to understand the hidden causes that generate them: to extract from the record of dynastic rise and fall the permanent laws of human social organisation.
The dynastic cycle analysis draws on Ibn Khaldun's direct experience of political life in fourteenth-century North Africa and Spain, a period of intense dynastic competition and collapse. Modern scholars have compared his theory to Toynbee's civilisational analysis and Spengler's account of cultural decline.