Guide

NZ tax codes explained: getting PAYE right

That little code on your payslip decides how much tax comes off each pay. Here's what M, ME, SL, ST, SH and S mean, when secondary codes apply, and what happens if yours is wrong.

Updated 9 October 2026 · WorthNav Guides

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:

  1. Which income band you're expected to land in for the year.
  2. Whether you're repaying a student loan (the S-prefix codes).

The main codes, decoded

The everyday codes

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.

The student-loan codes

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

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.

Common questions

Tax code questions, answered

What is a tax code in New Zealand?

A tax code tells your employer how much PAYE to deduct from your pay. It encodes which income tax thresholds apply to you and whether you're repaying a student loan. Most people with one job and no student loan use M; the full set includes M, ME, SL, ST, SH and S for different income levels and circumstances. Pick the wrong one and your pay will be taxed too much or too little.

What does the M tax code mean?

M is the standard code for someone whose annual income is under $70,000 (the ST threshold — check current IRD thresholds as they change) with no student loan. ME is the variant for incomes between roughly $70,000 and $180,000, where the employer deducts tax progressively across the higher bands rather than flat-rate at one rate. Using M when your income is actually higher is a common cause of year-end tax bills.

What does SL mean on my tax code?

The S prefix (SL, S, SH, ST, depending on income level) tells your employer you're repaying a student loan, so extra loan repayment comes off each pay along with PAYE. If you've finished repaying your loan, tell your employer and IRD and switch back to the matching non-SL code — otherwise you keep paying loan deductions you no longer owe.

What tax code do I use for a second job?

Secondary income uses special codes — commonly SB, S, SH, ST or SL variants depending on your total income and loan status — because your main job is assumed to use up the lower tax thresholds. Secondary tax often deducts at a flat, higher rate, which can over-tax you if your combined income is modest. The true settling-up happens at year end, so keep an eye on whether a refund or bill is coming.

What happens if my tax code is wrong?

A code that's too low under-deducts, and IRD will want the shortfall at year end — sometimes a painful lump sum. A code that's too high over-deducts, and you get it back as a refund after your year-end assessment. Fixing a wrong code is easy: tell your employer (or update it via IRD's online services), and the correction flows through from the next pay.

Not financial or tax advice. This page is general educational information for New Zealanders, not tax advice. Tax thresholds, code names and rates change over time — check IRD's current tax code guidance before choosing or changing your code.