An institution founded to propagate a doctrine became, within two centuries, the world’s leading centre for teaching the opposite of that doctrine. It has continued in that second role for eight hundred years, considerably longer than it held the first, and almost nobody who encounters it now is aware of the reversal.
That inversion is the subject of this article, and the claim it defends is the mosque that became a university thesis: that al-Azhar’s history runs against its own founding purpose, that this reversal is the most interesting thing about it, and that understanding why an institution can be captured and repurposed explains more than any account of its continuity.

The popular framing gets in the way. Al-Azhar is routinely introduced as the oldest university in the world, a claim that is contested on several grounds and that flattens the institution into a record holder. The record is arguable; the reversal is not, and it is the better story.
A second obstacle is the word university itself, which carries a specific set of institutional features that al-Azhar did not have for most of its history and that were not present anywhere before the medieval European foundations. Whether an institution qualifies depends entirely on the definition chosen, and the argument is usually about definitions rather than about history.
This article owns the institution: its founding, its teaching, its reversal, its authority and the debate about its age. The dynasty that founded it belongs to the article on Fatimid Egypt, the city it anchors to the article on how the Fatimids founded Cairo, the doctrine it was built to spread to the article on Shia Islam and the Fatimid caliphate, and the earlier great mosque that also served as a teaching centre to the article on the Mosque of Amr.
The Al-Azhar Table
The table below is this article’s findable artifact, setting out the founding, the teaching, the age claim and the authority against the evidence and the honest limit on each.
| Element | What is the case | The evidence | The honest limit |
|---|---|---|---|
| Founding | Begun around 970 and completed about 972 as the congregational mosque of the new Fatimid capital | Narrative accounts; the building itself; the founding date is consistently reported | The exact completion date varies by a year between accounts |
| Original purpose | A congregational mosque and a centre for propagating the dynasty’s doctrine | The dynasty’s known missionary organization; the teaching established there | How much formal teaching happened in the earliest decades is unclear |
| Teaching organization | Circles gathered around individual scholars rather than a faculty structure | The general pattern of Islamic teaching; later descriptions | Documentation of the earliest arrangements is thin |
| The reversal | Sunni teaching replaced Shia after 1171 and the institution became a Sunni centre | Narrative accounts of the restoration; the subsequent record | The period of interruption and its length are reported variously |
| The interruption | Congregational prayer was suspended for roughly a century after the Ayyubid takeover | Narrative accounts | Whether teaching stopped entirely is debated |
| Mamluk revival | Restored and endowed heavily from the later thirteenth century onward | Endowment records; building campaigns; the surviving fabric | Attribution of specific works is uneven |
| Oldest university claim | Genuinely contested, with rival claimants and a definitional problem underneath | The claim’s history; the features of the institutions compared | The dispute cannot be settled without agreeing a definition first |
| Curriculum | Religious sciences at the core, with grammar, logic and auxiliary disciplines | Descriptions of study; the qualifications awarded | The balance shifted over centuries and is not uniform |
| Funding | Endowments supporting teachers, students and the fabric | Endowment deeds; the institution’s survival through weak regimes | The scale at any given period is hard to establish |
| Modern form | Reorganized as a modern university in the twentieth century alongside the mosque | Legislation; the present institutional structure | The relationship between the modern university and the historic institution is itself argued |
The Founding
The mosque was begun almost immediately after the Fatimid occupation and its position in the founding programme tells you what it was for.
The date is around 970, with completion generally given as 972, which places it among the first substantial buildings of the new capital and within three years of the occupation. The article on the founding of that city sets out the programme: a wall, two palaces, regimental quarters and this mosque.
When was Al-Azhar founded?
Around 970, with completion usually given as 972, making it one of the first major buildings raised in the new Fatimid capital within three years of the occupation of Egypt. The general who commanded the expedition and founded the city also began the mosque, and it served as the new capital’s congregational mosque from the start.
The founder was the same general who commanded the expedition and laid out the city, and the speed with which the mosque followed the wall indicates that it was part of the original plan rather than an addition.
Its position inside the walls placed it within the closed enclosure described in the article on that founding, which means it was not a public mosque for the population of Egypt but a congregational mosque for the court, the army and the officials who lived inside.
Which dynasty built Al-Azhar?
The Fatimids, the Shia dynasty that took Egypt in 969 and ruled it until 1171. They built it as the congregational mosque of their new walled capital and as an instrument for propagating their own doctrine, which makes its later career as the foremost school of the Sunni world a complete reversal of its founding purpose.
Its function was double from the start. A congregational mosque serves communal prayer, and the article on Fatimid Egypt describes a missionary organization operating as a second administration with its own hierarchy and its own graded system of instruction. A mosque in the new capital was the natural setting for the teaching side of that apparatus.
The formal teaching sessions are recorded from the later tenth century, with sessions held for different audiences, and the arrangement reflects the graded structure the dynasty’s doctrine required rather than an open school.
The name is the last element of the founding worth noting, and its origin is not settled.
What does the name al-Azhar mean?
It derives from an Arabic root meaning radiant or resplendent. The usual explanation connects it to a title of the Prophet’s daughter, from whom the dynasty claimed descent, which fits the Fatimid programme exactly. An alternative traces it to the palaces the mosque stood among, and the question is not settled.
The Fatimid Institution
What al-Azhar was under the dynasty that built it differed substantially from what it became, and setting out the difference is necessary before the reversal makes sense.
Its teaching served a doctrine. The article on Fatimid Egypt establishes that the caliph was also an imam, that the dynasty’s claim rested on designated succession, and that the missionary organization propagating this operated through graded initiation in which deeper doctrine was disclosed progressively to those who had advanced.
That structure has a consequence for teaching that is easy to miss. An institution transmitting a doctrine of restricted access cannot be an open school, because openness is precisely what the doctrine’s transmission model excludes.
The sessions held there reflected this. Instruction for the general audience covered law and practice; instruction for the initiated covered the doctrine proper, and the two were not the same activity.
The endowment supported teachers, students and copyists, and a library was assembled, with the dynasty’s palace library the more famous collection.
The state connection was direct. This was the caliphate’s own mosque in the caliphate’s own capital, funded by the caliphate, teaching the caliphate’s doctrine, and its chief was a state appointment.
Why is Al-Azhar important to Islam?
Because for eight centuries it has been the principal centre of Sunni religious learning, training scholars, judges and jurists across the Muslim world, and its pronouncements carry weight far beyond Egypt. Its authority rests on continuity of teaching, the reach of its graduates and the reputation of its senior scholars rather than on any formal jurisdiction.
The comparison with the older congregational mosque in the older city, described in its own article, is instructive. That building had been a teaching centre for centuries by 970, with circles gathered at named columns and a founder of Islamic jurisprudence among its teachers, and it was Sunni.
So Egypt in the eleventh century contained two great teaching mosques in two cities holding opposed doctrinal positions, one funded by the state and one by the population, and the article on the dynasty’s failure to make Egypt Ismaili should be read with that fact in view.
The Reversal
The transformation from a Shia foundation into a Sunni institution is the central event in al-Azhar’s history and it happened quickly.
The trigger was the Sunni restoration of 1171, described in the article on Fatimid Egypt as remarkably frictionless, in which the Fatimid caliphate was abolished by a change of name in the Friday sermon and met no resistance.
How did a Shia foundation become a Sunni institution?
Through the Sunni restoration of 1171, which abolished the Fatimid caliphate. The new regime suppressed the mosque’s Shia teaching, suspended congregational prayer there for roughly a century, and the institution was later restored and richly endowed as a Sunni centre under the Mamluks, teaching the doctrine its founders had opposed.
The immediate treatment of the mosque was suppression rather than destruction. Its Shia teaching ended, its endowments were redirected, and congregational prayer there was suspended for a long period, reported as roughly a century.
The reason for suspension rather than repurposing involves a technical point of law. Some jurists held that a city should have only one congregational mosque, and the new regime’s preferred congregational mosque was elsewhere, which supplied a doctrinally respectable ground for closing this one.
Did Saladin close al-Azhar?
The Ayyubid regime he founded ended al-Azhar’s Shia teaching and suspended congregational prayer there for roughly a century after 1171, which is close enough to closure that the shorthand is understandable. The building was not destroyed, some teaching appears to have continued, and the institution was restored under the Mamluks.
The building survived, which is the pattern the article on the Mosque of Amr identifies: a congregational mosque is inherited rather than demolished, because destroying one costs legitimacy, whereas the Fatimid palaces nearby were dismantled without hesitation.
The restoration came under the Mamluk regime from the later thirteenth century, when congregational prayer resumed, endowments were established, teachers were appointed and building campaigns began, and from that point the institution grew steadily as a Sunni centre.
The completeness of the reversal is the striking part. An institution founded to propagate a doctrine spent eight centuries teaching against it, and its Fatimid origin is now a historical footnote rather than a live element of its identity.
The general observation is that institutions are far more capturable than they look. A building, an endowment, a teaching tradition and a reputation are assets that serve whoever controls them, and the doctrine attached to them is the most easily replaced component.
The Egyptian Pattern Again
Al-Azhar’s history repeats a pattern this cluster has now established across several separate articles, and naming it once more here is worth the space, because a pattern observed once is an anecdote and a pattern observed three times in three centuries is a mechanism.
The pattern is simple and it has held three times in three centuries: a regime arrives, builds on open ground beside the existing city, falls, and its religious foundation survives while every one of its political buildings disappears.
The garrison foundation of the 640s produced a congregational mosque that still stands and a governor’s residence that is entirely gone, as the article on the Mosque of Amr sets out.
The Tulunid quarter of the 870s produced a mosque that still stands and a palace, parade ground and administrative complex demolished in 905, as the article on that dynasty describes.
The Fatimid enclosure of 969 produced this mosque, which is still standing and still teaching, and two great palaces that were dismantled after 1171 and built over, as the article on that founding describes in detail.
Three regimes, three religious survivals, three political erasures, and the mechanism is identical in each case: a congregational mosque cannot be destroyed without a legitimacy cost that no incoming regime is willing to pay, while a palace can be dismantled at a profit and its ground sold or granted to supporters.
What al-Azhar adds to the pattern is a further step the other two never took. It shows that survival is not merely passive, since this building was not simply left standing and quietly maintained but was actively captured, deliberately re endowed and turned to the exact opposite of its founding purpose, which is a considerably more eventful fate than either of the other two mosques experienced.
The general observation for the whole cluster is that the religious infrastructure of Egypt is the country’s most durable institutional layer, more durable than its dynasties, its capitals, its administrative systems and its palaces, and that this durability comes from a specific legal and normative protection rather than from anything about the buildings themselves.
The Fatimid Investment in Learning
Al-Azhar was not the dynasty’s only educational foundation, and setting it among the others clarifies what the Fatimids were attempting.
The palace library was the largest of the projects, a collection of very substantial size assembled at enormous expense, with copyists, binders, librarians and repairers employed to maintain it, and by any reasonable account it was among the great libraries of the medieval world. Figures given for its holdings in the sources are large and should be treated with the caution this series applies to all medieval numbers.
A separate institution devoted to the sciences was founded in the early eleventh century, providing books, teaching sessions, materials and stipends, and it functioned as a combined research and teaching establishment on a model unusual for the period and closer in conception to a modern institute than anything else the century produced.
The sessions of instruction organized by the missionary apparatus were held in several settings including the palace, and the teaching described earlier at al-Azhar was one component of a larger programme rather than the whole of it.
The investment reflects the dynasty’s situation directly. A regime whose legitimacy rested on a doctrinal claim needed that claim taught, defended and elaborated, and scholarship was therefore a state priority in a way it was not for regimes whose legitimacy rested on conquest or descent alone.
The dispersal after 1171 removed almost all of it. The palace library was broken up, the scientific institution did not survive in its Fatimid form, and what remained of the programme was the mosque, which is the pattern this cluster has now shown three times: the religious building survives and everything attached to a dynasty does not.
The irony is worth stating plainly. The Fatimids invested more in learning than most medieval regimes, and the only part of that investment to survive is the one that was subsequently turned against them.
The general observation is that survival is not merit. What remains from any period is what later actors had reason to keep, and reasoning from what survives to what a regime valued produces systematic error, which the article on the founding of Cairo makes about buildings and this one confirms about institutions.
Continuity and What It Actually Means
The claim that al-Azhar has operated continuously for a thousand years is made constantly, and unpacking what continuity can mean here is worth doing since the article has now assembled all the pieces.
Continuity of site is the strongest sense and it holds. The institution has occupied the same ground since around 970 without interruption.
Continuity of building holds in a qualified form. Founding fabric survives, unlike at the Mosque of Amr, and the great majority of what stands is later, so the four senses test from that article applies here too.
Continuity of function is complicated by the suspension. Congregational prayer stopped for roughly a century, which is a genuine interruption whatever else continued.
Continuity of doctrine does not hold at all. The institution taught one tradition for two centuries and its opposite for eight, which is the reversal this whole article is about.
Continuity of institutional form does not hold either. A mosque with teaching circles and a modern university with faculties and degrees are different kinds of body, and the twentieth century reorganization changed the kind.
Continuity of tradition is the sense in which the claim is strongest and vaguest. Teaching in the religious sciences has been conducted on that ground, in a recognizable succession, for most of a millennium, and that is real and hard to specify.
The honest summary is that al-Azhar has continuity of site, substantial continuity of teaching tradition, interrupted continuity of function, and no continuity of doctrine or institutional form. Which of those a speaker means determines whether the continuity claim is impressive, ordinary or false, and speakers rarely say.
The general point, repeated from the article on the Mosque of Amr because it keeps applying, is that any claim of great age or unbroken continuity should be met with a question about which sense is intended, and that the answer usually turns out to be more interesting than the claim.
The Congregational Function
An article about a teaching institution risks forgetting that al-Azhar is first a mosque, and its congregational life deserves its own treatment.
The daily function is prayer, five times, with a congregation drawn from the surrounding quarter, and it has operated that way for most of a thousand years apart from the suspension already discussed.
The Friday gathering is the larger event and it carries the significance the article on the Tulunid dynasty identifies, since the sermon names the ruling authority and the mosque is therefore where sovereignty is publicly acknowledged.
That function made the mosque politically consequential at every period. A regime wants the right name in the sermon at the principal mosque, which is why control of such buildings mattered, and it is part of why the Fatimid caliphate built one and the Ayyubid regime silenced it.
Ramadan brings the largest gatherings, as it does at the older mosque described in its own article, and the pattern of a great historic mosque filling far beyond its ordinary congregation during the month is consistent across Egypt.
The relationship between congregation and students is close, since the students studying in the building are also praying in it, and the physical arrangement of circles in the same space that hosts prayer means the two functions occupy one room at different hours.
The visitor’s experience reflects this. The complex is a working mosque with a congregation rather than a preserved monument, which the article on the Mosque of Amr identifies as the condition that distinguishes a living building from a museum.
The general observation is that the teaching function grew inside the congregational one and depended on it, since the mosque supplied the space, the protection, the endowment framework and the audience, and an account treating al-Azhar purely as a school describes the tenant while ignoring the building.
Reading an Institutional History
The method used in this article generalizes, and stating it explicitly is more useful than the al-Azhar details alone.
The first question is what it was founded to do. Founding purpose is usually recoverable from the founder’s other activities, the institution’s original funding and its physical form, and it is frequently unlike what the institution later became.
The second question is who paid and on what terms. Revenue determines autonomy, and an institution’s independence at any period is a function of whether its money can be withdrawn by a single actor.
The third question is what happened at each change of regime. Institutions are most legible at moments of political disruption, since a new authority must decide whether to destroy, suppress, capture or ignore, and its choice reveals what the institution was worth to it.
The fourth question is which components are separable. A building, an endowment, a staff, a curriculum, a reputation and a purpose are distinct assets, and identifying which can be replaced without disturbing the others predicts how the institution can be captured.
The fifth question is what the institution says about itself. Official histories emphasize continuity, foundation dates and unbroken tradition, and comparing that account with the record identifies what the institution wants believed, which is itself evidence.
The sixth question is where its people go. An educational or professional institution’s influence is measured by the positions its graduates occupy, not by its own statements about importance.
Applied to al-Azhar these six questions produce this article. Applied to any long lived institution they produce a comparable account, and the fourth question in particular tends to yield the most surprising results.
The Missionary Apparatus It Served
The organization al-Azhar’s Fatimid teaching belonged to deserves fuller description, because it explains why the institution took the form it did and why the doctrine failed to spread.
The apparatus was a hierarchy of agents, described in the article on Fatimid Egypt as a second administration operating alongside the state, with its own chief, its own regional structure and its own personnel deployed in rival territory as well as in Egypt.
Its purpose was to win adherents to the dynasty’s claim, which was a political and religious project at once, since the caliph whose authority was being asserted was also the imam whose guidance the doctrine required.
Its method was graded instruction, in which an inquirer was taken through progressive stages with deeper teaching disclosed at each, under an oath of confidentiality, so that the full doctrine reached only those who had advanced a long way.
The consequence for al-Azhar is that its Fatimid teaching had two levels. Public sessions taught law and practice to a general audience, while the doctrine proper belonged to the graded apparatus, and the mosque hosted both without conflating them.
The consequence for the dynasty is the one the article on Fatimid Egypt identifies as decisive. A doctrine transmitted through graded initiation under oath cannot become a mass religion, because the transmission method is designed to restrict rather than to spread, so the apparatus was structurally incapable of doing what the dynasty most needed.
The contrast with the institution’s later career is the sharpest available illustration of the reversal. An institution whose original teaching was restricted by design became one whose whole function was open mass instruction of a public doctrine, and the change in method is as complete as the change in content.
The general observation is that how a body of knowledge is transmitted constrains how far it can spread, and that a movement whose transmission model requires initiation has chosen depth over reach whether or not it recognizes the choice.
The Institution as a Case Study
Al-Azhar is unusually useful for thinking about institutions generally, and setting out why makes the article’s argument portable.
It is old enough to show long run behaviour. A thousand years covers many regimes, several political systems, one complete doctrinal reversal, a technological revolution in the book and a comprehensive modern reorganization, which is a wide range of stresses to observe one body absorbing.
It is documented well enough in its later periods and poorly enough in its earliest to illustrate how evidence shapes what can be claimed, and the age dispute is a direct product of that asymmetry.
It has been captured, which is rarer in the record than continuity and far more instructive, since watching an institution change its purpose while keeping everything else identifies which components are load bearing.
It has been funded three ways in succession, by a caliphate, by protected endowments and by a modern state, and comparing its independence under each is close to a controlled experiment on the relationship between revenue and autonomy.
It sits at the intersection of religion, education, law and politics, so its history bears on all four and can be read from any of them.
It is still operating, which means the account has to reckon with a live institution’s own view of itself and with the political stakes attached to that view, and the difference between what the institution says about its history and what the record supports is instructive on its own.
The general recommendation is that anyone thinking about how institutions persist should reach for cases with reversals rather than cases with continuity, because the reversal is where the mechanism becomes visible and continuity explains nothing by itself.
What Would Change This Picture
Naming the evidence that would revise the account is the fairest test of an argument, and several kinds would revise this one.
A body of endowment deeds from the Fatimid period would transform the earliest section. What teaching al-Azhar actually supported in its first two centuries is the weakest documented part of its history, and deeds specifying teachers, stipends and subjects would settle it.
Documentation of the century of suspension would resolve the second weakest point, since whether teaching continued and in what form is inferred rather than known.
A systematic study of authorizations issued at al-Azhar across periods would reconstruct the intellectual network directly, showing who taught what to whom and how the institution’s reach actually grew, which would replace assertions about influence with a countable record.
Comparative work on the endowment portfolios of the great teaching institutions would test the claim this article makes about endowments as the mechanism of survival, since the prediction is that institutions with larger and better protected portfolios survived political disruption better.
Better documentation of student numbers and origins across periods would quantify the international reach that this article treats qualitatively.
Analysis of the surviving fabric distinguishing Fatimid from later work more precisely would sharpen the building chronology, which is more securely dated in its Mamluk phases than in its founding one.
None of these is likely to arrive soon, and the value of listing them is in marking where the account is secure and where it is inference. The founding date, the Fatimid origin, the reversal after 1171 and the Mamluk restoration are secure. The earliest teaching, the suspension and the scale of the institution at any given period are reconstructions.
Memorization and Method
The pedagogical methods of the tradition are frequently caricatured, and describing them accurately explains why the system produced the scholars it did.
Memorization is the foundation and its purpose is technical rather than ceremonial. A scholar working with texts that exist in expensive variant manuscripts, arguing from a corpus of transmitted material, needs that corpus available instantly, and a memorized text can be searched, compared and cross referenced in a way a shelf of manuscripts cannot.
The Quran is memorized first and completely, and it functions as the shared reference against which everything else operates.
Core texts in each discipline follow, often in verse form specifically to aid memorization, and a student typically memorized a compact summary of a field before studying the commentaries that unpack it.
The commentary tradition is the second element and it is where the intellectual work happens. A base text is terse; the commentary explains it; a supercommentary argues with the commentary; and a scholar’s contribution is usually made at that level rather than by writing a freestanding treatise.
Disputation is the third. Students argued positions against one another under a master’s supervision, which trains the identification of weak premises and the construction of counterarguments, and the legal discipline’s whole method depends on that skill.
The criticism that this produces rote learning rather than thought misdescribes the sequence, since memorization is the precondition for the analytical work rather than a substitute for it.
The fair criticism is different and concerns what happens when the balance shifts, since a tradition can drift toward reproducing commentaries rather than arguing with them, and complaints of exactly that kind appear within the tradition itself across many periods.
The general observation is that pedagogical methods are adapted to the technology and the purpose of an education, and that judging a manuscript era system by the standards of a printed one mistakes a constraint for a choice.
The Institution and the City
Al-Azhar’s fortunes and its city’s have been closely linked for a thousand years, and tracing the relationship completes the picture this cluster has been building.
The founding placed it inside a closed palace enclosure, as the article on that founding sets out, which means its first congregation was a court and an army rather than a population.
The opening of the enclosure across the following century brought it a general congregation for the first time, and the institution’s shift from a court mosque to a public one is part of the same process by which the palace city became a city.
The transfer of primacy after 1168 put it at the centre of the region’s population and commerce rather than at the edge, which is a large part of why it grew where the older city’s teaching mosque declined.
The Mamluk building boom filled the quarter around it with madrasas, mosques and markets, so it sat in the densest concentration of religious and commercial activity in the Islamic world.
The Ottoman centuries left it as the outstanding institution in a city that had become a provincial capital, which raised its relative importance as described earlier.
The modern expansion of the metropolis has left the historic complex in a crowded quarter while the modern university operates campuses elsewhere, which physically separates the two halves of the institution.
The reciprocal effect is worth noting, since the presence of thousands of students and scholars over centuries shaped the quarter around it, filling it with bookshops, copyists, lodgings and the services a student population requires.
The general observation, made in the article on the Mosque of Amr and confirmed here, is that an institution’s fortunes track its surroundings, and that the difference between Egypt’s two great teaching mosques is largely a difference between a district that emptied and a district that filled.
What al-Azhar Cannot Do
Naming an institution’s limits is as useful as listing its achievements, and several of al-Azhar’s are structural rather than circumstantial.
It cannot bind anyone. Sunni Islam has no mechanism by which an institution’s rulings become obligatory, so every opinion it issues persuades or fails to persuade on its merits and its authors’ standing.
It cannot prevent competing authorities. Anyone with sufficient learning and a following can issue opinions, and movements rejecting the traditional scholarly establishment entirely have grown considerably, which the institution can criticize and cannot stop.
It cannot fully separate itself from the Egyptian state, since public funding and state involvement in senior appointments are established facts of the modern arrangement, and its pronouncements are therefore read politically whether or not they are meant that way.
It cannot recover the endowment independence that once underwrote its autonomy, because the endowment system was absorbed into state administration in the modern period and rebuilding it is not on any agenda.
It cannot settle disputes within Sunni Islam by pronouncement, for the same reason it cannot bind anyone.
It cannot be simultaneously the guardian of a specific scholarly tradition and a comprehensive modern university without tension, and the debate about the twentieth century expansion is the ongoing expression of that.
It cannot claim to be the oldest university without entering an argument it cannot win on any neutral criterion, which is a small point and a recurring embarrassment.
The pattern in these limits is that most of them follow from features that are also strengths. No binding authority means no jurisdiction and also no schism. Public funding means dependence and also survival. Comprehensiveness means dilution and also reach. Institutions rarely have limits that could be removed without removing what makes them work.
The Four Schools
Understanding what al-Azhar teaches requires understanding the structure of Sunni law it teaches within, and a short account clarifies several things about the institution.
Sunni jurisprudence recognizes four established schools of legal method, each descending from an early jurist, each with its own body of doctrine, its own scholarly literature and its own geographic distribution.
The relationship between them is mutual recognition rather than competition for exclusive truth. Each regards the others as legitimate, a Muslim follows one, and a judge applies the school prevailing in his jurisdiction.
The consequence for a teaching institution is that it must teach all four to be comprehensive, and al-Azhar’s provision of instruction in each is a substantial part of what makes it a general rather than a local institution.
The article on the Mosque of Amr notes that a founder of one of these schools taught in that building in the early ninth century, which places the origins of this structure well before al-Azhar existed.
The Egyptian pattern of adherence has shifted over the centuries and a great teaching institution serving students from everywhere naturally accommodates all of them.
The comparison with the Fatimid period is instructive. The dynasty’s own legal tradition was distinct from all four, taught at al-Azhar during its first two centuries, and its removal after 1171 is precisely the reversal this article describes, with a fifth tradition replaced by the four it had competed with.
The general observation is that a system with four recognized methods and no adjudicating authority is more robust than one with a single orthodoxy, because disagreement is built into it rather than treated as a failure, and an institution teaching all four inherits that robustness.
The Suspension Examined
The century of suspended congregational prayer after 1171 is the single most debated period in al-Azhar’s history and it deserves closer treatment than the summary given earlier.
What is agreed is that the Ayyubid regime ended Shia teaching, redirected endowments, and that Friday congregational prayer was not held at al-Azhar for a long period afterward.
What is disputed is whether the building was closed entirely, whether teaching continued in some form, how long the suspension lasted precisely, and how much of the reported justification was doctrinal conviction rather than convenient cover.
The doctrinal argument advanced was that a city should have only one congregational mosque, a position held by some jurists, and the regime’s chosen congregational mosque was elsewhere. Whether that principle was applied because it was believed or because it was useful is not determinable from the sources.
The practical reading is that the regime wanted the flagship institution of the caliphate it had just abolished silenced, and needed a way to do it that did not involve destroying a mosque.
The evidence for continued activity is indirect: the building was maintained, it did not fall into ruin, and the Mamluk restoration was a resumption rather than a refoundation, which is easier if something had persisted.
The consequence for the age claim is direct, since a century of suspension is a substantial interruption in any argument about continuous operation, and how it is characterized is precisely the kind of judgment the earlier section identifies as unavoidable.
The general observation is that suppression is more common than destruction as a way of dealing with a hostile institution, because destruction is expensive in legitimacy and suppression leaves the asset available for later reuse. The Ayyubid handling of al-Azhar is a textbook instance, and the Mamluk restoration a century later shows exactly why suppression is the more useful option.
The Fatimid Decoration
The surviving Fatimid work in the building is among the most important bodies of tenth and eleventh century Islamic decoration anywhere, and it deserves noting in an article otherwise concerned with institutions.
The carved stucco is the principal element, and the article on the Tulunid mosque describes the same technique arriving in Egypt a century earlier from Iraq, so the Fatimid work sits within an established Egyptian tradition rather than beginning one.
The motifs are the standard repertoire of the period developed to a high level: vegetal scrollwork, geometric interlace and inscriptions used as ornament, with the inscriptions carrying both decorative and declarative functions.
The inscriptions matter for the historical argument. Foundation and dedication texts name patrons and give dates, which is why the chronology of the fabric is more secure here than at buildings without them, and they also state doctrinal positions, which makes them evidence about the Fatimid programme.
The survival of Shia formulae in the fabric after a Sunni takeover is a small puzzle worth noting. Some Fatimid inscriptions were removed or altered and some were not, which suggests the suppression was directed at teaching and practice rather than at systematically erasing the building’s history.
The Mamluk and later decoration surrounds all of this and is of high quality in its own right, so the building presents a sequence of decorative styles across six centuries in one complex.
The comparison with the destroyed palaces is the point most relevant to this cluster. The article on the founding of Cairo notes that the Fatimid palaces vanished entirely, so what survives of Fatimid art in the capital is disproportionately religious, and this building is the largest single source.
The general observation is that decoration survives where the building survives, so the art history of any period is shaped by the same political selection that shapes its architectural history, and the Fatimid case is a clear illustration of that.
What al-Azhar Trained People To Do
An education is for something, and specifying what al-Azhar’s graduates actually did with their training grounds the whole account in practical consequence.
The judge is the first and most consequential product. Islamic law requires trained judges, every regime needs courts, and the training of men qualified to sit in them is the single most practically important function the institution performed.
The jurist consulted for opinions is the second. A qualified scholar issues responses to legal questions put to him, and the volume of such questions in a large society is enormous, covering commerce, marriage, inheritance, ritual and everything else.
The teacher is the third, and the system reproduces itself directly, since a student who receives authorizations becomes a master granting them.
The mosque functionary is the fourth and most numerous. Prayer leaders, preachers and the ordinary religious staff of thousands of mosques required training, and the bulk of graduates went into such positions.
The administrator is the fifth, since religious and legal training was a general qualification for literate employment and the endowment system itself required administrators.
The scholar producing new work is the smallest category and the most visible in the record, which produces a distortion, since the biographical dictionaries record the people who wrote books rather than the many more who simply did the work.
The geographic distribution follows from the international student body described earlier, so all of these functions were exercised across many countries by people trained in one city.
The general observation is that a professional training institution’s influence is best measured by counting the positions its graduates occupy rather than by reading its own account of itself, and by that measure al-Azhar’s reach across the Sunni world for eight centuries is difficult to overstate.
The Rival Claimants Examined
Since the age dispute keeps recurring, the actual candidates deserve setting out, because seeing them side by side makes clear why the argument does not resolve.
The Moroccan foundation is the strongest rival on al-Azhar’s own terms. Established in the ninth century as a mosque that became a teaching centre, it is roughly a century older, it has operated continuously in the same place, and every argument that makes al-Azhar the oldest makes this one older still.
The Italian foundation of the late eleventh century is the strongest rival on the strict definition. It was a corporate body from an early stage, conferring degrees, with a faculty structure and a legal identity, which is what the word university means in the tradition that produced the word.
Other European foundations follow within the following century and share the same corporate character.
Institutions in South and East Asia have claims of their own, some considerably older, and they meet neither definition cleanly because they were organized on yet other principles.
The pattern across all of them is that each is the oldest by some criterion and none by all, and the criteria are not neutral because each tradition’s institutions naturally satisfy the criteria that tradition developed.
The deeper problem is that continuous operation is itself hard to define. Institutions close, are suppressed, are refounded, move, merge and change character, and deciding whether the resulting body is the same one is a judgment rather than an observation. Al-Azhar’s century of suspended prayer is exactly such a case.
The recommendation this article makes is to abandon the question. What matters about these institutions is what they taught, how they taught it, who they trained and what those people did, and every one of those questions is answerable where the age question is not.
The general habit is worth stating once more. When a factual sounding dispute persists for decades without resolution, the usual reason is that the parties are using a key term differently, and identifying the term is faster than following the argument.
The Sources
What is known about al-Azhar’s history rests on a particular body of material, and its shape determines which periods are well documented and which are not.
The narrative histories of Egypt supply the political framework, the founding, the suppression and the restoration, and they are reliable for events and thin on institutional detail.
The great fifteenth century topographical compilation is again the principal source for the medieval institution, as it is for the Fatimid palaces and the older mosque, and its author describes the building, its endowments and its teaching with the same combination of detail and distance noted in those articles.
Endowment deeds are the most valuable documentary material and they are underused in popular accounts. A deed specifies the property, the purpose, the stipends, the number of teachers and students, the subjects and the administrative arrangements, which makes it a direct description of an institution’s operation rather than a narrative about it.
Biographical dictionaries of scholars are the richest source for the teaching, since they record who studied with whom, which texts, in which places, and assembling them reconstructs the actual intellectual network in a way no institutional history can.
The buildings themselves, with their inscriptions, supply dates and patrons for particular additions and are the most reliable evidence for the fabric’s chronology.
The modern period is documented conventionally through legislation, administrative records and an enormous secondary literature, and the difficulty there is partisanship rather than scarcity, since al-Azhar’s role is politically contested.
The characteristic gap is the earliest period. What teaching actually happened at al-Azhar in its first decades is poorly documented, which matters because the age claim depends on exactly that, and the confident assertions made about it rest on inference from the dynasty’s known practices rather than on records.
The general point is the one this series repeats. The evidence for an institution’s operation is usually administrative rather than narrative, and endowment deeds and biographical dictionaries tell you more about how a medieval school worked than any chronicle does.
Why the Reversal Was Possible
The central claim of this article deserves a mechanism rather than a description, and the question is what made an institution capturable in the way al-Azhar was.
The first condition is that the assets were separable from the doctrine. A building, an endowment portfolio, a teaching establishment and a reputation are all transferable, and none of them is intrinsically committed to any particular content.
The second condition is that the form of teaching was doctrine neutral. Circles around masters granting personal authorizations works identically whatever is being taught, so replacing the teachers replaces the content without disturbing the machinery.
The third condition is that the protected status of the building constrained the options. A congregational mosque cannot be demolished cheaply, as the article on the Mosque of Amr establishes, so a hostile regime’s realistic choices are suppression and repurposing rather than destruction.
The fourth condition is that the underlying subject matter was largely shared. Sunni and Shia legal and religious sciences differ substantially and overlap substantially, in method, in the texts they treat, in the disciplines they require and in the auxiliary subjects, so an institution teaching one can teach the other without rebuilding its intellectual infrastructure.
The fifth condition is that the population was never converted. The article on Fatimid Egypt argues that Egypt did not become Ismaili and that the frictionless restoration of 1171 proves it, and an institution whose doctrine had no popular constituency had nobody to defend it.
The combination made capture straightforward. Suppress the teaching, replace the teachers, redirect the endowments, wait a century and re endow, and the institution continues with different content.
The general observation, and the one this article most wants a reader to carry away, is that institutions are vessels. Their durability comes from their assets and their forms, not from their purposes, and a purpose is the component most easily replaced by anyone who controls the rest.
The Modern Reorganization
The conversion of a mosque based teaching tradition into a modern university is a substantial episode in its own right and it is the point at which al-Azhar’s institutional character changed most.
The pressure came from outside the institution. From the nineteenth century Egypt developed state schools, technical institutes and eventually a secular university on European models, and a religious establishment training scholars in a traditional curriculum found itself one option among several rather than the only route to an education.
The reform proposals accordingly ran from the late nineteenth century onward and were contested at every stage, with reformers arguing that the institution must add modern subjects and formal structures to remain relevant and opponents arguing that doing so would dissolve what made it valuable.
The changes introduced over the following decades included examinations, a defined curriculum, academic years, a faculty structure, formal degrees and eventually the addition of secular faculties.
The decisive legislation came in the twentieth century, reorganizing al-Azhar as a modern university with faculties in medicine, engineering, science, commerce and agriculture alongside the religious disciplines, and establishing campuses across the country.
The consequences are genuinely double edged and the debate about them remains live. A comprehensive university trains far more people, reaches far more fields and has a far larger presence, and a religious institution whose authority rests on a specific tradition may be diluted by becoming something else.
The endowment question sits underneath all of it. State absorption of endowment administration removed the independent revenue that the earlier sections identify as the basis of the institution’s historical autonomy, so the modern institution’s relationship with government differs structurally from the medieval one regardless of anyone’s intentions.
The general observation is that institutions under competitive pressure adapt by adopting their competitors’ forms, and that doing so preserves the institution while changing what it is, which is a trade that cannot be avoided and should at least be recognized.
The Ottoman Centuries
The period between the Mamluk revival and the modern reorganization is often skipped and it is where al-Azhar became the dominant institution it later was, so it belongs here.
The Ottoman conquest of Egypt in the early sixteenth century converted the country from an independent sultanate into a province of a larger empire governed from elsewhere, which is the pattern the article on the Arab conquest’s legacy identifies as Egypt’s recurring condition.
The consequence for the scholarly establishment was an increase in relative importance. A province whose ruling elite is appointed from a distant capital has a local establishment that represents continuity, and the scholars of al-Azhar became among the most consequential Egyptians in a way they had not been under regimes based in the country.
The competitive field narrowed as well. Many of the endowed madrasas founded in the Mamluk period declined as their endowments decayed or their patrons’ families lost position, and al-Azhar’s own endowments and reputation compounded, so it absorbed the primacy others lost.
The office of its head was formalized in the eighteenth century, giving the institution a single recognized leader for the first time, which is itself a mark of consolidated primacy.
The political role grew accordingly. Scholars of al-Azhar acted as intermediaries between the population and the authorities, voiced grievances, negotiated over taxation and were on occasion the effective spokesmen for the country, which is a substantial civic function.
The intellectual character of the period is debated, with older accounts describing stagnation and more recent work identifying continued activity, and the disagreement partly reflects which kinds of work each side counts.
The general observation is that an institution’s rise to dominance often owes as much to the decline of its competitors as to its own growth, and that the Ottoman centuries made al-Azhar preeminent partly by removing the alternatives.
What a Degree Was and Was Not
The difference between an authorization to teach and a degree is the technical heart of the oldest university dispute, and it repays a careful statement.
An authorization is granted by a person. A named master certifies that a named student has studied a named text with him and may transmit it, and the document records that relationship specifically.
A degree is granted by an institution. A corporation with legal personality certifies that a person has completed a defined programme and confers a status recognized by the corporation and by others who recognize the corporation.
The difference is not one of prestige or rigour but of what is being certified and by whom. The first records a link in a chain of transmission; the second records completion of a curriculum.
The consequences follow directly. An authorization is specific to a text and a master, so a scholar collects many of them and his standing depends on whose they are. A degree is general and portable, and its holder’s standing depends on the institution’s reputation rather than on the individual teachers.
The chain of transmission is the concept that makes the first system coherent. Authority in the religious sciences descends through documented person to person transmission back to the origin of the material, so the individual link is the unit of authority and an institution cannot substitute for it without breaking the chain.
The European system’s corporate degree solved a different problem, which was how to certify competence in a way that travelled and could be recognized by people who knew nothing of the individual teachers.
The application to al-Azhar is direct. For most of its history it produced authorizations and not degrees, which is a substantive difference in kind rather than a technicality, and the twentieth century reorganization that introduced degrees changed what the institution was doing at a fundamental level.
The general observation is that arguments about which institution came first almost always dissolve into observations that the institutions were doing different things, and that this is a more interesting conclusion than either answer to the original question.
Comparing Two Egyptian Teaching Mosques
Setting al-Azhar beside the older congregational mosque in the older city sharpens what was distinctive about each, and the two make an unusually clean pair.
The older mosque, treated in its own article, was founded in the 640s as the congregational mosque of a garrison settlement, grew into the province’s principal courtroom and teaching centre, and hosted a founder of Islamic jurisprudence in the early ninth century.
The newer mosque was founded in 970 inside a walled palace city, funded by a caliphate, teaching a doctrine that caliphate held, and closed to the general population along with everything else inside the wall.
The difference in origin is therefore complete. One grew from a community’s needs and the other was installed by a state, and the first three centuries of each reflect that.
The convergence is the interesting part. Both became teaching centres organized the same way, with circles around masters, endowed support and personal authorizations, because that is simply how instruction worked in this world regardless of who founded the building.
The divergence in outcome is equally clear. The older mosque’s teaching role declined as the district around it declined, following the pattern its own article describes, while al-Azhar’s grew because the city around it grew.
The lesson is that an institution’s fortunes track its surroundings more reliably than its founding. Both mosques taught the same subjects in the same way; one sat in a district that emptied and one sat in a district that became the centre of the country.
The general observation for the cluster is that Egypt’s four great congregational mosques, described across these articles, form a set in which foundation, survival, function and fortune vary independently, and comparing them isolates which factors actually determine what happens to an institution.
The Library and the Book
Texts are the material of a teaching institution and how they were produced, held and transmitted shapes everything about how it worked.
The book in this world was a manuscript, copied by hand, expensive, and existing in variant versions that a reader had to navigate. That single fact determines most of what follows.
The copying industry supported the institution, with professional copyists producing texts on commission and students copying their own from a master’s dictation or from a borrowed exemplar, which is itself an educational activity since copying a text attentively is a form of study.
The dictation session was accordingly a standard teaching form. A master read or dictated a text, students wrote it down, and the resulting copy carried the authority of having been taken directly from him, which connects the physical book to the chain of transmission the qualification system depends on.
The library at al-Azhar accumulated over centuries through donation and endowment, and endowed books were a common form of pious giving, with deeds specifying that a volume was given to a particular institution for the use of its students.
The Fatimid palace library was the more famous collection and it was dispersed after 1171, which is the usual fate of a dynastic collection, and the contrast with the endowed institutional library is exactly the contrast between a palace and a mosque that recurs throughout this cluster.
The variant text problem shaped scholarship directly. A discipline whose material exists in differing manuscript copies must develop methods for establishing what a text says, and the technical apparatus of transmission criticism in the religious sciences is partly a response to that requirement.
The printing question is worth a note. Printing in Arabic was adopted late in the region for reasons that included the manuscript tradition’s own strength and the scholarly establishment’s caution about a technology that reproduces texts without a chain of transmission, and the eventual adoption in the nineteenth century transformed the conditions of teaching.
The general observation is that the technology of the book determines the shape of education. A world of expensive hand copied variant manuscripts produces teaching organized around masters, memorization and transmission chains, and a world of cheap identical printed books does not need any of those things.
The Scholarly Establishment and the State
The relationship between al-Azhar’s scholars and the governments above them is a recurring theme across a thousand years and it follows a recognizable pattern.
The structural position is unusual. A scholarly establishment funded by protected endowments, holding authority derived from learning rather than appointment, and in possession of the legitimating vocabulary that rulers need, is neither an arm of the state nor independent of it.
The rulers’ interest is straightforward. A regime wants religious endorsement, wants its judges trained, wants its legal system staffed, and wants the scholarly establishment not to declare against it, and it pays for all of this through endowment and appointment.
The scholars’ interest is equally clear. They want their endowments protected, their appointments respected, their teaching undisturbed and their judgments enforced, and they need the state for all of it.
The result is a relationship of mutual dependence in which each side has leverage and neither has control, and the balance shifts with the strength of the regime.
The moments of friction are informative. When a regime demanded something the scholars considered improper, the scholars had limited but real options: refusal, public criticism, withdrawal of endorsement and, occasionally, mobilizing the population. The article on the Tulunid dynasty describes jurists convened at Damascus to pronounce a regent deposed, which is the same instrument used at the other end of the relationship.
The moments of alignment are more common and less discussed, since a scholarly establishment that endorses a regime routinely is doing what the arrangement was built for.
The modern shift has moved the balance decisively toward the state, since endowments were absorbed into state administration in the modern period and public funding replaced independent revenue, which removed the material basis of the older independence.
The general observation is that institutional independence rests on independent revenue, and that any account of a scholarly body’s freedom which does not examine where its money comes from is describing rhetoric rather than structure.
Students From Everywhere
The international character of al-Azhar’s student body is among its most consequential features and it explains most of its influence.
The pattern is old. Students travelled from across the Muslim world to study with particular masters, and the practice of travelling in search of knowledge is a recognized and praised activity in the tradition, with biographical literature full of scholars who crossed continents to hear a text from a specific teacher.
The accommodation reflected this directly. Residential quarters at al-Azhar were organized by region of origin, with groups from particular countries or provinces housed together, supported from endowments designated for them, and that arrangement persisted for centuries.
The consequence for the institution’s reach is enormous. A student who studies for years in Cairo and returns to a distant country carries the teaching, the texts, the methods and the connections with him, and the graduates of a single institution distributed across many countries constitute an informal network of considerable weight.
The consequence for the institution itself runs the other way. Students arriving from everywhere bring their own local traditions, questions and disputes, and an institution serving such a body is pushed toward positions that travel rather than positions that suit one place.
The reciprocal effect on Egypt was substantial too, since a permanent population of foreign students and scholars in the capital made it a node in an intellectual network stretching across the Islamic world.
The comparison with a modern university’s international students is close in structure and different in scale, and the durability of the arrangement across a thousand years is what distinguishes it.
The general observation is that an educational institution’s influence is largely a function of where its graduates go, and that an institution drawing students from a wide area and returning them home is building a distribution network whether or not it intends to.
The Mamluk Revival
The period in which al-Azhar became what it now is runs from the later thirteenth century to the sixteenth, and it deserves treatment because the institution’s real growth belongs there rather than to its founding.
The restoration of congregational prayer came under the Mamluk regime, ending the suspension imposed after 1171, and it was accompanied by endowment, appointment of teachers and a building campaign.
The reasons were political as well as pious. A regime of military slaves ruling a large population with no dynastic legitimacy needed the religious establishment’s endorsement, and endowing a great teaching institution is among the most visible ways to purchase it.
The competitive dimension mattered enormously. Mamluk officeholders competed with one another through pious foundation, since an endowed madrasa, mosque or hospital bearing a founder’s name was the standard form of elite display, and the article on the founding of Cairo notes that this is why the medieval quarter is so dense with such buildings.
The consequence for al-Azhar was accumulation. Successive patrons added endowments, teaching posts, student quarters, minarets and decoration across three centuries, and the institution grew from a restored mosque into a large complex with a substantial establishment.
The intellectual consequence was that al-Azhar became one centre among several rather than the dominant one, since Cairo in this period contained many endowed madrasas and the great scholars of the age taught across them.
The rise to primacy came later, as other foundations declined and al-Azhar’s endowments and reputation compounded, and by the Ottoman period it had become the principal institution.
The general observation is that an institution’s formative period is often not its founding. Al-Azhar’s identity as a great Sunni teaching centre was constructed across three centuries by patrons with political motives, several hundred years after a Shia dynasty built the mosque for entirely different reasons.
The Oldest University Question
The claim that al-Azhar is the world’s oldest university appears constantly and it is worth taking apart properly rather than either endorsing or dismissing it.
The first problem is definitional and it is the one that actually matters. A university in the sense the word carries in European history is a specific institution: a legally incorporated body with a charter, a defined faculty structure, a fixed curriculum leading to formal degrees conferred by the corporation, and a corporate existence independent of its members.
By that definition al-Azhar did not become a university until it was reorganized as one in the modern period, because a teaching mosque with circles gathered around individual scholars, granting authorization to teach a particular text by a particular master, has none of those features.
Is Al-Azhar the oldest university in the world?
The claim is contested and the dispute is really about definitions. If a university requires a charter, a faculty structure and corporately conferred degrees, al-Azhar became one only in the modern period. If it means a continuously operating centre of higher learning, al-Azhar has a strong claim, alongside a Moroccan foundation that is older still.
By a looser definition, meaning an institution of higher learning operating continuously in the same place with a recognized body of teachers and students, al-Azhar has a serious claim, and so do others.
The rival claimants are the second problem. A Moroccan foundation dating from the ninth century is older by roughly a century and makes the same kind of claim. The Italian foundation of the late eleventh century is younger but is a university in the strict corporate sense from an early stage. Institutions in South Asia and elsewhere have their own claims on other definitions.
The continuity problem is the third. Al-Azhar’s roughly century long suspension of congregational prayer after 1171 complicates any claim of unbroken operation, and how that period is characterized affects the answer.
Why do rival claims to being the oldest university exist?
Because the word university has no single definition that all claimants meet. A charter and corporately conferred degrees favour the European foundations; continuous higher teaching in one place favours the older Islamic ones. Each institution advances the definition on which it wins, and the argument is therefore about criteria rather than about history.
The reason the dispute persists is that each institution advances the definition on which it wins, and no neutral arbiter exists. Being the oldest is a valuable claim, so the incentive to define favourably is strong on all sides.
The honest position is that al-Azhar is among the oldest continuously operating centres of higher learning in the world, that it is not the oldest on every definition, and that the argument is more about criteria than about facts.
The more useful question, and the one this article prefers, is not which institution is oldest but what kind of institution each was, since the differences are the interesting part.
Mosque or University
The related question of what al-Azhar actually is admits a clearer answer, and it is both.
The mosque is a functioning congregational mosque and has been for most of the last thousand years, with daily and Friday prayers, a congregation and the ordinary life of such a building.
The teaching institution grew inside it in the manner described below and operated for centuries as a mosque based centre of instruction without any separate corporate existence.
Is Al-Azhar a mosque or a university?
Both, and the two are institutionally distinct in the modern period. The mosque has functioned as a congregational mosque since around 972. The teaching that grew inside it operated for centuries without separate corporate existence, and was reorganized in the twentieth century as a modern university with faculties, degrees and campuses alongside the mosque.
The modern university was created by legislation in the twentieth century, reorganizing the teaching into faculties, adding non religious subjects, establishing degrees and eventually campuses across Egypt, and it is a large modern institution by any measure.
The relationship between the two is close and not identical, since the modern university claims descent from the mosque’s teaching tradition while operating as a different kind of body under different rules.
The pattern is not unusual. Several ancient teaching institutions were reorganized on European university models in the nineteenth and twentieth centuries, and the question of whether the modern body is the same institution as its predecessor is the same question the section above raises about the age claim.
How the Teaching Worked
The mechanics of instruction at al-Azhar for most of its history are unfamiliar enough to be worth describing in detail, since they explain why the university comparison is awkward.
The unit was the circle, not the class. A recognized scholar sat in a particular place in the mosque, students gathered around him, and the group was identified by his name. The article on the Mosque of Amr describes the same arrangement in the older mosque, with particular columns known by the scholars who taught at them.
The relationship was between a student and a teacher rather than between a student and an institution. A student attached himself to a master, studied specific texts with him, and moved on to another master for other texts, assembling an education from a sequence of individual relationships.
How did teaching actually work at al-Azhar?
Through circles rather than classes. A recognized scholar sat in a particular place in the mosque and students gathered around him to study specific texts. The relationship ran between student and teacher rather than between student and institution, and a student assembled an education by attaching himself to a series of masters.
The qualification was an authorization to teach, granted by an individual master to an individual student for a specific text or body of material, certifying that the student had studied it with him and could transmit it. That is a certificate of transmission rather than a degree, and the difference is exactly the difference between a personal chain and a corporate award.
The curriculum was determined by the master and the student rather than by a syllabus, though convention established a standard sequence of texts in each discipline.
The pace was individual. There were no fixed terms, no cohorts, no examinations in the modern sense and no graduation ceremony, and a student stayed with a text until he had mastered it.
The certification chain is the crucial feature and it explains the whole system’s logic. Authority in this tradition runs through documented transmission from teacher to teacher back to the origin of the material, and an authorization is a link in that chain, which is why it must be personal and why an institution cannot grant it.
The general observation is that this is a coherent and sophisticated educational system built on different foundations from the European one, and describing it as a proto university obscures more than it reveals. It was not an early version of something else; it was its own thing.
Who could study at al-Azhar and how were students supported?
Admission depended on a teacher accepting a student rather than on any institutional process, so entry was informal and merit based within the limits of who could reach the city. Endowments supplied stipends, bread rations and lodging in quarters organized by region of origin, which made study possible for the poor.
Endowments and Survival
The financial arrangements behind the institution deserve a section because they explain how it survived eight centuries of unstable regimes.
The mechanism is the charitable endowment, in which a donor irrevocably assigns income producing property to support a specified purpose, with the assignment administered by trustees and legally protected from seizure.
The properties were typically agricultural land, shops, baths, mills or urban buildings, and their income supported teachers’ stipends, students’ allowances, the fabric of the building, the library and the staff.
What role did endowments play in al-Azhar’s survival?
They made it independent of any particular ruler. A charitable endowment assigns income producing property irrevocably to a purpose, protected in law from seizure, so teaching continued from established endowments through changes of dynasty, factional collapse and periods of official neglect. That is the mechanism behind eight centuries of continuity.
The legal protection is what matters most. An endowment is not the property of the ruler and cannot ordinarily be taken, so an institution funded this way is insulated from the fall of the regime that funded it, which is precisely what happened after 1171 and repeatedly afterward.
The political consequence is that a scholarly establishment supported by endowments has a measure of independence from the state, and the relationship between rulers and the religious establishment in Islamic history is shaped throughout by that fact.
The vulnerability is that endowments can be mismanaged, their properties can decay, and regimes short of money find ways to reach them, so the protection is strong rather than absolute.
How did al-Azhar survive centuries of changing rulers?
By being funded through protected endowments rather than by any regime’s budget, by teaching a body of knowledge every subsequent ruler needed transmitted, and by occupying a building nobody could destroy without cost. Rulers who suppressed it found it easier to redirect it, which is why suppression in 1171 was followed by restoration rather than demolition.
The accumulation over centuries is the other half of the story. Each generation of donors added endowments, and by the later medieval period the institution controlled a substantial portfolio, which is a considerable base of independent support.
What Is Taught
The content of instruction at al-Azhar has a stable core and a shifting periphery, and describing both is more useful than a single list.
The core is law, and it has been for eight centuries. Islamic jurisprudence, the derivation of rulings, the differences between the recognized schools and the methods of legal reasoning occupy the centre of the curriculum, because law is the practical discipline that produces judges, jurists and muftis.
What is taught at Al-Azhar?
Islamic law is the core, together with the transmitted traditions of the Prophet, Quranic recitation and interpretation, theology, and the auxiliary disciplines of Arabic grammar, rhetoric and logic that the primary subjects require. The modern university has added medicine, engineering, science, commerce and other faculties alongside the religious ones.
The transmitted traditions of the Prophet form the second pillar, with their own technical apparatus for assessing chains of transmission, and this discipline is the historical and evidentiary foundation on which the law rests.
Quranic studies, covering recitation, the variant readings and interpretation, form the third, and the memorization of the text is the standard foundation on which everything else is built.
Theology is present and has always been a more contested area than law, since the disputes it addresses are less amenable to the practical resolution that legal reasoning permits.
The auxiliary disciplines are essential rather than decorative. Arabic grammar, morphology, rhetoric and logic are required because the primary subjects are exercises in the close reading of Arabic texts and cannot be done without them.
Did al-Azhar teach subjects beyond religion?
Yes, and the distinction is partly modern. Arabic grammar, rhetoric and logic were always core because the religious subjects are exercises in close textual reading. Mathematics, astronomy and medicine appear at various periods, and the modern university has full faculties of medicine, engineering, science and commerce.
The modern expansion is substantial and it postdates the twentieth century reorganization, which added faculties in medicine, engineering, science, commerce, agriculture and other fields alongside the religious ones, so a large proportion of the modern university’s students study subjects that have nothing to do with the historic curriculum.
The debate about that expansion is live and it turns on whether an institution whose authority rests on religious learning is strengthened or diluted by becoming a comprehensive university.
Authority in the Muslim World
Al-Azhar’s influence is real, widely asserted and difficult to specify, so setting out what kind of authority it actually holds is worth doing carefully.
It holds no formal jurisdiction. There is no office in Sunni Islam equivalent to a papacy, no body whose rulings bind, and no mechanism by which any institution’s opinions become obligatory for Muslims anywhere.
How influential is Al-Azhar in the Muslim world?
Substantially, though its authority is informal. It holds no jurisdiction and no binding power, since Sunni Islam has no equivalent of a papacy. Its influence rests on the reach of its graduates, the reputation of its senior scholars, the volume of opinions it issues, and eight centuries of continuous teaching, and it is contested by other centres.
Its actual influence rests on four things. Its graduates staff religious and legal positions across many countries. Its senior scholars are widely respected and widely cited. Its formal opinions are sought and reported internationally. And its continuity gives it a standing that newer institutions cannot claim.
The office of its head, established in the eighteenth century and reconstituted since, carries considerable prestige and is among the most visible religious positions in the Sunni world.
What is the Grand Imam of al-Azhar?
The head of the institution, an office established in the eighteenth century and reconstituted several times since. The holder is among the most visible religious figures in the Sunni world, widely consulted and widely reported, though the position carries prestige and influence rather than any binding jurisdiction over Muslims anywhere.
The limits on that influence are real. Other centres of learning compete, movements outside the traditional scholarly establishment reject its authority entirely, and its relationship with the Egyptian state raises questions about independence that its critics press.
The relationship with state power is the recurring tension. An institution whose head is appointed with state involvement and whose funding is partly public is exposed to the charge that its pronouncements serve political convenience, and the endowment based independence described earlier has been substantially eroded in the modern period.
The general observation is that religious authority without formal jurisdiction is a reputational asset, sustained by consistency and eroded by the appearance of dependence, and any institution holding it is permanently negotiating between influence and independence.
The Building
The physical mosque has been altered so extensively that the article on the Mosque of Amr’s four senses test applies directly, and applying it clarifies what a visitor sees.
The founding fabric of 970 to 972 survives in part, which distinguishes al-Azhar from the Mosque of Amr, where essentially nothing original remains. Sections of the original arcades and elements of the Fatimid decoration are present, and the core plan descends from the founding.
How has the al-Azhar building changed since 970?
Enormously, though more of the founding fabric survives here than at the Mosque of Amr. The original plan and parts of the arcades and Fatimid stucco remain, and centuries of Mamluk and Ottoman additions surrounded them with gates, minarets, madrasas, a library and residential quarters, producing a complex rather than a single building.
The plan was the standard one for the period: a courtyard surrounded by arcades with the deepest on the side facing the direction of prayer, carried on columns, in the hypostyle form the article on the Mosque of Amr describes.
The Fatimid additions came across the following two centuries, including expansions and decorative programmes, and some of the finest surviving Fatimid stucco is here.
The Mamluk campaigns from the later thirteenth century onward are the largest single layer, adding gates, minarets, teaching rooms, residential quarters for students and a great deal of decoration, and the institution’s revival in that period is legible in the fabric.
Ottoman and later works continued the accumulation, and modern restoration and expansion have added further layers.
The result is a complex rather than a building, with the original mosque at its core and centuries of accretion around it, which is exactly what an institution in continuous use for a thousand years produces.
The minarets are the most visible external feature and they belong to various periods, which makes the skyline of the complex a chronological display in itself.
The Madrasa Comparison
A specific institutional comparison clarifies what al-Azhar was and was not, and the madrasa is the right comparator.
The madrasa is a purpose built teaching institution with an endowment, appointed teachers, a defined curriculum, accommodation for students and a founder whose deed specifies how it operates. It developed from the eleventh century onward and spread rapidly across the Islamic world.
What is a madrasa and how does it differ from al-Azhar?
A madrasa is a purpose built endowed teaching institution with appointed teachers, a defined curriculum and student accommodation, specified in its founder’s deed. Al-Azhar began as a congregational mosque with teaching inside it rather than as a madrasa, and acquired madrasa like features gradually through later endowments attached to it.
The difference is that a madrasa is built to teach and a teaching mosque is a mosque in which teaching happens, and the first has an institutional structure the second lacks.
Al-Azhar began firmly in the second category and acquired features of the first over centuries, as endowments were attached, teaching posts were established and residential quarters were built, so the distinction blurs in its case.
The madrasa is also the closer parallel to a European college, since both are endowed foundations with appointed teachers and resident students, and the comparative literature on the origins of the university has explored the relationship at length without reaching agreement.
The relevance to the age question is direct. If the madrasa is the Islamic institution most comparable to a college, then the eleventh century foundations are the relevant comparators, and al-Azhar’s tenth century date applies to a mosque rather than to a teaching institution in that sense.
The general point is that comparing institutions across traditions requires identifying which features are being compared, and that arguments about priority almost always founder on the fact that the institutions were not the same kind of thing.
Studying al-Azhar
For a student, this topic organizes around one reversal and a short list of specifics.
Be able to date the founding to around 970 to 972 and to identify the Fatimids as the builders and the purpose as a congregational mosque and centre for propagating their doctrine. Be able to state the reversal after 1171, with suppression, a long suspension and Mamluk restoration as a Sunni centre. Be able to describe the teaching as circles around individual scholars granting personal authorizations rather than corporate degrees. Be able to explain endowments as the mechanism of survival. And be able to present the oldest university claim as contested and definitional rather than settled.
The table in this article carries that structure, and you can save this guide and build your own Egypt timeline free on VaultBook, where placing al-Azhar’s founding, suppression and restoration against the political chronology shows how precisely an institution’s fortunes track the regimes above it.
The transferable habit is asking what an institution was founded to do before asking what it is. Founding purpose and present function diverge more often than continuity narratives suggest, and the divergence is usually the most informative thing available.
A second habit concerns superlative claims. Oldest, first and largest are all definitional rather than factual, and the productive response to such a claim is to ask what definition makes it true and whether that definition was chosen for the purpose.
Myths Worth Correcting
Six claims about al-Azhar circulate and each misleads.
The first is that it is straightforwardly the world’s oldest university. The claim depends on a definition of university that the institution did not meet for most of its history and that rival claimants meet differently.
The second is that it has always been a Sunni institution. It was founded by a Shia dynasty to propagate Shia doctrine and became Sunni only after 1171.
The third is that it has operated continuously without interruption. Congregational prayer was suspended there for roughly a century after the Ayyubid takeover.
The fourth is that Saladin destroyed it. The regime he founded suppressed its teaching and suspended its prayer; the building survived and was later restored.
The fifth is that it teaches only religion. Auxiliary disciplines were always core, and the modern university has full faculties in medicine, engineering and science.
The sixth is that its rulings bind Muslims. Sunni Islam has no such mechanism, and al-Azhar’s authority is reputational rather than jurisdictional.
A seventh belief is a proportion error, which is treating the age claim as the interesting thing about the institution. The reversal from a Shia foundation to the Sunni world’s leading school is more remarkable than any date, and it is the thing the record holder framing obscures.
The Verdict
The argument this article has defended is that al-Azhar’s history runs against its founding purpose and that this reversal is the key to understanding it.
The founding was doctrinal. A Shia caliphate contesting leadership of the Islamic world built a mosque in its new capital and used it to propagate a doctrine of restricted access, and that is what al-Azhar was for two centuries.
The capture was political. A Sunni restoration ended the caliphate, suppressed the teaching, suspended the prayer, and a later regime restored the institution with the opposite doctrine installed inside it.
The continuity that resulted is genuine and it is a continuity of building, endowment, site and teaching tradition rather than of purpose. The institution kept everything except the thing it was founded for.
The mechanism that made this possible is the one the endowment section describes. An institution funded by protected endowments, occupying a building nobody can destroy without cost, transmitting knowledge every regime needs, is an asset that outlasts its founders and serves whoever holds it.
The age claim, set against this, is a distraction. Whether al-Azhar or a Moroccan foundation or an Italian one is oldest depends on definitions chosen by the claimants, and no answer to that question tells you anything about what these institutions were.
The qualifications are those stated throughout. The extent of teaching in the earliest decades is not well documented. The length and completeness of the suspension after 1171 are reported variously. The relationship between the modern university and the historic institution is itself argued.
What remains is the observation the article opened with. An institution built to spread one doctrine has spent four times longer teaching its opposite, and the fact that this is now a footnote rather than a scandal tells you most of what needs knowing about how institutions actually work.
Frequently Asked Questions
Q: What is Al-Azhar University?
An institution in Cairo that is simultaneously a working congregational mosque founded around 970 and a modern university created by twentieth century legislation. For most of its history it was a mosque in which teaching happened, organized as circles of students around individual scholars rather than as a faculty structure, and it became the foremost centre of Sunni religious learning in the world. The modern university added faculties in medicine, engineering, science and commerce alongside the religious disciplines, and operates campuses across Egypt while the historic mosque continues in use.
Q: Is Al-Azhar the oldest university in the world?
The claim is contested and the real dispute is about definitions. If a university requires a charter, a faculty structure and degrees conferred by the corporation, al-Azhar became one only in the modern period, since its historic teaching was organized around personal authorizations granted by individual masters. If the term means a continuously operating centre of higher learning, al-Azhar has a strong claim, though a Moroccan foundation is roughly a century older on the same reasoning. Each institution advances the definition on which it wins, and no neutral arbiter exists.
Q: When was Al-Azhar founded?
Around 970, with completion generally given as 972, making it one of the first substantial buildings raised in the new Fatimid capital within three years of the occupation of Egypt. The general who commanded the expedition and laid out the city also began the mosque, and the speed with which it followed the walls indicates it was part of the original plan rather than a later addition. It served from the start as the congregational mosque of the walled enclosure, which means its early congregation was the court, the army and the officials living inside rather than the population of Egypt.
Q: What is taught at Al-Azhar?
Islamic law sits at the core and has for eight centuries, since it is the practical discipline producing judges, jurists and muftis. Around it are the transmitted traditions of the Prophet with their technical apparatus for assessing chains of transmission, Quranic recitation and interpretation, and theology. The auxiliary disciplines of Arabic grammar, morphology, rhetoric and logic are core rather than decorative, because the primary subjects are exercises in the close reading of Arabic texts. The modern university has added full faculties in medicine, engineering, science, commerce and agriculture.
Q: Why is Al-Azhar important to Islam?
Because for roughly eight centuries it has been the principal centre of Sunni religious learning, training scholars, judges and jurists who staff religious and legal positions across many countries. Its senior scholars are widely cited, its formal opinions are sought and reported internationally, and its continuity gives it a standing newer institutions cannot claim. Its importance is a matter of reputation and reach rather than jurisdiction, since Sunni Islam has no body whose rulings bind and no office equivalent to a papacy, so its influence is real and informal at the same time.
Q: Which dynasty built Al-Azhar?
The Fatimids, the Shia dynasty that took Egypt in 969 and ruled until 1171. They built it as the congregational mosque of their new walled capital and as an instrument for propagating their own doctrine through the missionary organization that operated as a second administration alongside the state. That origin makes its later career the complete reversal of its founding purpose, since it spent the following eight centuries as the leading school of the Sunni world, teaching against the doctrine it was founded to spread. The Fatimid origin is now largely a historical footnote.
Q: Is Al-Azhar a mosque or a university?
Both, and in the modern period the two are institutionally distinct. The mosque has functioned as a congregational mosque since around 972, with daily and Friday prayers and an ordinary congregation. The teaching that grew inside it operated for centuries with no separate corporate existence, organized around individual scholars rather than faculties. Twentieth century legislation reorganized that teaching into a modern university with faculties, degrees and campuses, which claims descent from the mosque’s tradition while operating as a different kind of body under different rules.
Q: How influential is Al-Azhar in the Muslim world?
Substantially, though the influence is informal. It holds no jurisdiction and issues nothing binding, because Sunni Islam has no mechanism by which any institution’s opinions become obligatory. Its actual influence rests on four things: graduates staffing religious and legal positions across many countries, the reputation of its senior scholars, the volume and reach of the opinions it issues, and eight centuries of continuous teaching. Its authority is contested by other centres of learning and rejected outright by movements outside the traditional scholarly establishment, and its relationship with the Egyptian state draws criticism.
Q: How did a Shia foundation become a Sunni institution?
Through the Sunni restoration of 1171, which abolished the Fatimid caliphate with a change of name in the Friday sermon and met no resistance. The new regime ended the mosque’s Shia teaching, redirected its endowments and suspended congregational prayer there for roughly a century, using a doctrinal argument that a city should have only one congregational mosque. The building survived because destroying a congregational mosque costs legitimacy, and from the later thirteenth century the Mamluks restored it, endowed it richly and rebuilt it as a Sunni centre, which is what it has been ever since.
Q: Did Saladin close al-Azhar?
The regime he founded ended al-Azhar’s Shia teaching and suspended congregational prayer there for roughly a century after 1171, which is close enough to closure that the shorthand is understandable. The building was not destroyed, the site was not repurposed, and some teaching appears to have continued during the suspension, though how much is debated. The suspension had a doctrinally respectable justification in the view held by some jurists that a city should have only one congregational mosque, and the regime’s preferred congregational mosque was elsewhere. The Mamluks restored it.
Q: What does the name al-Azhar mean?
It derives from an Arabic root carrying the sense of radiant or resplendent. The most commonly given explanation connects it to a title of the Prophet’s daughter, from whom the Fatimid dynasty claimed the descent on which its entire legitimacy rested, and that reading fits the dynasty’s programme precisely. An alternative traces it to the name of the palaces among which the mosque stood in the new enclosure. The question is not settled, and both explanations are plausible in a foundation where the palaces and the descent claim were equally central.
Q: How did teaching actually work at al-Azhar?
Through circles rather than classes. A recognized scholar sat in a particular place in the mosque and students gathered around him to study specific texts, with the group identified by his name. The relationship ran between student and teacher, not student and institution, so a student assembled an education by attaching himself to a sequence of masters. Qualification took the form of an authorization from an individual master to an individual student to teach a particular text, certifying study and permitting transmission, which is a link in a personal chain rather than a corporate degree.
Q: What is a madrasa and how does it differ from al-Azhar?
A madrasa is a purpose built endowed teaching institution with appointed teachers, a defined curriculum and accommodation for students, all specified in its founder’s endowment deed. The form developed from the eleventh century and spread rapidly. Al-Azhar began in a different category: a congregational mosque in which teaching happened, without the institutional structure a madrasa has by design. It acquired madrasa like features gradually as endowments were attached, teaching posts established and student quarters built, so the distinction blurs over time without ever disappearing entirely.
Q: Who could study at al-Azhar and how were students supported?
Admission depended on a teacher agreeing to accept a student rather than on any institutional process, so entry was informal and depended on reaching the city and finding a master. Support came from endowments, which supplied teachers’ stipends, students’ allowances, bread rations and lodging, with residential quarters organized by the students’ regions of origin. That arrangement made prolonged study possible for people without private means, and it drew students from across the Muslim world, which is a substantial part of how the institution’s influence spread.
Q: How has the al-Azhar building changed since 970?
Enormously, though more founding fabric survives here than at the Mosque of Amr, where essentially nothing original remains. The original plan and parts of the arcades and Fatimid stucco decoration are present. Further Fatimid work followed over two centuries, then large Mamluk campaigns from the later thirteenth century added gates, minarets, teaching rooms, student quarters and extensive decoration, and Ottoman and modern works continued the accumulation. The result is a complex rather than a single building, with minarets from several periods standing together.
Q: What is the Grand Imam of al-Azhar?
The head of the institution, an office formalized in the eighteenth century and reconstituted several times since. The holder is among the most visible religious figures in the Sunni world, widely consulted, widely reported and treated internationally as a leading voice in Sunni Islam. The position carries prestige and influence rather than jurisdiction, since nothing in Sunni Islam makes any figure’s rulings binding. Appointment involves the Egyptian state, which is the source of recurring criticism that the office is exposed to political pressure.
Q: Did al-Azhar teach subjects beyond religion?
Yes, and the distinction between religious and other subjects is partly a modern imposition. Arabic grammar, morphology, rhetoric and logic were always core, because the religious disciplines are exercises in the close reading of Arabic texts and cannot be conducted without them. Mathematics, astronomy and medicine appear in the record at various periods, though never at the centre. The modern university has full faculties in medicine, engineering, science, commerce and agriculture, so a large share of its students now study subjects with no connection to the historic curriculum.
Q: Why do rival claims to being the oldest university exist?
Because the word university has no single definition that all the claimants meet. A charter, a corporate legal identity and degrees conferred by the institution favour the European foundations from the late eleventh century onward. Continuous higher teaching in one place with a recognized body of teachers and students favours the older Islamic foundations, of which a Moroccan one predates al-Azhar. Each institution advances the criteria on which it wins, being oldest is a valuable claim, and no neutral arbiter exists to settle which criteria are correct.
Q: How did al-Azhar survive centuries of changing rulers?
Through three things. It was funded by charitable endowments rather than by any regime’s budget, and such endowments are legally protected from seizure, so teaching could continue when the government that established it fell. It transmitted a body of knowledge every subsequent Muslim ruler needed transmitted, since law, jurisprudence and the training of judges are state necessities regardless of dynasty. And it occupied a congregational mosque, which no regime could destroy without a legitimacy cost, so even hostile rulers found redirection easier than demolition.
Q: What role did endowments play in al-Azhar’s survival?
They were the decisive mechanism. A charitable endowment irrevocably assigns income producing property, typically land, shops, mills or urban buildings, to support a specified purpose, administered by trustees and protected in law from seizure. That gave the institution a revenue base independent of any ruler, so it survived the fall of the dynasty that founded it, the suppression that followed, and centuries of factional instability. Donors added endowments in each generation, building a substantial portfolio. The protection is strong rather than absolute, since properties decay and hard pressed regimes find ways to reach them.