The firm opens soon. Guides and calculators are already free to use —get notified when we open
Tax

Salary income tax (IR) in Morocco in 2026: gross to net step by step, with worked examples

Gross to net salary in Morocco: CNSS and AMO contributions, professional expenses (35% or 25%), 2026 tax brackets and family dependants. Worked examples and employer cost.

Published 9 min readLevel: BeginnerEl Arabi Aich

In brief
  • Net taxable income = taxable gross salary − exempt allowances − professional expenses (35% up to MAD 78,000/year, 25% above, capped at MAD 35,000) − employee social contributions (General Tax Code, CGI Art. 58 and 59).
  • 2026 annual tax scale: 0% up to MAD 40,000, then 10%, 20%, 30%, 34%, and 37% above MAD 180,000 (Art. 73-I).
  • MAD 600 is deducted from tax per dependant, up to MAD 3,600 per year (Art. 74).
  • The employer withholds income tax at source each month (Art. 156) and remits it to the tax authority.

Understanding how a gross salary turns into net pay helps everyone: an employee negotiating a package, HR preparing a payslip, or a director budgeting a hire. Calculating income tax (IR) follows a strict sequence set out in the General Tax Code (CGI). Here is the method, with complete worked examples.

The 6 steps

  1. Taxable gross salary: base salary + bonuses + benefits in kind, less exempt items (see exempt allowances).
  2. Employee social contributions: CNSS (social security), AMO (mandatory health insurance) — tax-deductible.
  3. Professional expenses: flat-rate allowance of 35% or 25% of gross pay, capped at MAD 35,000 per year.
  4. Net taxable income = (1) − (2) − (3).
  5. Annual tax scale (Art. 73-I) → gross tax.
  6. Family dependant reduction (Art. 74) → net tax, withheld by the employer.

The 2026 tax scale

Annual net taxable income bracket (MAD) Rate Quick formula: tax = rate × income − amount to deduct
Up to 40,000 0% 0
40,001 to 60,000 10% 10% × R − 4,000
60,001 to 80,000 20% 20% × R − 10,000
80,001 to 100,000 30% 30% × R − 18,000
100,001 to 180,000 34% 34% × R − 22,000
Above 180,000 37% 37% × R − 27,400

The “amount to deduct” lets you compute tax in a single step instead of adding up each bracket separately.

Professional expenses

For employees who do not fall under a special occupational category (Art. 59-I-A):

  • 35% of annual taxable gross income if it does not exceed MAD 78,000;
  • 25% above that;
  • in all cases, the deduction is capped at MAD 35,000 per year.

The gross income to which the percentage applies excludes benefits in cash or in kind.

Example 1: MAD 12,000 gross salary per month

Married employee with one dependent child. Employee contribution rates applied: CNSS 4.48% (monthly ceiling of MAD 6,000), AMO 2.26% (see the note on social contribution rates at the end of this article).

Step Calculation Annual amount (MAD)
Annual gross 12,000 × 12 144,000
CNSS 4.48% × 6,000 × 12 3,225.60
AMO 2.26% × 12,000 × 12 3,254.40
Professional expenses 25% × 144,000 = 36,000, capped 35,000
Net taxable income 144,000 − 6,480 − 35,000 102,520
Gross tax 34% × 102,520 − 22,000 12,856.80
Family dependants 2 dependants × 600 −1,200
Annual IR 11,656.80
Monthly IR withheld ÷ 12 971.40

Monthly net pay: 12,000 − 268.80 − 271.20 − 971.40 = MAD 10,488.60.

Example 2: MAD 6,000 gross salary per month, single

Step Calculation Annual amount (MAD)
Annual gross 6,000 × 12 72,000
CNSS 4.48% × 6,000 × 12 3,225.60
AMO 2.26% × 6,000 × 12 1,627.20
Professional expenses 35% × 72,000 (≤ 78,000) 25,200
Net taxable income 72,000 − 4,852.80 − 25,200 41,947.20
Gross tax 10% × 41,947.20 − 4,000 194.72
Monthly IR withheld ÷ 12 16.23

Monthly net pay: 6,000 − 268.80 − 135.60 − 16.23 = MAD 5,579.37.

An employee close to the MAD 40,000 annual net taxable income threshold pays very little tax: the scale is progressive, so only each dirham above a bracket threshold is taxed at the next bracket’s rate.

Employer cost (Example 1)

Employer contribution Rate Base Monthly amount (MAD)
CNSS (social benefits) 8.98% capped at 6,000 538.80
AMO 4.11% total gross 493.20
Family allowances 6.40% total gross 768.00
Vocational training tax 1.60% total gross 192.00
Total employer contributions 1,992.00

Total cost: 12,000 + 1,992 = MAD 13,992 per month, or 1.166 times gross pay. The employer share of retirement and social security contributions, as well as group health insurance premiums, is exempt from income tax for the employee (Art. 57-11° and 12°).

Note on social contribution rates: the CNSS and AMO rates above are those configured in our salary simulator; they are governed by social security regulations (outside the CGI) and must be verified with the CNSS before running actual payroll.

Special cases

  • Other occupational categories: journalists, commercial representatives, life insurance agents and flight crew: 45% allowance; casinos: 25%; artists and miners: 35% (capped at MAD 35,000); merchant navy and fishing: 40%.
  • Home loan interest and supplementary pension contributions: eligible for deduction under statutory conditions on the annual tax return.
  • Multiple employers: the employee must file an annual return of total global income.
  • One-off bonuses: included in the annualised monthly income or smoothed depending on payroll practice.

Example 3: an executive paid MAD 25,000 gross per month

Single, with no dependants. Net taxable income reaches the top bracket (above MAD 180,000).

Step Calculation Annual amount (MAD)
Annual gross 25,000 × 12 300,000
CNSS 4.48% × 6,000 × 12 3,225.60
AMO 2.26% × 300,000 6,780.00
Professional expenses 25% × 300,000 = 75,000, capped 35,000
Net taxable income 300,000 − 3,225.60 − 6,780 − 35,000 254,994.40
Tax 37% × 254,994.40 − 27,400 66,947.93
Monthly IR ÷ 12 5,578.99

Monthly net pay: 25,000 − 268.80 − 565.00 − 5,578.99 = MAD 18,587.21, or 74% of gross pay. The MAD 35,000 cap on professional expenses has limited impact at this salary level.

Gross-to-net conversion table (single, no dependants)

Calculations using the same parameters as above (CNSS capped at MAD 6,000, AMO on total gross, flat-rate professional expenses, Article 73-I scale).

Monthly gross Annual net taxable income Monthly IR Monthly net Monthly employer cost
4,000 27,965 0.00 3,730.40 4,844
6,000 41,947 16.23 5,579.37 7,265
8,000 66,605 276.75 7,273.65 9,508
10,000 84,062 601.56 8,903.64 11,750
15,000 137,706 2,068.35 12,323.85 17,355
20,000 196,350 3,770.80 15,508.40 22,961
25,000 254,994 5,578.99 18,587.21 28,566
40,000 430,926 11,003.56 27,823.64 45,383

How to read this table: employer cost represents roughly 1.13 to 1.21 times gross salary depending on the level, while net pay represents 93% of gross at MAD 4,000 and 70% at MAD 40,000. To guarantee a given net amount, work backwards from net to gross by iterating against this table or using a calculator.

The threshold effect of professional expenses

The flat-rate allowance drops from 35% to 25% once annual gross pay exceeds MAD 78,000 (MAD 6,500 per month). Here is the jump:

Annual gross Rate Professional expenses
78,000 35% 27,300
78,001 25% 19,500

Crossing the threshold by one dirham cuts the deduction by MAD 7,800 and increases net taxable income by the same amount: a pay rise that pushes annual gross just above MAD 78,000 can leave net pay lower than before, or barely higher. Keep this in mind when structuring a pay rise near that threshold.

Annual true-up and monthly withholdings

Each month, the employer withholds tax calculated on monthly income (the scale is applied by dividing the brackets by 12). At year-end, a true-up adjustment corrects differences caused by pay variations (one-off bonus, back pay, mid-year hire). The main cases are:

Situation Effect
Annual bonus paid in December The month of payment bears a higher withholding; the true-up smooths the tax
Mid-year hire Annual tax is calculated over the actual period of employment
Change in family status Dependant reductions apply from the month the declaration is filed
Employee with two employers Annual global income tax return filed by the employee

The employer keeps the monthly calculation breakdown on file: taxable base, social contributions, flat-rate allowance, tax scale, dependant reduction and withholding. This file is the employer’s strongest safeguard in the event of a tax audit (see the article on payroll accounting entries).

Working backwards: from target net to gross

Hiring negotiations often start from the net figure: “I want MAD 10,000 net”. Under the example parameters (single, no dependants), the table above gives the reference points: MAD 10,000 gross yields MAD 8,903.64 net; MAD 11,000 gross yields MAD 9,662.82 net; MAD 11,500 gross yields MAD 10,042.41 net. The gross salary needed for MAD 10,000 net is therefore around MAD 11,450. The calculation works by successive approximations: start from an estimated gross figure, compute the net, and adjust until you hit the target. A spreadsheet built with the scale formulas (“tax = rate × income − amount to deduct”) solves this in seconds using Excel’s Goal Seek feature.

What a pay rise is really worth

A pay rise of MAD 1,000 gross per month does not translate into MAD 1,000 net. Here is the net gain from a MAD 1,000 gross increase, calculated using the example parameters (single, no dependants):

Monthly gross before increase Net before Net gain for +1,000 gross
8,000 7,273.65 832
10,000 8,903.64 759
12,000 10,388.60 645
20,000 15,508.40 616

The higher the salary, the smaller the share the employee keeps: from 83% at MAD 8,000 down to 62% at MAD 20,000.

Any pay rise decision must also factor in the cost to the employer: an extra MAD 1,000 gross costs roughly 1,000 + 4.11% + 6.40% + 1.60% = MAD 1,121 (above the CNSS ceiling, which adds no further social benefit contribution).

Family dependant reductions

The tax reduction for family dependants is MAD 600 per year and per dependant (i.e. MAD 50 per month), up to six dependants (including the spouse), giving an annual cap of MAD 3,600. The amount is modest but tangible: for a married employee with three children, it reduces annual tax by MAD 2,400. The employer applies it against supporting documents (family status record, school enrolment certificate). Updating the employee file promptly after each change avoids year-end true-ups.

Common calculation traps

Trap Consequence
Applying the MAD 6,000 CNSS ceiling to AMO Understated AMO contribution (AMO applies to total gross pay)
Forgetting to cap professional expenses at MAD 35,000 per year Understated taxable income for higher earners
Annualising a month that includes a one-off bonus Monthly withholding too high or too low
Confusing taxable gross with total gross (exempt allowances) Wrong calculation base
Omitting benefits in kind Understated taxable income
Using a prior-year tax scale Discrepancy on every payslip

Year-end consistency check

Before closing the year, reconcile for each employee: total taxable gross salaries, total employee social contributions, total professional expenses, net taxable income and IR withheld over the year. Annual IR recalculated using the scale must match (within a few dirhams) the sum of monthly withholdings. Any discrepancy signals a setup or data-entry error to correct before filing the annual payroll return.

Payroll checks to run

  1. The CNSS ceiling is properly applied (MAD 6,000 per month).
  2. Professional expenses are capped at MAD 35,000 per year (MAD 2,916.67 per month).
  3. Family dependant records are up to date (tax identity declaration).
  4. Exempt allowances are properly substantiated.
  5. Tax withheld is remitted to the tax authority on time.

Run your own figures with the salary calculator.

Frequently asked questions

Are professional expenses deducted on an actual or flat-rate basis?

On a flat-rate basis for most employees: 35% of annual taxable gross income where it does not exceed MAD 78,000, and 25% above that, in all cases capped at MAD 35,000. Certain categories (journalists, commercial representatives, flight crew, etc.) have specific rates from 25% to 45%, with the same MAD 35,000 cap for category B professions, and 40% for merchant navy and fishing.

Are CNSS and AMO contributions tax-deductible?

Yes: deductions borne for pension or retirement schemes, contributions to social welfare organisations and the employee share of group sickness, maternity, disability and life insurance premiums are deducted from gross income (Art. 59-II to IV).

How does the employer take my children into account?

Through the tax identity declaration submitted to the employer: a dependent spouse and dependent children each entitle the employee to a tax reduction of MAD 600 per year, capped at MAD 3,600 (six dependants). Changes in family status take effect from the following month.

Is my salary calculated over 12 months?

Income tax (IR) is calculated annually using the progressive scale, then withheld monthly in twelfths: monthly income is annualised, the tax scale is applied and the result is divided by 12.

Reference texts
  • CGI 2026, Art. 56 to 60 — employment income, exemptions and deductions
  • CGI 2026, Art. 73-I — income tax (IR) progressive scale
  • CGI 2026, Art. 74 — tax reduction for family dependants
  • CGI 2026, Art. 156 — withholding at source by employers

This article presents general rules as at the date shown; it does not replace an analysis of your situation. The French version of the texts prevails.

El Arabi Aich

Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.

Related articles

A question about your situation?

Tell us about your project: we reply within 48 business hours with a draft engagement letter.