Cairo is the capital and largest city of Egypt and the Cairo Governorate. It is home to more than 9.8 million people. The city is also part of the largest urban agglomeration in Africa, the Arab world, and the Middle East. The Greater Cairo metropolitan area is one of the largest in the world by population with over 22 million people. Areas of what would become Cairo were inhabited from pre-dynastic and early-dynastic ancient Egypt c. 6000 years ago, as the Giza pyramid complex and the ancient cities of Memphis and Heliopolis are today within the city.
Located near the Nile Delta, the predecessor city was Fustat. Thereafter, Cairo was founded in 969, and became the official seat and capital of the Fatimid Caliphate in 973. It later superseded Fustat as the main urban centre during the Ayyubid and Mamluk periods (12th–16th centuries). Cairo has since become a longstanding centre of political and cultural life, and is titled "the city of a thousand minarets" for its preponderance of Islamic architecture. Cairo's historic center was awarded World Heritage Site status in 1979. The city is considered a regional center of finance and commerce, academics and the arts, and is home to the Cairo Symphony Orchestra and the Cairo Opera House, while the Academy of Arts provides visual arts education.
Cairo is home to Egypt's oldest university, Al-Azhar University, one of the oldest universities in the world, as well as the oldest and largest film and music industry in Africa and the Arab world. Many international media, businesses, and organizations have regional headquarters in Cairo, such as the headquarters of the Arab League, and the regional offices of the World Health Organization, the Food and Agriculture Organization, the International Civil Aviation Organization, and the United Nations Development Programme.
Cairo is a key global city and, like many other megacities, suffers from high levels of pollution and traffic. The Cairo Metro, opened in 1987, is the oldest metro system in Africa, and ranks amongst the fifteen busiest in the world, with over 1 billion annual passenger rides. The economy of Cairo was ranked first in the Middle East in 2005 by Foreign Policy's Global Cities Index, and first in Africa in 2025 according to the International Monetary Fund, and continues to be a major destination for foreign direct investment (FDI) due to its massive consumer market and strategic location.
Etymology
The name of Cairo is derived from the Arabic al-Qāhirah (القاهرة), meaning 'the Vanquisher' or 'the Conqueror', given by the Fatimid Caliph al-Mu'izz following the establishment of the city as the capital of the Fatimid dynasty. Its full, formal name was al-Qāhirah al-Mu'izziyyah (القاهرة المعزيّة), meaning 'the Vanquisher of al-Mu'izz'. It is also supposedly due to the fact that the planet Mars, known in Arabic by names such as an-Najm al-Qāhir (النجم القاهر, 'the Conquering Star'), was rising at the time of the city's founding.
Egyptians often refer to Cairo as Maṣr (IPA: [mɑsˤɾ]; مَصر), the Egyptian Arabic name for Egypt itself, emphasising the city's importance for the country.
There are a number of Coptic names for the city. Tikešrōmi (Coptic: Ϯⲕⲉϣⲣⲱⲙⲓ Late Coptic: [dikɑʃˈɾoːmi]) is attested in the 1211 text The Martyrdom of John of Phanijoit and is either a calque meaning 'man breaker' (Ϯ-, 'the', ⲕⲁϣ-, 'to break', and ⲣⲱⲙⲓ, 'man'), akin to Arabic al-Qāhirah, or a derivation from Arabic قَصْر الرُوم (qaṣr ar-rūm, "the Roman castle"), another name of Babylon Fortress in Old Cairo. The Arabic name is also calqued as ⲧⲡⲟⲗⲓⲥ ϯⲣⲉϥϭⲣⲟ, "the victor city" in the Coptic antiphonary.
The form Khairon (Coptic: ⲭⲁⲓⲣⲟⲛ) is attested in the modern Coptic text Ⲡⲓⲫⲓⲣⲓ ⲛ̀ⲧⲉ ϯⲁⲅⲓⲁ ⲙ̀ⲙⲏⲓ Ⲃⲉⲣⲏⲛⲁ (The Tale of Saint Verina). Lioui (Ⲗⲓⲟⲩⲓ Late Coptic: [lɪˈjuːj]) or Elioui (Ⲉⲗⲓⲟⲩⲓ Late Coptic: [ælˈjuːj]) is another name which is descended from the Greek name of Heliopolis (Ήλιούπολις). Some argue that Mistram (Ⲙⲓⲥⲧⲣⲁⲙ Late Coptic: [ˈmɪstəɾɑm]) or Nistram (Ⲛⲓⲥⲧⲣⲁⲙ Late Coptic: [ˈnɪstəɾɑm]) is another Coptic name for Cairo, although others think that it is rather a name for the Abbasid province capital al-Askar. Ⲕⲁϩⲓⲣⲏ ([ˈkɑhɪɾi]) is a popular modern rendering of the Arabic name (others being Ⲕⲁⲓⲣⲟⲛ [Kairon] and Ⲕⲁϩⲓⲣⲁ [Kahira]), which is modern folk etymology meaning 'land of sun'. Some argue that it was the name of an Egyptian settlement upon which Cairo was built, but it is rather doubtful as this name is not attested in any Hieroglyphic or Demotic source, although some researchers, like Paul Casanova, view it as a legitimate theory. Cairo is also referred to as Ⲭⲏⲙⲓ (Late Coptic: [ˈkɪmi]) or Ⲅⲩⲡⲧⲟⲥ (Late Coptic: [ˈɡɪpdos]), which means Egypt in Coptic, the same way it is referred to in Egyptian Arabic.
People from Alexandria sometimes informally refer to the city as Cairo (IPA: [ˈkæjɾo]; Egyptian Arabic: كايرو).
History
Ancient settlements
The area around present-day Cairo had long been a focal point of Ancient Egypt due to its strategic location at the junction of the Nile Valley and the Nile Delta regions (roughly Upper Egypt and Lower Egypt), which also placed it at the crossing of major routes between North Africa and the Levant. Memphis, the capital of Egypt during the Old Kingdom and a major city up until the Ptolemaic period, was located a short distance south west of present-day Cairo. Heliopolis, another important city and major religious centre, was located in what are now the modern districts of Matariya and Ain Shams in northeastern Cairo. It was largely destroyed by the Persian invasions in 525 BC and 343 BC and partly abandoned by the late first century BC.
However, the origins of modern Cairo are generally traced back to a series of settlements in the first millennium AD. Around the turn of the fourth century, as Memphis was continuing to decline in importance, the Romans established a large fortress along the east bank of the Nile. The trading post of Babylon, first mentioned in 50 BC, became a fortress, built by the Roman emperor Diocletian (r. 285–305) at the entrance of a canal connecting the Nile to the Red Sea that was created earlier by Emperor Trajan (r. 98–117). Further north of the fortress, near the present-day district of al-Azbakiya, was a port and fortified outpost known as Tendunyas (Coptic: ϯⲁⲛⲧⲱⲛⲓⲁⲥ) or Umm Dunayn. While no structures older than the 7th century have been preserved in the area aside from the Roman fortifications, historical evidence suggests that a sizeable city existed. The city was important enough that its bishop, Cyrus, participated in the Second Council of Ephesus in 449.
The Byzantine-Sassanian War between 602 and 628 caused great hardship and likely led much of the urban population to leave for the countryside, leaving the settlement partly deserted. The site today remains at the nucleus of the Coptic Orthodox community, which separated from the Roman and Byzantine churches in the late 4th century. Cairo's oldest extant churches, such as the Church of Saint Barbara and the Church of Saints Sergius and Bacchus (from the late 7th or early 8th century), are located inside the fortress walls in what is now known as Old Cairo or Coptic Cairo.
Fustat and other early Islamic settlements
The Muslim conquest of Byzantine Egypt was led by Amr ibn al-As from 639 to 642. Babylon Fortress was besieged in September 640 and fell in April 641. In 641 or early 642, after the surrender of Alexandria, the Egyptian capital at the time, he founded a new settlement next to Babylon Fortress. The city, known as Fustat (Arabic: الفسطاط, romanised: al-Fusṭāṭ, lit. 'the tent'), served as a garrison town and as the new administrative capital of Egypt. Historians such as Janet Abu-Lughod and André Raymond trace the genesis of present-day Cairo to the foundation of Fustat.
The choice of founding a new settlement at this inland location, instead of using the existing capital of Alexandria on the Mediterranean coast, may have been due to the new conquerors' strategic priorities. One of the first projects of the new Muslim administration was to clear and re-open Trajan's ancient canal in order to ship grain more directly from Egypt to Medina, the capital of the caliphate in Arabia. Ibn al-As also founded a mosque for the city at the same time, now known as the Mosque of Amr Ibn al-As, the oldest mosque in Egypt and Africa (although the current structure dates from later expansions).
In 750, following the overthrow of the Umayyad Caliphate by the Abbasids, the new rulers created their own settlement to the northeast of Fustat which became the new provincial capital. This was known as al-Askar (Arabic: العسكر, lit. 'the camp') as it was laid out like a military camp. A governor's residence and a new mosque were also added, with the latter completed in 786. The Red Sea canal re-excavated in the 7th century was closed by the Abbasid Caliph al-Mansur (r. 754–775), but a part of the canal, known as the Khalij, continued to be a major feature of Cairo's geography and of its water supply until the 19th century. In 861, on the orders of the Abbasid Caliph al-Mutawakkil, a Nilometer was built on Roda Island near Fustat. Although it was repaired and given a new roof in later centuries, its basic structure is still preserved today, making it the oldest preserved Islamic-era structure in Cairo today.
In 868, a commander of Turkic origin named Bakbak was sent to Egypt by the Abbasid Caliph al-Mu'taz to restore order after a rebellion in the country. He was accompanied by his stepson, Ahmad ibn Tulun, who became effective governor of Egypt. Over time, Ibn Tulun gained an army and accumulated influence and wealth, allowing him to become the de facto independent ruler of both Egypt and Syria by 878. In 870, he used his growing wealth to found a new administrative capital, al-Qata'i (Arabic: القطائـع, lit. 'the allotments'), to the northeast of Fustat and of al-Askar.
The new city included a palace known as the Dar al-Imara, a parade ground known as al-Maydan, a bimaristan (hospital), and an aqueduct to supply water. Between 876 and 879 Ibn Tulun built a great mosque, now known as the Mosque of Ibn Tulun, at the centre of the city, next to the palace. After his death in 884, Ibn Tulun was succeeded by his son and his descendants who continued a short-lived dynasty, the Tulunids. In 905, the Abbasids sent general Muhammad Sulayman al-Katib to re-assert direct control over the country. Tulunid rule was ended and al-Qatta'i was razed to the ground, except for the mosque which remains standing today.
Foundation and expansion of Cairo under the Fatimids
In 969, the Fatimid Caliphate conquered Egypt after ruling from Ifriqiya. The Fatimid Caliph al-Mu'izz li-Din Allah instructed his courtier and general Jawhar al-Saqili to establish a new fortified city northeast of Fustat and of former al-Qata'i. It took four years to build the city, initially known as al-Manṣūriyyah, which was to serve as the new capital of the caliphate. During that time, the construction of the al-Azhar Mosque was commissioned by order of the caliph, which developed into the third-oldest university in the world. Cairo would eventually become a centre of learning, with the library of Cairo containing hundreds of thousands of books. When Caliph al-Mu'izz arrived from the old Fatimid capital of Mahdia in Tunisia in 973, he gave the city its present name, Qāhirat al-Mu'izz ("The Vanquisher of al-Mu'izz"), from which the name "Cairo" (al-Qāhira) originates. The caliphs lived in a vast and lavish palace complex that occupied the heart of the city. Cairo remained a relatively exclusive royal city for most of this era, but during the tenure of Badr al-Gamali as vizier (1073–1094) the restrictions were loosened for the first time and richer families from Fustat were allowed to move into the city. Between 1087 and 1092 Badr al-Gamali also rebuilt the city walls in stone and constructed the city gates of Bab al-Futuh, Bab al-Nasr, and Bab Zuweila that still stand today.
During the Fatimid period Fustat reached its apogee in size and prosperity, acting as a centre of craftsmanship and international trade and as the area's main port on the Nile. Historical sources report that multi-story communal residences existed in the city, particularly in its centre, which were typically inhabited by middle and lower-class residents. Some of these were as high as seven stories and could house some 200 to 350 people. They may have been similar to Roman insulae and may have been the prototypes for the rental apartment complexes which became common in the later Mamluk and Ottoman periods. However, in 1168 the Fatimid vizier Shawar set fire to the unfortified Fustat to prevent its potential capture by Amalric, the Crusader king of Jerusalem. While the fire did not destroy the city and it continued to exist afterward, it did mark the beginning of its decline. Over the following centuries it was Cairo, the former palace-city, that became the new economic centre and attracted migration from Fustat.
While the Crusaders did not capture the city in 1168, a continuing power struggle between Shawar, King Amalric, and the Zengid general Shirkuh led to the downfall of the Fatimid establishment. In 1169, Shirkuh's nephew Saladin was appointed as the new vizier of Egypt by the Fatimids, and two years later, he seized power from the family of the last Fatimid caliph, al-'Āḍid. As the first Sultan of Egypt, Saladin established the Ayyubid dynasty, based in Cairo, and aligned Egypt with the Sunni Abbasids, who were based in Baghdad. In 1176, Saladin began construction on the Cairo Citadel, which was to serve as the seat of the Egyptian government until the mid-19th century. The construction of the Citadel definitively ended Fatimid-built Cairo's status as an exclusive palace-city and opened it up to common Egyptians and to foreign merchants, spurring its commercial development. Along with the Citadel, Saladin also began the construction of a new 20-kilometre-long wall that would protect both Cairo and Fustat on their eastern side and connect them with the new Citadel. These construction projects continued beyond Saladin's lifetime and were completed under his Ayyubid successors.