Global Salary Guide LogoGlobal Salary Guide
Software & SaaS Ownership

Stop building for others. Own the software.

Turn your skills into digital assets. Build micro-SaaS, web apps, or automation APIs and secure high-margin recurring income. dwil.world guides you from code to launch.

Launch Your App

Data Scientist Salary in Morocco

3 min readUpdated July 3, 2026

Median pay for a Data Scientist in Morocco stands at MAD 309,000 per year, equivalent to about $32,953. That is 26% of the US median for the same role, and career progression can lift earnings from MAD 210,000 at entry level to MAD 427,000 with seniority.

Salary conversations are easier with real numbers. Here is what the data says about data scientist compensation in Morocco as of 2026.

In global terms Morocco is a lower-paying market for this role (52nd of 62), but local purchasing power and cost of living change that picture considerably. Within Middle East, North Africa, Afghanistan & Pakistan, Morocco trails the regional average for this job by roughly 61% — relevant if you are comparing offers across borders.

Data Scientist Salary Table

Salary breakdown by experience level
Experience25th %Median75th %90th %
Entry Level (0-2 years)MAD 173,000MAD 210,000MAD 259,000MAD 315,000
Mid Level (3-5 years)MAD 254,000MAD 309,000MAD 381,000MAD 464,000
Senior (6-10 years)MAD 351,000MAD 427,000MAD 526,000MAD 640,000
Lead / Staff (10+ years)MAD 438,000MAD 532,000MAD 656,000MAD 797,000
Executive / DirectorMAD 572,000MAD 696,000MAD 858,000MAD 1,040,000

Salary by Experience

Software & SaaS Ownership

Stop building for others. Own the software.

Turn your skills into digital assets. Build micro-SaaS, web apps, or automation APIs and secure high-margin recurring income. dwil.world guides you from code to launch.

  • Launch recurring revenue apps
  • High-margin software leverage
  • Exit the corporate rat race
  • From engineer to equity owner
Launch Your App

Tax & Cost of Living

Tax Estimation

Gross Salary
MAD 309,000
Estimated Tax
-MAD 69,633
Net Salary
MAD 239,367
Effective rate
22.5%

Estimate only. Consult a tax professional for accurate calculations.

Currency Converter

AED 121,021

MAD 309,000 converted

Demand Outlook

82
Demand Score

80%

Remote Opportunities

How Much Does a Data Scientist Earn in Morocco?

The middle 50% of data scientists in Morocco earn between MAD 254,000 and MAD 381,000 a year, with the median at MAD 309,000. Where you fall in that range depends mostly on three things: years of experience, employer type, and specialization. Because a large share of this work can be done remotely, professionals in Morocco increasingly compete for — and win — roles paying closer to international rates, which stretches the top of the local range upward.

Global Pay Rankings for Data Scientists

At current exchange rates, Morocco's median works out to $32,953, compared with $125,000 in the United States for the same job. The highest-paying countries we track for this role are Singapore ($206,571), Ireland ($188,496), Qatar ($180,769). Raw exchange-rate comparisons undersell local earnings, though: costs for housing, food, and services in Morocco are proportionally lower, so the lifestyle a median salary buys is better than the USD figure implies.

From Entry Level to Senior: What Changes

A newcomer to the field in Morocco typically starts around MAD 210,000. By mid-career the median reaches MAD 309,000, and senior professionals command MAD 427,000 or more — roughly 2.0x the entry-level figure. The steepest percentage gains usually come in the first five to eight years; after that, moving into leadership, changing employers strategically, or specializing tends to matter more than tenure alone.

Hiring Demand and Job Security

Demand for data scientists in Morocco is among the strongest of any profession, scoring 82/100 on our demand index. About 80% of positions in this field can be performed remotely or in hybrid arrangements, which widens the effective job market for candidates in Morocco beyond national borders. For job seekers this tilts negotiating leverage toward candidates: multiple offers are realistic, and counter-offers are common.

Inflation and Real Earnings

Inflation in Morocco is a modest 0.7%, so nominal salary figures translate fairly directly into stable purchasing power. Raises above 0.7% represent genuine real-terms gains.

What It Takes to Become a Data Scientist

The standard entry route is master's degree in a quantitative field (often preferred). Day to day, the skills that consistently correlate with higher pay in this field are python, statistics, machine learning — and, at senior levels, sql and data visualization. In interviews, evidence beats credentials: portfolios, measurable outcomes, and references matter more to the final offer than the certificate list.

Related Career Paths

Data Scientists commonly pivot into roles like Data Analyst, Machine Learning Engineer, Data Engineer, either to specialize or to chase stronger demand. If pay growth in your current track stalls, comparing medians across these adjacent roles is a good first step.

Required Skills

PythonStatisticsMachine learningSQLData visualization

References

Frequently Asked Questions

What is the average data scientist salary in Morocco?
The median data scientist salary in Morocco is MAD 309,000 per year (about $32,953). The middle 50% of earners make between MAD 254,000 and MAD 381,000.
What does an entry-level data scientist earn in Morocco?
Entry-level professionals (0-2 years of experience) typically earn around MAD 210,000 per year. Pay rises steeply over the first five to eight years of a career.
Is Morocco a good place to work as a data scientist?
Morocco ranks 52nd of 62 countries we track for this role by USD salary, and demand scores 82/100. Cost of living and lifestyle factors can make it attractive despite the exchange-rate comparison.
How much more do senior data scientists earn?
Senior professionals in Morocco earn a median of MAD 427,000 — roughly 1.4x the mid-career median and 2.0x entry-level pay.
Can data scientists work remotely in Morocco?
Yes — approximately 80% of positions in this field support remote or hybrid work, and some professionals in Morocco work for foreign employers at international rates.
What is the take-home pay on a median data scientist salary in Morocco?
At an effective tax rate of roughly 23%, a MAD 309,000 gross salary leaves approximately MAD 239,367 after income tax. Actual take-home varies with deductions, social contributions, and personal circumstances.
Which country pays data scientists the most?
Among the countries we track, Singapore pays the highest median for this role at about $206,571 per year, followed by Ireland ($188,496).