Morocco corporate tax and dividend calculator
Enter your company’s profit and turnover: the calculator works out corporate tax (IS), compares it with the minimum contribution, then gives the net dividend after withholding tax, according to the year it is paid.
Taxable result before tax. Enter 0 for a loss.
Used for the minimum contribution (0.25%, at least 3,000 MAD).
100% if all the available profit is paid to the shareholders.
Corporate tax is paid by the company. Dividend withholding is borne by the shareholder: the company deducts it and pays it to the Treasury.
The calculation runs in your browser: nothing you enter is sent or stored.
Corporate tax rates
For fiscal years starting in 2026, the standard rate is 20% (tax code, art. 19-I-A). It rises to 35% when net profit reaches 100 million dirhams (art. 19-I-B) and to 40% for credit institutions and insurance companies (art. 19-I-C), which this calculator does not cover. The rate is proportional: it applies to the whole profit, not by brackets. For fiscal year 2025 the transitional rates still apply: 17.5% up to 300,000 MAD, 20% up to 1 million, 22.75% above and 34% from 100 million (art. 247-XXXVII-A).
Minimum contribution and solidarity contribution
A company’s tax cannot be lower than the minimum contribution, even without profit (art. 144-I). It equals 0.25% of turnover and other income excluding VAT, with a minimum of 3,000 MAD. A 0.15% rate exists for certain sales (petroleum products, gas, butter, oil, sugar, flour, water, electricity, medicines): it is not applied here. Companies are exempt during the first 36 months after they start operating, and no later than 60 months after incorporation. From a profit of 1 million dirhams, the social solidarity contribution is added: 1.5%, 2.5%, 3.5% or 5% depending on profit (art. 267 to 273), in force until 2028.
Withholding tax on dividends
Dividends paid to an individual are subject to a withholding tax deducted by the company. Its rate depends on the date of distribution, not on the year of the profit (art. 247-XXXVII-C): 12.5% for amounts distributed from 1 January 2025, 11.25% from 1 January 2026 and 10% from 1 January 2027. In practice the 2026 profit is distributed in 2027, once the accounts are approved: it therefore bears 10%. Dividends paid to non-residents may fall under a rate set by a tax treaty.
Legal reserve and distributable profit
Not all the profit can always be distributed. Company law requires 5% of net profit to be allocated to the legal reserve until it reaches the ceiling set by the law that applies to the company’s legal form. Earlier losses must also be absorbed before any distribution. Tick the option if your legal reserve is not yet full, and check the ceiling with your accountant.
Example
A SARL makes a profit of 250,000 MAD in 2026, with a turnover of 2,000,000 MAD. Corporate tax: 250,000 × 20% = 50,000 MAD (the minimum contribution, 5,000 MAD, is lower). Net profit: 200,000 MAD. If it is fully distributed in 2027: 200,000 × 10% = 20,000 MAD withheld, so 180,000 MAD net for the shareholder. Total: 70,000 MAD, or 28% of the profit. The same dividend paid in 2026 would have borne 11.25%, or 22,500 MAD.
What the calculator does not compute
The result is an estimate. The calculator starts from the taxable profit you enter: it does not redo the move from the accounting result to the taxable result (add-backs, deductions, losses carried forward). It does not cover special regimes (exemptions, industrial acceleration zones, Casablanca Finance City, exporters), the 40% rate, or instalments already paid.
Frequently asked questions
How much tax does a company pay on a profit of 250,000 MAD?
The company pays 50,000 MAD of corporate tax (20%). If the remaining 200,000 MAD is distributed in 2027 to an individual shareholder, withholding tax is 20,000 MAD (10%). Total: 70,000 MAD. If the profit stays in the company, only corporate tax is due.
What is the dividend withholding rate in 2026 and 2027?
11.25% for amounts distributed from 1 January 2026 and 10% for those distributed from 1 January 2027 (tax code, art. 247-XXXVII-C). The payment date counts, not the fiscal year the profit comes from.
Who pays the withholding tax on dividends?
It is borne by the shareholder who receives the dividend. The company deducts it when paying and transfers it to the Treasury; the shareholder receives the net amount.
Does a company with no profit pay corporate tax?
It pays the minimum contribution: 0.25% of turnover, with a minimum of 3,000 MAD, except during the first 36 months of operation (art. 144-I).
Sources
Rules verified on 23 Nov 2026. Calculation aid: the result is an estimate that depends on your situation; it does not replace advice from an accountant or the tax administration.
Follow your result all year long
With BILLX, your invoices and expenses feed a dashboard that estimates your result, your VAT and your corporate tax month after month.
Other calculators
- Morocco VAT calculatorExcl. ↔ incl. VAT, multiple lines, totals by rate (20%, 10%, exempt, out of scope).
- Auto-entrepreneur simulatorTax on turnover collected, ceiling, 80,000 MAD per-client rule.
- Margin and selling priceSelling price excl. and incl. VAT, markup rate, margin rate and coefficient.
- Freelance daily rateDaily rate based on target income, expenses, billed days and tax scheme.
- VAT collected and deductibleVAT to pay or credit to carry forward for your monthly or quarterly return.
- Quote profitabilityQuote margin after discount and costs, break-even point, suggested price.
- RIB/IBAN checkFormat and check digit of a Moroccan RIB and IBAN, and IBAN generation from the RIB.
- Import Excel invoicesCheck and convert your Excel or CSV invoices: columns, lines, VAT and totals verified, error report, BILLX template.