Law 82-21 In force since 9 June 2026 — existing installations: regularize now →

Law 82-21 · decree 2-25-100

Three regimes, only one is yours

Since 9 June 2026, Law 82-21 on the self-production of electrical energy and its implementing decree 2-25-100 have been in force. From now on, whether it is brand new or already installed, every self-production installation falls under one of the three regimes below — and it is its power and its connection that decide which one.

Where does the law stand? · verified on 3 July 2026

In force

Implementing decree 2-25-100 (Bulletin Officiel of 9 March 2026, in force since 9 June 2026) and ANRE decision 04/26, which sets the surplus buy-back tariff at 0.18–0.21 DH/kWh. This covers the connection-agreement and authorisation regimes — medium, high and very high voltage (MV/HV/EHV).

Not yet published

The surplus buy-back tariff for the low-voltage (LV) declaration regime — the one that covers almost every residential installation — is not published as of today. A timeline around 2027 has been mentioned, with no official date confirmed. Do not take the MV/HV tariff above as the one for your home.

Every tariff figure published on this site carries its validity window and its source; we update this page as soon as the residential LV tariff is published.

Instant assessment

Which regime applies to your installation?

Three questions, an immediate answer.

Applicable regime

    Have my file checked

    Reference

    The three regimes in detail

    Declaration regime

    Installations under 11 kW connected at low voltage, or installations not connected to the grid (off-grid sites). A prior declaration is enough.

    • File a declaration before commissioning
    • Meet the technical connection requirements (if grid-connected)
    • Keep the declaration filing receipt

    Connection-agreement regime

    Grid-connected installations, from the declaration threshold up to 5 MW, at low or medium voltage. A connection agreement with the grid operator is required before commissioning.

    • Obtain the grid operator’s connection agreement before commissioning
    • Install a compliant metering device
    • Comply with the technical terms of the agreement (injected power, protections)

    Authorization regime

    Installations of 5 MW and above, connected at medium, high or very high voltage. A prior authorization is required.

    • Obtain the authorization before any works begin
    • Compile a complete technical file (connection study, diagrams, compliance)
    • Comply with ANRE monitoring and oversight

    Existing installations

    Already have an undeclared installation?

    Article 33 of the law opens a regularization window for existing installations. The window is open — the procedure and the penalties for inaction are detailed on the dedicated page.

    Regularize my installation

    Free study

    Unsure about your regime? We check it for free.

    Have my file checked

    Free · No obligation · Reply within 24–48 h · On WhatsApp