Key facts
- Short-term permit
- Carte d'immatriculation (1 year, renewable)
- Long-term permit
- Carte de résident (10 years)
- Investor route
- CRI certificate supports the resident-card file
- Tax residence, Art. 23 CGI
- Permanent home OR 183 days OR centre of interests
- Dual residence
- Treaty tie-breaker decides
- Foreign pensions transferred
- 80% tax reduction (Art. 76 CGI)
Foreign investors confuse two different "residencies", and the confusion is expensive: one is an immigration status (a card in your passport), the other is a tax status (a claim on your worldwide income). You can hold a Moroccan residence card without being a Moroccan tax resident, and become a tax resident without ever applying for a card. This chapter untangles the two.
The immigration layer: residence cards
| Permit | Validity | Typical holder |
|---|---|---|
| Visa / entry stamp | 90 days | Short visits, board meetings |
| Carte d'immatriculation | 1 year, renewable | Employees, founders establishing themselves |
| Carte de résident | 10 years | Long-term residents, investors, spouses of Moroccans |
Applications are filed in Morocco (prefecture or the ANEF portal) with a passport, proof of income or activity and accommodation. For investors, the practical accelerator is the CRI certificate: your regional investment centre documents the investment you made or are making, which supports the file for the 10-year resident card. Processing times vary; budget several weeks to a few months and keep your entry stamps clean - overstays complicate every subsequent application.
A residence permit says you may stay. It says nothing about where you are taxed.
The tax layer: Article 23 of the tax code
Morocco considers you a tax resident if any one of these holds:
- You have a permanent home in Morocco available to you (owned or leased long-term)
- You stay 183 days or more in Morocco over the year (the reference period is the rolling 365 days)
- Your main centre of economic interest is there (where your professional activity or the bulk of your income is anchored)
None of these depends on holding a residence card. A shareholder who flies in twice a quarter stays a non-resident; a founder who moves to run the Casablanca office becomes one.
Dual residence and the tie-breaker
Spend half the year in Morocco and half in your home country and both may claim you. Tax treaties resolve this with a tie-breaker, applied in order:
- Where is your permanent home? (If both countries, continue)
- Where is your centre of vital interests (family and economic life)?
- Where is your habitual abode?
- What is your nationality?
- Failing all: the two tax authorities negotiate
Gulf-based readers should read our guide to the Morocco-UAE double taxation treaty; the logic is the same everywhere: document where your home, family and business really are, because the answer decides which country taxes what.
What changes once you are a tax resident
| Income | Non-resident | Moroccan tax resident |
|---|---|---|
| Moroccan dividends, rents, salaries | Taxed in Morocco | Taxed in Morocco |
| Foreign salaries, pensions, rentals | Not Moroccan-taxed | Taxed in Morocco (treaty relief available) |
| Foreign capital gains | Not Moroccan-taxed | Generally taxed in Morocco under treaty rules |
Two mitigations matter in practice:
- Foreign pensions: retirees of any nationality with Moroccan tax residence benefit from an 80% reduction of the tax due on foreign-source retirement pensions transferred permanently to Morocco (Article 76 CGI), on top of the standard abatement for pension income. This is the engine of Morocco's retiree residency market.
- CFC executives: employees of Casablanca Finance City companies can opt for the flat 20% income tax (chapter 4) instead of the progressive scale.
Practical sequence for a relocating founder or investor
- Enter and incorporate as a non-resident (chapter 2) - nothing requires your presence to own the company
- Apply for the carte d'immatriculation once you start spending real time in Morocco, supported by your company and the CRI certificate
- Watch the day count: crossing 183 days makes you a tax resident from that year
- File as a resident via SIMPL, declaring worldwide income with treaty relief
- Upgrade to the 10-year resident card once your situation is stable (renewal is lighter than a first application)
Leaving again
Tax residence ends when none of the Article 23 criteria holds - but prove it: deregister, keep exit-date evidence (flight records, new lease abroad) and obtain your tax clearance, because your bank will want it for later transfers (exit strategies).
Residency is the last decision in this guide because it is optional: the Kingdom taxes your capital the same whether you live in Casablanca or Dubai. What changes with residency is only the taxation of you.
Your checklist
- Separate the two questions: the immigration permit (may I stay?) and tax residence (where am I taxed?) are decided by different rules.
- Count your days: 183 days or more in Morocco generally makes you a Moroccan tax resident, whatever your permit says.
- Investors applying for the 10-year resident card should ask their CRI for a certificate documenting the investment.
- If two countries claim you, the treaty tie-breaker (permanent home first) decides - document where your home and family actually are.
- Before taking tax residence, understand what Morocco will tax: worldwide income, with relief under treaties.
- Retirees: foreign pensions transferred permanently to Morocco benefit from an 80% reduction of the tax due.
Run the numbers
Frequently asked questions
Do I need to live in Morocco to own a company there?
No. A foreign shareholder can own a Moroccan company, property and listed shares without residing in Morocco. Dividends and proceeds are repatriated under the Office des Changes guarantee. Residency only becomes relevant if you personally spend enough time in Morocco to become a tax resident.
Does buying property give me residency?
Not automatically. Residence permits are granted on their own criteria. An investment, documented with a certificate from your regional investment centre (CRI), supports the application for the 10-year resident card, but owning property alone is not a permit.
How is tax residence determined in Morocco?
Under Article 23 of the tax code: a permanent home in Morocco, a stay of 183 days or more per year, or the centre of your economic interests. Any one of the three is enough. If another country claims you too, the tie-breaker article of your tax treaty decides.
What does Morocco tax once I am a resident?
Your worldwide income: Moroccan-source income plus foreign salaries, pensions, rentals and investment income, with relief for double taxation under the relevant treaty. Foreign pensions transferred permanently to Morocco benefit from an 80% reduction of the tax due.
Related reading
Official sources
This guide is general information, not tax, legal or investment advice. Rules change with each Finance Act: confirm your situation with the DGI, the relevant authority or a licensed adviser.