History

Fatimid Cairo, Al-Azhar, and the City Built to Convert a World

Al-Azhar was founded in 970 AD not as a university but as a Shia propaganda machine. It became the world's oldest university. Then Saladin switched it to Sunni. Cairo holds all of this.

·12 min read
Fatimid Cairo, Al-Azhar, and the City Built to Convert a World

Quick Facts

Best time to visit
October to March. The medieval street network is fully exposed to sun and becomes difficult to walk comfortably from May to September. Morning visits before 11am are cooler and less crowded in all seasons.
Entrance fee
Al-Azhar Mosque: free. Al-Hakim Mosque: free. Bab Zuweila with minaret access: EGP 100 (approx $2 USD). Al-Muizz Street monuments individually ticketed: budget EGP 300-500 total (approx $6-10 USD) for multiple sites.
Opening hours
Al-Azhar Mosque: daily 9am to 10pm, closed to visitors during Friday prayer approx 11:30am to 1:30pm. Bab Zuweila: daily 9am to 5pm. Al-Muizz Street itself is publicly accessible at all hours.
How to get there
Cairo Metro Line 1 to Ataba station (EGP 7), then 15-minute walk east. Uber or taxi from Downtown Cairo: EGP 30-60 depending on traffic. Tuk-tuk within the Khan el-Khalili and Al-Muizz area: EGP 10-20.
Time needed
4-5 hours minimum for Al-Azhar, Al-Hakim Mosque, and Bab Zuweila. Full day for the complete Fatimid north-south axis including Mamluk monuments on Al-Muizz Street.
Cost range
Budget EGP 200-400 per person including entry fees, street food, and transport. Mid-range EGP 800-1,500 with a guided walk and sit-down lunch.

Quick Facts

Best time to visit: October to March, when the medieval streets are cool enough to walk for hours without suffering. Al-Azhar Mosque opens at dawn and the light through its courtyard arcade is worth arriving early for.

Entrance fees: Al-Azhar Mosque: free for all visitors. Al-Hakim Mosque: free. Bab Zuweila (with minaret access): EGP 100 (approx $2 USD). The Fatimid Cairo walking corridor does not charge a single entry fee; it charges you individually at each monument, so bring EGP 300-500 (approx $6-10 USD) in small bills.

Opening hours: Al-Azhar Mosque is open daily from around 9am to 10pm, with closures during Friday prayer (roughly 11:30am to 1:30pm). Bab Zuweila: daily 9am to 5pm.

How to get there: The Cairo Metro Line 1 stops at Ataba (EGP 7, approx $0.15), then a 15-minute walk east into Khan el-Khalili. From Downtown, a taxi or Uber costs EGP 30-60. A tuk-tuk from Khan el-Khalili into the side streets costs EGP 10-20.

Time needed: Half a day for Al-Azhar, the mosque of Al-Hakim, and Bab Zuweila. A full day if you intend to walk the entire Fatimid axis from Bab al-Futuh to Bab Zuweila and step inside every open monument.

Cost range: Budget EGP 200-400 per person for entry fees, food at local kushari or ful joints, and transport. Mid-range EGP 800-1,500 if you add a guided walk and lunch at a sit-down restaurant on Al-Muizz Street.

---

In 969 AD, a Fatimid general named Jawhar al-Siqilli marched an army of 100,000 soldiers out of Tunisia, crossed the western desert, and took Egypt without a serious battle. He founded a new capital city immediately north of the existing settlement at Fustat. He named it al-Qahira, the Victorious, and within the year he had broken ground on a mosque intended to reshape the intellectual and religious architecture of the Islamic world. That mosque was Al-Azhar. It is still standing. It has been continuously functioning for over 1,050 years, which makes it a credible candidate for the oldest university on earth, though medieval scholars would not have recognized the word university. Jawhar and his Fatimid commanders called it a dar al-ilm: a house of knowledge. What they meant was something sharper: a factory for Ismaili Shia doctrine, built in a city designed to project Fatimid power across Sunni North Africa and beyond.

This is where most accounts of Fatimid Cairo stop. They note the founding date, describe the mosque as beautiful, and move on. But the actual story is more destabilizing: the institution that Sunni Islam now considers one of its highest authorities was created as a weapon against Sunni Islam. Understanding this reframes everything you will walk through.

---

Why This Place Matters

Explore the ancient architectural facade in El-Gamaleya, Cairo showcasing rich Egyptian history.

The Fatimids were Ismaili Shia Muslims who controlled a caliphate stretching, at its peak, from Tunisia to Syria to the Hejaz, including Mecca and Medina. Their arrival in Egypt in 969 ended Abbasid Sunni rule and installed a rival caliphate directly challenging Baghdad. Al-Azhar was the theological engine of that project: a mosque-academy where Ismaili doctrine was taught, where missionaries were trained before being dispatched east, and where Friday sermons were delivered in the name of the Fatimid caliph rather than the Abbasid one.

For two centuries, this is what Al-Azhar was. Then Saladin arrived.

Saladin, the Kurdish military commander who would later become famous in Europe for his campaigns against the Crusaders, took power in Egypt in 1171. His first act of religious consolidation was to end the Friday sermon in the Fatimid caliph's name and restore it to the Abbasid caliph in Baghdad. His second was to convert Al-Azhar from Ismaili to Shafi'i Sunni practice. He did not destroy the mosque. He repurposed it. He stopped its stipends, disbanded its Ismaili faculty, and within a generation the physical structure that Jawhar built was teaching the theology Jawhar had designed it to defeat.

This is not merely historical irony. It explains why Al-Azhar today, as the world's most influential Sunni institution, sits inside a city whose street grid, gate names, and foundational urban logic were designed by Shia imperialists. Cairo's bones are Fatimid. Its faith is not.

---

What You Will Actually See: Al-Azhar and the Mosque of Al-Hakim

When you enter Al-Azhar through the Gate of the Barbers (so named because students once had their heads shaved there before entering), you step into a courtyard that has been enlarged and modified by every major dynasty that followed the Fatimids. The original Fatimid structure is still visible if you know where to look: the qibla arcade, with its stucco keel-arch windows, dates to the 970s. The minarets do not. They were added by Mamluk and Ottoman patrons across three centuries, which is why they look like a conversation between different architectural languages.

The interior is quieter than you expect. It functions as an active mosque and an active university, which means there are students reading, scholars lecturing in corners, and ordinary Cairenes sleeping off the afternoon heat against the pillars. This is not a site frozen for visitors. It is a place that has never stopped being used, which is the most remarkable thing about it and the thing most people standing inside it fail to fully register.

Fifteen minutes north of Al-Azhar, at the far end of Al-Muizz Street, stands the Mosque of Al-Hakim, named for the third Fatimid caliph of Egypt. Al-Hakim bi-Amr Allah ruled from 996 to 1021 and was, by any reasonable account, a singular figure: he banned chess, ordered all dogs in Cairo killed because their barking disturbed him, prohibited women from leaving their houses (which he enforced by banning shoemakers from making women's shoes), and then, in the final years of his rule, began to encourage a cult of his own divinity. He disappeared on a nighttime walk in the Muqattam Hills in 1021 and was never found. The Druze religious community, which emerged from the theological movement surrounding Al-Hakim's claimed divinity, still considers him a sacred figure. There are Druze communities in Lebanon, Syria, and Israel today whose faith traces its origin to a mosque in a Cairo alley that most tourists walk past without looking up.

The mosque itself was heavily damaged and served at various points as a stable, a prison, and a warehouse during Crusader captivity of Crusader prisoners. It was restored in the 1980s by the Bohra Ismaili community from India, who funded a complete reconstruction that is architecturally careful but feels somewhat over-cleaned. The minarets, however, are original Fatimid work from the early 11th century and are the oldest surviving Fatimid minarets in Cairo.

---

The Gates: Bab al-Futuh, Bab al-Nasr, and Bab Zuweila

Al-Hakim mosque Cairo Fatimid minarets exterior street view

The Fatimids walled their new city with a circuit of gates and towers. Three survive. They were not built by Egyptian craftsmen. The Fatimid caliph al-Mustansir imported Armenian Christian military architects from Edessa in 1087 to rebuild the original mud-brick walls in stone. This is one of the most specific and underreported facts in Cairo's urban history: the walls that define Fatimid Cairo were designed by Christian engineers from what is now southeastern Turkey, working for a Shia Muslim dynasty in a majority Sunni city, using construction techniques developed in Byzantine Anatolia.

Bab al-Futuh (Gate of Conquests) and Bab al-Nasr (Gate of Victory) stand at the northern end of Al-Muizz Street. You can enter the towers of Bab al-Nasr and walk through the interior of the walls, where the passage system, including hidden rooms and a gallery connecting the two towers, is intact. Inside the walls, medieval graffiti left by Napoleonic French soldiers in 1798 is still visible: names, dates, regimental insignia scratched into stone that was already 700 years old when they arrived.

Bab Zuweila at the southern end is the gate where the Fatimids displayed the heads of executed enemies and where, in 1517, the last Mamluk sultan, Tuman Bay, was hanged by the Ottomans after being captured. His body remained on the gate for three days. The two minarets rising above Bab Zuweila actually belong to the Mosque of al-Muayyad, built against the gate in 1420, which used the gate's towers as its minaret bases because the sultan who commissioned it, al-Muayyad Sheikh, had been imprisoned in that very gate before he came to power. He built his mosque as an act of commemoration and, presumably, of satisfaction.

---

The Connections

Al-Muizz Street, which runs the full north-south axis of Fatimid Cairo between the surviving gates, is not a single historic layer. It is a compression of twelve centuries of building. The street itself follows the Roman road that ran through the settlement of Babylon and the earlier city of Fustat. Beneath some of the Fatimid-era foundations are remnants of the Roman and Byzantine infrastructure that the Fatimids built over. The Mamluk complexes that crowd the street from the 13th to 15th centuries, including the magnificent Sultan Qalawun complex and the Barquq complex, were in turn built using stone quarried partly from older Fatimid and Ptolemaic structures.

The Qalawun complex, which contains a hospital (maristan), a madrasa, and a mausoleum, was completed in 1285. Its mausoleum interior uses a stucco window grid that Qalawun's architects copied directly from the Church of the Holy Sepulchre in Jerusalem, which Qalawun's predecessor had conquered. The ornamental vocabulary of a Christian pilgrimage church ended up inside a Mamluk Muslim mausoleum on a Fatimid street in a city founded on a Roman road. This is not unusual for Cairo. It is the operating logic of Cairo.

---

Common Mistakes

The Mosque of Rifai and Sultan Hassan in the historic city of Cairo, Egypt

Visiting Al-Azhar Mosque only as a backdrop. Non-Muslim visitors are welcome but are sometimes shuffled through quickly by guards who are not being deliberately obstructive but are managing a functioning religious and academic site. Dress conservatively, move slowly, and ask at the entrance whether the university reading rooms are accessible. Occasionally they are, and they are extraordinary.

Skipping the northern gates to spend more time in Khan el-Khalili. Khan el-Khalili is a 15th-century bazaar that has been optimized for tourists since at least the 19th century. It is loud, it is expensive relative to every other market in Cairo, and the goods are mostly imported. The street between Bab al-Futuh and Al-Azhar contains better craft shops, actual residents, and architecture that no one is trying to sell you in front of. The northern gates alone justify an entire morning.

Taking the sound and light show at the Citadel instead of an evening walk on Al-Muizz Street. The Citadel show costs EGP 350 and delivers a narrated history you will find more accurately and interestingly in any half-decent book. Al-Muizz Street after 7pm, when the day-trippers have gone and the street lamps catch the Mamluk stone, costs nothing and is the more honest version of Cairo at night.

Hiring a guide from inside Khan el-Khalili. The men who approach tourists near the bazaar and offer to guide them through Fatimid Cairo are not, as a category, dishonest, but their financial interest is in commissions at specific shops, not in your understanding of Ismaili theology. If you want a guide, book through the Egyptian Tourist Authority or one of the established Cairo walking tour operators in advance.

Visiting only the exterior of Bab Zuweila. The interior ticket (EGP 100) gives you access to the minaret climb, which is narrow, steep, and delivers a rooftop view over the medieval city that no ground-level photograph can replicate. This is not optional. Do not skip it to save EGP 100.

Expecting Al-Hakim Mosque to feel ancient. The 1980s Bohra restoration is thorough and the interior feels more like a well-maintained modern hall than a medieval sanctuary. Manage expectations accordingly. The value is in the minarets and the history, not the atmosphere.

Trying to cover Fatimid Cairo and Coptic Cairo in the same half-day. They are connected historically and spiritually, since the Fatimids had complex relationships with Cairo's Coptic Christian population, including employing Coptic scribes and administrators at the highest levels of government. But they are physically 4 kilometers apart and conceptually dense enough that cramming both into four hours means understanding neither.

---

Practical Tips

Dress requirements at Al-Azhar are enforced: shoulders and knees covered for all genders. Women will be offered an abaya at the entrance if needed, but bringing your own light layer is faster and more comfortable. Remove shoes before entering the prayer hall.

Friday mornings before 11am are the single best time to experience Al-Azhar's courtyard without crowds, though the mosque fills quickly for the midday prayer. Weekday mornings from 9am to 11am are consistently quiet.

The street food on and around Al-Muizz is specific and good. Kushari shops, ful carts, and the tea sellers who set up near Bab al-Futuh are priced for locals. A full kushari bowl runs EGP 25-40. A glass of hot tea is EGP 5. Eat before visiting if you want to avoid distraction, or eat after as a reward.

Water: carry your own. The medieval street network gets hot by late morning even in winter and there are few places to buy cold water at reasonable prices once you are deep into the alley network east of Al-Muizz.

The area around Khan el-Khalili and Al-Azhar is safe for pedestrians in daylight and in the early evening. The streets east of Al-Muizz, running into the historic residential neighborhoods of Darb al-Ahmar, are quieter and occasionally disorienting in the best possible way. A map helps. GPS works adequately. Getting mildly lost here is not a crisis.

Frequently Asked Questions

The Weekly Dispatch

More on Egypt, every Friday.

Cultural depth and places most guides never mention.

No spam. Unsubscribe anytime.

Share:XFacebookPinterest