wattu Solaire

Guide · Regulation

Law 82-21: generating and selling your own solar power in Morocco

Law 82-21 lets households in Morocco generate their own electricity. Since Decree No. 2.25.100 of 5 March 2026, a system under 11 kW only needs a simple declaration, and surplus power fed into the grid is capped at 20% of yearly output.

Calculate for my address →

What the law changes for a home

  • Under 11 kW: a simple declaration is enough to install panels and use the power they produce. Typical home systems (2 to 10 kWp) fall in this range.
  • Selling surplus: power you do not use can be fed into the grid, up to 20% of the year's output.
  • Buy-back price: the residential tariff has not been published yet. The available reference is about 0.18 MAD per kWh (the medium-voltage off-peak tariff), best treated as a ceiling.

How much does selling surplus earn?

Little, compared with using the power yourself. Take a 500 MAD monthly bill, a 2.5 kWp system and the output of a median city (Tangier, 1,632 kWh per kWp per year per PVGIS): using your own output saves about 3,070 MAD a year, and selling the surplus would add at most 147 MAD a year.

Each kWh used at home avoids buying a kWh at 0.9010 to 1.5958 MAD (ONEE tariff), against about 0.18 MAD for a kWh sold. It is better to size the system to your own use, which is what the simulator does.

Frequently asked questions

Do I need a permit to install solar panels at home in Morocco?

Since Decree No. 2.25.100 of 5 March 2026 implementing Law 82-21, a system under 11 kW only needs a simple declaration.

Can I sell my solar power in Morocco?

Yes. Law 82-21 allows surplus power to be fed into the grid, capped at 20% of yearly output. The residential buy-back tariff has not been published yet; the available reference is about 0.18 MAD per kWh.

Sources: Decree No. 2.25.100 of 5 March 2026 implementing Law 82-21 · ONEE residential tariff (kherba.com) · PVGIS, European Commission. Updated by Reda Tahiri.

Other guides

How many solar panels do I need for my electricity bill?
How much does a home solar system cost in Morocco in 2026?
ONEE electricity tariff by tranche: the price per kWh
Taqa Pro: choosing a certified solar installer in Morocco

Solar payback, city by city →