Algeria spent $25.4bn on its military in 2025, putting it far ahead of Africa’s other biggest military spenders, according to data from the Stockholm International Peace Research Institute (SIPRI).
Morocco came second with $6.3bn and South Africa third with $3.2bn. Algeria alone accounted for about 44% of the $58.2bn that SIPRI counts for Africa as a whole, a total that does not include Egypt.

Who are Africa’s biggest military spenders?
The table lists the ten biggest military spenders in Africa in 2025, in millions of current US dollars, from the SIPRI Military Expenditure Database, with spending as a share of GDP and the change from 2024 after inflation.
| Country | 2025, US$ mn | Share of GDP | Real change on 2024 |
|---|---|---|---|
| Algeria | 25,439 | 8.8% | +10.6% |
| Morocco | 6,331 | 3.5% | +6.6% |
| South Africa | 3,174 | 0.7% | -1.2% |
| Egypt | 2,502 | 0.6% | -5.8% |
| Nigeria | 2,102 | 0.9% | +54.8% |
| Tunisia | 1,485 | 2.5% | +2.7% |
| Kenya | 1,470 | 1.1% | +7.9% |
| Angola | 1,459 | 1.4% | +36.7% |
| Uganda | 1,297 | 2.0% | +7.3% |
| DR Congo | 1,225 | 1.4% | +20.3% |
The fastest increases among the biggest military spenders were in Nigeria and Angola, SIPRI data show. Spending in Africa as a whole rose by 8.5% in real terms in 2025.
What do the figures measure?
SIPRI’s figures cover government spending on armed forces, defence ministries, paramilitary forces judged to be trained for military operations, and military pensions. They depend on what governments publish: SIPRI notes, for example, that DR Congo’s figures leave out profits from military-run mining. SIPRI places Egypt in the Middle East rather than Africa. It has no 2025 figures for Djibouti, Eritrea, Libya or Sudan, which are therefore missing from the ranking.
Why does Algeria spend so much?
Algeria’s 2025 budget equalled 8.8% of its GDP, up from 8.0% in 2024, the highest share of any African country in the data. Morocco, its neighbour, raised spending by 6.6%, and its government has since set out plans for a domestic defence industry financed with 22bn dirhams. The two countries have had no diplomatic relations since Algeria cut ties in 2021.
FAQ
Which country has the biggest military budget in Africa?
Algeria, with $25.4bn in 2025, according to SIPRI.
Who are Africa’s biggest military spenders after Algeria?
Morocco ($6.3bn), South Africa ($3.2bn), Egypt ($2.5bn) and Nigeria ($2.1bn), SIPRI data show.
Where do the biggest military spenders data come from?
From the SIPRI Military Expenditure Database, released in April 2026 with figures for 2025.

