Every payslip has a small field most people never look at after their first week of work: the tax code. It looks like administrative trivia, but it's the instruction that tells your employer exactly how much PAYE to deduct — and getting it wrong either quietly drains your pay all year (refundable, but annoying) or sets you up for a tax bill you didn't expect. Here's the plain-language tour.
What a tax code actually does
NZ income tax is progressive: different slices of your annual income are taxed at different rates, from lower rates on the first dollars up to 39% on income over $180,000. But your employer pays you weekly or fortnightly — so the tax code tells them how to slice up your annual situation into per-pay deductions. The code encodes two things:
- Which income band you're expected to land in for the year.
- Whether you're repaying a student loan (the S-prefix codes).
The main codes, decoded
M and ME
M is the standard code: one job, income under the ST threshold (around $70,000 — check current IRD numbers), no student loan. ME covers incomes from that threshold up to $180,000, deducting progressively across the higher bands so you're not under-taxed all year.
SL, ST, SH, S
Any code with the loan prefix also deducts student loan repayments each pay alongside PAYE. SL is the common one for incomes under the ST threshold with a loan; the others pair with higher income bands.
The ST, SH and S codes (without the loan suffix they work the same way as their M cousins) correspond to higher annual income bands, stepping the deduction rates up as your expected income rises. The bands and thresholds change over time — IRD publishes the current set, and any figure quoted here is the shape, not today's law.
The classic M-for-everything mistake
New employees default to M. If your actual annual income is well above the M band — or you have a student loan and didn't declare it — you're under-deducted every single pay, and the shortfall shows up as a year-end bill. If your income is well below, you're over-taxed and only get it back after assessment. Two minutes with IRD's tax code declarer fixes both.
Secondary tax codes: the second-job tangle
If you earn from two sources at once — two jobs, or a job plus regular freelance income — both payers can't assume they're taxing your first dollars. Your main job uses the primary code; your secondary income uses a secondary code (SB, S, SH, ST, SL variants) that deducts at a flat rate assuming the lower thresholds are already used up.
The catch: secondary codes often over-deduct. If your two incomes together are still fairly modest, the secondary code taxes that income at a higher rate than your combined total warrants. The system self-corrects at year end — you file, IRD calculates the true total, and you get the overpayment back as a refund — but in the meantime your cash flow took the hit. For regular side income, some people instead use a special tax code rate or ask their employer to spread the extra tax through PAYE under a tailored arrangement; IRD can tell you what's currently available.
Wrong code: what actually happens
- Under-deducted (code too low): the shortfall is owed at year end. IRD generally asks for payment or adjusts your future deductions — a lump sum in the worse cases, and UOMI-style interest can apply to underpayments, so don't sit on it.
- Over-deducted (code too high): a refund after your year-end assessment. Annoying rather than dangerous — you've given the government an interest-free loan.
- Fixing it: tell your employer in writing, or update your code with IRD directly. It applies from the next pay period; no drama, no penalty for the honest mistake itself.
The life events that should trigger a code check
Starting a second job. Paying off your student loan. A big raise across a threshold. Going from one job to casual or contract work. Each of these changes which code is right — and the code never changes itself.
Where this fits in your money picture
Your tax code is about getting PAYE exactly right — neither lending IRD money nor borrowing from it. The same discipline applies to the rest of your tax life: your KiwiSaver fund's PIR rate, provisional obligations if you earn side income (see our provisional tax guide), and how your income sits in the overall bands. Getting all the small rates right leaves more for the part that actually builds wealth — and the KiwiSaver Calculator shows what your contributions turn into when the settings are all correct.
The honest summary
One job, no student loan, under the first threshold: M. Higher income: ME or the matching band code. Student loan: the S-prefix version. Second income: a secondary code, and expect a refund at year end if it over-taxed. Check your code whenever your income shape changes, and verify current thresholds with IRD — they move.