🧺 Guide

How Inflation Is Measured in Morocco

A calm way to understand how the official inflation number is built, why the basket matters so much, and why lived prices can still feel different from the index.

By Dalil Finance · Published April 3, 2026 · Updated April 6, 2026 · 5 min read

Inflation usually feels personal before it feels statistical. Bread costs more. The gas canister feels heavier at the cashier. School supplies at the start of September seem to have climbed again, almost quietly, almost as if the increase happened while nobody was looking. People notice prices long before they reach for a formal definition. That is why the distance between the official number and daily experience can sometimes feel wider than expected, even when the method behind the number is careful and sound.

In Morocco, inflation is measured mainly through the consumer price index, the indice des prix à la consommation, produced by the HCP, the Haut Commissariat au Plan. The index follows a basket of goods and services meant to reflect the spending habits of a typical household. Food, housing, transport, clothing, health care, education, and other categories all sit inside it, each with a weight shaped by how much of the household budget that category usually takes. Month after month, price data is gathered from markets, shops, and service providers across several cities, then drawn together into one national measure.

Why the basket matters so much

The basket is the heart of the system because it is also a set of choices. What enters the basket matters. What stays out matters too. The weight given to food, housing, transport, or education shapes the final result before the first calculation even begins. A basket that gives more room to food will react more sharply to food shocks. A basket that gives less room to rent can feel distant in a city where housing has become the pressure point of daily life.

That is why inflation is never just a number. It is also a portrait of how a country thinks people spend. Morocco updates the basket from time to time so it better reflects changing habits, yet there is always some lag. Life moves first. The index follows after. People may already be spending differently by the time the new weights arrive. That does not make the index false. It simply reminds us that measuring life is never the same thing as living it.

Why food carries so much weight in Morocco

Food occupies a larger share of the Moroccan basket than it does in many European countries, and that difference changes everything. It reflects income levels, household priorities, and the simple fact that feeding a family takes up a larger portion of monthly spending. Because of that, food inflation reaches the headline number more directly. A bad harvest, a disruption in grain imports, or a global rise in vegetable oil prices can all move Moroccan inflation with unusual force.

That is one reason inflation in Morocco can feel more immediate, more domestic, more kitchen table than in places where housing or services dominate the basket. Prices do not remain abstract for long. They enter the market bag, the family meal, the rhythm of the week. When food is central, inflation is rarely something people hear about only in policy discussions. They meet it in ordinary errands.

How the data is collected

The process itself is methodical. Price collectors gather information from selected outlets across different cities, returning month after month to build a comparable view over time. The aim is not to capture every single transaction in the country. That would be impossible. The aim is to follow a representative sample closely enough that the broader movement becomes visible. Like all statistical work, it depends on disciplined routine more than dramatic insight.

Still, even a careful method has limits. Some prices change faster than others. Some households feel one category more than the rest. A family spending heavily on rent, transport, or private schooling may experience inflation differently from what the national average suggests. The official number remains useful because it gives a common reference point. But the reference point is not the whole terrain.

Why Bank Al Maghrib watches the index so closely

Bank Al Maghrib pays close attention to the consumer price index because monetary policy depends on where inflation seems to be heading. If price pressure remains high for long enough, tighter conditions become more likely. If inflation eases in a durable way, the central bank gains more room to support growth. The relationship is never mechanical. Policy is rarely a switch that flips the moment one figure changes. Even so, the index is one of the main instruments through which the central bank takes the economy’s temperature.

That makes the CPI more than a statistical release. It becomes a signal for borrowing costs, business sentiment, household financing conditions, and the broader mood of the economy. When people ask why policy moved, or why it did not move, the answer often begins here, with the slow monthly work of measuring prices carefully enough that the larger pattern can be seen.

Why the official number can still feel different from real life

This is perhaps the most important thing to hold onto. The official inflation number and lived inflation are not enemies. They are simply not the same thing. One is a disciplined national average built from a representative basket. The other is the intimate experience of paying for life as it comes. A household with a tighter food budget, rising school costs, or a difficult rent increase may feel far more pressure than the index seems to suggest. Another household may feel less.

So the gap people sense is not always a sign that the number is wrong. Often it is a sign that averages smooth what real life does not. The index is still valuable. It gives a common language, a benchmark, a way to follow change over time. But it works best when read with humility, with the understanding that a nation can be measured carefully and still feel different from one street, one market, one family budget to the next.

If you are new to market language, begin with the Glossary. If you want the broader context around how Dalil handles market data, see Methodology and Data Sources.

Disclaimer: This article is for educational purposes only. It does not constitute financial advice. Inflation data shown on Dalil is based on official and public sources and may be revised. Always consult official releases and qualified professionals when making financial, business, or policy related decisions.

Open Live Dashboard →