Cairo travel guide

Cairo History: From Fatimid Foundation to Modern Megacity

· 4 min read City Guide
The Citadel of Saladin rising above Islamic Cairo's minarets

Book an experience

Things to do here

The top-rated tours and activities here — all with instant confirmation and free cancellation on most bookings.

Cairo’s history as a city is medieval in origin, not ancient. The pyramids and temples that draw most visitors to Egypt predate Cairo by more than three thousand years. The city itself — Al-Qahira, “The Victorious” — was founded in 969 AD and grew into one of the largest urban centres on earth. What follows is an account of the city’s own timeline, from its Fatimid beginnings to the present.

Before Cairo: Fustat and the Early Settlements

The area around modern Cairo had been inhabited long before the city existed. Heliopolis (today’s Ain Shams district) was an ancient Egyptian religious centre associated with the sun cult. Closer to the Nile, a Roman fortress at Babylon — the remains of which are still visible in the Coptic Cairo district — served as a military garrison controlling the river crossing.

The first Islamic settlement in the area was Fustat, established in 641 AD by the Arab general Amr ibn al-As following the Islamic conquest of Egypt. Fustat grew into a substantial city but was burned in 1168 to prevent it falling to Crusader forces. Cairo later expanded to absorb its ruins.

Fatimid Foundation (969–1171)

The city of Cairo proper was established in 969 AD when the Fatimid general Jawhar al-Siqilli conquered Egypt and laid out a new royal capital north of Fustat. The Fatimids were an Ismaili Shia dynasty, and they made Cairo the seat of their caliphate. Within a year of founding the city, they established Al-Azhar Mosque (970 AD), which became — and remains — one of the world’s foremost centres of Islamic learning. The name Al-Qahira, “The Victorious,” is said to refer to the planet Mars, which occupied a dominant position in the sky at the moment the city’s foundations were laid, as determined by the court astrologer.

Saladin and the Ayyubid City (1171–1250)

In 1171, Saladin (Salah ad-Din al-Ayyubi) ended Fatimid rule, returned Egypt to Sunni Islam, and founded the Ayyubid dynasty. His most visible mark on Cairo is the Citadel, construction of which began in 1176 on a spur of the Muqattam Hills overlooking the city. For the next seven centuries, whoever controlled the Citadel controlled Egypt. Saladin also began enclosing Cairo within defensive walls, sections of which still stand in Islamic Cairo.

Mamluk Cairo: The Medieval Apex (1250–1517)

The Mamluk sultanate — formed by soldier-slaves who overthrew the Ayyubids — presided over Cairo’s greatest period of architectural and cultural production. The city grew to a population of perhaps 500,000 at its peak, placing it among the largest cities on earth. Mamluk sultans and emirs competed to endow mosques, madrasas, mausoleums, and hospitals in the dense urban fabric between the Citadel and the northern gates. Khan el-Khalili, the great bazaar district, was founded in 1382. The historian Ibn Khaldun lived and taught in Cairo; Ibn Battuta, the world’s most travelled medieval figure, passed through and described the city in detail.

Ottoman Province (1517–1798)

The Ottoman Sultan Selim I defeated the Mamluks in 1517 and Egypt became an Ottoman province. Cairo remained an important regional centre and trade hub, but political primacy shifted to Istanbul. The Mamluks continued to function as a local ruling class under Ottoman governors, and the city’s architectural tradition continued, though at a reduced scale.

Napoleon and the French Occupation (1798–1801)

Napoleon’s Egyptian campaign brought a large contingent of French scholars and scientists alongside the army. The Description de l’Égypte — a monumental encyclopaedia of Egyptian history, geography, and culture produced by these scholars — introduced pharaonic Egypt to a modern European audience and effectively launched the discipline of Egyptology. French control ended in 1801 following British and Ottoman military pressure.

Muhammad Ali and Modern Cairo (1805–1952)

Muhammad Ali Pasha, an Albanian-born Ottoman officer who took control of Egypt in 1805, modernised the country’s administration, military, and infrastructure. His most prominent addition to the Cairo skyline is the Alabaster Mosque (1830–1848), built within the Citadel and visible from across the city. His successor Khedive Ismail laid out a new European-style quarter west of the old Islamic city in the 1860s, with wide boulevards, formal squares, and imported architectural styles. The Suez Canal opened in 1869 under his rule.

The 1952 revolution ended the monarchy and established the republic. Tahrir Square — renamed Midan al-Tahrir, Liberation Square — became the city’s symbolic heart. It returned to global attention in January–February 2011 when sustained protests led to the resignation of President Hosni Mubarak after 18 days.

Cairo’s metropolitan population today is approximately 20 million, making it one of Africa’s largest cities and the Arab world’s most populous urban centre. For a deeper look at what the medieval city left behind, see our guide to Islamic Cairo and Coptic Cairo.

Frequently Asked Questions

Who founded Cairo?
Cairo was founded in 969 AD by the Fatimid general Jawhar al-Siqilli as the capital of the Fatimid Caliphate. The Arabic name Al-Qahira — The Victorious — refers to the planet Mars, which was in a dominant position at the city's founding according to the court astrologer. The earlier settlement of Fustat nearby was founded by Arab forces in 641 AD after the Islamic conquest of Egypt.
What is the significance of Tahrir Square?
Tahrir Square — Midan al-Tahrir, Liberation Square — is Cairo's symbolic centre. It was renamed after the 1952 revolution that ended the monarchy. It became the focal point of the 2011 revolution that led to the resignation of President Hosni Mubarak after 18 days of protests. The Egyptian Museum sits on its northern edge; the Mogamma government building on its south.

Ready to explore?

Browse hundreds of tours and activities. Book securely with free cancellation on most options.

Browse on GetYourGuide →

We may earn a small commission — at no extra cost to you.