Morocco leads Africa in digital trade surpluses, with $26 billion 20-year cumulative gain

  • Morocco achieved the highest cumulative surplus in Africa’s digital trade at $26.4 billion between 2005 and 2024.
  • Mauritius and Tunisia followed distantly with surpluses of $8.7 billion and $4.4 billion, respectively.
  • Nigeria and Angola recorded the deepest deficits, each exceeding $90 billion cumulatively.
  • Africa’s overall digital trade balance remained negative, averaging a -$618 million deficit in 2024.
  • Smaller economies like Kenya and Togo managed modest but consistent surpluses over the years.

Morocco has built a commanding lead in Africa’s digital services trade, recording a cumulative surplus of $26.4 billion between 2005 and 2024. This places it far ahead of Mauritius ($8.7 billion) and Tunisia ($4.4 billion), cementing its role as the continent’s most competitive digital exporter.

In 2024 alone, Morocco posted a surplus of $3.56 billion, the highest in Africa, ahead of Mauritius ($2.65 billion) and Tunisia ($621 million). Other countries like Kenya ($1.9 billion) and Togo ($1.1 billion) also managed to sustain long-term surpluses, but at much smaller scales.

On the flip side, Africa’s largest economies carry the deepest deficits. Nigeria (-$94.5 billion), Angola (-$97.8 billion), and Egypt (-$55.9 billion) have seen decades of heavy outflows on digital services, while South Africa (-$37.2 billion) and Algeria (-$28.4 billion) also rank among the biggest laggards.

Morocco’s cumulative strength shows that consistent investment in digital exports—particularly IT-enabled services and outsourcing—can turn the tide, even in a region where the overall trend remains negative.

Source:

World Trade Organization (WTO)

Period:

2005-2024
HTML code to embed chart
Want a bespoke report?
Reach out
Tags
Related Insights

South Africa accounted for nearly $1 in every $6 Africa earned from merchandise exports in 2025
  • Africa’s merchandise exports reached $689.2 billion in 2025.
  • Exports grew by 9.7%, the fastest rate outside Asia.
  • Africa accounted for just 2.6% of global merchandise exports.
  • South Africa led with $116.4 billion, followed by Nigeria and Egypt.
  • The top 15 economies generated 79.3% of Africa’s exports.

Nigeria's trade surplus hit a record ₦21.0tn in 2025 and remained strong in Q1 2026
  • Nigeria recorded a ₦21.03 trillion trade surplus in 2025, the highest in the period shown.
  • The trade surplus remained strong at ₦7.55 trillion in Q1 2026.
  • The latest performance marks a sharp recovery from the deficits recorded in 2020 and 2021.
  • Nigeria’s trade balance moved from near zero in 2023 to large surpluses in 2024 and 2025.

Nigeria's non-oil exports grew faster than oil exports in 2024 and 2025, though oil remained dominant
  • In 2025, non-oil export growth (36%) was 6x higher than oil (6%).
  • In 2024, non-oil exports grew by 189% vs oil’s 108%.
  • Total exports still heavily depend on oil.
  • Export value rose from ₦36 trillion in 2023 to ₦85.1 trillion in 2025.

Nigeria imported 10x more from Asia than from Africa in 2025
  • Asia is Nigeria’s top import source in 2025.
  • The highest import value from Asia was recorded in Q1 at ₦8.7 trillion.
  • Imports from Europe surged to ₦8.6 trillion in Q2 but declined to ₦6.6 trillion by Q4.
  • Imports from America showed continuous growth, rising from ₦2.9 trillion in Q1 to ₦6.6 trillion in Q4.
  • Imports from Africa remained below ₦1 trillion across most quarters.

China’s exports to Nigeria increased by 40% in 2025
  • China’s exports to Nigeria increased by 40.4%,
  • China's exports moved from ₦ 14.1 trillion in 2024 to ₦ 19.8 trillion in 2025.
  • Growth was consistent across all four quarters.
  • Quarter 2 saw the highest growth at 80%, jumping from ₦3.0tn to ₦5.4tn.
  • Quarter 4 recorded a modest 4.3% rise.

Nigeria’s export mix stayed oil-heavy in 2025, with crude oil above 75% in all quarters
  • Crude oil dominated Nigeria’s exports in all quarters of 2025
  • Q1 recorded the highest oil dependency at 81.5%.
  • Non-oil exports peaked in Q2 at 24.2%, representing the strongest diversification point in 2025.
  • The oil share dropped to its lowest in Q2 (75.8%), but still remained dominant.

POPULAR TOPICS
SIGN UP TO OUR NEWSLETTER
Get periodic updates about the African startup space, access to our reports, among others.
Subscribe Here
Subscription Form

A product of Techpoint Africa. All rights reserved