- Gross income paid to non-residents (royalties, studies, technical assistance, equipment rental, interest, commissions, professional fees, services used in Morocco) is subject to a 10% withholding tax (General Tax Code (CGI) art. 15, 19-IV-B and 73-II-B-1°).
- The withholding tax is deducted by the Moroccan payer on the gross amount excl. VAT; it is remitted to the tax collector within the month following payment, accompanied by a payment slip (art. 160 and 174).
- If the non-resident is paid by a non-resident third party, the tax is payable by the client company in Morocco (art. 160-II).
- Double taxation treaties may reduce or eliminate the withholding tax; they operate alongside foreign exchange regulations (payment net of tax).
Your company pays a foreign firm, a software publisher, an IT service provider or a group company: before making the bank transfer, a tax question must be settled: must withholding tax be deducted? The General Tax Code (CGI) answers this with a list of covered income types and a single rate of 10%. Failing to withhold makes the Moroccan payer liable for the unpaid tax.
Income covered (art. 15)
Withholding tax applies to gross income paid, made available or credited to the account of non-resident individuals or legal entities in respect of:
- copyright royalties on literary, artistic or scientific works, cinema and television films;
- licence royalties for patents, designs and models, plans, secret formulas and processes, and trademarks;
- provision of scientific, technical or other information, and research and study work carried out in Morocco or abroad;
- technical assistance or secondment of staff to companies domiciled or operating in Morocco;
- artistic or sporting activities and similar remuneration;
- rental of equipment of any kind;
- interest on loans and other fixed-income investments;
- road transport of passengers or goods from Morocco abroad, for the portion of the journey completed in Morocco;
- commissions and professional fees;
- services of any kind used in Morocco or provided by non-resident persons.
The final item is very broad: most services paid abroad fall within its scope.
The rate: 10%
The rate is set at 10% of the gross income, excluding VAT (art. 19-IV-B for legal entities, art. 73-II-B-1° for non-resident individuals). Dividends paid to non-residents are also subject to a 10% withholding tax (see dividend transfers).
| Case | Withholding |
|---|---|
| Software licence royalty | 10% |
| Fees paid to a foreign consulting firm | 10% |
| Interest on a loan from the parent company | 10% (fixed income, see note below) |
| Dividends | 10% |
| Payment to a supplier of imported goods | Out of scope (customs duties and import VAT) |
Note: certain fixed-income investment products (art. 14) are taxed at 20% when paid to residents; article 15-VII covers interest paid to non-residents at 10%.
Who withholds, and when to remit?
- Withholding tax is deducted on behalf of the Treasury by taxpayers making or intervening in the payment (art. 160-I).
- If the non-resident is paid by a non-resident third party, the tax is payable by the client company or organisation in Morocco (art. 160-II).
- Remittance takes place within the month following the month of payment, to the tax collector’s office (receveur de l’administration fiscale), accompanied by a dated and signed payment slip (bordereau-avis) (art. 174).
- The withholding tax is reported in the annual return of remuneration and fees paid to third parties.
Worked example
In March, a Moroccan company pays a European software publisher EUR 40,000 (MAD 432,000 at 10.80) for an annual software licence. The contract is silent on taxes: the transfer covers the amount net of tax (foreign exchange rule).
| Item | Amount (MAD) |
|---|---|
| Gross amount invoiced | 432,000 |
| 10% withholding tax | 43,200 |
| Net wired to the publisher | 388,800 |
| Remittance of withholding tax to the tax collector | before 30 April: 43,200 |
If the contract states that Moroccan tax is borne by the Moroccan company (“net of tax” clause), the tax base is grossed up: for the publisher to receive 432,000 net, the gross amount is 432,000 ÷ 0.90 = 480,000, the withholding tax is 48,000 and the total expense is 480,000. This clause increases the cost by 11%.
Double taxation treaties
Morocco has entered into numerous double taxation treaties. They may:
- cap or eliminate the withholding tax (for example on royalties, interest or dividends);
- define a permanent establishment: if the service provider has one in Morocco, it is taxed like a resident company.
To benefit from a treaty, the non-resident provides a tax residency certificate issued by its home country. The bank or the tax authorities may request it. Without a certificate, apply the domestic withholding rate; the beneficiary may subsequently apply for a refund.
Interaction with foreign exchange regulations
Banks execute settlements in compliance with tax rules: where the tax is borne by the non-resident, settlement is made net of tax (General Instruction on Foreign Exchange Operations (IGOC), Chapter I). Unless stated otherwise in the contract, the transfer is therefore net. The service contract should specify who bears Moroccan taxes.
Accounting entries
| Account | Debit | Credit |
|---|---|---|
| 6136 Remuneration of intermediaries and fees (or other expense) | 432,000 | |
| 4411 Trade payables | 388,800 | |
| 4452 State, taxes, duties and similar items (withholding tax) | 43,200 |
Remittance to the tax collector clears account 4452. The expense remains the gross amount, deductible provided the substantiation requirements are met.
Classifying the payment: a five-question decision tree
The practical difficulty is not the rate (10%), but the classification of the payment. Before each bank transfer, work through these five questions in order:
- Is the beneficiary a non-resident? A branch or permanent establishment in Morocco is taxed as a resident: withholding tax does not apply to its local receipts, though it may apply to amounts remitted to its head office abroad.
- Is it a purchase of goods? Imported goods are subject to customs duties and import VAT: no withholding tax under article 15.
- Does the service fall into one of the ten listed categories? Royalties, technical assistance, studies, equipment rental, interest, commissions, professional fees, or, under the final item, any service used in Morocco.
- Does a double taxation treaty apply? If so, its reduced rate or exemption overrides domestic law, upon presentation of the tax residency certificate.
- Who bears the tax under the contract? The answer determines the calculation base (net or gross).
Here is how several common payments are classified under this framework:
| Payment | Nature | Domestic withholding tax? |
|---|---|---|
| Licence to use management software | Licence royalty | Yes, 10% |
| Subscription to an online platform used by your teams | Service used in Morocco | Yes, 10% (VAT is a separate matter) |
| Purchase of IT hardware delivered by a foreign supplier | Imported goods | No (customs duties and import VAT) |
| Fees of a lawyer established abroad | Professional fees | Yes, 10% |
| Cost of training attended abroad by an employee | Service of any kind | To be analysed under the applicable treaty |
| Interest on a loan from the parent company | Interest | Yes, 10% (see note on article 15-VII) |
| Rental of a machine from a foreign lessor | Equipment rental | Yes, 10% |
| Commission paid to a sales agent abroad | Commission | Yes, 10% |
When a contract combines several services (licence, installation, training, maintenance), ask the supplier for an itemised invoice: each item is classified separately and withholding tax only applies to those subject to it. A single lump-sum invoice exposes the entire amount to withholding tax.
An example with a tax treaty
Purely illustrative assumption: a treaty caps withholding tax on royalties at 5% (the actual rate depends on the applicable treaty: check its text). A Moroccan company pays MAD 200,000 in royalties to a company resident in the other State.
| Item | Domestic law | Under the treaty |
|---|---|---|
| Gross royalty | 200,000 | 200,000 |
| Withholding tax | 20,000 (10%) | 10,000 (5%) |
| Net wired | 180,000 | 190,000 |
| Document to retain | Tax residency certificate for the year of payment |
The saving is MAD 10,000 for the service provider (or for the payer if a “net of tax” clause shifts the tax burden to it). This requires obtaining the certificate before payment: a subsequent adjustment requires a refund claim, which is lengthy and uncertain.
Consequences of late or omitted remittance
The payer is legally liable for the withholding tax, and the penalties under article 208 are increased for taxes withheld at source (articles 156 to 160 ter): the penalty is 20% (instead of 10%), plus a 5% surcharge for the first month of delay and 0.50% per additional month or fraction of a month.
Take the MAD 43,200 withholding tax from the example above, paid 45 days late (two months or fractions of a month):
| Item | Calculation | Amount (MAD) |
|---|---|---|
| Withholding tax due | 43,200 | |
| 20% penalty | 43,200 × 20% | 8,640 |
| Surcharge, first month | 43,200 × 5% | 2,160 |
| Surcharge, additional month | 43,200 × 0.50% | 216 |
| Total payable | 54,216 |
That is 25% more than the withholding tax itself. And if the withholding was never deducted, the cost may also affect the tax deductibility of the expense, depending on substantiation requirements. See the article on tax penalties and surcharges.
An eight-step internal procedure
| Step | Owner | Timing |
|---|---|---|
| 1. Receipt of the invoice and contract | Purchasing | Upon receipt |
| 2. Classification of the payment (decision tree) | Accounting | Before approval |
| 3. Request for tax residency certificate if treaty applies | Accounting | Before payment |
| 4. Calculation of withholding tax, gross/net amounts and VAT reverse charge | Accounting | Before payment |
| 5. Foreign exchange compliance check (contract, supporting documents) | Treasury | Before payment |
| 6. Approval by the director or finance director | Management | Before payment |
| 7. Net payment and recording of withholding tax (account 4452) | Treasury, accounting | Payment date |
| 8. Remittance of withholding tax with the payment slip | Accounting | Within the month following payment |
For a payment made on 12 March, the withholding tax must be remitted no later than 30 April. A calendar updated with every payment abroad prevents omissions, which are the most common control failure.
Contract clauses to check
| Clause | Recommended wording |
|---|---|
| Price | Stated clearly as “net” or “gross” of Moroccan taxes, without ambiguity |
| Withholding tax | The payer deducts the statutory withholding tax and provides the service provider with the remittance certificate |
| Tax treaty | The service provider supplies its tax residency certificate each year |
| VAT | Price excluding Moroccan VAT, reverse-charged by the client |
| Currency and exchange | Invoicing currency, settlement by bank transfer, applicable exchange rate |
| Breakdown of services | Itemised by nature (licence, training, maintenance) |
It is in the service provider’s interest to receive the withholding receipt: it enables them to claim a tax credit in their home country under the treaty. A payer who provides it promptly avoids disputes over the net amount.
Four practical cases
1. The service provider is paid by a non-resident third-party company. A Moroccan company receives consulting services invoiced and paid by its foreign parent company, which then recharges them. Article 160-II provides that where the non-resident is paid by a non-resident third party, the tax is payable by the client company or organisation in Morocco. The recharging structure therefore does not remove the obligation: it is the Moroccan company, as recipient of the service, that must declare and remit the withholding tax.
2. The contract is silent on taxes. The service provider invoices EUR 100,000 and the contract says nothing about tax. By default, the bank settlement is made net of tax: the service provider receives EUR 90,000 and the company remits the EUR 10,000 withholding tax to the Treasury. If the service provider refuses this reading and demands EUR 100,000 net, the tax becomes an additional cost for the company, with the base grossed up to EUR 111,111. The difference (EUR 11,111) makes it worthwhile settling this point before signing.
3. A mixed invoice. A supplier invoices EUR 60,000 for software (licence) and EUR 20,000 for on-site installation days in Morocco. Both items fall within article 15 (royalty and service used in Morocco) and are subject to the 10% withholding tax; by contrast, an invoice that also included delivered hardware should separate out that supply, which is outside the scope of withholding tax (customs regime and import VAT).
4. Regularisation after a tax audit. Following an inspection, the tax authorities find that fees of MAD 300,000 paid to a foreign firm were not subjected to withholding tax. The company must remit MAD 30,000 in withholding tax, increased by the penalty and surcharges under article 208 (20%, plus 5% for the first month and 0.50% per additional month). For a six-month delay, the total is close to 30,000 × (1 + 0.20 + 0.05 + 5 × 0.005) = MAD 38,250. Voluntary regularisation before any formal notice avoids the risk of reassessments on other items.
Checklist before every payment abroad
- Service described in a contract or itemised invoice.
- Identification of the income type (article 15) and applicable rate.
- Tax residency certificate if a tax treaty is relied upon.
- Calculation of withholding tax and reverse-charged VAT (see VAT).
- Foreign exchange compliance (contract, supporting documents, net settlement).
- Payment slip and remittance within the following month.
- File retention for 10 years.
Frequently asked questions
Which payments abroad are exempt from withholding tax?
Those not listed in article 15 (for example, purchases of imported goods, which are subject to customs duties and import VAT), and those exempted or reduced under a tax treaty upon proof of the beneficiary’s tax residency. Services performed entirely abroad for needs not used in Morocco raise the question of taxability: professional advice is recommended.
On what basis is the withholding tax calculated?
On the gross amount excl. VAT of the income paid, made available or credited to the non-resident’s account (art. 15 and 19-IV-B). If the contract places the tax burden on Morocco or the payer, the base is grossed up: the gross amount is calculated from the net amount.
What happens if I fail to withhold?
The payer is personally liable for the unremitted amounts, plus a 20% penalty and late-payment surcharges (art. 198 and 208); the deductibility of the expense may also be challenged if supporting documents are missing.
How do I apply a tax treaty?
By requesting a tax residency certificate from the non-resident issued by their tax administration, and applying the treaty rate if it is more favourable. Keep the certificate with the payment file.
- CGI 2026, art. 4 and 15 — gross income received by non-residents
- CGI 2026, art. 19-IV-B and 73-II-B-1° — 10% rate
- CGI 2026, art. 160 and 174 — withholding and remittance
- Foreign Exchange Office (Office des Changes), IGOC 2026, Chapter I — payment net of tax
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.
Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.