Egypt contains 107 million people as of 2024 estimates, making it the most populous country in the Arab world and the third most populous in Africa after Nigeria and Ethiopia. Approximately 95 percent of this population concentrates along the Nile River and in the Nile Delta, occupying roughly 5 percent of Egypt's total land area. The average population density in habitable zones exceeds 1,500 people per square kilometer. Cairo's metropolitan area holds approximately 22 million residents, constituting more than one-fifth of the national population. The Greater Cairo region has absorbed rural-to-urban migration consistently since the mid-20th century, with growth rates averaging 2 percent annually between 1980 and 2020. Alexandria, the second city, contains approximately 5.5 million people in its metropolitan area. Population growth rate stands at 1.7 percent annually as of 2023, down from 2.5 percent in the 1980s but still producing net additions exceeding 1.8 million people per year.
Egyptians constitute a distinct ethnolinguistic group resulting from indigenous Nile Valley populations and sequential admixture from Mediterranean, Levantine, Arabian, Nubian, and other regional ancestries over millennia. Genetic studies published between 2017 and 2022 indicate continuity with ancient Egyptian populations, with modern Egyptians sharing approximately 8 percent of their genome with sub-Saharan African populations compared to 6-15 percent in ancient mummy DNA samples. Arabic-speaking Egyptians represent approximately 99 percent of the population. The Egyptian Arabic dialect differs substantially from Modern Standard Arabic and from other regional dialects, featuring distinct phonology, vocabulary, and grammatical structures. Bedouin communities, numbering approximately 1 million people, inhabit the Sinai Peninsula and Western Desert, maintaining Arabic dialects closer to Gulf and Levantine varieties. The Berber-speaking Siwi people, approximately 30,000 individuals, live primarily in Siwa Oasis near the Libyan border. Domari-speaking Dom people, a traditionally itinerant group related to Romani populations, number approximately 100,000. Nubians, whose ancestral lands along the southern Nile were submerged by Lake Nasser after the Aswan High Dam's completion in 1970, number between 300,000 and 500,000, with communities in Aswan, Kom Ombo, and Cairo maintaining Nobiin and Kenuzi-Dongola languages alongside Arabic.
Islam arrived in Egypt with the Arab conquest of 639-642 CE under Amr ibn al-As. Muslims constitute approximately 90 percent of Egypt's current population, with Sunni Islam of the Hanafi school representing the overwhelming majority. Al-Azhar Mosque in Cairo, founded in 970 CE during the Fatimid Caliphate, functions as one of Islam's oldest degree-granting universities and the most influential center of Sunni Islamic scholarship globally. Al-Azhar University enrolled approximately 450,000 students as of 2020 across religious and secular faculties. The institution issues fatwas and theological guidance recognized across the Muslim world, with Al-Azhar's Grand Sheikh holding authority second only to the Saudi Grand Mufti in regional influence. Sufi orders maintain substantial followings, with the Shadhili, Qadiri, and Rifa'i tariqas having established lodges since the 12th-13th centuries. Mawlid celebrations honoring Sufi saints attract millions annually, with the mawlid of Sayyid Ahmad al-Badawi in Tanta drawing 2-3 million participants each October. Conservative Salafi currents expanded significantly after the 1970s, with the Nour Party, founded 2011, representing Salafi political interests and receiving approximately 25 percent of votes in the 2011-2012 parliamentary elections.
Coptic Christians trace institutional continuity to the establishment of Christianity in Alexandria during the first century CE. The Coptic Orthodox Church separated from Byzantine Chalcedonian Christianity in 451 CE following the Council of Chalcedon's Christological determinations, which Copts rejected as incompatible with Miaphysite doctrine. Copts constitute approximately 10 percent of Egypt's population, though precise figures remain disputed, with Coptic authorities sometimes claiming 12-15 percent and government census data indicating lower percentages. The exact figure from the 2017 census was not publicly disaggregated by religion. The Coptic language, the final evolutionary stage of ancient Egyptian written in Greek alphabet plus seven Demotic-derived characters, ceased functioning as a spoken vernacular by the 17th century but persists in liturgical use. Pope Tawadros II, seated since 2012 as the 118th Pope of Alexandria, leads the Coptic Orthodox Church from Saint Mark's Coptic Orthodox Cathedral in Cairo's Abbassia district. Coptic monasticism originated in Egypt's deserts during the 3rd-4th centuries CE with figures including Anthony the Great and Pachomius. Wadi El Natrun northwest of Cairo contains four functioning monasteries from approximately 50 that existed historically, with Monastery of Saint Macarius dating to 360 CE. Saint Catherine's Monastery in Sinai, founded approximately 548-565 CE under Byzantine Emperor Justinian I, houses a library containing approximately 3,300 manuscripts, the second-largest collection of early codices after the Vatican. The monastery operates under the autonomous Church of Sinai, technically distinct from the Coptic Orthodox Church. Greek Orthodox, Catholic (including Coptic Catholic, a sui iuris church in communion with Rome established 1824), and Protestant communities together constitute less than 1 percent of the population.
Ancient Egyptian civilization emerged as a unified polity approximately 3100 BCE under Narmer (identified by some scholars with Menes), who consolidated Upper and Lower Egypt. The civilization persisted through approximately 30 dynasties until Achaemenid Persian conquest in 525 BCE, briefly regaining independence 404-343 BCE before final Persian reconquest and subsequent Macedonian takeover under Alexander the Great in 332 BCE. Egyptologists divide this span into the Early Dynastic Period (3100-2686 BCE), Old Kingdom (2686-2181 BCE), First Intermediate Period (2181-2055 BCE), Middle Kingdom (2055-1650 BCE), Second Intermediate Period (1650-1550 BCE including Hyksos rule), New Kingdom (1550-1077 BCE), Third Intermediate Period (1077-664 BCE), and Late Period (664-332 BCE). The Old Kingdom produced the Giza pyramid complex, with the Great Pyramid of Khufu constructed approximately 2560 BCE reaching original height of 146.5 meters using an estimated 2.3 million limestone blocks averaging 2.5 tons. The New Kingdom marked Egypt's greatest territorial extent, with Thutmose III (1479-1425 BCE) campaigning to the Euphrates River and Nubia, establishing an empire spanning approximately 1 million square kilometers. Ramesses II (1279-1213 BCE) constructed Abu Simbel's two rock temples, with the Great Temple's facade featuring four colossal seated statues each 20 meters tall. The temples were relocated 1964-1968 during UNESCO's Nubian Monuments campaign, cut into 1,036 blocks and reassembled 65 meters higher to avoid submersion by Lake Nasser.
Alexander the Great's general Ptolemy I Soter established the Ptolemaic Kingdom in 305 BCE, founding a dynasty that ruled until 30 BCE. The Ptolemies governed from Alexandria, which Ptolemy I developed into the Mediterranean's intellectual center. The Library of Alexandria, established approximately 295 BCE, accumulated between 40,000 and 400,000 scrolls before its destruction, with the exact timeline and causes remaining disputed among historians. Cleopatra VII (69-30 BCE), the final Ptolemaic ruler, formed political and romantic alliances with Julius Caesar and Marcus Antonius (Mark Antony). Her suicide following Antony's defeat at Actium in 31 BCE ended Ptolemaic rule, and Octavian (later Augustus) formally annexed Egypt as a Roman province in 30 BCE. Egypt functioned as Rome's primary grain supplier, shipping an estimated 20 million modii (approximately 135,000 tons) of wheat annually to Rome during the 1st-3rd centuries CE. The province transitioned to Byzantine control when the Roman Empire divided in 395 CE.
The Arab conquest of 639-642 CE under general Amr ibn al-As terminated Byzantine rule after defeating Byzantine forces at Heliopolis in 640 and capturing Alexandria in 641. Amr established Fustat as Egypt's new capital in 641, located at modern Old Cairo. The conquest introduced Arabic as the administrative language, though Coptic remained the majority population's vernacular for several more centuries. The transition to Arabic-speaking majority occurred gradually between the 8th and 14th centuries, accelerated by administrative advantages, urban migration, economic incentives, and intermarriage. The Fatimid Caliphate, an Ismaili Shia dynasty originating from present-day Tunisia, conquered Egypt in 969 CE under general Jawhar al-Siqilli. The Fatimids founded Cairo (al-Qahira, "The Vanquisher") in 969 as their new capital immediately north of Fustat. The Al-Azhar Mosque opened in 970, with teaching beginning 975. Fatimid rule (969-1171) established Cairo's architectural character and Egypt's position in trans-Saharan and Indian Ocean trade networks.
Salah ad-Din (Saladin), a Kurdish general serving the Zengid dynasty, became vizier of Fatimid Egypt in 1169 and terminated Fatimid rule in 1171, restoring Sunni Islam and establishing the Ayyubid dynasty. Saladin constructed the Cairo Citadel beginning 1176 on Mokattam Hill using Crusader prisoners as labor force. The fortress employed limestone blocks quarried from smaller Giza pyramids. Saladin's campaigns against Crusader states, culminating in the recapture of Jerusalem in 1187, established him as a central figure in Islamic history and memory. The Ayyubid period ended when the Mamluk military caste overthrew the last Ayyubid sultan in 1250. The Mamluks, slave-soldiers primarily of Turkic and Circassian origin purchased as youths and trained in military arts, ruled Egypt until Ottoman conquest in 1517. The Mamluk Sultanate repelled the Mongol invasions at Ain Jalut in 1260, the first significant defeat of a Mongol army. Mamluk architecture transformed Islamic Cairo, with Sultan Qalawun's complex (1284-1285), Sultan Hasan Mosque (1356-1363), and hundreds of other structures creating the medieval skyline. Mamluk control over Red Sea and Eastern Mediterranean trade routes generated wealth supporting architectural patronage and scholarship.
Ottoman Sultan Selim I defeated the Mamluks at Marj Dabiq (1516) and Ridanieh (1517), incorporating Egypt as an Ottoman province. The Ottomans governed through appointed governors while maintaining Mamluk beys as intermediary administrators, creating a dual power structure. Ottoman control weakened during the 18th century as Mamluk households reasserted autonomy. Napoleon Bonaparte's invasion in 1798 with approximately 36,000 troops initiated three years of French occupation (1798-1801). Napoleon's expedition included 167 scientists, engineers, and scholars whose systematic documentation produced the 23-volume "Description de l'Égypte" (1809-1829), catalyzing European Egyptology. British forces expelled the French in 1801, but the Ottoman restoration proved temporary.
Muhammad Ali, an Ottoman Albanian commander, maneuvered to power following the French departure, becoming Wali (governor) of Egypt in 1805 with popular support and Ottoman confirmation. Muhammad Ali massacred Mamluk leaders at the Cairo Citadel in 1811, eliminating rivals. He initiated Egypt's modernization, establishing state monopolies over agriculture and industry, importing European military advisors, sending educational missions to Europe (the first in 1826 under Rifa'a al-Tahtawi), and creating modern army and navy. Muhammad Ali's forces conquered Sudan (1820-1824), campaigned in Arabia against the first Saudi state (1811-1818), and temporarily occupied Syria (1831-1841) before European intervention forced withdrawal. His dynasty ruled Egypt until 1952. Khedive Ismail (1863-1879) expanded modernization, commissioning the Suez Canal and rebuilding Cairo in Haussmannian style, but accumulated debts of approximately £100 million, precipitating European financial control. Britain and France established Dual Control over Egyptian finances in 1876. Colonel Ahmed Urabi's nationalist movement challenged European interference, prompting British military intervention. The British bombardment of Alexandria in July 1882 and defeat of Egyptian forces at Tel el-Kebir in September 1882 established British occupation that persisted until 1956, though nominally Egypt remained Ottoman territory until 1914.
Britain declared Egypt a protectorate in 1914 upon Ottoman entry into World War I on the Central Powers' side. Egyptian nationalist pressure, including the 1919 revolution following British arrest of Wafd Party leader Saad Zaghloul, compelled Britain to terminate the protectorate in 1922, recognizing Egypt as nominally independent kingdom under Fuad I while reserving British authority over defense, foreign relations, imperial communications, and Sudan. The 1936 Anglo-Egyptian Treaty reduced but did not eliminate British military presence. King Farouk I (1936-1952) presided over increased nationalist agitation and political instability. Egypt participated in the 1948 Arab-Israeli War with inconclusive military results and domestic political repercussions. The Free Officers Movement, a secret organization within the military led by Gamal Abdel Nasser and nominal chairman Muhammad Naguib, launched a coup on July 23, 1952. Farouk abdicated July 26, 1952, ending the Muhammad Ali dynasty. Egypt became a republic in 1953.
Nasser assumed presidency in 1956 after sidelining Naguib. His nationalization of the Suez Canal on July 26, 1956, prompted the Suez Crisis, with Israeli, British, and French military intervention October-November 1956 ending under U.S. and Soviet pressure with withdrawal of foreign forces and Nasser's political triumph. Nasser pursued Arab socialism, nationalizing major industries and implementing land reforms that redistributed holdings above 200 feddans (approximately 84 hectares). He initiated the Aswan High Dam project with Soviet financing after U.S. withdrawal of funding offers; construction ran 1960-1970 at cost of approximately 1 billion dollars. The dam created Lake Nasser, approximately 550 kilometers long holding 132 cubic kilometers of water, displacing approximately 90,000 Egyptian and Sudanese Nubians. Nasser's pan-Arab ideology led to the United Arab Republic merger with Syria (1958-1961) and military intervention in the Yemen Civil War (1962-1970). The June 1967 Six-Day War resulted in Israeli occupation of Sinai Peninsula, devastating military defeat with approximately 15,000 Egyptian casualties and destruction of much of the air force in initial strikes. Nasser died September 28, 1970.
Anwar Sadat succeeded Nasser, initially continuing socialist policies before economic liberalization (Infitah) beginning 1974. The October 1973 War saw initial Egyptian military successes crossing the Suez Canal and breaching the Bar Lev Line before eventual stalemate. Sadat's November 1977 visit to Jerusalem and subsequent Camp David Accords (1978) led to the Egypt-Israel Peace Treaty signed March 26, 1979, the first between Israel and an Arab state. Egypt regained Sinai in stages completing 1982 but faced Arab League suspension 1979-1989 and Sadat's assassination by Islamic Jihad members on October 6, 1981, during a military parade. Hosni Mubarak, vice president and former air force commander, assumed presidency and maintained rule until February 11, 2011. The January 25 Revolution, part of the Arab Spring, forced Mubarak's resignation after 18 days of mass protests centered on Cairo's Tahrir Square. The Supreme Council of the Armed Forces governed during transition. Mohamed Morsi of the Muslim Brotherhood's Freedom and Justice Party won June 2012 presidential election, taking office June 30, 2012. Morsi's November 22, 2012 constitutional declaration granting himself extensive powers and the rushed adoption of a new constitution on December 25, 2012, intensified opposition. Mass protests beginning June 30, 2013, preceded military intervention. Defense Minister Abdel Fattah el-Sisi removed Morsi on July 3, 2013. Sisi won presidential election in May 2014 with reported 96.91 percent of votes and again in March 2018 with reported 97.08 percent, facing minimal opposition after potential rivals withdrew or were arrested. Constitutional amendments approved by referendum in April 2019 extended presidential term limits and expanded military authority.