The short version: in Morocco, a well-sized residential solar installation pays for itself in 5 to 8 years by 2026 market benchmarks, then keeps producing for another 15 to 20 years at almost no cost. Observed savings run from 60 to 80% of the electricity bill. The reason comes down to two numbers: one installed kWp produces 1,500 to 1,800 kWh per year here, and a kWh in the top tiers costs up to 1.60 DH.

The question comes up at every study: "how long before I get my money back?" Here is the complete calculation, item by item, in dirhams, with the tiered tariffs and 2026 market prices. Including, along the way, the cases where solar is not worth it. A well-informed customer comes back; a disappointed one tells the whole neighbourhood.

Why Morocco is one of the best countries in the world for solar

Morocco gets about 3,000 hours of sunshine a year, up to 3,600 in the desert regions, which works out to 5 to 6 kWh/m² per day. One kWp of panels here produces 1,500 to 1,800 kWh per year depending on the region. The same equipment installed in Germany or Belgium barely manages 900 to 1,000 kWh.

That is the starting point for the whole calculation. Panels sell at world prices; a 550 Wp panel costs about the same in Casablanca as in Munich. The resource, though, is nearly double here. That is why we talk about 5 to 8 year payback in Morocco while Europe talks about 12 to 15, with identical hardware. Regional differences exist: expect closer to 1,500 to 1,600 kWh per kWp in Casablanca or Rabat, where coastal humidity takes a small toll, and 1,700 to 1,800 around Agadir and the south. For detailed equipment prices, our solar panel price guide gives the 2026 ranges by panel size.

How does your ONEE bill work, and why do heavy users pay more per kWh?

Residential low-voltage billing works in tiers: the more you use in a month, the more each kWh costs, from about 0.90 DH below 100 kWh up to about 1.60 DH beyond 500 kWh. And above 150 kWh per month, so-called selective billing applies and inflates the bill faster than most people expect.

Monthly tierIndicative price incl. tax
0 to 100 kWh≈ 0.90 DH/kWh
101 to 200 kWh≈ 1.07 DH/kWh
201 to 300 kWh≈ 1.17 DH/kWh
301 to 500 kWh≈ 1.38 DH/kWh
Over 500 kWh≈ 1.60 DH/kWh

These figures are orders of magnitude taken in 2026 from the residential low-voltage grid. Always check your own bill: the rate cards of Lydec in Casablanca, Redal in Rabat or Amendis in Tangier differ slightly from ONEE's.

The point that matters for payback: solar attacks the bill from the top. Every kWh produced on your roof is a kWh you do not buy in your most expensive tier. A house using 200 kWh a month saves kWh at 1.07 DH. A villa using 900 saves kWh at 1.60 DH. Same installation, very different returns.

How do you calculate the payback, step by step?

The principle is simple: divide the cost of the installation by the annual saving it produces on the bill. What follows is an illustrative calculation using 2026 market benchmarks, not a quote. Take a house consuming 350 kWh per month and walk through the five steps.

  1. The starting bill. At 350 kWh per month, the bill sits around 480 DH, roughly 5,800 DH per year. The exact amount depends on your utility and on selective billing, which is why real bills are the right starting point.
  2. Sizing. To cover daytime consumption, 3 kWp is enough, about six 550 Wp panels. The 2026 market sits between 10,000 and 14,000 DH per kWp turnkey. Call it 35,000 DH.
  3. Production. 3 kWp produces 4,500 to 5,000 kWh per year in Casablanca or Rabat, a little more in Agadir.
  4. The real saving. Without a battery, you run on solar during the day and on the grid at night. On this profile, the bill drops by 60 to 70%, roughly 4,000 DH per year. And the expensive-tier kWh are the first to go.
  5. Payback. 35,000 DH divided by 4,000 DH per year: about 8 years for this profile. That is the top of the market range. Heavier consumers come down to 5 to 6 years, as we will see next.

A frank word in passing: if a salesman promises 3-year payback on this kind of house, ask for the calculation line by line. Usually there isn't one.

What return on investment for your profile?

The higher your bill, the shorter the payback, because your kWh are bought in the expensive tiers and your daytime consumption is high. A villa with a pool and air conditioning pays back in 5 to 7 years, an average house in 7 to 9, a small apartment rarely in under 10.

ProfileIndicative capacityIndicative turnkey budgetIndicative payback
Apartment, under 150 kWh/month1 to 2 kWp15,000 to 25,000 DH10 years or more
House, 300 to 400 kWh/month3 kWp30,000 to 40,000 DH7 to 9 years
Villa with pool and AC, 800 kWh/month and up6 to 9 kWp60,000 to 90,000 DH5 to 7 years
Shop or SME active during the day10 kWp and upquoted after study5 to 8 years
Farm, water pumpingdepends on the boreholequoted after study, 30% FDA subsidyamong the best cases

Let's be direct about the first case: below 150 kWh per month, you pay 0.90 to 1.07 DH per kWh and solar will take ten years or more to pay for itself. We would rather say so upfront than sell an installation that will disappoint.

The villa with a pool is the most favourable residential case we see. The air conditioning and the pool pump run in the middle of the day, exactly when the panels produce. The self-consumption rate climbs without any effort at scheduling.

For a shop or an SME working daytime hours, the market sees self-consumption rates of 85 to 95% without storage. The subject is covered in detail on our grid-tied self-consumption page. As for farmers, pumping has had a 30% FDA subsidy on the kit cost since February 2024, via a DPA or ORMVA application, with drip irrigation and an approved supplier required. Water pumped on solar comes to about 0.44 DH/m³, far ahead of diesel. See our solar pumping page for sizing.

Paid back in 5 to 8 years, and the twenty years after that?

Panels of decent quality lose about 0.5% of output per year and carry production warranties of 25 to 30 years. Once the installation has paid for itself, that leaves 15 to 20 years of almost free electricity. The one item to plan for is the inverter, replaced once around year 10 to 12.

Budget that replacement, a few thousand dirhams depending on capacity, and the picture stays very favourable. In our illustrative example, 4,000 DH saved per year over 25 years comes to around 100,000 DH, for 35,000 DH invested and one inverter swapped along the way. And that calculation assumes electricity prices frozen for 25 years, which has never happened.

What improves, or wrecks, the return?

Four factors weigh more than the brand of the panels: the roof orientation, the share of your consumption that happens during the day, panel cleanliness and sizing. Getting just one of these wrong can add two or three years to the payback.

  • Orientation and shading. Due south, tilt around 30 degrees, no shade during production hours. On a classic single-inverter system, a mere antenna mast shading one panel drags down the whole string.
  • Daytime consumption. Schedule the water heater, the washing machine and the pool pump for sunny hours. Every kWh consumed directly is worth your tier price. A lost surplus kWh is worth nothing as long as low-voltage buyback does not exist.
  • Maintenance. A panel left uncleaned for three months loses 15 to 25% of production, more after a chergui episode. It is the dumbest way to ruin a good investment. Our maintenance guide explains the method and the cleaning frequency by region.
  • Sizing. Target daytime consumption, not the total bill. An oversized system produces a surplus that, on low voltage, currently flows to the grid without compensation.
  • Batteries. An installer's opinion: on a grid-connected house, a battery is comfort against outages, not an investment. It adds 1 to 3 years to the payback by market benchmarks. The GEL versus lithium comparison is in our battery guide.

Does selling surplus power (Law 82-21) change the calculation?

Not yet for a house. Since June 9, 2026, when the implementing decree of Law 82-21 came into force, producing your own electricity is legal on a simple declaration below 11 kW on low voltage. Selling the surplus, however, remains reserved today for businesses connected at medium or high voltage.

For those businesses, the injected surplus is capped at 20% of annual production and bought back at the tariff set by ANRE, about 0.21 DH/kWh at peak hours and 0.18 DH/kWh off-peak. For low-voltage households, the buyback tariff has not yet been set by ANRE. Nobody can tell you today what a kWh exported from a house will be worth, and anyone who claims to know is making it up.

The practical conclusion is clear. Size for self-consumption, and treat resale as a future bonus, not the basis of the calculation. Even for a business, selling a kWh at 0.18 or 0.21 DH when buying it from the grid costs far more holds little appeal: surplus is a relief valve, not a revenue stream. The complete workings of the new framework, thresholds, procedures and the 20% cap, are covered in our guide to Law 82-21.

What information should you prepare before requesting a study?

Gather your last twelve bills, or at least your annual consumption in kWh, note which appliances run during the day and take two photos of your roof. With that, a serious installer can estimate expected production, annual savings and payback time without guessing.

  • Your electricity bills over 12 months, to capture summer and winter.
  • Your city and your utility: ONEE, Lydec, Redal or Amendis.
  • The available roof area and its orientation.
  • Daytime equipment: air conditioning, pool, electric water heater.
  • Your plans: an extension, seasonal rental, an electric car.

Econiva Consulting has been running free home studies in Casablanca, Marrakech, Agadir and Rabat since 2014. Send your last two bills on WhatsApp to +212 661-764046 or go through our contact page: we will tell you frankly whether your profile justifies an installation, which one, and how many years it takes to pay for itself.

Thinking about solar?Free home survey, anywhere in Morocco.
Request a free survey

Econiva Consulting team · June 18, 2026