Real Estate Tax in Morocco: A Comprehensive Analysis

Real Estate Tax in Morocco: A Comprehensive Analysis
Summarize this article with AI:ChatGPTClaudePerplexityGrok

Key takeaways

  • The 2023–2025 reforms tightened several of these rules and, since 12 June 2025, moved the housing and communal-services taxes under the Direction Générale des Impôts (DGI).
  • Figures reflect the position for 2025; because the rules change with each Finance Law, confirm specifics with the Direction Générale des Impôts (tax.gov.ma) or a licensed Moroccan notary before acting.
  • For a property used as the owner’s main residence, a generous 75% reduction applies to that rental value before the scale is run, which dramatically lowers the bill.
  • Both taxes have, since 12 June 2025, been administered by the DGI rather than the General Treasury; the rates, exemptions and calculation method are unchanged, only the collecting administration moved.

Real estate tax in Morocco is not a single levy but a family of taxes that follow a property through its whole life cycle: holding it, using it, and eventually selling it. For owners, investors and expatriates with property in Marrakech, Agadir or along the Taghazout coast, understanding how these taxes fit together is the difference between a predictable budget and an unwelcome surprise at the notary’s office. The 2023–2025 reforms tightened several of these rules and, since 12 June 2025, moved the housing and communal-services taxes under the Direction Générale des Impôts (DGI).

This comprehensive analysis breaks Moroccan real estate tax into its real components, the housing tax (taxe d’habitation), the communal services tax (TSC), the tax on property profits (TPI), and the registration and related transfer duties. You will find four reference tables, an illustrative worked example, a self-calculation worksheet, a compliance checklist, field experience and a detailed FAQ. Figures reflect the position for 2025; because the rules change with each Finance Law, confirm specifics with the Direction Générale des Impôts (tax.gov.ma) or a licensed Moroccan notary before acting.

Tax checklist for property owners in Morocco

Generate your list based on your situation.

Why real estate tax matters in Morocco

Property is the most heavily documented asset in Morocco: every transfer passes through a notary and the land registry, and ownership is recorded against a fiscal identity. That transparency means the relevant taxes are difficult to avoid and easy to plan for. The key is to separate the recurring taxes you pay every year for holding and occupying a property from the one-off taxes triggered when you buy or sell. Treating them as one blurred cost is the most common budgeting mistake we see among first-time investors.

The components of real estate tax in Morocco

Moroccan real estate taxation rests on four pillars. Two are recurring (the housing tax and the communal services tax), one is transactional on the way out (the tax on property profits), and one is transactional on the way in (registration and transfer duties). The table below maps them at a glance.

TaxWhen it appliesHeadline 2025 basis
Housing tax (Taxe d’habitation)Annual, on occupied dwellingsProgressive on rental value; 75% relief for a main home
Communal services tax (TSC)Annual, on built property10.5% urban / 6.5% periphery of rental value
Tax on property profits (TPI)On sale20% of net gain, minimum 3% of sale price
Registration & transfer dutiesOn purchaseGenerally 4% of the price in the deed

Recurring taxes: housing tax and communal services tax

The housing tax (taxe d’habitation, formerly the taxe urbaine) is charged annually on residential premises, based on an administratively assessed annual rental value. For a property used as the owner’s main residence, a generous 75% reduction applies to that rental value before the scale is run, which dramatically lowers the bill. Newly built properties typically benefit from a five-year exemption from the housing tax. The progressive scale applies to the value remaining after the main-home relief:

Annual rental value after relief (MAD)Housing tax rate
0 to 5,000Exempt (0%)
5,001 to 20,00010%
20,001 to 40,00020%
Above 40,00030%

The communal services tax (TSC) is charged alongside it on the same rental value, at a flat 10.5% in urban areas and 6.5% in peripheral or rural zones, funding local services. Both taxes have, since 12 June 2025, been administered by the DGI rather than the General Treasury; the rates, exemptions and calculation method are unchanged, only the collecting administration moved. For a deeper dive into the occupier’s side of these levies, see our analysis of the residence tax in Morocco.

The tax on property profits (TPI) when you sell

When you sell a property in Morocco, the gain is subject to the tax on property profits (taxe sur le profit immobilier, TPI). Since 2023 a single rate of 20% applies to the net profit, broadly the sale price less the indexed acquisition cost and allowable expenses such as registration, notary fees and documented improvement works. Crucially, the law sets a floor: even where you declare little or no profit, the tax due cannot be less than 3% of the sale price. That minimum is the figure that catches sellers off guard.

The most valuable exemption is for a main residence: a dwelling occupied as the owner’s principal home for at least six years before sale is, in principle, exempt from TPI. Several other targeted exemptions exist for small disposals and specific situations. Because the indexed cost base and the six-year clock both materially change the result, the TPI is the one real estate tax where keeping every receipt from the day of purchase genuinely pays.

TPI element2025 treatment
Standard rate20% of net property profit
Minimum due3% of the declared sale price
Main-residence exemptionOccupied as main home for 6+ years
Deductible from the gainIndexed purchase price, registration, notary, works

Transfer duties when you buy

On purchase, the main cost beyond the price itself is the registration duty (droits d’enregistrement), generally 4% of the amount stated in the notarised deed for most built residential and commercial property, with a reduced 3% available for qualifying social or low-cost housing. To this you add land-registry (conservation foncière) fees of roughly 1.5% plus a fixed amount, stamp duties, and notary fees. As a rule of thumb, a buyer should budget around 6% to 8% of the purchase price for the full bundle of acquisition taxes and fees, on top of the price.

Worked example (illustrative): buying, holding and selling in Agadir

Illustrative example (simulation), indicative figures, not a real client case.

Consider Karim, who buys a 1,500,000 MAD apartment in Agadir as a second home, holds it for several years, then sells it for 1,900,000 MAD.

On purchase: registration duty at 4% is 60,000 MAD; land-registry and stamp costs add roughly 25,000 MAD; notary fees perhaps 15,000 MAD. Karim should plan for about 100,000 MAD in acquisition costs, close to 7% of the price.

While holding: as a second home (not a main residence), Karim gets no 75% housing-tax relief, so he pays the housing tax and the 10.5% TSC each year on the assessed rental value, typically a few thousand dirham annually for a property of this size.

On sale: his gross gain is 400,000 MAD. After deducting the indexed purchase price, his 60,000 MAD registration duty and documented costs, suppose the net taxable profit is 250,000 MAD. TPI at 20% is 50,000 MAD. The 3% minimum (3% of 1,900,000 = 57,000 MAD) is higher, so Karim pays the greater figure: 57,000 MAD. This is exactly why the minimum matters, it overrode his lower profit-based calculation.

Self-calculation worksheet

Use this worksheet to estimate the real estate taxes on a Moroccan property across its life cycle. Work in MAD.

StepActionYour figure
1Purchase price × 4% = registration duty________ MAD
2Add ~3% to 4% for registry, stamp and notary fees________ MAD
3Each year: housing tax + TSC on assessed rental value (apply 75% relief if it is your main home)________ MAD/yr
4On sale: (sale price − indexed cost − expenses) × 20% = profit-based TPI________ MAD
5Compare with 3% of sale price; pay the higher of the two________ MAD

Comparative table: main home vs investment property

CriterionMain residenceInvestment / second home
Housing tax relief75% reductionNone
TPI on saleExempt after 6 years of occupation20% (min 3% of price)
TSCPayable (on reduced value)Payable in full
New-build exemption5 years on housing tax5 years on housing tax
Record-keeping priorityProof of occupation datesEvery cost receipt for TPI

Compliance checklist and tools

TaskWhy it matters
Keep the notarised deed and every fee receiptThese reduce the taxable gain when you sell (TPI)
Confirm your housing-tax status each yearMain-home relief and new-build exemption can be missed
Track your occupation start dateThe 6-year clock decides the main-residence TPI exemption
Pay housing tax / TSC via the DGICollection moved to the DGI on 12 June 2025
Model the 3% minimum before sellingIt can exceed your profit-based TPI
Check current rules on tax.gov.maRates and thresholds shift with each Finance Law

From the field

Managing properties across Marrakech and Agadir, the recurring lesson is that the painful real estate taxes in Morocco are almost never the annual ones, the housing tax and TSC on a typical apartment are modest. The shocks come at sale, when an owner who never kept purchase receipts cannot deduct anything and is hit by the full 20%, or when the 3% minimum quietly overrides a modest profit. Owners who treat the day of purchase as the start of their tax file, not the day of sale, consistently pay less. The second recurring lesson concerns the main-residence exemption: people sell at five years and eleven months and lose a full exemption they were weeks away from earning. A little planning around the six-year mark is some of the cheapest tax saving available in Morocco. For the income side of property ownership, pair this guide with our article on rental income tax in Morocco.

Frequently asked questions

1. What taxes apply to real estate in Morocco?
Mainly the housing tax and communal services tax (annual), the tax on property profits (on sale), and registration and transfer duties (on purchase). Rental income is taxed separately under the income tax.

2. How much is the registration duty when buying?
Generally 4% of the price stated in the deed for most property, with a reduced 3% for qualifying social housing. Budget around 6% to 8% in total for all acquisition costs and fees.

3. What is the TPI rate?
Since 2023 the tax on property profits is a flat 20% of the net gain, but never less than 3% of the sale price.

4. Is my main home exempt when I sell?
A dwelling occupied as your principal residence for at least six years before sale is, in principle, exempt from TPI.

5. How is the housing tax calculated?
It is progressive on the assessed annual rental value, from 0% up to 30%, after a 75% reduction for a main residence. New buildings are usually exempt for five years.

6. What is the communal services tax (TSC)?
A flat tax of 10.5% of rental value in urban areas and 6.5% in peripheral or rural zones, charged alongside the housing tax.

7. Who collects the housing tax now?
Since 12 June 2025 the DGI administers the housing tax and TSC, taking over from the General Treasury; rates and rules are unchanged.

8. Do non-residents pay these taxes?
Yes. The taxes attach to the property’s location in Morocco, so non-resident owners pay them like residents, subject to any double-tax treaty relief.

9. Can I reduce my TPI legally?
Yes, by deducting the indexed purchase price, registration, notary fees and documented improvements from the gain, and by qualifying for the main-residence exemption. Keep every receipt.

10. Where do I check the official rates?
The authoritative source is the DGI at tax.gov.ma, which publishes the General Tax Code and each Finance Law.

The professional tax, deadlines and penalties

Owners who use a property for a business, a shop, an office, or a habitual furnished-rental operation run as a commercial activity, may also face the professional tax (taxe professionnelle). It is assessed on the rental value of the premises and equipment used in the activity, at class-based rates that commonly range from 10% to 30%, with a customary exemption for the first five years of a new activity. For a passive long-term residential landlord this tax does not apply, but for a host scaling a short-term-rental business with hotel-like services it can become relevant, alongside VAT on accommodation services. Knowing in advance whether your use is “residential” or “professional” in the eyes of the administration is therefore essential before you expand.

Deadlines matter as much as rates. The housing tax and TSC are billed annually and are now collected by the DGI; paying late triggers surcharges and late-interest. The TPI must be declared and paid within 30 days of the property transfer, and a missed declaration is one of the most frequent causes of penalties at sale. Registration duties are due at the moment the deed is registered, which the notary normally handles on the buyer’s behalf. Because each tax has its own clock, a simple annual calendar, one entry for the recurring taxes, one reminder set 30 days before any planned sale, prevents almost all avoidable penalties.

Two further points are worth flagging. First, under-declaring a sale price to lower TPI or registration duty is a serious risk: the administration can reassess the value and impose penalties and back-duty, so the figure in the deed should reflect the real price. Second, the indexation that raises your deductible purchase cost for TPI is applied using official coefficients, so a property held for many years has a meaningfully higher cost base than its original price, another reason the long-term owner who keeps records is rewarded.

Regional nuances across Marrakech, Agadir and the Taghazout coast

The national rules are uniform, but the figures that feed them are local. The administratively assessed annual rental value, the base for both the housing tax and the TSC, is set by reference to comparable rents in the immediate area, so the same 80 m² apartment generates a very different bill in central Marrakech than on the rural fringe of the Taghazout coast. Equally, the 10.5% urban versus 6.5% peripheral TSC split turns entirely on whether the property sits inside the official urban perimeter, a line that matters most precisely in the fast-growing zones north of Agadir, where the boundary has been redrawn as new developments are absorbed into the municipality.

In central Marrakech, where holiday-rental demand pushes comparable rents up, assessed rental values tend to be higher and almost always fall inside the urban perimeter, so owners should expect the full 10.5% TSC and a housing-tax bill toward the upper bands once the main-home relief is stripped away from a second home. In Agadir, a planned city with clear municipal limits, the urban rate is the norm in the built-up core while some peri-urban parcels still qualify for the 6.5% rate. Along the Taghazout coast, a mix of village land and new resort development means two neighbouring villas can sit on different sides of the perimeter line, and pay different TSC rates as a result.

ZoneTypical TSC ratePractical note for owners
Central Marrakech10.5% (urban)Higher assessed rental values; budget for upper housing-tax bands on second homes
Agadir city core10.5% (urban)Clear municipal limits; some peri-urban parcels still at 6.5%
Taghazout coast10.5% or 6.5%Perimeter line varies plot by plot; confirm classification before budgeting

The practical takeaway is to verify two local facts before you budget: the assessed rental value the administration holds for your specific property, and whether that property is classified as urban or peripheral. Both are obtainable from the local tax office, and both can be challenged where the assessment is clearly out of step with real rents in the street. For an investor comparing two properties in different zones, these local variables can move the recurring tax bill more than any national rate change, which is why a property-by-property check at tax.gov.ma or the local DGI office beats relying on a regional average.

Property-Profit Tax (TPI) Simulator




Amounts in MAD with a US-dollar equivalent (approx. 10 MAD = $1). Indicative only.

A Cultural Note: Why Foreign Owners Should Declare the Full Price

Investors from the UK, Europe or the Gulf are often surprised by two local customs around Moroccan property tax. First, newly built homes enjoy a multi-year exemption from the housing and communal-services taxes, so modest early bills can lull owners into underestimating later costs. Second, there is a long-standing habit of declaring a price at the notary that is lower than the amount actually paid, to reduce transfer duties and the tax on property profits (TPI). For a foreign owner this is a trap, not a saving: a low declared purchase price inflates your taxable gain when you eventually sell, and it weakens your position in any dispute. Insisting on a fully declared, notarised price near Marrakech, Agadir or Taghazout is the honest, and ultimately cheaper, path.

Conclusion

Real estate tax in Morocco is best understood as a sequence: modest, manageable annual taxes for holding and occupying, a generally affordable bundle of duties on the way in, and a 20% profit tax with a 3% floor on the way out. The owners who pay the least are not the ones chasing loopholes, they are the ones who keep their paperwork from day one, use the main-residence reliefs, and model the sale tax before they sign. Plan the whole life cycle, not just the moment in front of you.

Armonia Solutions helps property owners in Marrakech, Agadir and Taghazout manage their rentals and stay on top of the compliance that comes with them, from leasing to reporting. Contact us for a free review of your property and the taxes you can plan for in advance.

Sources

Direction Générale des Impôts (tax.gov.ma), Moroccan General Tax Code: housing tax (taxe d’habitation), communal services tax (TSC), tax on property profits (TPI) and registration duties, with 2023–2025 amendments including the transfer of TH/TSC collection to the DGI on 12 June 2025. General information updated for 2025; not a substitute for advice from a licensed Moroccan notary or tax adviser.