Payroll Morocco for a foreign company without a local entity usually runs through an Employer of Record (EOR). The EOR becomes the legal employer of your Moroccan hire, runs the monthly payroll, files the social security declarations with the CNSS and handles income tax withholding, while you keep day-to-day control of the work.
If you are hiring in Morocco for the first time, the quickest way to test whether this model fits is a short conversation with a team that runs EOR payroll locally. You can start on the Weepo Maroc website and describe the role, the salary range and the start date.
What payroll Morocco means when you have no local entity
Payroll Morocco is more than a monthly bank transfer. Each month someone has to calculate gross pay, apply the allowances that the contract provides for, withhold income tax, declare and pay social contributions to the CNSS, and issue a payslip that the employee can read and keep. Without a local company, none of these steps has a legal home. That is why a foreign employer who wants to hire in Morocco has to choose between opening an entity and working through an EOR.
The question sounds administrative, but it changes everything else. The entity that signs the contract is the entity that carries the obligations: social security, tax, labour court exposure and end-of-contract settlements. If you cannot or do not want to carry those obligations yourself, the payroll set-up has to be built around someone who can.
Three ways to run payroll Morocco for a foreign company
Foreign companies usually compare three options. The first is a local subsidiary, typically a SARL, where your company becomes the employer after registration, bank set-up and the first filings. It gives you full control, but it also brings accounting, corporate filings and the permanent establishment questions that come with having people on the ground.
The second is a payroll bureau. A local provider calculates the payslips and prepares the declarations, but your foreign company stays the employer on paper. This suits a small number of hires where the employment relationship is simple, but it does not remove the employer risk, because the contract and the liability still sit with you.
The third is an EOR. The provider is the legal employer of record, it issues the contract under Moroccan law, runs payroll and manages the social security side, and you pay a service fee on top of the salary and the contributions. Set-up is usually faster than a subsidiary, and the provider carries the compliance work month after month.
| Option | Who is the legal employer | Typical set-up time | Who runs monthly payroll | Main risk for you |
|---|---|---|---|---|
| Local subsidiary (SARL) | Your company | Several months | Your team or an accountant | Filings, capital and permanent establishment questions |
| Payroll bureau | Your foreign company | A few weeks | A local provider, you stay the employer | Employer liability stays with you |
| Employer of Record | The EOR provider | Days to a few weeks | The EOR provider | Dependence on the provider's compliance |
Why the legal employer question matters
Many foreign managers assume that the company that manages the day-to-day work is the company that employs the person. In Morocco, the contract decides. If the person works for your team but the contract is signed by a foreign entity with no local presence, you may find that the employment relationship, the social security obligations and the tax position are all harder to defend than you expected. An EOR solves that by placing the contract with a local legal entity that is registered for these obligations.
What an EOR does every month for payroll Morocco
A well-run EOR handles the routine work in a predictable order. It prepares the payslip from the agreed gross salary, applies the contractual allowances and any overtime or leave adjustments, withholds income tax, and calculates the employer and employee contributions. It then files the declarations and pays the contributions to the CNSS, and it keeps the records that an inspector or the employee might ask for later.
The parts that most often go wrong are not the arithmetic. They are the contract type, the way leave and overtime are recorded, and the timing of the declarations. A fixed-term contract used beyond its legal limits, a leave balance that nobody tracked, or a missed monthly filing will cost more than the fee an EOR charges. For the contract rules, read the guide on employment contracts in Morocco. Leave and overtime rules follow the Labour Code, and the minimum wage that applies to your job category should be checked before you set the offer.
The CNSS publishes its current contribution rates and payment procedures on its official site. Before you finalise any cost model, check those figures directly at the CNSS payment guide and use the most recent version, because rates and ceilings are updated by the administration.
Where a foreign employer should look hardest
The first point to check is the contract. Ask who signs it, which law governs it, how the probation period is written, and what happens at the end of the contract. Ask for a sample contract before you sign any agreement with a provider. The second point is the payslip. A payslip that is not clear about gross pay, allowances, contributions and net pay makes it impossible to audit the cost later. The third point is the end of the relationship. Final settlement pay, notice periods and any severance are specific obligations, and they should be budgeted from the first day, not discovered when the employee leaves.
The fourth point is the permanent establishment question. A person working for you from Morocco can, in some configurations, create a taxable presence for your company abroad. The risk depends on how the work is organised, who has authority to conclude contracts and where the revenue is generated. If you plan a remote hire or a small team, read the note on permanent establishment risk in Morocco before you decide which structure to use.
Is an EOR the right answer for your case?
An EOR is usually the right answer when you need one to a few people in Morocco for a period of one to three years, when you do not yet want the commitment of a subsidiary, or when you want to test the market before you decide where to set up. It is less obvious when you plan a team of ten or more, a long-term centre of operations, or a business that needs its own bank accounts, local contracts with suppliers and a presence in the commercial register. In that case the subsidiary route often pays off, and the EOR can become a bridge during the set-up phase.
Some roles should not go through an EOR at all. If the person runs an independent business and invoices you as a supplier, the question is not payroll but the legal status of the relationship. Hiring a contractor who is a genuine independent provider is a different decision, and it carries its own requalification risk, which is covered in the guide on hiring contractors in Morocco.
What the cost looks like in practice
Your total cost is the gross salary, the employer contributions, the EOR service fee and any recruitment or onboarding charges. The fee is usually a monthly percentage or a flat amount per employee, and the best way to compare providers is to ask each one for a worked example using the same salary and the same start date. The detailed breakdown is in the guide on the real cost of an Employer of Record in Morocco.
Do not compare the EOR fee with the cost of a subsidiary without including the overhead of the subsidiary. Accounting, filings, a local director if the law requires one, and the time your own team spends on Moroccan compliance all belong in the comparison. Once those costs are on the table, the EOR fee often looks like a fixed cost that buys certainty, rather than an extra expense.
What this means for your hiring plan
Start by writing down the role, the expected duration, the salary you are prepared to pay gross, and the date you need the person to start. Then ask three providers to quote the same scenario and to explain, in writing, who signs the contract, who files the declarations and who answers if an inspector or the employee raises a question. A provider that can answer those three points clearly is one you can work with.
Next, check the choice of structure against the length of the engagement. If the role is likely to last longer than a few years or grow into a team, the subsidiary question should be on your agenda from the start. A good EOR provider will tell you when that moment arrives, and it will help you plan the transition rather than keep you on its platform for the sake of the monthly fee.
For a first step, the checklist in how to choose an Employer of Record provider in Morocco lists the questions to put to each provider. If you want to talk through your own headcount, timing and budget, you can also contact the Weepo Maroc team and describe the role you need to fill.
Sources and method
The contribution and tax references in this guide point to official sources: the CNSS payment and contribution pages at cnss.ma, and the 2026 General Tax Code published by the tax administration at tax.gov.ma. Figures that change every year, such as contribution rates, income tax brackets and the minimum wage, should be checked against those sources on the day you run your numbers. This article describes the structure of EOR payroll and the decisions a foreign employer has to make. It is not legal or tax advice, and a Moroccan lawyer or tax adviser should confirm the position for your specific situation before you sign anything.
