Algeria’s gross domestic product (GDP) is projected at $331.89 billion in 2026, placing it $136.26 billion ahead of Morocco’s projected $195.63 billion, according to the International Monetary Fund’s (IMF) October 2026 World Economic Outlook. Algeria ranks as Africa’s fourth-largest economy, with hydrocarbon production underpinning its lead over its neighbour.
Algeria and Morocco among Africa’s five largest economies
South Africa leads the continental rankings with $489.08 billion, followed by Egypt at $442.89 billion and Nigeria at $386.67 billion. Algeria sits fourth, with Morocco completing the five largest economies on the continent.
The contrast between Algeria and Morocco reflects two different economic models: Algeria’s output rests on vast oil and natural gas resources, while Morocco has built its performance on industrial manufacturing and export-oriented production.
Oil and gas underpin Algeria’s economic scale
Algeria remains one of Africa’s largest energy producers. Oil and gas exports generate a substantial share of government revenue and foreign exchange earnings, allowing its hydrocarbon-driven economy to continue producing at scale.
The country is also a major supplier of natural gas to European markets, a role that keeps its extraction and export infrastructure at the centre of the national economy.
IMF flags fiscal and diversification risks
For Algeria, the question is increasingly about sustainability rather than capacity. In its September 2026 assessment, the IMF projected growth of 3.8% for the year, supported by higher hydrocarbon revenue and public investment.
But the Fund warned that persistent fiscal deficits and rising debt could create medium-term risks, calling for stronger non-hydrocarbon revenue collection and more efficient public spending.
Dependence on hydrocarbons leaves government finances exposed to fluctuations in global energy prices, even as authorities pursue investments in agriculture, manufacturing and other non-oil sectors. The IMF has identified economic diversification and fiscal sustainability as priorities for reducing that exposure.
Morocco expands automotive and industrial production
Morocco’s automotive sector has become one of Africa’s major manufacturing centres, anchored by investment from international companies including Renault and Stellantis.
In July 2025, Stellantis announced a €1.2 billion ($1.4 billion) expansion of its Kenitra factory, intended to lift annual production capacity to 535,000 vehicles.
Automotive exports reached 157 billion dirhams ($17 billion) in 2024. Morocco overtook South Africa in passenger car production, although South Africa retained its lead in total vehicle output.
Investment extends into batteries and aerospace
Morocco’s industrial expansion has extended beyond carmaking into electric vehicle batteries and aerospace. China’s Gotion High-Tech is developing a $1.3 billion battery factory, while France’s Safran announced a €280 million aircraft landing gear facility expected to create nearly 500 jobs.
These projects form part of Morocco’s effort to diversify exports, expand industrial capacity and strengthen its position in global supply chains.
Growth remains exposed to external demand
Morocco is expected to record faster economic growth, supported by industrial production, tourism and infrastructure development. Yet it faces challenges including unemployment, water scarcity and reliance on European markets, leaving parts of its economy exposed to changes in external demand.
Its manufacturing gains depend on continued foreign investment and on export channels tied to European consumption.
Different economic models, different vulnerabilities
Algeria’s model, built on energy extraction and public spending, delivers a substantially larger economy today but carries the fiscal and price-related risks flagged by the IMF.
Morocco’s model, built on attracting foreign manufacturers, developing industrial infrastructure and expanding exports, produces a smaller economy but one steadily deepening its industrial base and integration into international supply chains.
For now, the numbers favour Algeria. The $136.26 billion gap measures the hydrocarbon sector’s continuing ability to generate output and state revenue at a level Morocco’s industrial expansion has not yet matched.
The comparison centres on Algeria’s conversion of energy revenues into a more diversified economy and Morocco’s reliance on international capital to support the growth of its factories, battery plants and aerospace facilities.