
Morocco has become one of Africa’s most competitive destinations for foreign direct investment and for good reason. The kingdom sits at the crossroads of Europe, Africa, and the Arab world, offering a growing economy, stable governance, and a tax framework that rewards investors who understand it.
But tax in Morocco for foreign investors is not a simple subject. The system blends European-style income taxation with incentive regimes designed specifically to attract foreign capital — from free zone exemptions to the Casablanca Finance City flat-rate structure. Get it right, and Morocco can be remarkably tax-efficient. Get it wrong, and you face unexpected liabilities and compliance headaches.
This guide covers every tax type you need to know as a foreign investor or expat in Morocco in 2026: income tax brackets, corporate tax rates, VAT, capital gains, real estate taxes, dividend withholding, and the full landscape of incentives and double taxation treaties available to you.
Quick reference: Morocco’s 2026 corporate tax (IS) top rate is 35% for financial institutions; 26% for most large companies. Standard income tax (IR) tops out at 38%. VAT standard rate is 20%. Withholding tax on dividends for non-residents: 15% (or reduced by treaty).
1. Morocco’s Tax System at a Glance
Morocco’s tax administration falls under the Direction Générale des Impôts (DGI), which sits within the Ministry of Economy and Finance. The General Tax Code (Code Général des Impôts — CGI) is the primary legal reference, updated annually through the Finance Law (Loi de Finances).
The main taxes that affect foreign investors and expats are:
| Tax | French Name | Who It Affects |
|---|---|---|
| Income Tax | Impôt sur le Revenu (IR) | Individuals, employed expats |
| Corporate Tax | Impôt sur les Sociétés (IS) | Companies, permanent establishments |
| Value Added Tax | Taxe sur la Valeur Ajoutée (TVA) | Businesses supplying goods/services |
| Capital Gains Tax | Plus-values | Investors selling assets |
| Withholding Tax | Retenue à la Source | Non-residents receiving income |
| Real Estate Tax | Taxes foncières | Property owners |
| Registration Duties | Droits d’Enregistrement | Property and share transactions |
Tax Identification in Morocco
Every taxpayer — individual or company — needs an Identifiant Fiscal (IF) issued by the DGI. Foreign companies operating in Morocco also require registration with the Registre de Commerce and must appoint a legal representative. Foreign employees need both a residence permit and a tax file before their first payroll.
2. Tax Residency in Morocco: The 183-Day Rule
Before any tax calculation, the first question is whether you are a tax resident of Morocco. Residency status determines which income is taxable in Morocco and at what rates.
What Makes You a Tax Resident?
Under Article 23 of the Moroccan General Tax Code, you are considered a tax resident of Morocco if any one of the following applies:
- Your habitual home (foyer d’habitation) is in Morocco — meaning you own or rent a property there that you use regularly, regardless of the number of days spent.
- Your center of economic interests is in Morocco — your principal place of business, investments, or professional activities is there.
- Your physical presence in Morocco exceeds 183 days in any 12-month period — consecutive or not.
This is critical for expats: even without a lease or permanent home, spending more than 183 days per year in Morocco triggers full tax residency.
Tax Resident vs. Non-Resident: What Changes?
| Status | What Morocco Taxes |
|---|---|
| Tax Resident | Worldwide income (with DTT relief available) |
| Non-Resident | Only Morocco-sourced income |
Non-residents earning Morocco-sourced income — salaries, dividends, rents, royalties, capital gains — are generally subject to withholding tax at the source, administered by the Moroccan payer.
Expat planning note: if you have a home in Morocco but spend most of your time abroad, you may still be classed as a tax resident under the “habitual home” criterion. Proper structuring — ideally reviewed with a tax advisor before you establish your base — avoids unwanted residency designations.
3. Income Tax (IR) in Morocco for Expats and Foreign Workers
Impôt sur le Revenu (IR) is a progressive tax levied on the worldwide income of Moroccan tax residents and on Morocco-sourced income for non-residents. It applies to employment income, self-employment, rental income, and investment income.
2026 Income Tax Brackets (IR)
| Annual Net Taxable Income (MAD) | Tax Rate |
|---|---|
| 0 – 40,000 | 0% |
| 40,001 – 60,000 | 10% |
| 60,001 – 80,000 | 20% |
| 80,001 – 100,000 | 30% |
| 100,001 – 180,000 | 34% |
| Above 180,000 | 38% |
Source: Direction Générale des Impôts — 2026 Finance Law
The effective rate for most expat professionals is well below 38%, since the progressive structure means only income above each threshold is taxed at the higher rate.
Key Deductions Available to Expats
- Professional expenses: 20% deduction on gross employment income (capped at 30,000 MAD/year)
- Social contributions: CNSS (National Social Security Fund) contributions are deductible
- Pension contributions: contributions to approved Moroccan pension schemes are deductible
- Family charges: fixed deductions per dependent child (up to six children)
- Life insurance premiums: deductible up to 6% of net taxable income (max 10,000 MAD)
The 20% Flat Rate for CFC Professionals
A significant incentive for high-earning expat professionals: employees who work for a Casablanca Finance City (CFC) accredited company can elect to be taxed at a flat 20% rate on their gross salary, rather than the standard progressive brackets. This cap at 20% is a major draw for senior financial professionals and is valid for 5 consecutive years.
4. Corporate Tax (IS) in Morocco: Rates and Structure
The Impôt sur les Sociétés (IS) applies to profits generated by companies incorporated in Morocco, branches of foreign companies, and permanent establishments of non-resident entities.
Morocco completed a major corporate tax reform through the 2023 Finance Law, transitioning from a flat-rate structure to a progressive IS system, phased in over four years.
2026 Corporate Tax Rates (IS)
| Annual Net Taxable Profit (MAD) | Standard Rate |
|---|---|
| Up to 300,000 | 20% |
| 300,001 – 1,000,000 | 22.5% |
| Over 1,000,000 | 26% |
Sectoral rates (2026):
- Financial institutions, insurance, leasing companies: 37%
- Industrial companies with net profit up to 100M MAD: progressive rates being phased down (target: 20% by 2026)
- Mining companies: 26%
- Free zone companies: 0% for the first 5 years of operation; 8.75% thereafter
- CFC-accredited companies: 15% on Morocco-sourced income; specific regime on foreign income
Minimum Contribution Tax (Cotisation Minimale — CM)
Even if a company makes a loss or has zero taxable profit, it must pay the Cotisation Minimale — a minimum tax based on turnover. The standard CM rate is 0.5% of gross turnover, with a floor of 3,000 MAD per year. For newly created companies, there is a 36-month exemption from the CM.
Corporate Tax Filing and Payment
- Annual IS return filed within 3 months after fiscal year-end
- Advance payments (acomptes) paid quarterly: 25% of prior year’s IS liability per quarter
- Tax regularization on filing of the annual return
5. VAT in Morocco: What Foreign Investors Need to Know
Taxe sur la Valeur Ajoutée (TVA) in Morocco operates similarly to European VAT systems. It applies to the supply of goods and services, imports, and intra-company transactions that cross the VAT threshold.
2026 VAT Rates in Morocco
| Rate | Applies To |
|---|---|
| 20% | Standard rate — all goods and services not specifically listed |
| 14% | Electricity supply, transport services, banking fees, insurance, butter |
| 10% | Hotel services, restaurants, certain financial services, water supply for industrial use, certain food products |
| 7% | Drinking water distribution, pharmaceuticals, sugar, cooking oil, certain baby products |
| 0% | Exports (zero-rated, with right to deduct input VAT), certain equipment imports under investment agreements |
VAT Registration in Morocco
Any business generating annual taxable turnover above 500,000 MAD must register for VAT. Foreign companies with no fixed establishment in Morocco but making taxable supplies there must appoint a VAT fiscal representative in Morocco to handle their obligations.
Exports from Morocco are zero-rated, which is important for foreign investors operating manufacturing or processing companies that export their output. Input VAT credits are fully refundable for exporters, though in practice, refund timelines can extend to several months.
6. Withholding Tax on Dividends and Repatriation of Profits
One of the first questions foreign investors ask about Morocco: can you get your money back home? The answer is yes ,but there are withholding taxes and procedural steps to understand.
Withholding Tax Rates for Non-Residents
| Type of Income | Standard WHT Rate |
|---|---|
| Dividends paid to non-residents | 15% |
| Interest paid to non-residents | 10% |
| Royalties paid to non-residents | 10% |
| Service fees to non-residents (when no DTT) | 10% |
| Board director fees | 30% |
These rates can be significantly reduced — or eliminated — under Morocco’s double taxation treaties (see Section 8).
How to Repatriate Profits from Morocco
Morocco operates under a controlled liberalized exchange system managed by Bank Al-Maghrib (Morocco’s central bank) and l’Office des Changes (the Foreign Exchange Office).
For foreign investors who have made a formally declared investment in Morocco, profit repatriation is generally permitted without prior authorization, subject to:
- Proof that taxes have been paid (IS and WHT on dividends)
- Filing of the annual dividend declaration with the DGI
- Correct documentation with the transferring bank
- Compliance with anti-money laundering requirements
Important: investors who bypass the official investment declaration process at the time of their initial investment often find repatriation blocked later. Registration with l’Office des Changes at the outset is non-negotiable.
7. Capital Gains Tax in Morocco
Capital Gains on Securities (Shares, Bonds)
Capital gains from the sale of shares and other securities by non-residents are subject to withholding tax in Morocco at 15% on net capital gains for listed and unlisted securities. The gain is calculated as sale price minus original acquisition cost.
Residents pay 15% on gains from listed securities; gains from unlisted shares may be included in general income for IR purposes.
Many double taxation treaties exempt non-resident investors from Moroccan capital gains tax on share disposals — this is a key planning point when structuring entry and exit from Moroccan investments.
Capital Gains on Real Estate
Real estate capital gains (plus-values immobilières) for both residents and non-residents are taxed as follows:
| Holding Period | Effective Tax Rate on Gain |
|---|---|
| Less than 4 years | 20% |
| 4 to 8 years | 25% |
| More than 8 years | 30% |
Note: these are rates on the net gain. The gain is calculated as sale price minus inflation-adjusted purchase price, with an allowance of 10% per year of ownership applied to reduce the taxable base.
Exemptions on real estate capital gains:
- Primary residence: gains on the sale of your principal home are exempt if you have lived there for at least 6 consecutive years before the sale
- First-time sellers: a one-time exemption applies to the first sale of real estate, subject to conditions
- Low-value transactions below a threshold may also be exempt
8. Real Estate Tax in Morocco for Foreign Investors
Morocco allows foreigners to own property without restriction (except agricultural land in some circumstances). But property ownership comes with several layers of taxation.
Taxes When Buying Property
| Tax | Rate | Paid By |
|---|---|---|
| Registration duties (droits d’enregistrement) | 4% of purchase price | Buyer |
| Land registry fee (conservation foncière) | 1.5% of purchase price | Buyer |
| Notary fees | ~1% (regulated) | Buyer |
| VAT (on new property from developer) | 20% (often included in price) | Buyer |
Total acquisition costs for a foreign buyer typically run 6–8% of the purchase price on top of the agreed price. For new-build properties purchased from a developer, VAT at 20% applies but is usually built into the quoted price.
Ongoing Property Taxes
Taxe d’Habitation (TH) — residential occupation tax:
- Applied to all occupied residences
- Calculated on the rental value of the property as assessed by the DGI
- Progressive rates: 0% up to 5,000 MAD annual rental value; 10% from 5,001–20,000 MAD; 20% above 20,000 MAD
- Exemption for the first 5 years after construction for new properties
Taxe de Services Communaux (TSC) — communal services tax:
- 10.5% of assessed rental value for urban areas
- 6.5% for other municipalities
- Paid by the occupant (or owner if unoccupied)
Rental Income Taxation for Foreign Property Owners
Foreign investors earning rental income from Moroccan property pay IR on that income:
- Gross rental income minus 40% standard deduction = net taxable base
- The net amount enters the standard progressive IR brackets (see Section 3)
- For non-resident property owners, a withholding at source may apply
9. Morocco’s Double Taxation Treaties: Protection for Foreign Investors
Morocco has signed over 60 double taxation treaties (DTTs) with countries across Europe, the Americas, the Gulf, Asia, and Africa. These treaties define which country has the right to tax specific types of income — and at what rates — preventing the same income from being taxed twice.
Key Countries with DTTs with Morocco
- Europe: France, Spain, Germany, Belgium, Netherlands, Luxembourg, Italy, Portugal, UK, Switzerland, Sweden, Denmark, Austria, Finland, Poland, Czech Republic, Romania
- Gulf & MENA: UAE, Saudi Arabia, Qatar, Bahrain, Kuwait, Oman, Egypt, Lebanon, Jordan, Tunisia
- Americas: USA, Canada, Brazil
- Asia-Pacific: China, Japan, South Korea, India, Pakistan
- Africa: South Africa, Senegal, Cameroon, Mali, Gabon, Guinea
How DTTs Reduce Your Tax Burden
| Income Type | Standard Rate | Typical Treaty Rate |
|---|---|---|
| Dividends | 15% | 5%–10% |
| Interest | 10% | 0%–10% |
| Royalties | 10% | 5%–10% |
| Capital gains (shares) | 15% | Often 0% |
To claim treaty benefits, non-residents must:
- Provide a certificate of tax residency from their home country tax authority
- Submit a formal treaty benefit claim to the Moroccan payer or DGI
- Ensure the treaty’s anti-abuse provisions are met (substance requirements)
The France–Morocco DTT is particularly important given the large French investor and expat community. The US–Morocco DTT reduces withholding on dividends to 10% and interest to 15%.
10. Tax Incentives for Foreign Investors in Morocco
Morocco’s government has designed a layered architecture of tax incentives aimed at attracting foreign direct investment (FDI), particularly in manufacturing, technology, renewable energy, and financial services.
The New Investment Charter (2023)
Morocco’s Investment Charter (Charte de l’Investissement), enacted through Law 03-22 and its implementing decrees, replaced the previous 1995 charter and represents the country’s most ambitious FDI incentive framework to date.
Common Investment Premium: for investments of 50 million MAD or more creating at least 50 permanent jobs, the state contributes 20% of investment value (excluding land and taxes) as a direct premium, paid through the Investment Support Fund (Fonds de Soutien à l’Investissement).
Additional premiums stack on top for:
- Territorial premium: +10% for investments in less-developed provinces and prefectures
- Sectoral premium: +5–10% for strategic sectors (electric vehicles, semiconductors, green hydrogen, aerospace, pharma)
- SME premium: specific support for companies with turnover below 200M MAD
- Sustainability premium: for investments meeting ESG benchmarks
Free Zones and Special Economic Zones
Morocco operates several industrial free zones (ZFI) and export processing zones, offering:
- 0% corporate tax (IS) for the first 5 years from the start of operations
- 8.75% corporate tax from year 6 onwards (vs. up to 26% standard rate)
- VAT exemption on inputs purchased locally
- Exemption from import duties on equipment and raw materials used in production
- Streamlined administrative procedures via one-stop-shop investment centers
Key free zones include: Tanger Free Zone, Kénitra Atlantic Free Zone, Midparc Casablanca, and Laâyoune Free Zone.
Free zone benefits are conditional on companies primarily exporting their output. Companies selling more than 30% of output on the local Moroccan market may lose the exemption status.
The Hassan II Fund
The Hassan II Fund for Economic and Social Development provides capital grants for investment in specific strategic sectors. Priority sectors in 2026 include automotive and aerospace components, electronics and semiconductors, textile and leather, food processing and agri-industry, and renewable energy equipment. Grants are negotiated case-by-case and can reach 30% of eligible investment costs for large strategic projects.
11. Casablanca Finance City (CFC): The Premium Tax Regime
Casablanca Finance City is Morocco’s premier financial hub, ranked among Africa’s top financial centers. CFC offers a dedicated accreditation regime for international companies that establish African, regional, or global headquarters in Casablanca. The tax advantages are the most generous in Morocco outside free zones.
CFC Corporate Tax Benefits
Companies with CFC accreditation enjoy:
- 15% IS rate on profits generated from activities conducted with non-Morocco clients (foreign-sourced income)
- Standard IS rates on Morocco-sourced income
- Exemption from withholding tax on dividends paid out of CFC-eligible profits for the first 5 years
- Access to all Morocco’s DTT network, which CFC companies can use to further reduce taxes on income from African subsidiaries
CFC Professional Tax Benefits
Expatriate professionals employed by CFC-accredited companies can elect a 20% flat income tax (IR) rate on gross salary, replacing the standard progressive brackets (capped at 38%). This flat rate applies for 5 consecutive years from the start of employment.
For a senior professional earning 2,000,000 MAD/year, the standard progressive IR would generate a liability near 38% on the top tier. The 20% flat rate produces a very material saving.
Who Can Get CFC Status?
Eligible entity types include:
- Regional headquarters (holdings régionaux)
- Financial services companies (banking, insurance, asset management, FinTech)
- Professional services firms (legal, accounting, consulting) serving African/international clients
- Holding companies with African investments
12. Common Tax Mistakes Foreign Investors Make in Morocco
Even experienced investors make costly errors when entering Morocco. These are the six most frequent:
Mistake 1: Skipping the Formal Investment Declaration
Foreign investors who transfer money informally — without filing the proper investment declaration with l’Office des Changes — lose their right to repatriate profits and capital. This is irreversible without lengthy administrative correction procedures.
Mistake 2: Underestimating Permanent Establishment Risk
A foreign company with a salesperson, agent, or project site in Morocco for more than 183 days will typically trigger a permanent establishment (PE). Once a PE exists, Morocco taxes all profits attributable to it. Many foreign companies discover this liability only during a tax audit.
Mistake 3: Misclassifying Employees as Consultants
Morocco’s DGI scrutinizes arrangements where foreign professionals working on-site are paid as “consultants” rather than employees. If the reality is an employment relationship, IR and CNSS (social contributions) apply — with significant penalties for late payment.
Mistake 4: Missing Quarterly IS Advance Payments
Corporate tax is not paid once a year. Four quarterly advance payments are due each year (in March, June, September, and December). Missing these triggers automatic late-payment surcharges of 10% plus 5% per month of delay.
Mistake 5: Applying Treaty Benefits Without Documentation
Claiming a reduced withholding rate under a DTT requires a valid tax residency certificate from the home country, submitted in advance of the payment. Payers who apply reduced rates without this documentation become personally liable for the unpaid withholding tax.
Mistake 6: Assuming Real Estate Gains Are Exempt
The 6-year primary residence exemption has strict conditions. Foreign investors who sell a Moroccan property after 5 years and 11 months, or who cannot prove continuous occupation, owe capital gains tax in full — sometimes a surprise at the notary’s office.
13. Practical Steps: Setting Up Your Tax Affairs in Morocco
For companies:
- Choose legal structure (SARL, SA, branch, or representative office)
- Register with the Tribunal de Commerce and obtain RC number
- Register with the DGI for an Identifiant Fiscal
- Register for IS, VAT, and employer payroll obligations (IR + CNSS)
- File investment declaration with Bank Al-Maghrib / l’Office des Changes
- Open a Moroccan bank account (required before operations begin)
For individual expats:
- Obtain a residence permit (titre de séjour) from local authorities
- Register with the DGI to obtain your personal Identifiant Fiscal
- Submit an annual IR return by April 30 each year (or March 31 for those with professional income)
- Register for CNSS contributions if employed locally (shared between employer and employee)
14. FAQ: Tax in Morocco for Foreign Investors
What taxes do foreigners pay in Morocco?
Foreign investors and expats in Morocco typically pay income tax (IR) on employment or business income, corporate tax (IS) if they operate a company, VAT on taxable supplies, and withholding taxes on dividends or royalties. Non-residents only pay tax on Morocco-sourced income; residents pay on worldwide income.
What is the corporate tax rate in Morocco in 2026?
Morocco’s corporate tax (IS) in 2026 follows a progressive structure: 20% on net profits up to 300,000 MAD, 22.5% from 300,001 to 1,000,000 MAD, and 26% above 1,000,000 MAD. Financial institutions and insurance companies pay 37%. Free zone companies pay 0% for the first 5 years.
Does Morocco have a double tax treaty with France? With the USA?
Yes to both. Morocco has over 60 double taxation treaties. The France–Morocco DTT has been in force since 1970; the US–Morocco DTT since 2006. These treaties reduce withholding taxes on dividends, interest, and royalties and often exempt capital gains from Moroccan tax for non-resident investors.
What is the 183-day rule in Morocco?
Under Article 23 of Morocco’s General Tax Code, spending more than 183 days in Morocco in any 12-month period makes you a tax resident, meaning Morocco taxes your worldwide income. The count includes non-consecutive days and does not reset at the calendar year.
Can foreign investors repatriate profits from Morocco?
Yes. Foreign investors who have formally declared their investment with l’Office des Changes can repatriate dividends and capital proceeds after paying the applicable Moroccan taxes. The process goes through authorized Moroccan banks and requires tax compliance certificates. Informal investments lose this right.
Is Morocco tax-friendly for expats?
Morocco can be tax-friendly, especially for professionals working in CFC-accredited companies (20% flat income tax), or for investors using free zones and incentive regimes. Standard progressive rates top out at 38% for income tax and 26%+ for corporate tax. With proper structuring, the effective rate is often lower.
What is the VAT rate in Morocco?
Morocco’s standard VAT rate is 20%. Reduced rates of 14%, 10%, and 7% apply to specific goods and services. Exports are zero-rated, and exporters can claim back input VAT credits.
How is real estate taxed in Morocco for foreigners?
Foreign buyers pay registration duties (4%), land registry fees (1.5%), and notary fees (~1%) at purchase — totaling roughly 6–8% of the price. Ongoing taxes include the Taxe d’Habitation and Taxe de Services Communaux. Capital gains on sale are taxed at 20–30% depending on the holding period.
What are the tax benefits of Casablanca Finance City (CFC)?
CFC-accredited companies pay 15% corporate tax on foreign-sourced income. Expat professionals employed by CFC companies can elect a flat 20% income tax rate (vs. up to 38% standard), valid for 5 consecutive years. These benefits make CFC the most attractive tax regime in Morocco for international financial services companies.
Are dividends from Moroccan companies taxed for non-residents?
Yes. Morocco applies a 15% withholding tax on dividends paid to non-resident shareholders. This rate is reduced to 5–10% under most of Morocco’s double taxation treaties. Treaty benefits require a tax residency certificate from the shareholder’s home country.
What is the Minimum Contribution Tax (Cotisation Minimale) in Morocco?
The Cotisation Minimale (CM) is a minimum corporate tax due even when a company has no taxable profit. The standard rate is 0.5% of annual gross turnover, with a minimum of 3,000 MAD/year. Newly incorporated companies are exempt from the CM for their first 36 months.
Do I need a local tax representative if I’m a non-resident with income in Morocco?
In practice, yes. Non-resident companies or individuals receiving Morocco-sourced income are often required — or strongly advised — to appoint a local tax representative accredited with the DGI. This representative handles filings, responds to audits, and ensures withholding tax obligations are met.
Work With Neo Expertise: Your Morocco Tax Strategy Starts Here
Tax in Morocco for foreign investors is a framework with genuine advantages — but those advantages require active planning, correct structuring, and precise compliance to realize.
At NeoExpertise, our team of Moroccan tax and legal experts has guided hundreds of foreign investors, international companies, and expat professionals through every aspect of the Moroccan tax system: from initial investment structuring and CFC accreditation applications to ongoing compliance, audit defense, and profit repatriation.
We help you:
- Design the optimal legal and tax structure for your Moroccan investment
- Identify and secure the incentives your project qualifies for
- Navigate the formal investment declaration and l’Office des Changes requirements
- Manage your IS, IR, and VAT compliance on an ongoing basis
- Apply double taxation treaties correctly to minimize withholding taxes
Ready to invest in Morocco with clarity? Contact our team for a free initial consultation.

Brahim Rami | Member of institute of chartered accountants in Morocco
He is a CPA and tax advisor, founder of NeoExpertise.net, a Legal and Tax firm helping foreign companies with business setup, due diligence, payroll, and tax compliance in Morocco and Africa.




