What makes up the difference between gross and net?
Four deductions separate your gross salary from what reaches your account. Three are social contributions – CNSS and AMO for the employee share, and possibly a supplementary pension – and the fourth is income tax.
The order of calculation matters as much as the rates: income tax does not apply to the gross figure, but to the net taxable salary, obtained after deducting professional expenses and social contributions. That is why a rise in gross pay never translates into the same rise in net pay.
| Annual band | Rate | Amount to deduct |
|---|---|---|
| Up to MAD 40,000 | 0% | - |
| MAD 40,001 to 60,000 | 10% | MAD 4,000 |
| MAD 60,001 to 80,000 | 20% | MAD 10,000 |
| MAD 80,001 to 100,000 | 30% | MAD 18,000 |
| MAD 100,001 to 180,000 | 34% | MAD 22,000 |
| Above MAD 180,000 | 37% | MAD 27,400 |
Sources: General Tax Directorate (DGI), General Tax Code, Finance Act 2026, CNSS rate scales. Details on the methodology page.
Example: MAD 12,000 gross per month, with no dependants. The professional expenses deduction removes MAD 2,917 (the annual ceiling of MAD 35,000 is reached), CNSS MAD 269 on its capped base, AMO MAD 271: the net taxable salary comes to MAD 8,543. The corresponding tax is MAD 1,071, giving net pay of MAD 10,389.
Professional expenses, the deduction everyone forgets
Before calculating tax, the administration removes from the gross figure a flat-rate amount meant to cover your work-related costs. That flat rate is 35% for modest annual pay and 25% above a threshold, capped in both cases at MAD 35,000 a year.
The cap has a direct consequence: above roughly MAD 140,000 of annual gross pay, the deduction stops growing. Every additional dirham is then taxed without any offset, which explains the sense of a “plateau” described by many employees in mid-career.
CNSS and AMO: two opposite logics
The employee CNSS contribution applies to a capped salary: above the monthly ceiling, it stops rising. The AMO contribution, by contrast, is not capped and follows the salary in full.
For high salaries, this means that CNSS becomes marginal as a percentage while AMO stays proportional. It also means that the CNSS pension is built on a capped base, whatever your actual salary – hence the value of a supplementary pension, whose effect our pension calculator shows.
Gross to net in Morocco: the order that changes everything
Working out net pay from gross in Morocco always follows the same sequence: start from the gross, take off professional expenses, then the employee share of CNSS and AMO, which gives the net taxable figure, apply income tax, and you arrive at net pay. Reversing those steps, or applying income tax to the gross, gives a wrong answer even with the right rates.
Useful guides next: the CNSS pension calculator, stamps and document costs, and the methodology page for the source texts.
Family allowances and CIMR
Each dependant – a spouse without income, children within the limits laid down – gives entitlement to a flat-rate tax reduction, for up to six people. It is a reduction in tax, not a deduction from income: it is subtracted from the tax calculated, never from the taxable salary.
Supplementary pension contributions of the CIMR type, where they exist, are on the other hand deducted from taxable income. They therefore reduce tax while building a future entitlement, which makes them one of the few arrangements with a double effect on a Moroccan payslip.
What this calculation does not cover
The calculator handles a fixed salary under the ordinary regime. It does not model exempt bonuses, travel allowances, benefits in kind, share options, the special regime for new recruits, or situations with several employers.
For a contract with a large variable component or exempt elements, treat the result as a basis for discussion and have the actual net figure checked by the payroll department before signing.
Frequently asked questions
Why does my calculated net differ from my payslip?
The differences almost always come from elements specific to your contract: exempt or taxable bonuses, transport allowances, benefits in kind, a company health scheme, a supplementary pension at a negotiated rate, or a special tax regime. The calculator works out a fixed salary under the ordinary regime.
Is the net-to-gross calculation accurate?
It works by successive approximations until it matches the requested net figure to the dirham. That is mathematically exact against the rate scale used, but it rests on the same simplifying assumptions as the gross-to-net direction.
Do family allowances reduce the taxable salary?
No. They reduce the tax itself, by a flat amount per person and for up to six people. The difference matters: the effect is the same whatever your rate of tax.
Does an MRE returning to Morocco pay Moroccan income tax?
Once you become tax resident in Morocco and receive a salary there, yes. Foreign-source income falls under the double taxation treaties; our guide on double taxation sets out the principles, but a mixed situation deserves professional advice.
Last updated: January 2026 · Indicative estimate - check with the relevant administration.