What Is an AI Engineer’s Salary in Morocco? 2026 Analysis
An AI engineer in Morocco earns between 8,000 and 25,000 Moroccan dirhams net per month, depending on experience, sector, and city. Junior profiles start around 8,000 to 12,000 dirhams. Experienced seniors, particularly in large companies or international subsidiaries, reach 20,000 to 25,000 dirhams, sometimes more.
These figures need context. Morocco’s AI market is under tension. Companies are looking for profiles they struggle to find locally, and this scarcity is starting to push salaries upward.
What the Market Is Actually Saying
The clearest signal comes from the field. Players like ABA Technology, which develops an AI platform built in Morocco, and independents like Ahmed Hormal building custom solutions for organizations, illustrate a reality: Morocco’s AI ecosystem exists, it’s hiring, and it’s starting to structure its salary grids.
But demand exceeds supply. A recent report from snrtnews.com summarizes it well: Moroccan companies are facing a shortage of AI experts, caught between innovation and human limits. This imbalance has a direct effect on salaries. Rare profiles negotiate from a position of strength.
Salaries by Experience Level
Junior Profile (0 to 2 years)
A freshly graduated AI engineer from a Moroccan engineering school, with a specialization in machine learning or data science, can expect between 8,000 and 12,000 dirhams net. That’s the market floor. Companies recruiting at this level are often tech startups, consulting firms, or shared services centers.
Mid-Level Profile (2 to 5 years)
With two to five years of experience on concrete projects, the range rises to 12,000 to 18,000 dirhams. This is where most of the market plays out. An engineer capable of deploying a model in production, working on large-scale data processing architectures, or managing an AI project end-to-end has real, measurable value.
Senior Profile (5+ years)
Beyond five years, with recognized expertise in NLP, computer vision, or MLOps, compensation reaches 20,000 to 25,000 dirhams net. Some very rare profiles, particularly those combining technical expertise with the ability to speak to executives, can exceed this threshold in international structures established in Morocco.
If you’re recruiting this type of profile or structuring your AI team, the AI Governance Sprint I run also covers the organization and skills dimension. Learn more on my services page.
Salaries by Sector
Sector makes a significant difference.
Banking and insurance are historically the highest-paying sectors. These structures have solid HR budgets and recruit AI engineers for fraud detection, credit assessment, or process automation projects.
Subsidiaries of international groups (telecoms, industry, distribution) offer compensation close to European standards for senior local positions.
Tech startups and SMEs pay less in base salary but sometimes compensate with profit-sharing mechanisms or flexibility that large structures don’t offer.
The public sector remains behind on compensation, even as recent initiatives begin creating specialized positions in public administration.
Casablanca vs Other Cities
Casablanca concentrates most opportunities and the highest salaries. Rabat follows, driven by the presence of public institutions and a few tech players. Marrakech and Tangier are emerging but remain secondary markets for this type of profile.
An AI engineer based in Casablanca has access to a deeper market and can negotiate across multiple offers simultaneously. That’s a structural advantage.
Comparison with French-Speaking Africa
Compared to its French-speaking African neighbors, Morocco offers some of the most competitive AI compensation. Côte d’Ivoire and Senegal are developing their tech ecosystems — Senegal notably displayed its ambitions at the GPAI Global Partnership on Artificial Intelligence — but their local markets remain less mature in terms of compensation for specialized AI profiles.
Morocco benefits from proximity to Europe, which creates upward pressure on salaries: a competent Moroccan engineer can be recruited remotely by a French or Belgian company, forcing local employers to align.
As I analyzed in my guide on AI-related jobs in 2026, the diversity of AI roles also creates a diversity of salary grids. An MLOps engineer doesn’t negotiate the same way as a data analyst.
What This Means for a Recruiter or HR Director
If you’re recruiting an AI engineer in Morocco in 2026, you’re operating in a tight labor market. Not just competing with Moroccan companies, but with European employers recruiting remotely and paying in euros.
A salary grid built three years ago is probably obsolete. The market has moved. Candidates know it. Your offers need to reflect that.
If you want to calibrate your AI compensation policy against the real market, request a free diagnostic. I run recruitment missions between Casablanca and Brussels and I see both sides of the negotiation.
FAQ
What is the average salary of an AI engineer in Morocco in 2026?
The range goes from 8,000 to 25,000 Moroccan dirhams net per month depending on experience. A junior profile starts around 8,000 to 12,000 dirhams. A senior with five or more years of experience can reach 20,000 to 25,000 dirhams in the highest-paying sectors.
Are Moroccan AI engineers well paid compared to Europe?
Not at the same level in absolute value. This creates real tension: European companies recruit competent Moroccan profiles remotely, which pushes local salaries upward. Morocco’s AI job market is therefore influenced by dynamics that extend well beyond its borders.
Which sectors pay AI engineers the most in Morocco?
Banking, insurance, and subsidiaries of international groups are the highest-paying sectors. Startups pay less in base salary but may offer other benefits. The public sector remains behind.
Do you need to be based in Casablanca to find a good AI position in Morocco?
Casablanca concentrates most opportunities and the highest salaries. Rabat follows. But the rise of remote work is gradually reshaping this geography: an engineer based elsewhere can access Casablanca or even European positions without necessarily relocating.