Clara runs finance at a small SaaS company in Lyon. When an invoice came in from Yasmine, a UX designer working from Marrakech, Clara's first instinct was to withhold 10 percent before paying, the way she would for any other non-resident contractor. Yasmine pushed back, and neither of them was entirely sure who was right. The answer sits in a treaty most European finance teams have never opened, even though it directly shapes how Moroccan contractors get paid.
Under the Morocco-France tax treaty, signed on 29 May 1970 and in force since 1 December 1971, a Moroccan freelancer with no fixed place of business in France is taxed only in Morocco on independent service income (Article 20). That means a French client generally has no withholding obligation on these fees at all.

What the Morocco-France tax treaty actually covers
The treaty signed in Paris in 1970 splits taxing rights between the two states so the same income is never taxed twice. An amending protocol followed on 18 August 1989, approved by French law n° 90-353, which mainly reworked how dividends, interest and public-sector pay are treated. Article 20, the one that matters for freelancers, has stayed essentially unchanged since the original text.
That article covers what it calls independent professions and other self-employed activities. The rule is direct: income is taxable only where the person earning it is domiciled, unless they maintain a fixed base in the other country, in which case only the portion tied to that base becomes taxable there. A consultant working out of Casablanca or Rabat, with no office or physical presence in France, stays entirely on the Moroccan side of that line.
France's own tax administration (BOFiP, reference BOI-INT-CVB-MAR) confirms that Article 20 applies to nearly all intellectual and consulting work. Trading in physical goods falls under a different article governing business profits, which brings in the separate concept of a permanent establishment, and a different set of rules entirely.
Does a Moroccan freelancer get taxed twice on income from a French client?
No, not in the situation above: Moroccan tax residency, no French establishment, and a service that counts as intellectual or consulting work. The income is taxed exactly once, in Morocco, under whatever regime applies to that activity (the flat self-employed rate, for instance, covered in our guide to self-employed tax in Morocco).
This is exactly where Clara's instinct went wrong, and it is a common mistake. Plenty of French and European finance teams default to withholding on any invoice arriving from outside the country, without checking whether a bilateral treaty already rules that out. The caution is not unreasonable on its own. Some categories of income genuinely do carry a withholding obligation under the same treaty, which is why the instinct exists in the first place.
Should a French client withhold tax on a Moroccan contractor's invoice?
It depends entirely on what the invoice is actually for. The treaty does not treat every type of income the same way, and mixing up the categories gets expensive, for the contractor or for the client who gets it wrong.
| Type of income | Treaty article | French withholding |
|---|---|---|
| Consulting, development, writing, design (independent professions) | Article 20 | None, if no fixed base in France |
| Copyright royalties | Article 16 | Up to 5% of gross amount |
| Other royalties (technical studies, licensing) | Article 16-2 | Up to 10% of gross amount |
| Salary for work physically performed in France | French tax code Article 182 A | Withholding applies |
A developer billing custom code falls squarely in the first row. A consultant who assigns copyright over a report or a proprietary methodology, on the other hand, can slide into the royalties category, where 5 to 10 percent withholding applies to that portion specifically. The line between the two is not always obvious from the contract alone, and a loosely worded agreement can push a consulting fee into royalty territory without either side noticing until an audit flags it. A Moroccan beneficiary can apply for the reduced French rate directly through forms 5000-SD and 5003-SD (source: BOFiP, reference BOI-INT-CVB-MAR, para. 240 to 250).
How does a Moroccan contractor prove tax residency to a foreign client?
The most effective move, in practice, is requesting a tax residency certificate from Morocco's General Directorate of Taxes (DGI). This document formally establishes that the contractor is taxed in Morocco on their full income, which gives the foreign client something concrete to show their own tax authority to justify skipping the withholding.
Morocco's DGI has been gradually moving several of these certificates onto its Simpl online portal over the past few years, and depending on the case, some can now be requested without a visit to the local tax office. It is worth checking the exact process with your own tax center, since the rollout has not moved at the same pace everywhere. Once the certificate is in hand, send a copy to the client before they even ask. That single step would have spared both Clara and Yasmine an awkward back-and-forth over an invoice that should have been straightforward.
What if the contractor splits time between Morocco and France?
The analysis changes completely if someone counts as a French tax resident, for instance by spending more than 183 days a year there, keeping their household in France, or earning most of their income from French sources. In that case, the treaty's domicile article puts France, not Morocco, in the position of primary taxing state for that person's worldwide income.
A freelancer splitting time between Casablanca and Paris needs to settle this question before invoicing anyone, and it is not a grey area without an answer. The treaty lays out a clear, ranked set of tests (permanent home, center of vital interests, habitual residence, nationality) to resolve apparent dual residency. An accountant who regularly handles French-Moroccan files usually settles this in a single consultation.
Does this work the same way for self-employed status, umbrella companies and EOR?
For a Moroccan auto-entrepreneur, yes. They invoice in their own name, so their personal tax residency is what triggers Article 20. The flat 1% tax they pay on revenue (see our guide to self-employed tax in Morocco) stays owed in Morocco regardless, and the treaty's role is simply to rule out a French withholding, not to change the local rate.
Under an umbrella company arrangement, the logic shifts slightly. The Morocco-based umbrella entity invoices the end client and pays the consultant a net salary, so the treaty protects the relationship between the umbrella company and the French client rather than the consultant directly, who receives ordinary salary income subject to Moroccan payroll tax and CNSS contributions (see our guide to CNSS contributions). That distinction is exactly why some contractors with a heavy volume of French clients hand this compliance question to an umbrella company rather than track it themselves, and it is also why a foreign company that would rather not deal with any of this tends to reach for an Employer of Record instead, which absorbs the whole question on the company's behalf.
One more thing worth flagging: this treaty says nothing about repatriating foreign currency earnings. That is a separate obligation under Morocco's Office des Changes, and it applies whether or not the tax treaty question has been settled (see our full guide to Morocco's currency rules). A contractor can be entirely correct on the tax side and still be out of compliance on the currency side, and the two issues get resolved independently.
Does Morocco have similar treaties beyond France?
Yes, and that matters for anyone billing clients outside France too. Morocco has signed more than 65 bilateral double-taxation treaties, several with countries that are major markets for Moroccan freelancers and remote contractors (source: Moroccan tax treaty directory, Upsilon Consulting).
| Country | Signed | Equivalent independent-profession article |
|---|---|---|
| France | 29 May 1970 | Article 20 |
| Spain | 10 July 1978 | Equivalent provision, same logic |
| Germany | 7 June 1972 | Equivalent provision, same logic |
| Netherlands | 12 August 1977 | Equivalent provision, same logic |
| Canada | 22 December 1975 | Equivalent provision, same logic |
The same basic logic found in Article 20 of the French treaty shows up, with wording variations, in most of these agreements: income from independent activity stays taxed in the contractor's state of residence, unless they maintain a fixed base abroad. But each treaty carries its own signing date, its own amendments, and sometimes its own sector-specific carve-outs. Checking the exact text that applies to a specific client's country before signing a significant contract saves a lot of back-and-forth with an unfamiliar finance department later.
Before the next invoice crosses the Morocco-France border, two habits cover most of what matters: get the Moroccan tax residency certificate in place as soon as the business relationship becomes recurring, and state plainly in the contract or terms of service that the 1970 Morocco-France tax treaty governs the engagement. None of this replaces an accountant's opinion on a genuinely complex file, but it resolves nine cases out of ten before they ever turn into a problem.
Photo by Thirdman via Pexels
