Military expenditure in Africa

48 countries in Africa, 2025. Unit: % of GDP. World ranking →

First in the ranking
8.8 %
Median country
1.3 %
half above, half below
World
2.5 %
World Bank aggregate
Range
0.1 to 8.8
Mauritius - Algeria

How to read it

Across 48 countries in Africa, the highest value is in Algeria (8.8 %) and the lowest in Mauritius (0.1 %).

The median country is at 1.3 %: half are above, half below.

Military expenditure by country as percentage of gross domestic product

Compare selected countries · on the world map

Source: SIPRI Military Expenditure Database, Stockholm International Peace Research Institute (SIPRI), uri: https://www.sipri.org/databases · via World Bank WDI (MS.MIL.XPND.GD.ZS) · licence

Military spending over time

%

Add to chart:

Ranking of countries

2025
In chart Share of the highest value
1Algeria8.8
2Mali3.9
3Morocco3.5
4South Sudan3.4
5Burkina Faso3.3
6Burundi3.2
7Chad3.2
8Botswana3.1
9Namibia2.8
10Mauritania2.7
11Tunisia2.5
12Central African Republic2.3
13Niger2.1
14Guinea2.0
15Uganda2.0
16Togo1.9
17Mozambique1.9
18Gabon1.7
19Lesotho1.6
20Eswatini1.6
21Senegal1.6
22Somalia1.5
23Angola1.4
24Democratic Republic of the Congo1.4
25Republic of the Congo1.3
26Rwanda1.3
27Zambia1.3
28Seychelles1.2
29Tanzania1.2
30Malawi1.1
31Kenya1.1
32Cameroon1.1
33Nigeria0.9
34Equatorial Guinea0.9
35Benin0.9
36Guinea-Bissau0.9
37Liberia0.9
38Côte d'Ivoire0.8
39South Africa0.7
40Cabo Verde0.7
41Madagascar0.6
42Egypt0.6
43The Gambia0.6
44Zimbabwe0.6
45Ethiopia0.5
46Ghana0.5
47Sierra Leone0.4
48Mauritius0.1
World Bank, WDI · MS.MIL.XPND.GD.ZS · 2025 · CC BY 4.0 Source and licence

Tick a country in the table to add it to the chart above, up to six at a time. The ranking uses the latest year for which at least half of the countries have a value; countries without a value that year are not listed.