Recommended resources
The freely available resources this lesson will direct you to.
Welcome back to the course.
In our last lesson, we focused on your annual reporting duty to the tax authorities by preparing the État 9421. You learned how to consolidate a full year of payroll data to determine an employee's taxable income and the total tax withheld. This was about external reporting.
Today, we bring the focus back inside the company's own records. Having calculated all the components of pay—gross salary, employee deductions, employer contributions, and net pay—we must now correctly record these financial events in the general ledger. This lesson will teach you how to describe the accounting entries required to record salaries, social charges, and income tax. This process ensures that the company's financial statements accurately reflect its payroll expenses and liabilities, completing the link between payroll administration and financial accounting.
1. The Logic of Payroll Accounting
Before diving into the specific journal entries, let's establish the fundamental logic. When a company pays its employees, several things happen from an accounting perspective:
- The company incurs an expense: The primary expense is the employee's Gross Salary (
Salaire Brut). However, the company also pays additional costs on top of this, namely the Employer's Social Contributions (Charges Patronales). Both are expenses. - The company creates liabilities: The company doesn't just pay the employee. It acts as a collector for the state and social organizations.
- It withholds the employee's share of social contributions (CNSS, AMO, etc.), which it owes to the social security organization.
- It withholds income tax (
Impôt sur le Revenu- IR), which it owes to the tax authority (DGI).
- The remaining amount, the Net Salary (
Salaire Net à Payer), is owed to the employee until payment.
This is why payroll accounting isn't a single debit and credit. It's a multi-step process that correctly allocates expenses and acknowledges all the parties the company owes money to.

2. The Three-Step Accounting Process for Payroll
To ensure clarity and control, payroll accounting is best performed in a sequence of three distinct steps. We will follow this structure, which is standard practice in Moroccan companies.
To get a detailed view of the specific accounts used in the Moroccan Chart of Accounts (Plan Comptable Général Marocain), you will refer to the following resource. It provides a clear breakdown of the journal entries.
Comptabilité Marocaine : La comptabilisation de la paie et des charges sociales
Please read the following article from NSE-MA. It provides the specific Moroccan account numbers and structure for the journal entries we are about to discuss.
Focus on the sections titled 'Comptabilisation des salaires au Maroc : Passation du salaire brut au salaire net' and 'Comptabilisation des salaires au Maroc : Comptabilisation des charges sociales patronales'. Pay close attention to the account numbers (e.g., 61711, 4441, 4432) and whether they are debited or credited.
Now, let's walk through the three steps.
Step 1: Record Gross Salary, Deductions, and Net Pay
This is the main journal entry. It recognizes the total salary expense and creates the corresponding liabilities for the amounts withheld and the net salary owed.
The entry is structured as follows:
| Compte (Account) | Libellé (Description) | Débit | Crédit |
|---|---|---|---|
| 6171 | Rémunération du personnel | Gross Salary | |
| 61711 Appointements et salaires | |||
| 61712 Primes et gratifications | |||
| ...etc. | |||
| 4432 Rémunérations dues au personnel | Net Salary | ||
| 4441 Organismes sociaux | Employee CNSS/AMO | ||
| 4443 Caisses de retraite | Employee Pension | ||
| 44525 État, IGR | Income Tax (IR) | ||
| 3431 Avances et acomptes | Advances Repaid |
Explanation:
- Debit (Dr): We debit account
6171 Rémunération du personnelfor the full Gross Salary. This recognizes the expense on the Income Statement. In practice, you would use the detailed sub-accounts. - Credits (Cr):
- We credit
4432 Rémunérations dues au personnelfor the Net Salary. This creates a liability on the Balance Sheet, showing the amount owed to employees. - We credit
4441 Organismes sociauxfor the employee's share of CNSS and AMO contributions that were withheld. This is a liability to the CNSS. - We credit
44525 État, IGRfor the income tax withheld. This is a liability to the tax authority (DGI). - If any advances (
avances) or down payments (acomptes) were given to the employee earlier in the month, you would also credit account3431 Avances et acomptes au personnelto clear that advance.
- We credit
Step 2: Record Employer's Social Contributions (Charges Patronales)
The company's cost is more than just the gross salary. This second entry records the employer's own share of social charges as an additional expense.
| Compte (Account) | Libellé (Description) | Débit | Crédit |
|---|---|---|---|
| 6174 | Charges sociales | Employer Charges | |
| 61741 Cotisations de sécurité sociale | |||
| 61742 Cotisations aux caisses de retraite | |||
| 6176 | Charges sociales diverses | Training Tax | |
| 61767 Taxe de formation professionnelle | |||
| 4441 Organismes sociaux | Employer CNSS/AMO | ||
| 4443 Caisses de retraite | Employer Pension | ||
| 4448 Autres organismes sociaux | Training Tax Payable |
Explanation:
- Debits (Dr): We debit the expense accounts
6174 Charges socialesand6176 Charges sociales diverses. This includes the employer's portion of CNSS/AMO contributions and the mandatory Professional Training Tax (Taxe de Formation Professionnelle), which is 1.6% of the gross salary mass. - Credits (Cr): We credit the corresponding liability accounts, mainly
4441 Organismes sociaux, increasing the amount owed to the CNSS.
After these two steps, your books correctly reflect:
- Total personnel cost (Gross Salary + Employer Charges) in your
Classe 6expense accounts. - Total liabilities (Net Pay + All Contributions + Taxes) in your
Classe 4liability accounts.
Step 3: Record the Payments
The final step is to record the cash outflow when you settle these liabilities. This involves two main payments.
A. Payment of Net Salaries to Employees:
This is usually done at the end of the month by bank transfer.
| Compte (Account) | Libellé (Description) | Débit | Crédit |
|---|---|---|---|
| 4432 | Rémunérations dues au personnel | Net Salary | |
| 5141 Banques | Net Salary |
- This entry clears the liability to employees (
4432) and reduces the company's cash (5141).
B. Payment of Social Charges and Taxes:
This is typically done the following month, before the deadline.
The consolidated journal entry would look like this:
| Compte (Account) | Libellé (Description) | Débit | Crédit |
|---|---|---|---|
| 4441 | Organismes sociaux (Part S+P) | Total CNSS/AMO | |
| 4443 | Caisses de retraite (Part S+P) | Total Pension | |
| 44525 | État, IGR | Total IR | |
| 4448 | Autres organismes sociaux | Training Tax | |
| 5141 Banques | Total Paid |
- This entry clears all the payroll-related liabilities from the Balance Sheet and records the final cash outflow.
Test your understanding!
Let's use a simple case for a Moroccan SME. For the month of May, the company has one employee with the following data:
- Gross Salary (
Salaire Brut): 10,000 MAD - Employee CNSS/AMO deductions: 674 MAD
- Employer CNSS/AMO/TFP contributions: 2,219 MAD
- Income Tax (IR) withheld: 825 MAD
- Net Salary (
Salaire Net): 8,501 MAD
Based on the three-step process, prepare the journal entries to:
- Record the gross salary and deductions.
- Record the employer's contributions.
- Record the payment of the net salary.
Show answer
1. Journal Entry for Gross Salary & Deductions:
| Compte | Libellé | Débit | Crédit |
|---|---|---|---|
| 6171 | Rémunération du personnel | 10,000 | |
| 4432 Rémunérations dues au personnel | 8,501 | ||
| 4441 Organismes sociaux | 674 | ||
| 44525 État, IGR | 825 | ||
| To record gross salary for May |
2. Journal Entry for Employer Contributions:
| Compte | Libellé | Débit | Crédit |
|---|---|---|---|
| 6174/6176 | Charges sociales | 2,219 | |
| 4441/4448 Organismes sociaux | 2,219 | ||
| To record employer payroll charges for May |
3. Journal Entry for Payment of Net Salary:
| Compte | Libellé | Débit | Crédit |
|---|---|---|---|
| 4432 | Rémunérations dues au personnel | 8,501 | |
| 5141 Banques | 8,501 | ||
| To record payment of May net salary |
3. Professional English Vocabulary
As you interact with international systems or colleagues, knowing the English equivalents of these terms is essential.
| French Term (Moroccan GAAP) | Professional Accounting English |
|---|---|
Rémunération du personnel |
Personnel Expenses / Salaries & Wages |
Charges sociales |
Social Charges / Payroll Taxes |
Rémunérations dues au personnel |
Salaries Payable / Accrued Salaries |
Organismes sociaux |
Social Security Bodies / Payables |
État, IGR |
State, Income Tax Payable |
Écriture de paie |
Payroll Journal Entry |
Conclusion
You have now learned the complete accounting cycle for payroll. This is a fundamental monthly process for any accountant. By correctly performing these entries, you ensure that the company's expenses are recognized in the period they are incurred (the accrual principle) and that all liabilities to employees and state bodies are accurately tracked.
Key Takeaways:
- Payroll accounting is a three-step process:
- Record Gross Salary and Liabilities: Debit
6171, Credit4432,4441,44525. - Record Employer Charges: Debit
6174/6176, Credit4441/4448. - Record Payments: Debit the liability accounts (
44xx) and Credit5141 Banques.
- Record Gross Salary and Liabilities: Debit
- The total cost to the company is the Gross Salary + Employer Charges.
- This process correctly reflects expenses on the Income Statement and liabilities on the Balance Sheet.
Preview of the Next Lesson:
So far in this module, we have focused on the process of payroll—declarations and accounting. But what are the rules that govern the relationship in the first place? In our next lesson, we will step back from the numbers to explore the basic legal framework for employment contracts and termination in Morocco. This will provide essential context for your role as a professional responsible for managing personnel data.