Philosopher · High and Late Middle Ages · Tunisia
Ibn Khaldun
1332–1406
Tunisian born historian and thinker whose Muqaddimah, the introduction to his world history, founded the study of how societies rise and fall. He served courts across North Africa and Spain, met Timur in 1401, and died at Cairo. He lived 1332 to 1406.
Ibn Khaldun was born in Tunis in May 1332. His family, the Banu Khaldun, had left Seville in Muslim Spain generations earlier as Christian rule advanced, and men of the family had held office under the rulers of Ifriqiya, the Hafsid dynasty that governed from Tunis. He received the education of his class in Tunis, Quran, Arabic grammar, law and poetry, from teachers his autobiography names one by one. In 1348 and 1349 the Black Death reached Tunis. His parents died in the plague, and many of his teachers died or left the city. His mature work took up the plague as a general claim about population and decline.
At twenty he took his first post, as a secretary at the Hafsid court. The next twenty five years moved him across the courts of North Africa and Granada in a repeating pattern. He served the Marinid sultan Abu Inan at Fez as a member of his council of scholars and as a secretary, and when the sultan died and factions fought over the succession, Ibn Khaldun spent about two years in prison. Released, he changed patrons repeatedly, serving rulers at Bougie, Tlemcen and Granada, carrying embassies between them and to Pedro of Castile at Seville, where he had been received in 1364 and offered the restoration of his family's old property if he would stay, an offer he refused. Each post ended in a fall, a flight or a dismissal. His autobiography gives his account of these years. The bare sequence of posts and imprisonments is confirmed by other sources. The motives he assigns to himself and to his rivals are his own.
In 1377 he withdrew with his family to Qalat Ibn Salama, a castle in the highlands of what is now Algeria, under the protection of a local tribe. He stayed four years and there, in about five months by his account, he drafted the Muqaddimah, the Introduction, and began the large universal history it was written to open, the Kitab al-Ibar, the Book of Examples. The Muqaddimah runs to six chapters. It treats geography and climate, the difference between desert life and settled life, the nature of dynasties and kingship, the economy of cities, the crafts and sciences, and it opens with a method for history itself. A historian, he argued, must test reports against the known workings of society. Reports that the workings of society rule out are to be rejected however respectable the transmitters.
The center of the book is his account of asabiyyah, group feeling, and the cycle of dynasties that he built on it. The account that follows is his model, stated in his terms. Asabiyyah is the bond that ties a group together for mutual defense and for conquest, strongest among kin and among men bound by shared hardship. It is strongest, he held, among desert nomads, whose hard life keeps luxury away and forces each man to rely on the group. Religion can strengthen asabiyyah when it joins a religious call to a group already bound together, and his standing examples are the early Arab conquests. A group whose asabiyyah prevails over its neighbors founds a dynasty and takes the cities. Then the model turns. The ruler monopolizes glory and pushes aside the men whose group feeling raised him. City life and revenue bring luxury, and luxury softens the ruling group across generations. Ibn Khaldun set the natural life of a dynasty at about 120 years, in three or four generations. The founder keeps the virtues of the desert. The second generation learns from the founder but has seen less hardship. The third grows up in ease and imitates without understanding. The fourth holds the past in contempt and loses the qualities that held the state together. Taxes rise as cohesion falls, and he argued that heavy taxation at that stage cuts revenue rather than raising it, since it discourages building and trade. Senility, his word for the last stage, sets in as a chronic disease of the state, and a new group with intact asabiyyah takes power from outside.
In 1382 he sailed for Egypt and settled in Cairo, then the capital of the Mamluk sultanate and the largest city of the region. He taught law at al-Azhar and at other colleges, and the sultan Barquq appointed him chief qadi of the Maliki school in Egypt. He held the post six times across the rest of his life, dismissed and restored as court politics turned, and he made enemies by strict rulings and by his outsider standing in Cairo. His family, following him by sea in 1384, died when their ship sank off Alexandria, a loss his autobiography records in a short passage. He made the pilgrimage to Mecca in 1387 and traveled to Jerusalem and Damascus.
In 1400 the Mongol conqueror Timur took Aleppo and marched on Damascus. Ibn Khaldun had traveled to Syria in the company of the young Mamluk sultan Faraj, who then withdrew to Egypt and left Damascus exposed. Ibn Khaldun was among the delegation of scholars and officials who went out to negotiate with Timur. His autobiography reports the meeting in detail. He describes being lowered by rope from the city wall, his presentations of gifts, among them a Quran and a prayer rug from Egypt, and his conversations with Timur over several weeks, including Timur's questions about North Africa, for which Ibn Khaldun wrote him a description of the Maghreb. He reports that he praised Timur's learning and secured safe conduct for himself and for the scholars with him. Damascus was sacked after the delegation left, and Timur carried its craftsmen to Samarkand. The meeting as he tells it is his account, written by a man who had survived by negotiation at many courts, and other sources confirm the embassy and the sack without confirming his conversations. He returned to Cairo and died there in March 1406, still holding judicial office.
His readership came late and in two waves. Copies of the Muqaddimah circulated in the Islamic world, and Ottoman historians and statesmen read and used it from the sixteenth century onward. European scholars took him up in the nineteenth century, when translations into French made the Muqaddimah available in the west, and his standing rose through the twentieth century as historians and social scientists read him as an early founder of the study of society. Modern readers argue over how far the model fits cases outside the world it was built from.
Facts
- Born
- 1332, Tunis, Tunisia.
- Source: Encyclopaedia Britannica, Ibn Khaldun
- Died
- 1406, Cairo, Egypt.
- Source: Encyclopaedia Britannica, Ibn Khaldun
- School
- No school; the founder of historiography and early sociology.
- Source: Encyclopaedia Britannica, Ibn Khaldun
- Known for
- The Muqaddimah and its theory of asabiyyah, group feeling, which binds tribes into states and loosens as luxury corrupts them.
- Source: Encyclopaedia Britannica, Ibn Khaldun
Sources
- Stanford Encyclopedia of Philosophy, Ibn Khaldun
- Encyclopaedia Britannica, Ibn Khaldun Source
Source links accessed 22 November 2026.
Images

Related
- EgyptConnected
- WallachiaSame era
- Hongwu EmperorSame era
- Hundred Years WarSame era
- The Black DeathSame era
- Mansa MusaSame era
Keep reading
Test yourself
When was Ibn Khaldun born?
- 1130, Youxi, Fujian, China
- 1332, Tunis, Tunisia
- 1033, Aosta, in what is now Italy
- About 1287, Ockham, Surrey, England
Answer
1332, Tunis, Tunisia — Born: 1332, Tunis, Tunisia.
When did Ibn Khaldun die?
- 1111, Tus
- 1204, Fustat, Egypt
- 1406, Cairo, Egypt
- 1198, Marrakesh, Morocco
Answer
1406, Cairo, Egypt — Died: 1406, Cairo, Egypt.
What is Ibn Khaldun known for?
- The Sic et Non, his glosses on logic, and the Historia Calamitatum, his account of his own life
- The Muqaddimah and its theory of asabiyyah, group feeling, which binds tribes into states and loosens as luxury corrupts them
- The ontological argument: God, defined as that than which nothing greater can be thought, must exist even in reality. Also Cur Deus Homo, on why God became man
- The Guide for the Perplexed, the Mishneh Torah code of Jewish law, and the thirteen principles of faith
Answer
The Muqaddimah and its theory of asabiyyah, group feeling, which binds tribes into states and loosens as luxury corrupts them — Known for: The Muqaddimah and its theory of asabiyyah, group feeling, which binds tribes into states and loosens as luxury corrupts them.
Which school of thought was Ibn Khaldun part of?
- Asharite theology, joined to Sufi mysticism
- Islamic Aristotelianism, against the theologians
- No school; the founder of historiography and early sociology
- Neo Confucianism, the school of principle
Answer
No school; the founder of historiography and early sociology — School: No school; the founder of historiography and early sociology.
True or false: Tunisian born historian and thinker whose Muqaddimah, the introduction to his world history, founded the study of how societies rise and fall.
- False
- True
Answer
True — Tunisian born historian and thinker whose Muqaddimah, the introduction to his world history, founded the study of how societies rise and fall.
My notes
Highlights on this page
None yet.
Myth vs. evidence
The myth
Ibn Khaldun's Muqaddimah vanished after his death and stayed unknown until European scholars rediscovered it in the nineteenth century.
The evidence
Copies of the Muqaddimah circulated in the Islamic world for centuries, and Ottoman historians and statesmen read and used it. European scholars came late to a book that learned readers in Cairo and Istanbul had never entirely lost.
Sources: Robert Irwin, Ibn Khaldun, An Intellectual Biography
Spotted an error on this page? Email contact@keepthetale.com and it will be checked against the sources.
