This is a list of conflicts in Africa arranged by country, both on the continent and associated islands, including wars between African nations, civil wars, and wars involving non-African nations that took place within Africa. It encompasses pre-colonial wars, colonial wars, wars of independence, secessionist and separatist conflicts, major episodes of national violence (riots, massacres, etc.), and global conflicts in which Africa was a theatre of war.
Main article: List of conflicts in Egypt
- 1803–1807 Muhammad Ali's seizure of power
- 1881–1899 Mahdist War
- June 11, 1940 – February 4, 1943: North African Campaign, part of World War II
- 25 January 1952 Battle of Ismailia (1952)
- 23 July 1952 1952 Egyptian Revolution
- October 29 – November 7, 1956 Suez Crisis
- June 5, 1967 – June 10, 1967 Six-Day War
- July 1, 1967 – August 7, 1970 War of Attrition
- October 6, 1973 – October 25, 1973 Yom Kippur War
- July 21, 1977 – July 24, 1977 Libyan–Egyptian War
- 6 October 1981 – present Terrorism in Egypt
- 25 February 1986 1986 Egyptian conscripts riot
- 2011 – 2014 Egyptian crisis (2011–14)
- 4–14 April 2014 2014 Aswan tribal clashes
- c. 1279 BC – 1213 BC Ramesses II's Campaigns in Libya
- 264 BC – 146 BC Punic Wars
- 112 BC – 106 BC Jugurthine War
- 420s Vandal conquer the Roman province
- 461 - 468 Vandal War (461–468)
- June 533 – March 534 Vandalic War
- 544 Second Moorish uprising and the revolt of Guntharic
- 647 – 709 Muslim conquest of the Maghreb
- Ottoman–Habsburg wars
- 1793 – 1795 Tripolitanian civil war
- 1797 Action of 16 May 1797
- 1801 – 05 First Barbary War
- 1825 Sardinian-Tripolitanian war of 1825
- 1911 – 43 Libyan resistance movement
- 1911 – 12 Italo-Turkish War
- June 11, 1940 – February 4, 1943 Western Desert Campaign, part of World War II
- 1 September 1969 1969 Libyan revolution
- 7 September 1969 1969 Libyan coup attempt
- 21 – 24 July 1977 Egyptian-Libyan War
- 29 January 1978 – 11 September 1987 Chadian-Libyan conflict
- August 19, 1981 Gulf of Sidra incident (1981)
- May 8, 1984 Bab al-Azizia siege
- March 24, 1986 Action in the Gulf of Sidra (1986)
- 15 April 1986 1986 United States bombing of Libya
- 4 January 1989 1989 air battle near Tobruk
- 22 October 1993 1993 Libyan coup attempt
- 2002 – ongoing Insurgency in the Maghreb (2002–present)
- November 2008 2008 Kufra conflict
- 2011 – present Libyan crisis
- 2011 First Libyan Civil War
- 2011 – 2014 Factional violence in Libya (2011–2014)
- 2014 – 2020 Second Libyan Civil War
- July 13 — August 23, 2014 Battle of Tripoli Airport
- October 5, 2014 — April 21, 2016 ISIL takeover of Derna
- October 15, 2014 – December 30, 2017 Battle of Benghazi (2014–2017)
- January 27, 2015 2015 Corinthia Hotel attack
- February 8 — 9, 2015 Fall of Nofaliya (2015)
- February 12, 2015 – October 26, 2020 Egyptian intervention in Libya (2015–2020)
- 13 November 2015 – 30 October 2019 U.S. intervention in Libya (2015–2019)
- 14 October 2016 – 14 November 2018 Western Libya clashes (2016–2018)
- March 3 – 14 2017 Gulf of Sidra Offensive (2017)
- January – April 2019 Southern Libya offensive
- 4 April 2019 – 5 June 2020 Western Libya campaign
- 5 January 2020 – present 2020 Turkish intervention in Libya
- June 6 – 11, 2020 Central Libya offensive
- March – December 2022 2022 Tripoli clashes
- 14 – 15 August 2023 2023 Tripoli clashes
- c. 3050 BCE Hor-Aha, the second pharaoh of Egypt, led a campaign against the Nubians
- c. 1506 BCE – 1493 BCE During the reign of Thutmose I, the Kingdom of Kerma rebelled against Egyptian rule and Thutmose I traveled up the Nile and fought in the battle, killing the Nubian king.
- c. 1282 BCE Seti's military campaigns
- c. 1279 BCE – 1213 BCE Remesses II's campaigns in Nubia
- 23 BCE The Roman prefect of Egypt invaded the Kingdom of Kush after an initial attack by the queen of Meröe, razing Napata to the ground
- c. 300 CE Ezana of Axum launched several military campaigns, destroying the Kingdom of Kush
- February 1820 – October 1822 Invasion of Libya and Sudan
- The Moorish Wars
- 534 First Moorish uprising
- 536 Military mutiny
- 544 Second Moorish uprising and the revolt of Guntharic
- 577 Conflict with Moorish kingdom of Garmul