Select Page

Moroccan Tax Residency When You Move Abroad (2026)

Moroccan Tax Residency When You Move Abroad (2026)

★ Flyto Oy: 4.9/5 from 500+ Google reviews · fixed price before loading · GoogleGet your fixed price (2 min) →
Short answer: Morocco decides whether you are tax-resident using three tests in the General Tax Code (Code Général des Impôts) — your permanent home, your centre of economic interests, and the 183-days-in-365 rule. Residents are taxed on worldwide income; non-residents only on Moroccan-source income. When you genuinely leave Morocco — no home kept, no main economic interests, less than 183 days present — you become a non-resident and Morocco stops taxing your foreign income. Settle your income tax up to the date of departure, and if you are a Moroccan living abroad (MRE) note the generous pension regime should you ever return.

Key takeaways

  • Article 23 of the Code Général des Impôts (CGI) sets three alternative residency tests: permanent home, centre of economic interests, and presence of 183 days or more in any 365 days.
  • A tax resident is taxed in Morocco on worldwide income; a non-resident is taxed only on Moroccan-source income.
  • Keeping a home available in Morocco, or leaving your family and main economic interests there, can keep you resident even after you physically move.
  • There is no separate Moroccan “exit tax” on individuals, but you must file and settle income tax (IR) for the year up to your departure.
  • Morocco has an extensive double-taxation-treaty network (60+ conventions) that resolves dual residence and prevents being taxed twice.
  • Moroccans Residing Abroad (MRE) enjoy a special regime, including a large tax reduction on foreign pensions transferred back to Morocco.

The three residency tests under Article 23 CGI

Moroccan tax residence for individuals is defined in Article 23 of the Code Général des Impôts, administered by the Direction Générale des Impôts (DGI). You are treated as resident if any one of the following applies. First, you have your permanent home (foyer permanent d’habitation) in Morocco — a dwelling you own or rent and keep permanently available, including where your spouse and dependent children actually live. Second, your centre of economic interests (centre des intérêts économiques) is in Morocco — where your main professional activity, business, or most significant investments are located. Third, you are physically present in Morocco for a continuous or non-continuous period of 183 days within any 365 consecutive days.

These are alternative tests, not cumulative: failing to spend 183 days in Morocco does not make you a non-resident if you still keep a permanent home there or if your economic life remains centred on Morocco. In practice the permanent-home test tends to dominate, so simply spending most of the year abroad is not enough on its own to break residence.

Resident vs non-resident: what actually gets taxed

The residency label matters because it changes the tax base entirely. A Moroccan tax resident has an unlimited tax obligation and is taxed on income from all sources — Moroccan and foreign — under the income tax (impôt sur le revenu, IR). A non-resident has a limited obligation and is taxed only on income arising in Morocco (Moroccan-source salaries, Moroccan rental income, Moroccan business profits, and similar), typically via withholding. The progressive IR scale, current brackets and rates are published by the DGI on tax.gov.ma; income up to the first threshold is exempt and higher slices are taxed at rising rates up to the top marginal rate.

So the practical goal when emigrating is to convert your status cleanly from resident to non-resident, so that only your remaining Moroccan-source income (if any) stays within Morocco’s reach while your new foreign salary or business income is taxed in your destination country instead.

Breaking residence when you leave

To stop being a Moroccan tax resident you must genuinely break the links that the three tests measure. That means not keeping a permanent home available to you in Morocco (selling or letting your property on a real, arm’s-length long-term lease rather than keeping it empty and ready), moving your family with you where relevant, relocating your main economic interests and employment abroad, and keeping your Moroccan presence under 183 days per rolling year. If you keep a furnished flat permanently at your disposal, the permanent-home test can still catch you even if you live and work abroad — a point emphasised in DGI practice and professional commentary on Article 23.

There is no individual “departure tax” that charges you simply for leaving. However, in the year you emigrate you remain resident for the part of the year before departure, so you should file your income tax return and settle any IR due for that period, and formally regularise your situation with your local tax office. If you own Moroccan assets that later generate income (rent, dividends, capital gains on Moroccan property), those remain Moroccan-source and stay taxable in Morocco even after you become non-resident.

Double taxation treaties: the tie-breaker

Morocco has signed more than 60 double taxation agreements (conventions fiscales), including with France, Spain, Belgium, the Netherlands, Germany, Italy and many others; the list is maintained by the DGI on tax.gov.ma. These treaties matter in two ways. First, if in a transition year both Morocco and your new country consider you resident, the treaty’s tie-breaker rules (permanent home, then centre of vital interests, then habitual abode, then nationality) decide which country has primary taxing rights. Second, the treaty allocates taxing rights over specific income types (pensions, dividends, rents, employment income) and provides relief — exemption or foreign tax credit — so the same income is not taxed twice. Check the specific treaty with your destination country before assuming which country taxes what.

The MRE regime and returning retirees

Moroccans Residing Abroad (Marocains Résidant à l’Étranger, MRE) keep a special relationship with the Moroccan tax and exchange system even while non-resident. The most valuable feature is for retirement: under the CGI, a Moroccan tax resident who receives a foreign-source pension benefits from a very large reduction of the income tax on that pension — historically an 80% reduction on the tax due — provided the pension is permanently transferred to Morocco in non-convertible dirhams. This is combined with the standard pension allowances (a flat deduction on the gross pension), producing very low effective rates. Details and the current wording are on tax.gov.ma. The 2025 Finance Law went further, introducing from 1 January 2026 a full income-tax exemption for retirees whose only income is a basic pension or life annuity under basic schemes — relevant mainly if you ever return to Morocco, not while you are living abroad.

How Flyto can help

Flyto moves households from Morocco to Europe and worldwide, door-to-door; get a quote. We handle the logistics of your move while you handle your tax status — and we can point you to the right official pages so you talk to your accountant and tax office with the facts in hand.

Frequently asked questions

Does spending under 183 days in Morocco automatically make me a non-resident?
No. The 183-day test is only one of three alternatives in Article 23 of the CGI. If you keep a permanent home available in Morocco, or your centre of economic interests stays there, you can remain resident even while spending most of the year abroad. See tax.gov.ma.

Will Morocco tax my new foreign salary after I move?
Once you are genuinely a non-resident, Morocco taxes only your Moroccan-source income; your foreign employment income is outside its scope and taxed in your new country of residence, subject to any applicable treaty. See the DGI at tax.gov.ma.

Is there an exit tax when leaving Morocco?
There is no individual departure tax for simply emigrating. You must, however, file and settle income tax (IR) for the part of the year you were still resident and regularise your file with your tax office. Source: DGI, tax.gov.ma.

I keep an empty flat in Casablanca — am I still resident?
Possibly yes. A dwelling kept permanently available to you can satisfy the permanent-home test regardless of how often you use it. To break residence cleanly, avoid keeping a home at your permanent disposal. See Article 23, tax.gov.ma.

What happens to income from my Moroccan property after I leave?
Rental income, Moroccan dividends and gains on Moroccan real estate remain Moroccan-source and stay taxable in Morocco even when you are non-resident, typically via withholding or declaration. Source: DGI, tax.gov.ma.

Which country wins if both consider me resident in my move year?
The relevant double taxation treaty’s tie-breaker rules decide (permanent home, then centre of vital interests, then habitual abode, then nationality). Morocco’s treaty list is on tax.gov.ma.

Sources

Get your fixed price (2 min) →

Language

🇲🇦 English EN

Menu

Home Guides

Services

Moving ServicesRelocation Services

About

About FlytoContact

Contact

📞 +358 50 369 9117 💬 WhatsApp Get instant price