Cairo is the capital and largest city of Egypt and the Cairo Governorate. It is home to more than 9.8 million people. It 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. 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.
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: كايرو).
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).