End of service gratuity is the largest long-term employee liability on most UAE balance sheets, and since the labour law changed in February 2022, many companies still calculate it the old way. The formula is now simpler and, for employees who resign, more generous. Here is how gratuity works today, with examples, and how to keep the provision accurate in Odoo month by month.
FlexCode Middle East is part of FlexCode Systems GmbH, an Odoo Silver Partner. We implement Odoo, so Odoo is the system we describe, next to an honest look at the topic itself.
Key points
- 21 then 30 days. 21 days of basic wage for each of the first five years, 30 days for each year after.
- Basic wage only. Allowances such as housing and transport are not included.
- No resignation cut. Under the 2021 law, employees who resign after one year receive the full gratuity.
- Capped at two years. Total gratuity cannot exceed two years of wages.
The rules under the current labour law
Federal Decree-Law No. 33 of 2021 on the Regulation of Labour Relations took effect on 2 February 2022 and applies to private sector employees in the UAE outside the financial free zones of DIFC and ADGM, which have their own rules. An employee who completes at least one year of continuous service is entitled to gratuity when the contract ends.
21 days
Basic wage per year, years 1 to 5
30 days
Basic wage per year after year 5
1 year
Minimum continuous service
2 years
Maximum total gratuity in wages
Gratuity is calculated on the last basic wage, excluding allowances. The daily wage is generally the monthly basic wage divided by 30. Days of unpaid absence are not counted as service. Parts of a year count proportionally once the first year is complete.
What changed in 2022
Under the previous law, an employee who resigned with less than five years of service received only part of the gratuity, a third or two thirds depending on length of service. The 2021 law removed that reduction: an employee who resigns after completing one year receives the same gratuity as one whose contract is terminated, subject to the usual exceptions such as dismissal for serious misconduct under the law.
| Point | Old law | Current law |
|---|---|---|
| Resignation before 5 years | Reduced to 1/3 or 2/3 | Full gratuity after 1 year |
| Limited and unlimited contracts | Different rules | All contracts are fixed term, same rule |
| Basis | Basic wage | Basic wage |
| Cap | Two years of wages | Two years of wages |
If your payroll still applies resignation fractions, the provision is understated and final settlements may be short. Review your rules against the current law.
Worked examples
Take an employee with a monthly basic wage of AED 9,000, so a daily wage of AED 300.
| Service | Calculation | Gratuity |
|---|---|---|
| 3 years | 3 x 21 x 300 | AED 18,900 |
| 5 years | 5 x 21 x 300 | AED 31,500 |
| 8 years | 5 x 21 x 300 + 3 x 30 x 300 | AED 58,500 |
| 8 years, resigned | Same as above under current law | AED 58,500 |
| 30 years | Formula gives AED 256,500, capped at 2 years of wages | AED 216,000 |
Because the basis is basic wage only, the way salaries are split between basic and allowances has a large effect on the liability. A package of AED 15,000 with a basic of AED 9,000 carries far less gratuity than the same package with a basic of AED 12,000.
The end of service savings scheme
Since 2023, private sector employers in the UAE can opt into a voluntary savings scheme, approved by the Cabinet, under which they pay monthly contributions for each employee into approved investment funds instead of accruing gratuity on the balance sheet. Employees receive their accumulated contributions and returns when they leave.
For accounting, the scheme turns a growing liability into a monthly expense. In Odoo, the contribution becomes a salary rule with a payable to the fund, and the gratuity provision for covered periods stops growing. Companies considering the scheme should model the cash impact first, because contributions are paid every month.

Accruing gratuity in Odoo
- Basic wage and join date in Odoo
- Gratuity recalculated monthly
- Change booked to the provision
- Paid in the final settlement
- Provision released
Each employee's provision should match what they would receive if they left today.
- Record the correct join date and unpaid leave for every employee, especially after a migration.
- Keep basic wage as a separate contract field from allowances.
- Use the UAE payroll localization rules for gratuity, updated to the current law without resignation fractions.
- Post a monthly provision entry from payroll and reconcile the provision account with the employee-level report.
- Calculate final settlements in Odoo so leave balances, gratuity and deductions are in one document.
Final settlements are paid through payroll and the WPS file; see UAE WPS payroll and the SIF file. For Saudi Arabia, the equivalent is explained in the end of service award in Saudi Arabia, and the regional overview is in Odoo Payroll for Saudi Arabia, the UAE and Egypt.
FlexCode sets up UAE payroll and gratuity in Odoo
We correct join dates and wage splits, configure gratuity under the current law, and reconcile the provision with your auditors.
Frequently asked questions
How is gratuity calculated in the UAE?
21 days of basic wage for each of the first five years of service and 30 days for each year after, capped at two years of wages.
Does resignation reduce gratuity?
Not under Federal Decree-Law No. 33 of 2021. After one year of service, employees who resign receive the full gratuity, subject to legal exceptions.
Are allowances included?
No. Gratuity is based on the basic wage only.
What is the UAE end of service savings scheme?
A voluntary scheme where employers pay monthly contributions into approved funds instead of accruing gratuity.
Does this apply in DIFC and ADGM?
No. Those financial free zones have their own employment laws and end of service schemes.
Talk to us about how Odoo fits your business. Book a free call
Sources
This article explains the rules in general terms and is not tax or legal advice. Check the details for your company with your tax adviser.
Run invoicing, stock and accounts from one system.
FlexCode Middle East implements Odoo in Arabic and English for companies in Egypt, Saudi Arabia and the UAE.