Crypto taxes in Morocco 2026: how gains are taxed and the exchange-control risk

Morocco has no crypto-specific tax in 2026: habitual trading is professional income at 0%–37%, occasional gains have no published rule. Full guide.
Crypto taxes in Morocco 2026: how gains are taxed and the exchange-control risk

Quick answer

Morocco has no crypto-specific tax rule in 2026. Residents are taxed on worldwide income, so crypto falls under the general categories. Habitual trading, mining or staking is professional income on the 0% to 37% scale. Occasional gains have no published treatment. Exchange-control rules are the bigger risk for residents holding crypto abroad.

Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad

Heavnn

Stay tax compliant, wherever you work

Answer a few questions and get a clear plan for your own situation.

Find my savings →

You hold bitcoin, ether or stablecoins and you live in Morocco or plan to move there. You want a straight answer on what you owe and what you can safely do. This guide covers the legal status, how the general tax rules catch crypto, what non-residents and newcomers face, and the exchange-control angle.

Morocco cryptocurrency taxes in 2026: the key figures

Item 2026 rule Legal basis
Crypto-specific tax rule None in the published rules we reviewed General Tax Code (Code général des impôts, CGI)
Scope for residents Worldwide income, crypto included CGI
Habitual trading, mining, staking as a business Professional income on the progressive scale CGI
Income tax scale 0% up to MAD 40,000; 10%, 20%, 30%, 34%; 37% above MAD 180,000 CGI, scale set by Finance Law 2025
Securities gains, for comparison 15% on listed shares; 20% on unlisted shares and bonds CGI
Foreign assets of resident Moroccan nationals Declare to the Office des Changes within three months IGOC 2026
Non-residents Taxed on Moroccan-source income only CGI
Reassessment window Four years for income tax CGI

What changed for 2026

  • No crypto measure confirmed: the Finance Law 2026 measures cover dependants, rent withholding and Casablanca Finance City staff, not crypto (PwC, secondary).
  • Dependants: the reduction rose to MAD 600 per dependant, capped at MAD 3,600. It lowers the tax on crypto business profits too.
  • Exchange control: the IGOC 2026 applies from 1 January 2026.

Is this guide for you?

Read on if you…

  • live in Morocco, or plan to, and hold crypto bought abroad;
  • trade, mine or stake often enough that it looks like a business;
  • are paid in crypto by clients and want to know how Morocco sees it.

Probably not your case if you…

  • are not Moroccan tax resident and have no Moroccan clients or assets;
  • want a Moroccan-licensed exchange: we found no licensing regime published by the market regulator.

Honestly? It is a grey zone. We found no crypto statute in force on the regulators' websites. A search for "crypto" on the AMMC site (capital markets authority) returns no result. The same is true for "bitcoin" on the Office des Changes site. The AMMC's fintech page does not mention crypto-assets either.

Morocco's regulators have warned in the past that crypto transactions breach exchange-control rules. A draft crypto-asset law has also been discussed publicly. We could not confirm on an official site that it has been adopted. Until it is, treat crypto as an exchange-control issue first and a tax issue second.

What this means in practice:

  • banks may block transfers to or from crypto platforms;
  • buying crypto abroad with Moroccan funds is a foreign asset question for the Office des Changes;
  • penalties come from exchange control, not only from tax law.

How are crypto gains taxed for Moroccan residents?

Residents pay income tax on worldwide income. The CGI has no crypto line, so the question is which existing category your activity fits.

Habitual trader, miner or staker

If you trade often, mine, run validators or treat crypto as your work, the DGI (Direction générale des impôts, the tax authority) can classify it as professional income. That means a business. Net profit after costs such as hardware and electricity is taxed on the progressive scale:

Annual taxable income (MAD) 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 37%

Occasional investor

The flat 15% and 20% rates apply to gains on securities: listed shares, unlisted shares and bonds. Crypto-assets are not securities, so those rates do not obviously apply. We found no published DGI position on occasional crypto gains.

Here's the catch: silence is not an exemption. What decides your case is frequency, volume, use of leverage and whether crypto funds your living. The more it looks like a business, the more likely the professional-income route. Get a written opinion before you file.

Costs, losses and records

No crypto cost-basis method is published. Pick one consistent method, such as first in, first out, and keep it every year. If your activity is professional, a net loss follows the general rules for professional income, not a crypto-specific rule. Keep exchange exports, wallet addresses and bank statements for at least the four-year reassessment window.

A freelance invoice paid in USDC is still professional income. Value it in dirhams on the day you receive it. The bigger problem is exchange control: export-of-services income is expected to come back through a bank.

Reliefs that cut the bill are in our guide to personal tax deductions and benefits in Morocco.

How does crypto compare with other assets?

Asset Resident treatment 2026 Comment
Listed shares 15% of the gain Flat rate
Unlisted shares, bonds 20% of the gain Flat rate
Moroccan property 20% of the gain, minimum 3% of the price Main home exempt after six years of use
Crypto, habitual or business 0% to 37% on net profit Professional income
Crypto, occasional No published rule Classification decides

Rates by asset are in our guide to capital gains tax in Morocco.

What about non-residents and newcomers?

If you are not Moroccan tax resident, gains on crypto held and sold abroad are outside Moroccan income tax. Morocco taxes non-residents on Moroccan-source income only.

Newcomers: the key date is the day you first meet a residence test. Those are a permanent home, a centre of economic interests, or more than 183 days in any 365-day period. Gains realised before that date belong to your previous country's rules. Our guide to obtaining tax residency in Morocco explains the timeline.

Leaving later? We found no exit tax on individuals in the rules reviewed, so unrealised crypto gains are not taxed on departure. See ceasing tax residency in Morocco.

How do exchange controls affect crypto holders?

The IGOC 2026 defines a resident by reference to tax law. Become tax resident and the exchange-control rules apply to you as well. It defines foreign assets broadly: any property, right or interest held outside Morocco. Resident Moroccan nationals who acquire foreign assets must declare them within three months.

Practical steps:

  1. Keep records showing your crypto was bought with foreign money before you became resident.
  2. Do not fund foreign platforms from a Moroccan dirham account.
  3. Invoice Moroccan or foreign clients in fiat through a bank, not in tokens.
  4. Watch for any licensing regime: a licensed local intermediary would change the picture.

Will Morocco see my crypto data?

We could not confirm Morocco's status under the OECD Crypto-Asset Reporting Framework (CARF). Assume foreign platforms may report you at some point, and keep your filings consistent.

Example – Sara, 29, Rabat-based crypto trader

Sara trades daily and lives from it, so she declares it as professional income. Her 2026 net profit after hardware, data and platform fees is MAD 150,000. Tax: MAD 0 on the first 40,000, then 2,000 + 4,000 + 6,000 + 17,000 (34% of 50,000). Total: MAD 29,000, an effective rate of 19.33%. Had the same MAD 150,000 been a listed-share gain, the flat 15% would give MAD 22,500. Classification is worth MAD 6,500 here.

Sara's crypto touched five rules. Yours probably will too.

Find out how your trading, residence date and exchange-control file shape your Moroccan tax bill.

Find my savings →

Common mistakes (and what they cost)

  • Treating silence in the CGI as a 0% rate → the DGI can reassess undeclared business profits for four years, with penalties and interest.
  • Funding a foreign exchange from a Moroccan account → the bank blocks the transfer, and you expose yourself to Office des Changes sanctions.
  • Trading daily and calling it a hobby → reclassification as professional income at up to 37%, plus penalties for the undeclared activity.
  • Losing purchase records → without a cost base, the whole sale proceeds risk being taxed as profit.
  • Assuming a Gulf-style zero rate → Morocco taxes residents on worldwide income.

Frequently asked questions

There is no crypto statute in force that we could find on official regulator sites. Regulators have warned in the past that crypto transactions breach exchange-control rules. A draft crypto-asset law has been discussed, but we could not confirm its adoption. Treat crypto as an exchange-control risk until a licensing regime is published.

Does Morocco tax crypto gains?

There is no specific crypto tax. Residents are taxable on worldwide income. Habitual trading, mining or staking is professional income on the 0% to 37% scale. Occasional gains have no published treatment, and the flat securities rates do not obviously apply. Frequency and volume decide, so get a written opinion.

What rate do I pay if I trade crypto as a business?

Your net profit is professional income. In 2026 you pay 0% up to MAD 40,000, then 10%, 20%, 30%, 34%, and 37% above MAD 180,000. Costs such as hardware, electricity and fees reduce the profit. The family reduction of MAD 600 per dependant, up to MAD 3,600, also applies.

Can I be paid in crypto by clients while living in Morocco?

The invoice is professional income, valued in dirhams when you receive it. The issue is exchange control: export-of-services income is expected to come through a bank. Being paid in tokens makes your exchange-control position hard to defend. Invoice in fiat through a bank.

Are non-residents taxed on crypto in Morocco?

No, not on crypto held and sold abroad. Non-residents pay Moroccan tax only on Moroccan-source income. If you later become resident, the rules apply from the day you meet a residence test. Gains realised before that date fall under your previous country's rules.

Does Morocco have an exit tax on crypto?

We found no exit tax on individuals in the rules we reviewed. Unrealised crypto gains are not taxed when you leave. You still close your Moroccan year properly, and your next country's rules decide what happens when you eventually sell.

Sources

This guide is general information, not personalised tax advice. See how we research and review.

Want to know what your crypto really costs you in Morocco?

Get a personalised review of your holdings, income and residence date.

Start with Heavnn →
About the author
Heavnn

Heavnn

Heavnn is a borderless tax technology solution supporting the future of work. We assist international remote workers with the design and implementation of their global tax setups.

Welcome to Heavnn University!

Access all of our learning resources, blogs, and articles for digital nomads, remote workers, and distributed teams right here on Heavnn University. For more tailored advice, take our digital interview below!

Design Your Global Remote Setup
Heavnn University

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Heavnn University.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.