African Electricity Production: Ranking the Continent’s Leaders
A reliable power supply is a cornerstone of industrial growth, healthcare delivery, agricultural productivity, and educational advancement. Across Africa, disparities in electricity generation have long hampered development, yet several nations have emerged as notable producers. Drawing on the latest data from the International Energy Agency (IEA), this article ranks the top African countries by annual electricity output and examines the factors behind their performance.
Top Electricity‑Producing Countries in Africa
The following list highlights the five nations that currently lead the continent in electricity generation, measured in gigawatt‑hours (GWh) per year.
- South Africa – 229,303 GWh
- Egypt – over 200,000 GWh
- Algeria – 85,500 GWh
- Morocco – 41,000 GWh
- Nigeria – approximately 40,000 GWh
These figures reflect total net electricity production for the most recent reporting year available from the IEA. While the numbers provide a clear ranking, the underlying energy mixes and policy contexts differ significantly from one country to another.
South Africa: Coal‑Heavy Leader with Renewable Ambitions
South Africa remains the continent’s largest electricity producer, largely because of its extensive coal‑fired fleet. Coal accounts for roughly 70 % of the nation’s generation, delivering the bulk of the 229,303 GWh recorded in 2023. The country’s industrial base—particularly mining, steel, and automotive sectors—drives high demand.
Nevertheless, the grid faces periodic load‑shedding events. Analysts estimate that an additional 15 GW of capacity would alleviate congestion and improve reliability for both industry and households. Looking ahead, South Africa’s Integrated Resource Plan calls for a substantial increase in solar and wind contributions, aiming for renewables to supply more than 30 % of electricity by 2030.
Egypt: Gas‑Driven Surplus and Export Potential
After years of chronic shortages, Egypt achieved a reliable surplus in 2016 following major investments in generation and transmission. The country now produces in excess of 200,000 GWh annually, with natural gas providing about three‑quarters of that output. The abundance of domestic gas fields has enabled Egypt not only to meet internal demand but also to export power to neighboring grids via interconnectors with Jordan, Sudan, and Libya.
The government’s ongoing infrastructure program, which allocated over EGP 130 billion to upgrade plants and expand renewable capacity, seeks to diversify the mix. Solar parks in the Benban complex and wind farms along the Gulf of Suez are already contributing measurable shares of clean electricity.
Algeria: Leveraging Vast Gas Reserves
Algeria’s electricity generation exceeds 85,500 GWh per year, positioning it as the third‑largest producer on the continent. More than 95 % of this output stems from natural gas, a reflection of the country’s substantial hydrocarbon reserves. The widespread use of gas‑fired combined‑cycle plants offers high efficiency and relatively low emissions compared with coal‑based alternatives.
While fossil fuels dominate, Algeria has begun to explore renewable avenues, particularly solar photovoltaic projects in the Sahara region. These initiatives aim to reduce domestic consumption of gas for power, freeing more volume for export markets.
Morocco: Renewable‑Focused Growth Amid Import Dependence
Morocco generates roughly 41,000 GWh annually, drawing from a balanced portfolio that includes coal, solar, wind, and natural gas. Despite this domestic production, the kingdom still imports electricity from Spain during peak periods to satisfy demand.
National strategy targets renewables supplying more than half of Morocco’s electricity by 2030. The Noor Ouarzazate solar complex and several wind farms in Tarfaya and Taza illustrate the country’s commitment to clean energy. Grid modernization and interconnection upgrades are also underway to improve reliability and reduce reliance on imports.
Nigeria: Hydro and Gas with a Large Unmet Need
Nigeria’s reported output stands near 40,000 GWh per year, derived mainly from hydroelectric plants (such as Kainji and Jebba) and gas‑fired thermal stations. However, given a population exceeding 200 million, per‑capita consumption remains low, and many households and businesses rely on captive diesel generators or rooftop solar to bridge the gap.
Efforts to expand grid‑connected capacity include the privatization of distribution companies, investment in transmission infrastructure, and the promotion of off‑grid solar solutions. The Nigerian government’s Economic Sustainability Plan emphasizes scaling up solar mini‑grids to improve access in rural areas.
Why North Africa Dominates the Rankings
A closer look at the top ten reveals a striking pattern: five of the continent’s leading electricity producers are located in North Africa. Egypt, Algeria, Morocco, Libya, and Tunisia collectively account for a substantial share of Africa’s total generation.
This regional advantage stems from several factors:
- Early and sustained investment in grid infrastructure, particularly high‑voltage transmission corridors.
- Abundant natural‑gas reserves that have enabled the construction of efficient combined‑cycle power plants.
- Proactive renewable‑energy policies, exemplified by Egypt’s solar‑wind auctions and Morocco’s Noor solar complex.
- Relative political stability in recent years, which has facilitated long‑term planning and foreign direct investment in the power sector.
Libya, despite periods of instability, still managed to produce about 35,746 GWh in 2023, securing sixth place on the continent. Tunisia’s inclusion in the top ten further underscores the north’s competitive edge in power generation.
Conclusion
Electricity production varies widely across Africa, with South Africa, Egypt, Algeria, Morocco, and Nigeria leading the pack in absolute terms. While fossil fuels—especially coal and natural gas—still dominate the mix, a clear shift toward renewables is underway in several countries, driven by both environmental goals and economic considerations.
For policymakers, investors, and development partners, the data highlight both opportunities and challenges. Expanding generation capacity alone will not guarantee universal access; improving transmission, reducing losses, and fostering inclusive off‑grid solutions are equally vital. By learning from the successes of North African producers and addressing the unique constraints of sub‑Saharan nations, the continent can move toward a more reliable, sustainable, and equitable power future.
Sources: International Energy Agency (IEA) electricity statistics, 2023; national energy ministries and utility reports; peer‑reviewed analyses of African power markets.


