What Is the Salary of an AI Engineer in Morocco? 2026 Analysis
An AI engineer in Morocco earns between 8,000 and 35,000 Moroccan dirhams gross 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 25,000 to 35,000 dirhams. These ranges are moving fast, driven by demand that outpaces supply.
Why These Salaries Are Shifting in 2026
The signals are clear: Tata Consultancy Services is strengthening its Moroccan subsidiary to serve francophone Europe, Maroc Cloud just launched Gemini Enterprise, and players like AH Digital are industrializing automation for SMEs. Royal Air Maroc chose Merkle to adapt its search strategy to AI-powered search engines. Morocco’s robotics market, meanwhile, is moving out of its experimentation phase into concrete deployment.
These moves create real upward pressure on salaries. Companies are looking for engineers who can deploy, not just prototype. And those profiles are scarce.
Demand is coming from multiple directions simultaneously: large Moroccan groups, multinational subsidiaries, consulting firms, and a growing startup ecosystem. When multiple buyers chase the same profile, the price goes up.
Salary Ranges by Experience Level
Junior Profile (0 to 2 years)
A freshly graduated AI engineer from a Moroccan engineering school or university with a specialization in machine learning or data science typically starts between 8,000 and 12,000 dirhams gross per month in Casablanca. In secondary cities, the lower end can drop to 6,000 dirhams.
These profiles are often recruited by consulting firms or IT services companies that train them internally before deploying them to clients.
Mid-Level Profile (2 to 5 years)
With two to five years of experience on concrete projects, an AI engineer can expect 15,000 to 22,000 dirhams. This is the range where specialization matters most: NLP, computer vision, MLOps, or production model deployment.
Profiles capable of moving from model to operational system are particularly sought after. This is also the level where offers from international subsidiaries become competitive.
Senior Profile (5+ years)
A senior with a track record of production-deployed projects, team leadership ability, and capacity to engage with business leadership can reach 25,000 to 35,000 dirhams in the most competitive structures. In some cases, particularly for lead or AI architect roles in international group subsidiaries, the package can exceed this range.
These profiles are also the ones European companies seek to recruit remotely or through mobility programs. The competition is therefore international, not just local.
The Sectors That Pay Best
Not all sectors are equal. Multinational subsidiaries and large international IT services firms established in Morocco offer the best conditions. Banking and insurance follow, investing heavily in AI for fraud detection, credit scoring, and process automation.
The public sector and parastatal organizations remain behind on compensation levels, though AI infrastructure initiatives such as the partnership with Vertiv or ongoing digital projects in Rabat could change this in the medium term.
Startups often offer lower salaries than large structures, but sometimes compensate with profit-sharing mechanisms or rapid responsibility growth.
Casablanca vs. Other Cities
Casablanca concentrates most opportunities and the highest salaries. Rabat follows, driven by the presence of public institutions and government AI-related projects. Marrakech and Tangier remain marginal for this segment.
For an AI engineer, choosing your city is also choosing your short-term salary ceiling.
If you are a CHRO or CEO looking to structure your compensation policy to attract AI profiles, request a free diagnostic. I can help you position your offers against the real market.
What This Means for a Business Leader
If you are recruiting an AI engineer in Morocco in 2026, you are not alone in the market. You are competing with international group subsidiaries, European IT services firms recruiting remotely, and local startups playing on speed and autonomy.
Offering 10,000 dirhams for a profile with three years of experience means losing the candidate before the interview even starts. The market has moved. Your salary grids need to move too.
As I explained in my analysis of the jobs that will survive AI, profiles capable of working with AI rather than against it are the ones gaining value. AI engineers are at the top of that list.
For candidates, skills development remains the most direct lever. AI training options available in Casablanca in 2026 can accelerate this trajectory, including for career changers.
For a complete framework on AI governance and AI talent management in your organization, download the AI Board Pack 2026.
FAQ
What degree is required to become an AI engineer in Morocco?
Most positions require an engineering degree or master’s in computer science, applied mathematics, or data science. Schools like ENSIAS and ENSA produce recognized profiles on the market. Specialized certifications (Google, AWS, Microsoft) increasingly complement traditional degrees.
Can Moroccan AI engineers work for European companies?
Yes, and this is a growing reality. Remote work and service contracts allow engineers based in Casablanca or Rabat to work for French, Belgian, or Swiss clients. Salaries in these cases are often negotiated in euros and exceed local ranges.
Which AI specialization is most in demand in Morocco in 2026?
MLOps (production model deployment and maintenance), natural language processing, and process automation are the most sought-after specializations. Profiles capable of connecting an AI model to an existing business system are particularly rare and well compensated.
Will AI salaries in Morocco continue to rise?
All indicators point to yes, in the short and medium term. Demand is growing faster than the pipeline of new profiles. As long as this gap persists, salaries will continue to rise, particularly for senior and specialized profiles.