How to use this calculator
Step 1 β Enter your monthly gross salary in dirhams (salaire brut global: basic + all allowances + benefits).
Step 2 β Enter your number of dependent children (up to 6). Each child reduces your annual IR by DH 600 β payrolls frequently forget this.
Step 3 β Hit "Calculate Net Pay". The calculator works annually (CNSS β AMO β 35%/25% professional expenses β IR bands), then divides by 12. Don't compare its monthly IR line with a payroll that computes tax monthly β the annual method is the legally correct one.
How salary deductions work in Morocco
| Annual net taxable income (MAD) | IR rate |
| 0 β 40,000 | 0% |
| 40,001 β 60,000 | 10% |
| 60,001 β 80,000 | 20% |
| 80,001 β 100,000 | 30% |
| 100,001 β 180,000 | 34% |
| Above 180,000 | 37% |
Calculation order: gross β CNSS β AMO β professional expenses (35% up to DH 78,000/yr, else 25%, cap DH 35,000/yr) = net taxable β annual scale β minus DH 600 per dependent (max 6) β Γ·12 monthly. Sources: DGI (dgi.gov.ma), CNSS (cnss.ma).
Worked examples
Example 1 β DH 8,000/month (DH 96,000/year): CNSS = DH 268.80/mo (capped); AMO = DH 180.80/mo. Professional expenses = 25% Γ 96,000 = DH 24,000. Taxable = 96,000 β 3,225.60 β 2,169.60 β 24,000 = DH 66,604.80. IR = 2,000 + 20% Γ 6,604.80 = DH 3,320.96/year (βDH 277/mo). Take-home β DH 7,274/month.
Example 2 β DH 5,000/month (DH 60,000/year): CNSS = DH 224/mo; AMO = DH 113/mo. Professional expenses = 35% Γ 60,000 = DH 21,000. Taxable = 34,956 β below DH 40,000, so IR = 0. Take-home = 5,000 β 224 β 113 = DH 4,663.
Common mistakes
1. The old 25%/20% professional-expenses rule. Finance Law 2025 changed it to 35%/25% (cap DH 35,000) β the single most common error in Moroccan calculators.
2. Capping AMO. AMO health (2.26%) has no ceiling β only CNSS is capped at DH 6,000/month base.
3. Computing IR monthly. Morocco's IR is an annual scale β monthly shortcuts get the band edges wrong.
Deductions explained: CNSS, AMO, professional expenses, IR
Morocco computes everything annually, in strict order. First, CNSS: 4.48% of salary, but only on the first DH 6,000/month (max DH 268.80/mo). Second, AMO health: 2.26% of your full gross β no ceiling. Third, professional expenses: a deemed deduction of 35% of gross (if annual gross β€ DH 78,000) or 25% (above), capped at DH 35,000/year β you don't spend this; the law just assumes it. Finally, IR: the six-band annual scale (0β37%) on the net, minus DH 600 per dependent child (max 6).
Sources & verification
Figures compiled from: Direction GΓ©nΓ©rale des ImpΓ΄ts (DGI) Β· CNSS.
Last verified: 23 October 2026.