Legal Status at a Glance
  • Recreational: Illegal — Law No. 13-21 (domestic consumption remains prohibited)
  • Medical / Export: Partially legalised since 2021 for licensed cultivation and export
  • CBD / Hemp: No separate framework; covered under Law 13-21
  • Possession penalty: 1 month to 5 years prison + fine
  • Trafficking: 5 to 30 years prison
  • Production scale: Est. 38,000–50,000+ tonnes fresh cannabis per year (Rif Mountains)
  • Tourists: Actively targeted for extortion and arrest; high risk

Morocco’s Cannabis Paradox

Morocco occupies a unique and paradoxical position in global cannabis policy. The country is consistently identified in UN and European Monitoring Centre for Drugs and Drug Addiction (EMCDDA) reports as the world’s largest producer of cannabis resin (hashish), supplying a dominant share of the European cannabis market. Yet domestic consumption has remained illegal throughout, with users subject to criminal prosecution.

This paradox reflects a deliberate policy stance: the Moroccan state has historically tolerated large-scale cultivation in the Rif region as a de facto economic stabiliser for a historically marginalised highland population, while maintaining formal prohibition that allows selective enforcement against consumers, particularly foreigners and urban middle-class users.

The 2021 partial legalisation law attempted to rationalise this contradiction by creating a licensed export economy — but it preserved domestic prohibition entirely.

Legal Framework — Law 13-21 (2021)

The Moroccan parliament passed Law No. 13-21 on the Licit Uses of Cannabis in May 2021. The law’s key provisions:

Prior to Law 13-21, cannabis was governed by the 1974 Dahir on Narcotic Drugs (as amended), which established the criminal penalties still in force for domestic consumption and trafficking.

The Rif Mountains — World Cannabis Capital

The Rif Mountain region of northern Morocco — centred on the Ketama plateau in Al Hoceima province, with production extending to Chefchaouen, Taounate, and Larache provinces — represents one of the world’s most significant cannabis cultivation landscapes. Key facts:

The Rif population has historically experienced significant poverty and marginalisation, and cannabis cultivation has been the primary cash crop sustaining rural communities for generations. The 2016 Hirak Rif protest movement, which was partly rooted in grievances about state neglect of the region, included among its demands a regularisation of the cannabis economy to provide farmers with legal protection and fair prices.

Possession Penalties Under Moroccan Law

OffencePenalty RangeFine Range
Simple possession (personal use)1 month to 5 years prisonMAD 1,200–240,000 (approx. €110–22,000)
Possession with intent to supply2 to 10 years prisonIncreased fines
Drug trafficking (domestic)5 to 30 years prisonSubstantial fines + asset seizure
International trafficking10 to 30 years prisonMaximum fines; potential life sentence for organised crime
Public official involvementEnhanced penaltiesEnhanced fines + dismissal
Recidivist offenderEnhanced penalties up to doubleEnhanced fines

Moroccan courts have wide discretion in sentencing for simple possession. First-time offenders with small quantities sometimes receive suspended sentences or fines only, while others face full prison terms. The outcome often depends on the quality of legal representation, whether a guilty plea is offered, and the jurisdiction (urban vs. rural courts differ markedly).

The Hash Culture and Kif Tradition

Cannabis (kif) has been part of Moroccan cultural life for centuries. Traditional consumption involves a mixture of cannabis flower and tobacco smoked in a sebsi — a long, thin clay-bowled pipe. Kif culture is most associated with older male Rif Berbers and was historically more tolerated in rural areas than in urban contexts.

Moroccan hashish has an international reputation built over decades of export and consumption by European travellers and the global counterculture. The Ketama region became famous on the hippie trail of the 1960s–1970s. Chefchaouen — the famous blue-walled city — became particularly associated with cannabis tourism due to its proximity to Rif cultivation areas, though this tourist-cannabis linkage has created significant friction with local authorities and the city’s genuine cultural heritage.

Enforcement in Practice

Moroccan enforcement of cannabis prohibition follows a two-track system that confounds simple analysis:

Tourist and Traveller Risks

Morocco is a major tourist destination and many visitors arrive with an assumption that the country’s cannabis culture means tolerated consumption. This assumption is dangerously wrong:

ANRAC and the Licensed Export Economy

The National Agency for Cannabis Regulation (ANRAC), established under Law 13-21, became operational in 2022. By mid-2026, its activities included:

The transition from informal to licensed production has been slow. Many Rif farmers remain in the informal market, which offers better prices than early cooperative agreements. The illegal export route through Spain continues to dominate Moroccan cannabis’s European market presence.

North African and Regional Context

CountryCannabis StatusKey Feature
MoroccoIllegal consumption; licensed exportWorld’s largest hash producer; ANRAC export framework
AlgeriaIllegalMajor transit country; strict enforcement; large prison population for drug offences
TunisiaIllegal; zero-tolerance historicallyLaw 52 mandatory minimums debated; reform discussions ongoing
EgyptIllegal (strict)Severe penalties; trafficking can carry death penalty
MauritaniaIllegal (Islamic law context)Very strict; few reforms
South AfricaDecriminalised personal useConstitutional Court 2018; most progressive African policy

Chefchaouen — Cannabis Tourism Myth vs. Reality

Chefchaouen — Morocco’s famous blue-painted mountain city — has become one of the most photographed travel destinations in North Africa. Its proximity to Rif cannabis cultivation areas made it a fixture on the 1960s–70s hippie trail and gave it an enduring reputation as a cannabis-friendly destination among Western backpackers.

The reality for contemporary travellers is more complex. Chefchaouen is a genuine cultural heritage city with a rich history predating its association with cannabis tourism. Local residents — including many who do not use cannabis — find the reduction of their city to a “weed town” trope offensive. Police in Chefchaouen are aware of the city’s reputation and actively monitor tourist areas. Both genuine police enforcement and scam-style extortion encounters are regularly reported by travellers on independent forums.

The Moroccan government has made infrastructure investments in Chefchaouen to develop mainstream tourism. This coexists with ongoing informal cannabis availability — but the tourist who arrives in Chefchaouen expecting relaxed tolerance based on reputation may encounter a very different reality.

The Export Economy Under ANRAC

The National Agency for Cannabis Regulation (ANRAC), established under Law 13-21, has been working to build Morocco’s position as a pharmaceutical-grade cannabis exporter. The economic opportunity is substantial:

The transition from informal to licensed production has been slower than initially projected. Rif farmers — who have operated outside formal legal structures for generations — face bureaucratic, financial, and trust barriers to joining the cooperative system. Prices offered through early licensed channels were sometimes lower than informal market prices, reducing the incentive to formalise.

Consumer Possession — Practical Reality in Moroccan Cities

In Moroccan cities including Casablanca, Rabat, and Marrakech, cannabis consumption is more prevalent among young urban Moroccans than official prohibition would suggest. However, enforcement is selectively applied and socially stratified:

Related Guides

MW
Cannabis Policy Analyst at ZenWeedGuide. Covers cannabis legislation, travel regulations, and drug-testing law across 40+ jurisdictions.

Frequently Asked Questions

Is cannabis legal in Morocco?

Not for consumption. Law 13-21 (2021) legalised cannabis only for licensed medical and pharmaceutical export. Domestic use remains a criminal offence with penalties of 1 month to 5 years prison.

Why is Morocco the world’s largest cannabis producer?

The Rif Mountain region has cultivated cannabis for centuries. The state historically tolerated it as an economic stabiliser for a marginalised rural population. Estimated annual production exceeds 38,000 tonnes of fresh cannabis, primarily exported as hashish to Europe.

What did Morocco’s 2021 cannabis law change?

Law 13-21 created a licensed framework for cultivation, transformation, and export for medical and pharmaceutical purposes, establishing ANRAC as the regulatory authority. Domestic consumption remained entirely illegal.

Are tourists targeted for cannabis in Morocco?

Yes, significantly. Tourists near Chefchaouen, Marrakech, and Tangier are frequently targeted by staged encounters combining cannabis offers with police threats or real arrest. Real prison sentences for tourists have been handed down by Moroccan courts.