← Software Buying Guide

Software buying guide

End-of-Service Gratuity in UAE Payroll Software

What the law says about gratuity, and how to test that payroll software gets it right before a leaver finds the mistake.

Last reviewed 27 Nov 2026

In short: UAE payroll software should accrue end-of-service gratuity every month and calculate the final amount on the leaver's last basic wage: 21 days for each of the first five years and 30 days for each year after that, pro rata for part years, capped at two years' wages, with unpaid absence left out of service. It must also handle the cases that break simple calculators: part-time staff, Emirati employees under pension law, MoHRE's voluntary savings scheme and free zones with their own rules.

SoftwareSensum is an AI Powered Software Buying Assistant. You describe what you need. An AI call confirms your requirements, and you receive a shortlist of vendors ranked on fit. Vendor names are not listed on this page. We do not give legal advice.

For the wider product choice, see our payroll software buying guide and the HR and payroll hub.

Key facts

  • Who qualifies: full-time foreign workers in the private sector with at least one year of continuous service. Under one year, no gratuity.
  • Rate: 21 days' wage per year for the first five years, then 30 days per year after that.
  • Which wage: the last basic wage, without housing, transport or other allowances.
  • Part years: after the first full year, fractions of a year count proportionally.
  • Unpaid absence: days of unpaid absence do not count as service.
  • Cap: total gratuity cannot exceed two years' wages.
  • When: wages, other dues and gratuity must be settled within 14 days of the contract ending. Amounts the worker owes the employer can be deducted.
  • UAE nationals: end-of-service follows pensions and social security law instead.

The cases payroll software must get right

Basic wage kept separate. If the system stores one salary figure, gratuity will be wrong. Basic wage and each allowance need their own fields, with the history of changes.

Service dates that respect unpaid leave. Approved unpaid leave and unpaid absence must reduce counted service automatically.

Part-time staff. Gratuity is pro rata: contract hours per year divided by full-time hours per year, applied to the full-time amount. Temporary work under a year earns no gratuity.

The savings scheme. Employers can join MoHRE's voluntary savings scheme instead of traditional gratuity for enrolled staff. Contributions for full-time staff are 5.83% of monthly basic salary in the first five years and 8.33% after that, within 15 days of the start of each month. Gratuity earned before enrolment must still be calculated and settled. The software has to run both methods and the switch-over date per employee.

Emirati employees. Pension contributions to the relevant fund replace gratuity, so the system must apply the right scheme per person.

DIFC and ADGM. DIFC uses funded workplace savings instead of unfunded gratuity, and ADGM has its own employment regulations. Keep each entity's rules separate.

Monthly accrual. Finance needs the gratuity liability every month, per employee and in total, posted to the books, not worked out only when someone leaves.

Final settlement. One document that shows gratuity, unused leave, last salary and deductions, which HR, finance and the employee can all follow, and which can go through WPS where required.

A five-case demo test

Ask each vendor to calculate these live and show the working:

  1. A worker leaving after 11 months: no gratuity.
  2. A worker leaving after 3 years and 4 months, with 10 days' unpaid leave.
  3. A worker leaving after 30 years: check the two-year cap is applied correctly.
  4. A part-time worker on half the full-time hours after 4 years.
  5. A worker moved into the savings scheme after 6 years: settle the earlier gratuity, then switch to contributions.

If the vendor needs a spreadsheet for any of these, keep looking.

Payroll software, HR suite or a gratuity add-on?

Gratuity lives where payroll lives. If you run an HR and payroll suite, test it there. If payroll is separate, test the payroll software and confirm basic wage and leave data come in cleanly from your HR software. Stand-alone gratuity calculators rarely help, because the accrual has to post to your accounting software every month.

How SoftwareSensum helps you shortlist

Tell us in one sentence what you need, for example "payroll for 400 staff with gratuity accruals, part-timers and some staff on the savings scheme". SoftwareSensum helps you get to a short list of payroll vendors that fit.

Common questions

How is gratuity calculated in the UAE?

On the last basic wage: 21 days per year for the first five years, 30 days per year after that, pro rata for part years after the first year, capped at two years' wages.

Do allowances count towards gratuity?

No. Gratuity is calculated on the basic wage only.

When must gratuity be paid?

Within 14 days of the contract ending, together with outstanding wages and other dues.

Can payroll software handle the savings scheme?

Good software runs both methods, settles gratuity earned before enrolment and tracks contributions after. Test it in a demo.