Your tax code is the short string of numbers and letters on your payslip — usually something like 1257L — that tells your employer how much tax to deduct from your pay. Get it wrong, and you’ll either overpay (giving HMRC an interest-free loan) or underpay (storing up a bill for next year).
This guide is the hub for everything tax-code-related on this site. Each section gives you the essentials in a few sentences, then links to a detailed guide where one exists. The anatomy, emergency codes, P2 notice, and refund-form sections are unique to this hub — no other article covers them.
1. What Is a Tax Code? (How to Read Yours)
A tax code has two parts: a number and a letter. The number, multiplied by 10, is your tax-free Personal Allowance for the year. The letter describes your tax situation.
| Code part | What it means | Example |
|---|---|---|
| Number | × 10 = tax-free allowance | 1257 → £12,570 tax-free |
| L | Standard Personal Allowance | 1257L (most common) |
| M | Received 10% of partner’s allowance (Marriage Allowance) | 1257M |
| N | Transferred 10% of your allowance to partner | 1257N |
| T | HMRC needs to review your code | 1257T |
| S | Scottish taxpayer rates apply | S1257L |
| C | Welsh taxpayer rates apply | C1257L |
| K | Benefits exceed your allowance — adds taxable income | K497 |
| BR | All income at basic rate (20%), no allowance | BR |
| D0 | All income at higher rate (40%), no allowance | D0 |
| D1 | All income at additional rate (45%), no allowance | D1 |
| 0T | No allowance — uses normal bands but from £0 | 0T |
| NT | No tax deducted | NT |
A K code is the reverse of normal: instead of giving you tax-free allowance, it adds taxable income on top of your salary. This happens when your benefits in kind (typically a company car) are worth more than your Personal Allowance. The number after K × 10 is the amount added to your taxable income.
2. How to Check Your Tax Code Right Now
You don’t need to wait for a letter or call HMRC. Log into your Personal Tax Account on GOV.UK (or use the HMRC app), go to “Check your Income Tax”, and you’ll see your current code, the benefits and adjustments factored into it, and whether you’re owed a refund.
If your code doesn’t match what you expect — a benefit you no longer receive, a wrong number, a K code you can’t explain — you can update it online in most cases. For the full walkthrough of how to check, what to look for, and when to act, see our tax code checking guide.
3. Why Your Code Might Be Wrong: Stale Benefits
The most common cause of a wrong tax code is stale benefit in kind estimates. Your employer reports benefits (company car, private medical, etc.) on a P11D once a year after the tax year ends. HMRC bakes those figures into your code for the following year. If you’ve given up a benefit mid-year — handed back the car, dropped the health insurance — HMRC keeps using the old figure until someone tells them otherwise.
A code of 1157L instead of 1257L means £1,000 of allowance has been removed for a benefit HMRC thinks you’re getting. The cost isn’t £1,000 — it’s £200 at basic rate or £400 at higher rate (the allowance removed is taxed at your marginal rate, not paid as cash). For the full explanation of how stale benefits work, how much they cost, and how to remove them, see our tax code checking guide. To work out the exact tax cost of a benefit in kind, use our benefit in kind tax calculator.
4. Emergency Tax Codes: What They Mean and When They Happen
An emergency tax code is the standard code (e.g. 1257L) with a W1, M1, or X suffix — sometimes written as “1257L W1” or “1257L M1”. These markers tell your employer to calculate tax only on the current pay period, ignoring what you’ve earned and paid year-to-date.
| Marker | Meaning |
|---|---|
| W1 | Week 1 — non-cumulative, calculated on this week only |
| M1 | Month 1 — non-cumulative, calculated on this month only |
| X | Non-cumulative (used for non-standard pay periods) |
| NONCUM | Same as W1/M1 — non-cumulative operation |
What triggers an emergency code:
- Starting a new job without a P45
- Your employer doesn’t have enough details to assign the correct code
- Starting a new pension
- A mid-year change that HMRC can’t process in time
Why it matters: Because emergency codes ignore year-to-date earnings, they spread your Personal Allowance across each individual pay period rather than using what you’ve already used up. If you start a job halfway through the tax year on an emergency code, you’ll likely overpay tax — because the code assumes you haven’t used any of your allowance yet, but you may have used half of it at your previous employer.
How to fix it: Give your employer your P45 as soon as possible, or provide your Personal Tax Account details so they can look up your correct code. Once HMRC has the right information, they’ll issue a corrected code and your next payslip will adjust — including a refund of any overpaid tax.
BR and 0T can also be temporary. BR (all at basic rate) is used for second jobs where your allowance is already used at your main job. 0T (no allowance) is used when HMRC doesn’t have your details yet. Both are usually corrected once your information is received.
5. Returning to Work After a Break: How Cumulative Codes Handle Unused Allowance
A common worry for people returning to work after maternity leave, a career break, or a period of low earnings is whether they’ll be taxed heavily from day one — or whether the Personal Allowance they didn’t use up while they were off will roll forward.
The short answer: if you’re on a cumulative tax code (the standard 1257L with no W1/M1 suffix), your unused allowance carries forward automatically. You won’t be taxed for the first month or two back — your employer’s payroll system will look at your year-to-date earnings, compare them to your cumulative allowance, and only tax you on the excess.
How the calculation works
According to HMRC’s PAYE manual (PAYE11090), a cumulative tax code works on a rolling basis: at each pay day, the employer calculates your total pay since 6 April, compares it to your cumulative tax-free allowance up to that point, and deducts tax on the excess. If your cumulative pay is below your cumulative allowance, you pay no tax — and you may get a refund of tax overpaid in earlier periods.
Your monthly tax-free allowance is £12,570 ÷ 12 = £1,047.50 per month. By any given month, your cumulative allowance is £1,047.50 × the number of months since 6 April.
Worked example: returning from maternity leave in October
This is the scenario from a Reddit post that prompted this section. A worker has been on maternity leave since the start of the tax year, earning only £4,500 by October. They return to work in October at £2,900/month.
| Month | Pay that month | Cumulative pay | Cumulative allowance (£1,047.50 × months) | Taxable amount |
|---|---|---|---|---|
| April–September | £4,500 total | £4,500 | £6,285 (6 months) | £0 (below allowance) |
| October | £2,900 | £7,400 | £7,332.50 (7 months) | £67.50 |
| November | £2,900 | £10,300 | £8,380 (8 months) | £1,920 |
| December | £2,900 | £13,200 | £9,427.50 (9 months) | £3,772.50 |
In October, the cumulative pay (£7,400) barely exceeds the cumulative allowance (£7,332.50), so only £67.50 is taxed — about £13.50 in tax at 20%. In November and December, the cumulative pay catches up to the allowance and tax returns to normal levels.
The key point: the worker doesn’t need to do anything. The cumulative code handles it automatically. They won’t be “untaxed for three months” — they’ll pay very little tax in the first month back, then normal tax as the cumulative pay catches up to the cumulative allowance.
When it doesn’t work: the W1/M1 trap
If your employer puts you on a W1 or M1 (non-cumulative) code when you return — which can happen if HMRC doesn’t have your previous pay details — the calculation ignores your year-to-date earnings. Each month is taxed in isolation: £2,900 minus £1,047.50 allowance = £1,852.50 taxed at 20% = £370.50/month. You’d pay full tax from month one, even though you have £4,500 of unused allowance sitting there.
This is why it’s critical to check your tax code when you return from a break. If you see “1257L M1” or “1257L W1” on your first payslip back, contact HMRC to get it restored to cumulative. According to HMRC’s PAYE manual (PAYE64030), HMRC should restore the cumulative basis once they have your complete employment history — but it doesn’t always happen automatically.
What to do when you return
- Check your first payslip’s tax code. If it says 1257L (no W1/M1), you’re on cumulative — the unused allowance will roll forward automatically. If it says 1257L M1 or W1, you’re on non-cumulative and will overpay.
- If you’re on W1/M1, contact HMRC. Use your Personal Tax Account or call 0300 200 3300. Ask them to restore your code to cumulative basis. They’ll issue a P6 to your employer with the corrected code.
- Don’t wait for a P800. If you overpay because of a W1/M1 code, you can claim a refund through your Personal Tax Account without waiting for the end-of-year reconciliation. See our P800 tax refund guide for the process.
- National Insurance is not affected. NI is calculated per pay period, not cumulatively. You’ll pay NI from your first paycheck back regardless of your tax code.
6. The S Prefix: When HMRC Gets Your Country Wrong
An S prefix on your tax code (e.g. S1257L instead of 1257L) means HMRC has classified you as a Scottish taxpayer, which triggers different income tax rates and bands. If you live in England, Wales, or Northern Ireland, this is wrong — and the usual cause is a stale address in HMRC’s records, sometimes decades old, that got re-surfaced by an employer or DWP submission.
The financial impact depends on your income: below ~£30,000 Scottish rates are marginally lower, but above ~£43,000 you pay progressively more — potentially thousands more per year. Updating your address alone may not fix it; you need to call HMRC and ask them to correct your Scottish taxpayer status specifically. For the full diagnosis and fix, see our Scottish tax code wrong address guide.
7. Your P2 Coding Notice: How to Read and Challenge It
A P2 is HMRC’s notice of your tax code. It shows the allowances and deductions that make up your code, and it’s sent by post or visible in your Personal Tax Account. HMRC usually issues P2s in January for the tax year starting 6 April, but they can be issued at any time if your code changes mid-year.
What a P2 shows:
- Your Personal Allowance entitlement (£12,570 for 2025/26)
- Deductions that reduce your allowance — benefits in kind, underpaid tax from a previous year, untaxed income like state pension
- Additions that increase your allowance — Marriage Allowance transfer, blind person’s allowance, professional subscriptions
- The resulting tax code (allowances minus deductions, divided by 10, with a letter suffix)
- Explanatory notes for each element
How to check it: Compare every item on the P2 to your actual circumstances. Is the company car still listed? Is the underpayment from last year correct? Is your state pension estimate accurate? If anything is wrong, the P2 is your chance to catch it before it affects your payslips.
How to challenge it: You have three routes:
- Online (fastest): Sign in to your Personal Tax Account, go to PAYE → “Check your Income Tax” → “Tell HMRC about a change.” Remove obsolete benefits, update estimated income, correct prior-year items.
- Phone: Call HMRC on 0300 200 3300 with your NI number and a recent payslip.
- Post: Write to PAYE, HM Revenue and Customs, BX9 1AS.
If you can’t reach agreement with HMRC, you can formally appeal the coding notice. During an appeal, HMRC leaves the disputed items unchanged in your code while the appeal is resolved. Coding is provisional — the final position is settled after the tax year ends, either through a P800 reconciliation or your Self Assessment return.
8. P800 Tax Refunds: Do You Need to Wait?
A P800 is HMRC’s annual tax calculation letter, sent to PAYE employees between June and March after the tax year ends. You only get one if there’s a discrepancy between what you paid and what you owed. If your tax was correct, no letter is sent.
You don’t need to wait for a P800 to find out if you’re owed a refund. Log into the HMRC app or your Personal Tax Account, go to “Check your Income Tax,” and look at the current and previous tax year. If you’re owed a refund, it’ll show there with a “Claim a refund” button. Online claims arrive in your bank account within 5 working days.
For the full P800 timeline, why you might not get one every year, and what to do if yours says you owe tax, see our P800 tax refund guide.
9. Claiming a Refund Without a P800 (P50, P55, P85)
If you think you’ve overpaid but no P800 arrives — or you’re not a PAYE employee in the usual sense — there are specific HMRC forms for claiming refunds directly. The 4-year deadline applies to all of them: you have 4 years from the end of the relevant tax year to claim.
| Form | When to use it | Who it’s for |
|---|---|---|
| P50 | You’ve stopped working (unemployed 4+ weeks, retired, returning to study) and aren’t getting a pension or taxable benefits | People who left a job mid-year and overpaid because their allowance was spread across the full year |
| P55 | You’ve flexibly accessed part of your pension pot and overpaid tax on it | People who took a lump sum from their pension but didn’t empty the pot |
| P50Z | You’ve stopped work AND flexibly accessed all of your pension | People who emptied their pension pot and stopped working |
| P85 | You’re leaving the UK and want to claim back UK income tax | People moving abroad who may not be coming back |
| R40 | You want to claim back tax deducted on savings interest or investment income | People with untaxed interest below their Personal Savings Allowance |
When you don’t need a form: If you’re a PAYE employee and your overpayment is from the current or previous tax year, the fastest route is your Personal Tax Account — the “Claim a refund” button appears automatically when HMRC’s reconciliation shows you’re owed money. No form needed.
If you’re in Self Assessment: Refunds are handled through your tax return, not through P800 or these forms. Overpayment relief claims can be made for up to 4 years after the tax year end. For fixing mistakes on a return you’ve already filed, see our guide on made a mistake on your Self Assessment.
The Bottom Line
- Your tax code number × 10 = your tax-free allowance. The letter describes your situation. Anything below 1257L means something’s reducing your allowance.
- Check your code once a year in your Personal Tax Account — treat it like checking your credit file.
- Stale benefits are the most common error. If you’ve given up a company car or health insurance, HMRC may still be taxing you for it.
- Emergency codes (W1/M1) usually mean overpayment. Fix them by giving your employer your P45 or Personal Tax Account details.
- An S prefix means HMRC thinks you’re Scottish. If you live in England, it’s a stale address — and it could be costing you thousands.
- Read your P2 coding notice when it arrives. It’s your chance to catch errors before they hit your payslip.
- You don’t need to wait for a P800 to claim a refund. Check online, or use forms P50, P55, or P85 if you’ve stopped work, accessed your pension, or are leaving the UK.
Each section above links to a detailed guide where one exists. Start with how to check your tax code if you want the full walkthrough, or jump to P800 tax refunds if you’re waiting on a refund.