Skip to content

SHIF, NSSF and PAYE: Getting Kenyan Payroll Right

Kenyan payroll is a stack of statutory deductions - PAYE, SHIF, NSSF and the housing levy - each with its own rules. Getting the order and the remittances right is what keeps you compliant.

By Karani Geoffrey, Founder & CEO, Upeosoft
In short

Kenyan payroll requires employers to compute gross pay, then apply statutory deductions - PAYE to KRA, SHIF for health, NSSF for pension, and the housing levy - each with its own basis and rules. You remit these to the right bodies by their deadlines and give employees a payslip. Automating the calculations is what prevents costly errors.

Key takeaways
  • Employers must handle four main statutory obligations: PAYE, SHIF, NSSF and the housing levy.
  • PAYE is income tax deducted per graduated bands, after allowable reliefs and deductions.
  • SHIF replaced NHIF as the health contribution and is calculated on gross pay.
  • NSSF operates on a tiered structure with contributions from both employee and employer.
  • The order of calculation matters because some deductions affect taxable pay.
  • Rates and bands change - always confirm current figures with KRA and the relevant bodies.

Payroll is a stack, not a single number

Paying staff in Kenya is not just handing over an agreed salary. It is computing gross pay, then working through a stack of statutory obligations - PAYE, SHIF, NSSF and the housing levy - each with its own rules, its own body to remit to, and its own deadline. What lands in the employee's account is what remains after that stack is applied correctly.

Getting this right is a legal duty on the employer, not the employee. Mistakes are yours to fix, with penalties attached, which is why payroll deserves proper systems rather than a spreadsheet someone updates by memory.

PAYE: income tax on employment

PAYE (Pay As You Earn) is the income tax you deduct from employees on behalf of KRA. It is computed on taxable pay using graduated bands, so income is taxed progressively - lower portions at lower rates, higher portions at higher rates. Reliefs such as personal relief reduce the tax payable, and certain allowable deductions reduce the taxable base.

The subtlety is that some statutory contributions interact with the taxable figure, so the sequence of calculation affects the final PAYE. This is precisely the kind of interdependency that manual payroll gets wrong. Confirm the current bands and reliefs with KRA, as they are adjusted from time to time.

SHIF: the health contribution that replaced NHIF

SHIF, the Social Health Insurance Fund, is the mandatory health contribution that replaced NHIF. The important practical change is the mechanism: where NHIF used fixed banded amounts, SHIF is calculated as a percentage of gross pay. Employers deduct it for their staff and remit it.

Because the basis moved from bands to a percentage of gross, any payroll process built around the old NHIF logic had to be updated. If your system still thinks in NHIF bands, it is computing the wrong figure. This is a good example of why payroll software needs active maintenance, not set-and-forget.

NSSF: tiered pension contributions

NSSF is the national pension scheme, and contributions are tiered against defined earnings limits rather than being a single flat amount. Both employee and employer contribute, and the tier structure means the contribution scales with earnings up to the set limits.

The tiered design has been rolled out in phases, with the limits and therefore the amounts changing over time. Your payroll must apply the correct tier logic for the current period, split the employee and employer portions properly, and remit to NSSF. Confirm the prevailing tiers and limits with NSSF, since these have moved and may move again.

The housing levy and other deductions

The affordable housing levy is an additional statutory obligation calculated on gross pay, with an employer and employee element, remitted through the applicable channel. Alongside the statutory items, real payslips often carry voluntary and contractual deductions.

  • SACCO contributions and loan repayments deducted at source.
  • Salary advances and staff loans being recovered.
  • Union dues or welfare contributions where applicable.
  • Any court-ordered deductions.

Why order and accuracy make or break payroll

Because some deductions affect the base on which others are calculated, payroll is not a set of independent sums - it is a sequence. Apply them in the wrong order and every downstream figure is off, including the tax you remit to KRA. Multiply that across a team, every month, and small errors compound into real liabilities.

Add the fact that rates, bands and tiers change, and it becomes clear why manual payroll is a standing risk. The safe approach is a system that encodes the current rules, applies them consistently, produces accurate payslips, and generates the remittance figures for each body automatically.

How Upeosoft gets payroll right with ERPNext

We implement Kenyan payroll on ERPNext, configured for the local statutory stack - PAYE bands and reliefs, SHIF on gross, NSSF tiers, and the housing levy - so calculations follow the correct sequence and produce accurate payslips every month. Because the rules change, we keep the configuration current rather than leaving you on stale logic.

Payroll then connects to the rest of your accounting, so salaries, deductions and remittances flow into your books without re-keying. If your payroll is living in a fragile spreadsheet or an outdated system, talk to Upeosoft about putting it on a foundation you can trust.

Frequently asked questions

What deductions must a Kenyan employer make from salaries?

The core statutory deductions are PAYE (income tax to KRA), SHIF (health), and NSSF (pension), plus the affordable housing levy. Some of these are employee deductions, some involve an employer contribution too, and each is remitted to a different body by its own deadline. On top of these you may have voluntary items like SACCO or loan deductions.

How is PAYE calculated?

PAYE is calculated on taxable pay using graduated tax bands, so different portions of income are taxed at different rates. Certain reliefs, such as personal relief, and allowable deductions reduce the tax due. Because some statutory contributions can affect the taxable figure, the order in which you apply deductions matters, which is exactly why manual payroll is error-prone.

What is SHIF and how does it differ from NHIF?

SHIF, the Social Health Insurance Fund, replaced NHIF as the mandatory health contribution. Rather than the older fixed banded amounts under NHIF, SHIF is calculated as a percentage of gross pay. Employers deduct it and remit it for their employees. Because the mechanism changed, payroll systems and processes had to be updated to compute it correctly.

How does NSSF work for employers?

NSSF is the national pension contribution and operates on a tiered structure, with contributions calculated against defined earnings limits. Both the employee and the employer contribute, and the amounts are remitted to NSSF. The tiered design means the contribution is not a flat figure for everyone, so your payroll must apply the correct tier logic.

What happens if I get payroll deductions wrong?

Errors expose you to penalties, interest and back-payments to KRA and the other bodies, and they erode employee trust when payslips are wrong. Under-deducting means you owe the shortfall; over-deducting means you have short-changed staff. Given how frequently rates and rules change, automating payroll and keeping it updated is the reliable way to stay compliant.

Karani Geoffrey
Karani Geoffrey
Founder & CEO, Upeosoft

Karani Geoffrey is the Founder & CEO of Upeosoft, a software and automation company rooted in Kenya. He builds custom software, AI systems, and production-grade ERPNext for businesses across East Africa, and writes about the Kenyan realities - eTIMS, M-Pesa, SHIF, unreliable internet and power - that make or break real systems.

Next step

Want this working in your business?

Upeosoft builds and hardens the systems behind this article - for real Kenyan operations, with eTIMS, M-Pesa and offline realities handled.

Keep reading

Kenyan Compliance and Integrations

Why Your Software Needs to Work Offline in Kenya

In Kenya, connectivity is not guaranteed. Offline-first software keeps your business running through outages and syncs the moment the line returns - so a dropped connection never means a lost sale.

6 min readRead article →
Kenyan Compliance and Integrations

Building Software That Survives Kenyan Internet and Power

Kenyan software has to survive two hostile conditions at once: internet that drops and power that fails. Resilience is a set of deliberate design choices, not luck.

6 min readRead article →
Kenyan Compliance and Integrations

Understanding eTIMS: A Plain-Language Guide for Non-Accountants

eTIMS in plain words: it is KRA's way of seeing your invoices as you issue them, so tax reporting is built from real transactions rather than end-of-month guesswork.

6 min readRead article →