Skip to content
EN

International Tax Lawyer in Casablanca

A foreign company operating in Morocco, a Moroccan company paying service providers abroad, an individual dividing their life between two countries: El Mankibi Law Firm advises on cross-border tax matters from its offices in Casablanca.

A cross-border transaction to secure?

International taxation: what does it cover?

As soon as a transaction or a person is connected with two countries, two questions arise: which State has the right to tax, and how to avoid the same income being taxed twice. The General Tax Code (CGI) answers this in part; the tax treaties concluded by Morocco supplement or modify its rules for the countries concerned.

The firm analyses each situation in light of the CGI and, where one exists, the applicable treaty, whose text must be checked for each country and each type of income.

Companies: the territorial scope of tax

Companies are taxable in Morocco on profits and income connected with the property they own there, the business they carry on there and the profit-making transactions they carry out there, even occasionally (Article 5). A foreign company whose branch alone carries out works in Morocco, without involvement of the head office, is taxed as a company incorporated under Moroccan law.

Example: a foreign company wins a contract in Morocco and is hesitating between performing it directly from its head office and setting up a local entity. The tax consequences of the two options are compared before signing.

Payments to non-residents: withholding tax

Where a company established in Morocco pays a non-resident, certain gross income is subject to withholding tax (Article 15), including:

  • copyright royalties and patent or trademark licence fees;
  • payments for technical assistance or the provision of staff;
  • payments for studies and scientific or technical information;
  • equipment rental fees;
  • interest on loans and fixed-income investments, subject to exclusions;
  • commissions and fees, and payments for services used in Morocco or provided by non-residents.

The rate provided by the CGI is 10% of the gross amount, excluding VAT (Article 19), subject to tax treaties that may provide for different treatment. The paying company withholds the tax and pays it over to the Treasury within the month following payment (Article 174).

Double taxation and tax treaties

For corporate income tax, the CGI provides for a credit for tax paid in the source country linked to Morocco by a treaty, limited to the portion of Moroccan tax corresponding to that income (Article 19 bis). An exemption granted abroad may count as payment where the treaty provides for a tax credit, on certification by the foreign tax authority.

For individuals, foreign-source income is taxed subject to tax treaties (Article 25). Each treaty sets its own allocation rules: its text must be read for the situation concerned. The main rules of the tax treaty between France and Morocco are presented in a dedicated article.

Tax residence of individuals

A person has their tax domicile in Morocco if they have their permanent home or the centre of their economic interests there, or if their stays there exceed 183 days in any 365-day period (Article 23). If domiciled in Morocco, they are taxable there on all their income, from Moroccan and foreign sources; otherwise, only on their Moroccan-source income.

Example: an executive who moves to Casablanca during the year while keeping income abroad must determine from when they are domiciled in Morocco and how any applicable treaty allocates the taxation of each item of income. Other income tax questions are covered on the personal taxation page.

Transfer pricing between related companies

Where a company has dependency links with companies located in Morocco or abroad, profits transferred indirectly, by altering purchase or sale prices or by any other means, may be added back to its taxable income (Article 213).

Companies whose declared turnover or gross assets reach 50 million dirhams submit, electronically, transfer pricing documentation — a master file and a local file — for their transactions with related companies located outside Morocco. If it is not provided on time, or if it is incomplete, the dependency relationship is presumed to be established (Article 214).

The lawyer's role

  • determine tax residence and which State has the right to tax;
  • identify the withholding taxes to be applied and the applicable treaty;
  • secure the transfer pricing policy and its documentation;
  • assist the company when these issues are raised during an audit.

Where an audit covers these subjects, see the tax audit page; for import and export transactions, the customs law page.

Frequently asked questions about international taxation

How can double taxation be avoided?

First by identifying the tax treaty applicable between Morocco and the other country, then by applying its allocation rules and the credit mechanisms it provides. For corporate income tax, the CGI provides for a credit for foreign tax within the limits of Article 19 bis.

How is a foreign company taxed in Morocco?

It is taxable in Morocco on profits connected with the business it carries on there; a branch that alone carries out its works in Morocco is taxed as a Moroccan company. Sums it receives from Moroccan clients for certain services may also be subject to withholding tax.

How does withholding tax on non-residents work?

The client established in Morocco withholds the tax on the gross amount, excluding VAT, of certain payments — 10% under the CGI, subject to tax treaties — and pays it over to the Treasury within the month following payment.

When do you become tax resident in Morocco?

In particular when your permanent home or the centre of your economic interests is in Morocco, or when your stays exceed 183 days in any 365-day period (Article 23 of the CGI).

Does my company have to document its transfer pricing?

Yes, if it carries out transactions with related companies located outside Morocco and its declared turnover or gross assets reach 50 million dirhams. Below that threshold, the prices charged must still be justifiable if the authorities examine them.

Does the firm advise before setting up in Morocco?

Yes: the tax analysis of a plan to set up in Morocco falls under tax advice, before any decision is taken.

Texts cited: General Tax Code, 2026 edition published by the Directorate General of Taxes (Articles 5, 15, 19, 19 bis, 23, 25, 174, 213 and 214). The tax treaties concluded by Morocco are not reproduced here: their text must be checked for each country and each type of income.

El Mankibi Law Firm, Casablanca Bar is a law firm registered with the Casablanca Bar, located at the Imane Centre. For an overview of its practice areas, see the tax law firm in Casablanca page.

Write to the firm

An international question: contact the firm

Present your request using the form below or write to the firm on WhatsApp to arrange a meeting at the firm, in central Casablanca. No documents are sent through the form.

Contact the firm on WhatsApp

Contact and appointments

Your request

This form needs JavaScript to be sent. You can contact the firm directly on WhatsApp.

Contact the firm on WhatsApp
WhatsApp Appointment