Is a VPN legal in Morocco?
Unclear. Encryption tools are generally accessible, but a 2007 law requires prior authorization to use cryptography without saying whether that covers individuals. Apps and calls work.1
Unclear, or working
Select an item to see the evidence. Checked 29 November 2026 against the sources. Not legal advice.
Item by item
Morocco's limits fall on what people post more than on what they can reach. Each status with its source, and OONI's tests from the past month:
| Item | Status | Evidence |
|---|---|---|
| VPNs | Unclear | Anonymous and encrypted tools are generally accessible, but Article 13 of Law 53-05 of 2007 makes the import, supply or use of cryptographic means or services subject to prior authorization, without saying whether it applies to private persons; unregistered SIM cards are cut off after one month1 |
| WhatsApp, Skype and other calls | Worksince Nov 2016 | Unlicensed internet calling services were blocked on mobile devices in January 2016 by a regulator's decision3; the restrictions were lifted in November 201644 of 1,270 OONI WhatsApp tests, 3 of 1,270 Telegram and 2 of 1,252 Signal showed signs of blocking5 |
| YouTube, Facebook, X, TikTok | Work | Social media and communications services are available1Signs of blocking in 21 of 1,501 tests of www.youtube.com, 3 of 1,544 of www.facebook.com, 1 of 1,275 of twitter.com and 2 of 346 of www.tiktok.com5 |
| News and political sites | Not blocked | The last known government block was of the news outlet Lakome in 2013; no websites were blocked for political, social or religious content from June 2024 to May 20251, 2 |
| Connectivity | No shutdowns | No restrictions on connectivity in recent years1; Orange Maroc's network was down for nearly a day in April 2025 because of the power outage in Spain and Portugal2 |
Morocco's rules, in order
The dated moments in the sources, oldest first.
Law 53-05 makes using cryptography subject to prior authorization.1
Lakome is blocked on the attorney general's order, the last known government block.1
Internet calls are blocked on mobile networks.3
The call restrictions are lifted.4
A journalist is sentenced to 18 months over a video on a news site.2
Orange Maroc goes down for nearly a day in the Iberian power outage.2
The law and the practice
On VPNs, Morocco's written rule and daily use point different ways.
On paper
Using cryptographic means or services needs prior authorization, with harsh penalties for noncompliance; the law does not say if it reaches individuals.1
The text leaves the question open.
In practice
Anonymous and encrypted communication tools are generally accessible, and no blocking of them is reported.1
Freedom House calls it ambiguous.
Questions people ask
Is a VPN illegal in Morocco?
It is not clearly illegal. Law 53-05 requires prior authorization to use cryptography, but does not say whether that applies to private persons, and Freedom House describes the legality of acquiring and using such tools as ambiguous.1 Other countries are on our VPN laws page.
Is WhatsApp banned in Morocco?
No. Internet calls, including WhatsApp's, were blocked on mobile networks from January 2016 and the restrictions were lifted that November; recent OONI WhatsApp tests show no sign of blocking.3, 4, 5 Other countries are on our WhatsApp page.
Does Morocco block websites?
Sources 6
- Freedom on the Net 2024: Morocco, sections A3, B1 and C4, Freedom House, covering June 2023 to May 2024. Read 29 November 2026.
- Freedom on the Net 2025: Morocco, key developments, Freedom House, covering June 2024 to May 2025. Read 29 November 2026.
- Freedom on the Net 2016: Morocco, key developments, Freedom House, covering June 2015 to May 2016. Read 29 November 2026.
- Freedom on the Net 2017: Morocco, introduction, Freedom House, covering June 2016 to May 2017. Read 29 November 2026.
- OONI Explorer: tests in Morocco, 30 October to 29 November 2026, Open Observatory of Network Interference: the WhatsApp, Telegram and Signal tests and the web test for each site named. Read 29 November 2026.
- Rising repression meets global resistance: internet shutdowns in 2025, Access Now and the #KeepItOn coalition, March 2026: the countries with shutdowns in 2025. Read 29 November 2026.
We start with the order or the law, test it against the network, and date every status. How we check