How the HCP builds Morocco's consumer price index, why food carries so much weight in the basket, and why the official number can feel different from what households actually pay.
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. People notice prices long before they reach for a formal definition, which is why the distance between the official number and daily experience can 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.
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.
Inflation is never just a number. It is also a portrait of how a country thinks people spend. Morocco updates the basket periodically to reflect changing habits, but there is always some lag. People may already be spending differently by the time the new weights arrive. The index is not false for that reason, but it is always measuring last year's spending patterns against this year's prices.
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.
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.
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.
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. It is a sign that averages smooth what real life does not. The index is still valuable - it gives a common benchmark and a way to follow change over time. But a household with a tighter food budget or a steep rent increase will always feel more pressure than the national average suggests.
The number that reaches the news is headline inflation, the change in the full basket. But Bank Al Maghrib also follows a second measure, often called core or underlying inflation, which strips out the most volatile components, above all fresh food and prices set by administrative decision. The logic is simple. A drought that doubles the price of tomatoes for two months tells you something about the weather, not about the underlying direction of the economy. Monetary policy works with long delays, so the central bank tries to respond to pressure that will still be there next year, not to shocks that may already be fading.
Reading the two together is more informative than reading either alone. When headline inflation runs well above core, the pressure is probably concentrated in food or energy and may pass. When core inflation itself climbs, price increases have started spreading into services, rents, and everyday goods whose prices do not usually jump around, and that is much harder to reverse. In a basket as food-heavy as Morocco's, the gap between the two measures can be unusually wide, which is exactly why both are worth watching.
Most inflation figures quoted in public are year-on-year: this month's index compared with the same month one year earlier. That comparison has a trap built into it. Suppose a price index sits at 100, jumps to 110 in a single difficult month, and then simply stays at 110. For the next eleven months, the year-on-year reading keeps showing roughly 10%, even though prices have stopped rising entirely. Then, exactly one year after the jump, the reading collapses toward zero, again with no change in what anyone actually pays.
Statisticians call this a base effect. It means a falling inflation rate does not necessarily mean falling prices, only that the comparison month has moved past the shock. It also means a single bad month can echo in the headlines for a full year. When an inflation print looks surprisingly high or low, the first question worth asking is what happened twelve months earlier, not what happened this month.
Morocco's index has one more feature that separates it from a textbook case: a meaningful part of the basket does not move with markets at all. For decades the compensation fund has subsidised staples, most visibly the butane gas canister that anchors cooking and heating in many households, alongside sugar and standard flour. Other prices, such as electricity tariffs and some regulated transport fares, change by government decision rather than supply and demand.
This cuts in both directions. Subsidies can hold measured inflation down even when world prices surge, because the state absorbs the difference instead of the household. And when a subsidy is gradually unwound, as Morocco began doing with butane in 2024, the index registers price rises that have nothing to do with global markets and everything to do with the policy calendar. Anyone comparing Moroccan inflation with figures from other countries should keep this in mind. Part of what the index measures is not the economy's temperature but the pace at which old price protections are being withdrawn.
All of this measurement matters because inflation is one of the quietest forces acting on savings. A term deposit that pays 3% in a year when prices rise 2% leaves a saver genuinely ahead by roughly one point; the same deposit in a year when prices rise 5% leaves them behind, even though the number in the account went up. That is the difference between a nominal return, the figure printed on the statement, and a real return, what the money can actually buy afterward. Cash and deposits feel safe precisely because their nominal value never falls, which is also what makes their slow erosion by inflation so easy to miss.
Inflation also travels outward into the rest of the market through the central bank. When prices run hot, Bank Al-Maghrib tends to hold rates high or raise them, which lifts the yields on treasury bills and bonds and makes borrowing more expensive for companies and households. When inflation cools in a durable way, the bank gains room to ease: it cut its key rate three times between mid-2024 and early 2025 and has held it at 2.25% since, a step it could afford because inflation had settled back toward 1 to 2% in 2026 after running well above its usual range in 2022 and 2023. Lower policy rates tend to pull bond yields down and can make equities more attractive, since money earns less sitting still. The path from a CPI release to the value of a portfolio runs straight through the rate this index helps set.
For a saver, the practical lessons are modest but real. Judge a return against inflation, not in isolation. Watch the direction of the headline figure, because it shapes the interest a bank will offer on a deposit and the yield a bond fund will earn. And remember that the tax on investment income is charged on the nominal figure, not the real one, so inflation and tax both take a share before the money is truly yours. Our guides to bond yields, how Bank Al-Maghrib sets the rate, and how investment income is taxed pick up each of these threads.
For unfamiliar terms (CPI, base effect, core inflation), the Glossary carries plain-English entries. How HCP releases reach the dashboard and the schedule on which they refresh appears under Methodology alongside the upstream feeds we use, listed at Data Sources.
On revisions: An explainer of methodology, not a portfolio call. Inflation prints from HCP can be revised, and base-effect distortions can flip a year-on-year reading. For monetary-policy-grade analysis, consult Bank Al Maghrib’s quarterly reports directly and qualified professionals before acting on what you read here.
HCP (Haut Commissariat au Plan) - hcp.ma (CPI methodology, inflation data, consumer price basket)
Bank Al-Maghrib - bkam.ma (inflation forecasts, monetary policy reports)
About This Article
Researched and edited by Suzuki Kenta. Dalil Finance is an independent project and is not a licensed financial advisor, broker, or registered investment adviser; nothing on this page is personalised investment advice. How articles are sourced, checked, and corrected is described in the editorial standards.
About the project: About Dalil · Contact: contact@dalilfinance.app · Legal: Disclaimer