Morocco’s cybersecurity market to hit $238m by 2031

Morocco’s cybersecurity market is projected to grow from $144.57 million in 2025 to $238.12 million by 2031, according to a report by Mordor Intelligence, reflecting a compound annual growth rate of 8.67%.

The expansion is being driven by the government’s “Digital Morocco 2030” initiative and a national “Cloud-First” strategy, which are accelerating digital transformation across the public and private sectors.

The push toward stronger cybersecurity measures has intensified following major incidents such as the CNSS breach in April 2025. As a result, organisations are increasingly adopting advanced authentication systems and continuous monitoring technologies. By 2025, solutions including firewalls, identity management systems, and endpoint protection accounted for more than 63% of total market revenue, particularly in the banking and government sectors.

Cloud security is emerging as the fastest-growing segment, expanding at an annual rate of 17.42%. Although on-premises deployments still represented a slightly larger share of the market in 2025, cloud-based security solutions are rapidly gaining traction.

Demand for Managed Security Service Providers (MSSPs) is also rising as organisations turn to external specialists to address cybersecurity skill shortages.

While large enterprises currently dominate cybersecurity spending, small and medium-sized enterprises are the fastest-growing segment, supported by accessible training programmes and tailored security services.

Despite challenges such as limited multilingual technical talent and fluctuating licensing costs, cybersecurity is increasingly becoming a cornerstone of Morocco’s digital sovereignty strategy and its ambition to position itself as a leading digital hub for Africa.