54 country profiles · 207 indicator definitionsAPI dataGet API key

Energy · North Africa

Morocco Solar Share of Electricity

5.8%as of 2025+1.6% vs 2024

Share of electricity generation that comes from solar (Ember via Our World in Data). Source: OWID ENERGY. Retrieved June 27, 2026.

Trend

2000 – 2025 · OWID

History

most recent 12 periods
PeriodSolar Share of Electricity
20255.8%
20245.7%
20235%
20223.5%
20214.4%
20203.9%
20193.9%
20182.7%
20171.3%
20161.3%
20150%
20140%

Get this via API

GET /v1/data

Request the available observations for this indicator as JSON. The response includes source metadata and reporting periods.

curl "https://api.africa-api.com/v1/data?country_code=MA&metric_key=solar_electricity_share_pct" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Solar Share of Electricity across Africa

View country ranking ->
CountrySolar Share of ElectricityPeriod
Nigeria0.3%2025
Kenya4.6%2025
South Africa8%2025
Egypt3.1%2025
Ghana0.7%2024
Ethiopia0.1%2025

More Morocco energy data