Why this guide exists
Morocco has grown into a capable nearshore base for US and European companies hiring French and English-capable talent in software, design, support, and operations, with Casablanca and Rabat offering a deep professional pool and time-zone overlap with both Europe and the US East Coast. The hiring is straightforward. The compliance picture confuses US founders because Morocco combines a US tax treaty, a 20 percent TVA regime, layered business and tax identifiers, and foreign exchange rules administered by a dedicated authority.
This guide covers the full stack for a US company paying contractors in Morocco. We look at the US side (W-8BEN, treaty application, 1042-S), the Morocco side (auto-entrepreneur or sole proprietor, ICE and IF, TVA, CNSS, foreign exchange), and the payment rail. By the end you should know exactly what to ask your contractor for and what each document is doing in the chain.
If you want to skip the assembly and let a platform run the whole stack, Omnivoo Contract Management handles SOW drafting, W-8BEN collection, invoice capture, and MAD or USD payouts for a flat $49 per contract.
US side: what you need to do as the payer
Step 1. Collect a W-8BEN before the first payment
Before any invoice is paid, the contractor completes Form W-8BEN and returns it to you. The form certifies the contractor is the beneficial owner of the income, is a tax resident of Morocco, and is not a US person.
The W-8BEN is valid through the end of the third calendar year after signature and must be refreshed when it expires or when a relevant fact changes. If your contractor operates through a registered Moroccan company (an SARL), the form is W-8BEN-E, the entity equivalent. Our W-8BEN checklist walks through what to verify before the first payment.
Step 2. Confirm the work is performed in Morocco
Under IRS source of income rules for personal services, services income is sourced to where the services are physically performed. If your Moroccan contractor works entirely from Casablanca, Rabat, or Marrakech, the income is Moroccan source income from the US perspective.
The practical result: no withholding, no 1042-S, and no 1099-NEC, because the 1099-NEC is for US persons only. You keep the W-8BEN, the SOW, the invoice, and the payment receipt together as your documentation packet.
If the contractor visits the US for onsite work, the days physically worked inside the US are US source days that must be allocated and may trigger withholding plus a 1042-S.
Step 3. Know the treaty for the edge cases
Morocco is on the IRS A-to-Z list of US income tax treaties, so a treaty is in force. The full text and technical explanation are available through the US-Morocco tax treaty documents.
The treaty matters only when your payment generates US source income. For pure services performed in Morocco, the US has no withholding right under source rules, so the treaty does not change anything. Where it becomes relevant is US source royalties or income tied to US-performed days. If your SOW characterizes any portion of the fee as a royalty for transferred software or other intellectual property, the treaty’s royalty article is what the contractor relies on to reduce US withholding when claiming benefits, typically by filing Form 8233 or the W-8BEN.
The cleanest practice is to draft the SOW as a pure services agreement with full IP assignment for value already included in the fee, which avoids splitting the fee into a royalty component.
Morocco side: what your contractor handles
You as the US payer are not in scope for Moroccan taxes. The contractor is. Understanding the landscape helps you talk through invoice fields.
Auto-entrepreneur or sole proprietor
A Moroccan freelancer typically registers either under the auto-entrepreneur regime, a simplified status for self-employed individuals below set turnover caps, or as a standard sole proprietor (entreprise individuelle). The auto-entrepreneur regime carries simplified and reduced taxation; higher earners operate under standard rules. Registration and filing are the contractor’s obligations. You do not deduct Moroccan tax as a foreign payer with no Moroccan presence.
ICE and IF identifiers
Moroccan businesses and individuals doing business use two identifiers. ICE (Identifiant Commun de l’Entreprise) is the unified business identifier used across administration. IF (Identifiant Fiscal) is the tax identifier issued by the Direction Generale des Impots (DGI). A contractor uses these to invoice and file. You may see them on the invoice, but they are the contractor’s identifiers.
TVA on exported services
Morocco’s TVA standard rate is 20 percent, administered by the DGI. Exported services are generally treated as outside the scope of Moroccan TVA when the documentation conditions are met, so a contractor exporting services to your US company typically does not add 20 percent to your invoice. The contractor confirms the treatment with the DGI. As the US payer, you do not pay or recover Moroccan TVA.
Morocco has also been moving toward broader electronic invoicing under the DGI, in line with its wider tax-digitalization agenda. The exact scope and timeline continue to develop, so rather than assume a fixed mandate, confirm the current requirements with the DGI if your contractor raises it.
CNSS social contributions
Self-employed Moroccans contribute to the social protection system administered by the Caisse Nationale de Securite Sociale (CNSS), covering health insurance and pension. This is the contractor’s contribution based on their declared income or turnover. It is not your obligation as a US payer.
Foreign exchange and the Office des Changes
Foreign exchange in Morocco is regulated by the Office des Changes, which sets the rules for receiving and repatriating foreign currency from exports of goods and services. The contractor typically receives your payment through their Moroccan bank, which converts to dirham, or into a foreign-currency or convertible account where the rules permit. Your role is simply to send cleanly through a transparent rail. Because foreign-exchange rules can affect how and where a contractor holds USD, confirm the current position with the Office des Changes if the contractor wants to retain dollars.
The payment rail decision
There are four real options for paying a Moroccan contractor from a US bank account.
| Rail | Typical FX margin | Speed | Notes |
|---|---|---|---|
| US bank SWIFT wire | 2 to 4 percent | 1 to 3 business days | Sender fee plus correspondent deductions; bank receipt only |
| Wise USD to MAD | Transparent where supported | Same day to a few days | MAD payout support can be limited; confirm before onboarding |
| Payoneer USD to MAD | Tiered, lower at volume | One to a few business days | Common for freelancers serving foreign clients |
| Keep funds in USD | None at send | Same day | Where the contractor holds a permitted foreign-currency account |
For Morocco, currency support varies by provider, and MAD coverage on some platforms can be limited. Confirm current support with the provider and check the contractor’s account options before onboarding. A SWIFT wire to a Moroccan bank account remains a reliable fallback.
Misclassification risk in Morocco
Morocco’s Code du travail (Labour Code) governs the employment relationship and applies a substance test. A worker engaged on paper as a contractor can be treated as an employee where the relationship shows subordination, direction and control, fixed hours, and integration into the business. Reclassification brings employee entitlements and statutory contributions that do not apply to genuine independent contractors.
The exposure can reach the US principal even with no Moroccan entity if the contractor pursues a claim. The mitigations: a properly drafted services agreement that establishes the contractor relationship in substance, a scope tied to deliverables rather than time, evidence the contractor serves other clients, and a periodic review of worker misclassification risk.
For more depth, see our guide on drafting an SOW for global contractors. The Omnivoo Contract Management SOW templates build these protections in by default, with a clear IP assignment clause.
End-to-end workflow
Here is the clean version for a US company onboarding its first Moroccan contractor.
- Send the contractor a services agreement that defines deliverables, payment, IP assignment, and termination, built on a master service agreement and a statement of work.
- Collect a signed W-8BEN before any payment moves, or a W-8BEN-E if they operate through a company.
- Confirm the contractor is registered (auto-entrepreneur or sole proprietor) with ICE and IF identifiers and can issue a compliant invoice.
- Pick a payment rail and onboard the contractor’s MAD or USD payout details, checking foreign-exchange options.
- Pay the invoice on schedule. Keep the W-8BEN, SOW, invoice, and payment receipt together.
- Review the engagement quarterly for misclassification risk and refresh the W-8BEN every three years.
If you also pay contractors elsewhere in the region, see our guides on paying Egyptian, Nigerian, and Kenyan contractors, plus the new guides on paying UAE and Ghanaian contractors. For the broader framework, see our guide on how to pay international contractors from the US.
When a platform pays for itself
A US founder paying one Moroccan contractor can do this manually. A US team paying five or more Moroccan contractors faces enough W-8BEN refreshes, invoice handling, and FX margin questions that a platform pays for itself within the first few months.
Omnivoo Contract Management costs a flat $49 per contract. We draft the services agreement with Morocco-aware IP and misclassification clauses, collect the W-8BEN, capture the invoice on every payment, run the FX payment through an MAD or USD rail to avoid SWIFT leakage, and store the full packet for audit. Transaction fees are passed through at cost, with no markup on the exchange rate and no subscription.
A simple sanity check
Three questions for every Moroccan contractor relationship.
- Is there a signed W-8BEN on file and is it less than three years old?
- Will all the work be performed in Morocco for the foreseeable future?
- Are we paying through a transparent rail that respects the contractor’s banking and foreign-exchange options without SWIFT correspondent leakage?
If yes to all three, you are most of the way to a clean US-Morocco contractor payment stack. The remaining work is misclassification hygiene over time.
Want to skip the assembly entirely? See how Omnivoo Contract Management handles Moroccan contractors end to end, browse the pay contractors hub for the full picture, or talk to our team about your specific setup.