Countries in Africa by military spending

Military expenditure as a share of GDP, from the Stockholm International Peace Research Institute: armed forces, defence ministries, military aid and the paramilitary forces trained for military operations. 50 countries in Africa, highest first. World Bank, mostly 2025

Map: Military spending — Africa
Highest
8.8%
Algeria
Median country
1.3%
half above, half below
Lowest
0.1%
Mauritius
Countries in Africa by military spending, World Bank, mostly 2025
#Country% of GDPYearRegion
1Algeria8.8%2025Northern Africa
2Mali3.9%2025Western Africa
3Libya3.6%2023Northern Africa
4Morocco3.5%2025Northern Africa
5South Sudan3.4%2025Eastern Africa
6Burkina Faso3.3%2025Western Africa
7Burundi3.2%2025Eastern Africa
8Chad3.2%2025Middle Africa
9Botswana3.1%2025Southern Africa
10Namibia2.8%2025Southern Africa
11Mauritania2.8%2025Western Africa
12Tunisia2.5%2025Northern Africa
13Central African Republic2.3%2025Middle Africa
14Niger2.1%2025Western Africa
15Guinea2.0%2025Western Africa
16Uganda2.0%2025Eastern Africa
=17Mozambique1.9%2025Eastern Africa
=17Togo1.9%2025Western Africa
19Gabon1.7%2025Middle Africa
20Lesotho1.6%2025Southern Africa
21Eswatini1.6%2025Southern Africa
22Senegal1.6%2025Western Africa
23Somalia1.5%2025Eastern Africa
24Angola1.4%2025Middle Africa
25DR Congo1.4%2025Middle Africa
26Congo1.3%2025Middle Africa
27Rwanda1.3%2025Eastern Africa
28Zambia1.3%2025Eastern Africa
29Seychelles1.2%2025Eastern Africa
30Tanzania1.2%2025Eastern Africa
31Malawi1.1%2025Eastern Africa
32Kenya1.1%2025Eastern Africa
33Cameroon1.1%2025Middle Africa
34Sudan0.9%2021Northern Africa
35Nigeria0.9%2025Western Africa
36Equatorial Guinea0.9%2025Middle Africa
=37Benin0.9%2025Western Africa
=37Guinea-Bissau0.9%2025Western Africa
39Liberia0.8%2025Western Africa
40Côte d'Ivoire0.8%2025Western Africa
41South Africa0.7%2025Southern Africa
42Cabo Verde0.7%2025Western Africa
43Madagascar0.6%2025Eastern Africa
44Egypt0.6%2025Northern Africa
45Gambia0.6%2025Western Africa
46Zimbabwe0.6%2025Eastern Africa
47Ethiopia0.5%2025Eastern Africa
48Ghana0.5%2025Western Africa
49Sierra Leone0.4%2025Western Africa
50Mauritius0.1%2025Eastern Africa

No World Bank figure for 4 countries: Comoros, Djibouti, Eritrea, São Tomé and Principe.

Questions

Which country in Africa has the highest military spending?
Algeria has the highest military spending in Africa: 8.8% of GDP (2025). Next come Mali (3.9% of GDP) and Libya (3.6% of GDP).
Which country in Africa has the lowest military spending?
Mauritius, with 0.1% of GDP (2025).
What is the typical military spending of a country in Africa?
The median of the 50 countries in Africa is 1.3% of GDP: half are above it, half below. The median, not the average, because a few countries at the top would drag an average far above almost everyone.
Where do the figures come from?
Military expenditure as a share of GDP, from the Stockholm International Peace Research Institute: armed forces, defence ministries, military aid and the paramilitary forces trained for military operations. Source: World Bank, mostly 2025. Only independent states are ranked; territories are listed separately. A country’s continent follows Natural Earth; the handful of island states it files under the open ocean are placed by their UN subregion.

Source: World Bank (CC BY 4.0). Figures more than 5 years older than the newest are left out rather than shown beside current ones. Countries sharing a value share a rank. All sources.