Morocco Cryptocurrency Ban: Laws, Risks, and the Shift Toward Regulation

4 April 2026
Morocco Cryptocurrency Ban: Laws, Risks, and the Shift Toward Regulation

Imagine being told that a technology is completely illegal, yet your country ends up being one of the top 25 adopters of that very thing globally. That is the strange reality of the Morocco cryptocurrency prohibition. Since late 2017, the Moroccan government has maintained a strict "no" toward digital assets, but the numbers tell a different story. While the law says one thing, the streets-and the smartphones-of Casablanca and Rabat say another.

The Official Stance: Why the Ban Exists

Back in November 2017, the Ministry of Economy and Finance dropped a bombshell: all cryptocurrency transactions were officially illegal. This wasn't just a suggestion; it was a nationwide prohibition. The primary muscle behind this move is Bank Al-Maghrib the central bank of Morocco responsible for monetary policy and financial stability.

Why the hostility? The central bank argues that decentralized assets violate foreign exchange regulations and threaten the country's financial stability. Essentially, the government wants total control over how money moves in and out of the country. Because Bitcoin and Ethereum operate outside the traditional banking system, they represent a "blind spot" for regulators. This extends to the hardware side too; cryptocurrency mining has been explicitly illegal since 2017, as the government views it as an unregulated drain on resources and a financial risk.

The Paradox of Adoption

Here is where it gets interesting. Despite the legal wall, Morocco has a massive crypto problem-or success story, depending on who you ask. According to a 2025 report by TRM Labs, Morocco ranks 21st globally for cryptocurrency adoption. That puts it ahead of many countries where crypto is perfectly legal.

What's driving this? It usually comes down to money. With annual inflation hitting around 6.8% in 2025 and the Moroccan dirham losing roughly 22% of its value against the US dollar between 2020 and 2025, people are desperate for a hedge. For the digitally savvy youth-who make up 83% of the user base-crypto isn't about speculating on "moon shots"; it's about wealth preservation. When your local currency is sliding, a digital wallet feels safer than a traditional savings account.

Comparison of Crypto Stances: Morocco vs. Regional Neighbors
Feature Morocco Egypt Kazakhstan
Legal Status Prohibited (since 2017) Prohibited (Law + Fatwa) Regulated/Accepted
Primary Driver for Ban Foreign Exchange Control Financial/Religious (Haram) N/A (Mining Hub)
Adoption Level Very High (Underground) Moderate High (Institutional)
CBDC Progress Active Exploration Active Exploration Implemented/Testing
Geometric cartoon of two people performing a P2P cryptocurrency transaction in a cafe

Life in the Underground Market

Since you can't just open a bank account and send money to a major exchange without risking a freeze, Moroccans have built a shadow economy. This ecosystem relies heavily on Peer-to-Peer (P2P) Trading a method of exchanging cryptocurrency directly between two individuals without a central intermediary and Over-the-Counter (OTC) dealers.

If you look at community hubs like the r/CryptoMorocco Reddit thread, the conversation isn't about which coin to buy, but how to move money without getting flagged. About 78% of all transactions in Morocco happen through these P2P channels. However, this "off-the-grid" approach comes with a price. A survey by the Casablanca Digital Institute found that 31% of users have been scammed by fraudulent OTC traders. Even worse, about 15% of active users have had their bank accounts frozen because the banks spotted suspicious patterns linked to crypto.

The Pivot: From Prohibition to Regulation

The government eventually realized that a ban doesn't actually stop crypto; it just pushes it into the dark where it can't be taxed or monitored. In November 2024, Bank Al-Maghrib signaled a massive shift. They announced that a draft law to regulate and legalize cryptocurrency is currently in the adoption process.

This isn't a "free for all." The proposed framework is designed to keep the government in the driver's seat. Expected requirements include:

  • Mandatory licensing for all crypto exchanges operating in Morocco.
  • Strict KYC Know Your Customer protocols to verify the identity of all users and AML (Anti-Money Laundering) compliance.
  • A 15% capital gains tax on all cryptocurrency profits.

By legitimizing the market, the government hopes to transition users from risky P2P deals to regulated platforms where the state can collect taxes and prevent terrorism financing.

Geometric illustration of the transition from unregulated crypto to a government digital dirham

The Rise of the CBDC

While the government is warming up to private crypto, they are simultaneously building their own version. Morocco is actively developing a Central Bank Digital Currency (CBDC) a digital form of a country's sovereign currency issued and regulated by the central bank.

Governor Abdellatif Jouahri has been spearheading this effort, working with the International Monetary Fund (IMF) and the World Bank. The goal is to create a digital dirham that offers the speed and efficiency of a blockchain without the volatility of Bitcoin. They are even partnering with Egypt to see if CBDCs can make cross-border money transfers cheaper and faster for citizens. For the state, a CBDC is the perfect compromise: it modernizes the economy while ensuring the central bank maintains a monopoly on money issuance.

What This Means for the Future

We are witnessing the end of the "ban era" and the start of the "tax era." Analysts from TRM Labs predict that once formal regulation kicks in, the legal crypto market could grow by 45% annually, potentially reaching 2.5 million users by 2027. As the underground market shrinks by an estimated 60%, the financial system becomes more transparent.

Beyond just trading, the World Bank suggests that combining a CBDC with a regulated crypto framework could bring 3.2 million unbanked Moroccans into the formal financial system by 2030. It's a classic example of the "ban-to-regulate" pipeline: first, the state tries to stop the technology; then, it realizes it can't; and finally, it finds a way to profit from it.

Is cryptocurrency completely illegal in Morocco?

Technically, yes. Since November 2017, the Ministry of Economy and Finance and Bank Al-Maghrib have declared cryptocurrency transactions and mining illegal. However, the government is currently in the process of adopting a new law to regulate and legalize the market.

Can I be arrested for owning Bitcoin in Morocco?

While the ban is official, most enforcement focuses on commercial operations, large-scale mining, and financial institutions. Many individuals hold crypto privately, but you risk having your bank account frozen if your bank detects transactions linked to crypto exchanges.

What is the tax on crypto profits in Morocco?

Under the emerging regulatory framework announced in late 2024, the Moroccan government plans to implement a 15% capital gains tax on cryptocurrency profits once the market is legalized.

What is the difference between a CBDC and Bitcoin in Morocco's plan?

Bitcoin is decentralized and not controlled by any government. A CBDC (Central Bank Digital Currency) is a digital version of the Moroccan dirham, fully issued and managed by Bank Al-Maghrib, meaning it lacks the volatility of crypto but also lacks the anonymity.

Why is crypto adoption so high despite the ban?

High inflation (around 6.8% in 2025) and the devaluation of the Moroccan dirham have pushed people to find alternative ways to preserve their wealth. Digital assets are seen as a more stable store of value than the local currency for many young Moroccans.