Position:
Solar
Morocco publishes long-awaited decree enabling renewable self-consumption and surplus power sales
A few weeks after setting net-metering tariffs for high- and medium-voltage systems, the Moroccan government has published the long-awaited implementing decree for Law 82-21 on energy self-production in the country’s official bulletin.

The decree formally opens the door to self-consumption and allows renewable energy producers to sell surplus electricity back to the grid.

Under the new framework, Morocco’s National Electricity Regulatory Authority (ANRE) permits owners of photovoltaic (PV) systems for self-consumption to inject excess electricity into the public grid, subject to a cap of 20% of their annual production. Producers will be compensated at MAD 0.21 ($0.023)/kWh during peak hours and MAD 0.18/kWh during off-peak periods.

Grid access costs have also been clarified. The tariff for using the medium-voltage distribution network has been set at MAD 0.0607/kWh, while the national transmission network tariff stands slightly higher at MAD 0.0638/kWh, providing greater cost visibility for investors.

To avoid overloading the national grid, connection capacity has been capped. After accounting for projects already authorized in 2025, the remaining available capacity totals 3,886 MW, with solar accounting for 72% and wind for 28%.

The decree will enter into force three months after its publication, on June 9, 2026. It formalizes the legal status of self-producers at a time when Morocco continues to face rising energy costs linked to the ongoing energy crisis triggered by geopolitical tensions in the Middle East.

According to research by the Imal Initiative for Climate and Development, Morocco has the potential to install up to 28.6 GW of distributed solar capacity, generating 66.8 TWh of electricity and creating a market worth approximately $31 billion.