🇺🇸 Just updated: 2026 US Crypto Tax Guide — Form 1099-DA filings for tax year 2025 Read now →

Crypto Mining in Morocco: Complete 2026 Guide

🇲🇦 Banned

Can You mine in Morocco?

Morocco\'s broad cryptocurrency status is Banned. The country is regulated by Bank Al-Maghrib. Bank Al-Maghrib prohibits crypto since 2017. Despite ban, high informal adoption.

Within that broad framework, crypto mining is treated as follows: Mining rewards are almost universally taxed as ordinary income at fair market value at the moment of receipt. The receipt forms cost basis for any future disposal, which may then trigger additional capital gains tax.

Important: Because Morocco has banned most crypto-related commercial activity, conducting crypto mining within the jurisdiction may be specifically prohibited. Individuals attempting this assume significant legal risk.

How Crypto Mining is Taxed in Morocco

Tax rates in Morocco for crypto activity range N/A, applied as Trading prohibited. For crypto mining specifically:

  • At receipt of rewards or proceeds: typically ordinary income at fair market value (where applicable).
  • At subsequent disposal: the disposal triggers no legal tax obligation since the underlying activity is banned.
  • Reporting authority: Bank Al-Maghrib.

Full details on Morocco\'s general crypto tax rules — including filing forms, deadlines, and exemptions — are in our dedicated Morocco crypto tax guide.

Key Things to Know

  • Energy intensive — many jurisdictions impose moratoria or higher electricity rates on industrial mining.
  • Commercial-scale mining is typically treated as business income; hobby mining may be other/miscellaneous income.
  • Equipment, electricity, cooling, and facility costs are usually deductible for commercial miners.
  • A handful of countries explicitly ban mining (China since 2021; certain provinces in Kazakhstan, Kyrgyzstan periodically).

Frequently Asked Questions

Is Bitcoin mining legal in Morocco?

This depends on Morocco's general crypto framework. Bank Al-Maghrib prohibits crypto since 2017. Despite ban, high informal adoption. For crypto mining specifically, Mining rewards are almost universally taxed as ordinary income at fair market value at the moment of receipt. The receipt forms cost basis for any future disposal, which may then trigger additional capital gains tax.

See our Morocco regulation guide and Morocco tax guide for the complete picture.

How is mining income taxed in Morocco?

This depends on Morocco's general crypto framework. Bank Al-Maghrib prohibits crypto since 2017. Despite ban, high informal adoption. For crypto mining specifically, Mining rewards are almost universally taxed as ordinary income at fair market value at the moment of receipt. The receipt forms cost basis for any future disposal, which may then trigger additional capital gains tax.

See our Morocco regulation guide and Morocco tax guide for the complete picture.

Can I deduct electricity costs in Morocco?

This depends on Morocco's general crypto framework. Bank Al-Maghrib prohibits crypto since 2017. Despite ban, high informal adoption. For crypto mining specifically, Mining rewards are almost universally taxed as ordinary income at fair market value at the moment of receipt. The receipt forms cost basis for any future disposal, which may then trigger additional capital gains tax.

See our Morocco regulation guide and Morocco tax guide for the complete picture.

Does Morocco tax mining at receipt or sale?

This depends on Morocco's general crypto framework. Bank Al-Maghrib prohibits crypto since 2017. Despite ban, high informal adoption. For crypto mining specifically, Mining rewards are almost universally taxed as ordinary income at fair market value at the moment of receipt. The receipt forms cost basis for any future disposal, which may then trigger additional capital gains tax.

See our Morocco regulation guide and Morocco tax guide for the complete picture.