Your employment contract in Morocco quotes a gross salary, but what reaches your bank account is the net salary — after social security contributions and income tax (impôt sur le revenu, IR) have been withheld at source. This calculator rebuilds that payslip logic step by step for the 2026 tax year.
Enter your gross pay in Moroccan dirhams (MAD), monthly or yearly, the number of people you support, and whether CNSS, AMO and a CIMR pension apply. You get your net monthly salary, the IR withheld, each contribution, your net taxable income and both your effective and marginal tax rates, along with a full breakdown table.
Negotiating a job offer? Choose Solve for → Gross salary and type the net amount you want: the calculator finds the gross salary that produces it.
How to use this calculator
- Type your gross taxable salary in MAD. Leave out exempt items such as certain transport or meal allowances.
- Say whether the amount is monthly or yearly.
- Enter the number of dependents (spouse, children) you support — up to 6 count.
- If your employer is affiliated with the CIMR complementary pension fund, enter your employee rate (it appears on your payslip). Otherwise leave 0.
- Keep CNSS and AMO switched on for a standard private-sector salary. Turn them off only if they really do not apply to you.
- Read the net salary, then open the breakdown table and the step-by-step solution to see where every dirham goes.
The formula
Moroccan salary tax follows articles 56 to 59, 73 and 74 of the General Tax Code (CGI). With the annual gross salary:
- Social contributions (employee share): CNSS , AMO , plus any CIMR rate you enter.
- Professional expenses (frais professionnels): 35% of when MAD a year; otherwise 25% of , capped at 35,000 MAD.
- Net taxable income:
- Tax from the bracket table, using the rate and the "amount to deduct" of the bracket that contains :
where is the family reduction: 600 MAD per dependent a year, at most 3,600 MAD. The "amount to deduct" is simply a shortcut that gives the same result as taxing each slice of income at its own rate. Payroll departments use the same table divided by 12 each month, which gives the same result.
- Net salary . Professional expenses lower the tax base but are never taken from your pay.
Worked example
Gross salary of 10,000 MAD a month (120,000 MAD a year), married with one child (2 dependents), no CIMR:
- CNSS: 4.48% of the 6,000 MAD ceiling = 268.80 MAD a month (3,225.60 a year)
- AMO: 2.26% of 10,000 = 226 MAD a month (2,712 a year)
- Professional expenses: 120,000 is above 78,000, so 25% = 30,000 MAD (under the 35,000 cap)
- Net taxable income: 120,000 − 30,000 − 3,225.60 − 2,712 = 84,062.40 MAD
- Bracket 30%: 84,062.40 × 30% − 18,000 = 7,218.72 MAD
- Family reduction: 2 × 600 = 1,200 MAD, so IR = 6,018.72 MAD a year, or 501.56 MAD a month
Net salary: 9,003.64 MAD a month. The effective IR rate is 5.02% of gross pay, while the marginal rate — the tax on an extra dirham of taxable income — is 30%.
IR bracket table for 2026
The annual scale below applies to salaries paid from 1 January 2026. It was set by the 2025 Finance Law and left unchanged by the 2026 Finance Law, which instead raised the family reduction from 500 to 600 MAD per dependent.
| Annual net taxable income (MAD) | Monthly equivalent (MAD) | Rate | Amount to deduct (MAD/year) |
|---|---|---|---|
| 0 – 40,000 | up to 3,333.33 | 0% | 0 |
| 40,001 – 60,000 | up to 5,000 | 10% | 4,000 |
| 60,001 – 80,000 | up to 6,666.67 | 20% | 10,000 |
| 80,001 – 100,000 | up to 8,333.33 | 30% | 18,000 |
| 100,001 – 180,000 | up to 15,000 | 34% | 22,000 |
| over 180,000 | over 15,000 | 37% | 27,400 |
To use it by hand, find the row containing your annual net taxable income, multiply the income by the rate, then subtract the amount in the last column.
What this calculator does not cover
- Exempt allowances (some transport, meal or representation allowances), which you should leave out of the gross amount.
- Overtime, seniority bonuses or benefits in kind beyond what you include in gross pay.
- Special professional-expense rates for some occupations (journalists, performing artists and others).
- Private health insurance (mutuelle) premiums, housing-loan interest deductions and voluntary pension contracts.
- Year-end adjustments when your salary changes during the year.
Rules here are those of the Finance Law 2026 (tax year 2026, figures checked on 2026-10-08). Morocco updates its tax rules every January, so check them again each year.
Frequently asked questions
Will the result match my payslip exactly?
For a plain salary it should be within a few centimes. Differences come from exempt allowances, bonuses, a mutuelle, a different CIMR base or rounding choices made by your payroll software.
What changed for salaries in 2026?
The bracket table stayed the same as in 2025, but the reduction for family charges rose from 500 to 600 MAD per dependent a year, so the maximum reduction for 6 dependents is now 3,600 MAD.
Why does my CNSS stop increasing above 6,000 MAD?
The CNSS social-benefits contribution is charged only on the first 6,000 MAD of monthly salary, so the employee share never exceeds 268.8 MAD a month. AMO has no ceiling.
What is the difference between the effective and marginal rate?
The marginal rate is the rate of your bracket: the tax on one more dirham of taxable income. The effective rate is the IR you actually pay divided by your gross salary, which is always much lower.
How do I find the gross salary for a given net?
Choose Gross salary in the Solve for menu, then type the net monthly salary you want. The calculator searches for the gross amount that produces that net under the same settings.
Who counts as a dependent?
Generally your spouse and the children you support, within the limits of the tax code (age and studies conditions apply to children). At most 6 people count. Your employer applies the reduction based on the family situation you declared.
Sources
- DGI – Code Général des Impôts / Notes circulaires 736 & 737
- CNSS – calcul des cotisations
- CNSS – taux de cotisation AMO
- upsilon-consulting.com
- upsilon-consulting.com
- upsilon-consulting.com
- h24info.ma
- fr.hespress.com
Last updated: