Analysis · Morocco · Moroccans abroad
Selling in Morocco when you live abroad.
A flat bought ten years ago in Casablanca, the family house in Tangier, a plot inherited near Agadir: when a Moroccan living abroad sells back home, two questions always arrive together. How much tax? And can the money leave the country? I am Ahmed Benjas, a Moroccan broker based in Dubai, and this is what I answer, official texts in hand.
The short answer
Selling a property in Morocco while living abroad is simple on paper and expensive when you leave it late. The tax depends mostly on how the property was used over the last five years; the transfer of the price depends mostly on how you paid for it when you bought. Both are prepared before the preliminary agreement, not at the notary's office on signing day.
- Income tax on real estate profits: 20% of the net gain, with a minimum of 3% of the sale price, even when there is no gain (Code général des impôts)
- A possible exemption if the property was your main home for at least 5 years, including when it was occupied free of charge by your spouse, your parents or your children
- Return and payment within 30 days of the sale
- Transferring the price abroad: possible if the purchase was financed in foreign currency and you can prove it; otherwise the funds in principle go to a convertible term account
How much tax does a Moroccan abroad pay when selling in Morocco?
Living abroad changes neither the rate nor the calculation: the property is in Morocco, so the gain is taxed in Morocco. The Direction générale des impôts applies income tax on real estate profits, which many people still call "TPI". The rate is 20% of the net gain. But the Code général des impôts also sets a minimum contribution equal to 3% of the sale price: you pay whichever of the two is higher.
That 3% minimum is what surprises sellers most. On a property sold barely above its purchase price, or even at a loss, it is still due. I tell every seller before they set their price: your net proceeds are the price, minus at least 3%, minus the costs.
How the gain is calculated
The net gain is the difference between the sale price and the revalued acquisition cost. The acquisition cost includes the price paid, the purchase costs and documented capital expenditure (an extension, a heavy renovation). Without receipts, purchase costs are taken at a flat 15% of the purchase price.
That cost is then multiplied by a revaluation coefficient that depends on the year of purchase, to neutralise inflation. The DGI publishes the official table every year: use the one for the year of your sale, never a table found on a forum.
For an inherited property, the purchase price to use is not what your parents paid: it is in principle the value of the property on the date of death, as declared by the heirs. If the estate was never settled, that is the first thing to do, before any listing: the steps are in inheriting a property in Morocco while living abroad.
The exemptions that really matter to Moroccans abroad
The Code général des impôts provides several exemptions. Three often concern Moroccans living abroad:
- The main home occupied for at least 5 years on the date of the sale. For a Moroccan abroad, the home kept in Morocco keeps this status as long as it is neither rented out nor used for a business, and it can be occupied free of charge by the spouse, ascendants or first-degree descendants. The exemption applies only once per 5-year period, and the sale must take place no later than one year after the home was vacated. Above a price of 4 million dirhams, the 3% minimum applies to the portion above that threshold.
- Small sales: sales whose total amount does not exceed 140,000 dirhams in the calendar year.
- Transfers free of charge within the family (between ascendants and descendants, between spouses, between brothers and sisters): a gift is not a sale and does not trigger this tax. Beware, though, of the child's later resale, which I explain in gifting property in Morocco to your children.
The point that costs money: renting out. A flat that is let, even for a few months, even to tourists in the summer, loses the main-home regime for the period concerned. Before letting the family home, ask yourself whether you will sell it one day. And if you do let it, see how the rent is taxed in renting out property in Morocco from abroad.
Worked example: a flat in Casablanca
A fictitious but typical case. A Moroccan woman living in the UK bought a flat in Casablanca in 2014 for 900,000 dirhams, paid by transfer from her account abroad in foreign currency. She let it out. She sells it in 2026 for 1,300,000 dirhams. She did not keep the receipts for her purchase costs. The revaluation coefficient used below (1.20) is an assumption for the example: the real coefficient is in the DGI's official table.
| Step | Calculation | Amount (MAD) |
|---|---|---|
| Purchase price | 2014 deed | 900,000 |
| Flat-rate purchase costs | 15% × 900,000 | 135,000 |
| Revalued acquisition cost | 1,035,000 × 1.20 (assumption) | 1,242,000 |
| Net gain | 1,300,000 − 1,242,000 | 58,000 |
| Tax at 20% | 20% × 58,000 | 11,600 |
| Minimum contribution | 3% × 1,300,000 | 39,000 |
| Amount due | The higher of the two | 39,000 |
In this example the 3% minimum is more than three times the "theoretical" tax. Had the same flat been occupied free of charge by her parents for more than 5 years, with no letting, the sale could have been exempt. That is the whole difference between deciding how a property is used at the start and discovering it on resale.
Filing and paying within 30 days
The real estate profit return and the payment of the tax are due within 30 days of the date of sale. Late filing triggers the penalties and surcharges set out in the Code général des impôts.
From abroad, the safest route is to organise everything with the notary. Before signing, ask them to calculate the tax from your file (purchase deed, receipts for costs and works, proof of occupation if you are aiming for the exemption) and to tell you who files and how the payment will be made. Keep the payment certificate: you will need it to transfer the price.
On the land title side, check before committing that the ownership certificate issued by the ANCFCC is up to date: exact name, no mortgage or entry that would block the sale. If you sign through a power of attorney, it must be an authentic deed, entered in the national register and drafted for this specific sale: I explain the 2026 rules in selling in Morocco through a power of attorney from abroad (in French).
Getting the money back abroad
This is the question people forget when they buy and that comes back when they sell. According to the Office des Changes, banks may transfer abroad the proceeds of the sale of an investment financed in foreign currency: the amount invested and, where applicable, the capital gain. The file includes proof of the foreign-currency financing, a copy of the sale deed and the receipts for the taxes and duties paid on the sale.
If the property was not financed in foreign currency (bought with income earned in Morocco, paid in cash, received by inheritance), the price cannot be transferred in the same way. For a seller who lives abroad, the regulations then provide for the dirham proceeds to be paid into a convertible term account, which has its own rules. Your bank in Morocco will tell you, with the documents in hand, what can be transferred and how long it takes.
My advice to Moroccans who buy in Morocco today is therefore the same as in my guide to buying in Morocco from abroad: pay from abroad, in foreign currency, and keep every transfer slip and every bank certificate. Those papers are what will let the money leave again in ten years' time.
You live in France, the UK, Belgium or Canada: the other tax return
Paying the tax in Morocco does not necessarily settle everything. If you are tax resident in another country, the gain made in Morocco may also have to be declared there, and it is the tax treaty between that country and Morocco that avoids double taxation. For France, check impots.gouv.fr or ask your adviser; for other countries, your own tax authority. I am not a tax adviser: I help you gather the documents, not fill in your foreign return.
What I tell Moroccans abroad who sell to reinvest
Many of the sellers I work with do not sell to spend the price: they want to reinvest, in another Moroccan city or in Dubai. My order of work is always the same:
- First, the real net proceeds: the price, minus the tax (with the 3% minimum), minus notary's fees and the cost of releasing any mortgage.
- Then, transferability: how much of the price can leave in foreign currency, with which documents, and how quickly.
- Only then, the next project, costed with that net figure and not with the asking price.
| Question | Who answers it | Document to ask for |
|---|---|---|
| How much tax will I pay? | The notary, on the basis of the Code général des impôts | Written calculation of the real estate profit tax |
| Am I eligible for the main-home exemption? | The notary, then the tax authority | Proof of occupation over 5 years, no lease |
| Can the price leave Morocco? | Your bank in Morocco, under the Office des Changes rules | Proof of foreign-currency financing at purchase |
| Is the title clean? | The ANCFCC | Up-to-date ownership certificate |
| Do I owe tax where I live? | Your country's tax authority or adviser | The tax treaty with Morocco |
If the next project is in Dubai, the funds leave your account abroad for the project's escrow account or follow the Dubai Land Department procedure, as I explain in paying for a Dubai property from abroad. To compare the two markets calmly, read Dubai or Morocco: how to choose, and for available projects, see investing in Dubai with Cevitas Real Estate, the agency I co-founded.
If you stay in Morocco, remember that the next purchase will have its own costs: I list them in property buying costs in Morocco.
The risks to keep in mind
Selling from abroad exposes you to a few traps that I would rather name clearly:
- An under-declared price in the deed: it reduces the tax on paper, but it also reduces the amount you can transfer and exposes you to a reassessment. I never work that way.
- A power of attorney that is too broad or badly drafted, allowing someone else to collect the price in your place.
- An unsettled estate or heirs who disagree: the sale stays blocked until the title is in everyone's name.
- Rules that change: finance laws and exchange instructions evolve. Have the figures confirmed by the notary and your bank in the year of the sale.
My role
I am a RERA-licensed broker in Dubai (BRN 83239), co-founder & CEO of Cevitas Real Estate (ORN 49294), and I spent more than twenty years in finance before property. For a Moroccan abroad selling in Morocco, I do the preparation work: reading the title, listing the documents for the notary and the bank, costing the net proceeds, then the reinvestment project if there is one. All my pages for the diaspora are on property for Moroccans around the world. Write to me with your purchase deed: that is where we start.
Your roadmap
Your project, in 60 seconds.
Five questions, and I reply personally with a first reading of your project: where, how, and in what order.
- A personal reply from Ahmed
- A free 30-minute call
- No commitment
Step 1 of 5
Where do you live today?
Official sources
- Direction générale des impôts (DGI, Morocco) · Code général des impôts
- Office des Changes · Transfer of income and sale proceeds of investments by Moroccans abroad (in French)
- Office des Changes (Morocco) · exchange regulations
- ANCFCC · National Agency for Land Registry (Morocco)
- impots.gouv.fr · French tax administration
- Dubai Land Department (DLD)
FAQ
Frequently asked questions
Does a Moroccan living abroad pay more tax than a resident when selling in Morocco?
No. The rate of the real estate profit tax is the same: 20% of the net gain, with a minimum of 3% of the sale price. What differs for a Moroccan abroad are the conditions of the main-home exemption and the transfer of the price abroad.
My flat in Morocco is occupied by my parents: am I exempt when I sell?
You may be. Under the DGI rules, a home occupied free of charge by the spouse, ascendants or first-degree descendants can be treated as a main home if it has been so for at least 5 years, with no letting and no business use. Have your case confirmed by the notary with proof of occupation.
I am selling at a loss: do I still pay tax?
In principle yes, unless an exemption applies: the minimum contribution of 3% of the sale price is due even when there is no gain.
Can I transfer to Europe or the UK the price of a property I inherited in Morocco?
You did not finance an inherited property in foreign currency, so the transfer does not follow the same rule as for a property bought in foreign currency. When the seller lives abroad, the proceeds are in principle paid into a convertible term account. Your bank will tell you the terms under the exchange regulations in force.
How long do I have to declare the sale to the Moroccan tax authority?
The real estate profit return and the payment of the tax are due within 30 days of the sale. Penalties apply if you are late.
Can I sell in Morocco without travelling?
Yes, with a power of attorney drawn up at a Moroccan consulate or before a notary, explicitly covering the sale and the collection of the price. The notary then handles registration and the land registry.
Read next
Contact
Let's talk about your project.
One message is enough. I reply personally, in English, French, Arabic or Darija.
