Most people glance at their tax code once, see a jumble of numbers and letters, and never think about it again, right up until something changes and their pay looks wrong. Your tax code isn't arbitrary. Every character in it tells your employer something specific about how much of your income should be tax-free and how the rest should be taxed, and understanding it is the fastest way to spot a mistake before it costs you money.
This guide breaks down what every part of a UK tax code means for 2026/27. For how your specific code affects your take-home pay, use our take-home pay calculator.
How to Read the Numbers
For most people, a tax code is a number followed by a letter, like 1257L. The number represents your tax-free Personal Allowance, divided by ten. Multiply it back out and 1257 becomes £12,570, the standard allowance for 2026/27.
If your number is higher than 1257, you're getting more tax-free allowance than standard, often because you're receiving Marriage Allowance from a partner. If it's lower, something is reducing your allowance, commonly a benefit-in-kind like a company car, or HMRC collecting tax you underpaid in a previous year.
What the Letters Mean
The letter tells your employer about your specific circumstances.
| Letter | Meaning |
|---|---|
| L | Standard Personal Allowance. By far the most common code. |
| M | You're receiving Marriage Allowance, an extra 10% of your partner's allowance transferred to you. |
| N | You've transferred 10% of your allowance to your partner under Marriage Allowance. |
| T | HMRC needs to review specific items in your tax affairs each year. |
| K | Your deductions exceed your allowance. Covered in detail below. |
A code like 1383M, for example, means someone is receiving Marriage Allowance on top of the standard allowance, while 1131N means they've given some of theirs away. Both are correct outcomes of the same scheme, just from opposite sides of the transfer. See our Marriage Allowance explained guide for who qualifies and how much it's worth.
Flat-Rate Codes: BR, D0, and D1
Some codes don't use a number at all, because there's no tax-free allowance being applied. Every pound is taxed at a single flat rate instead.
| Code | Meaning |
|---|---|
| BR | All income taxed at the basic rate, 20%, with no Personal Allowance. |
| D0 | All income taxed at the higher rate, 40%. |
| D1 | All income taxed at the additional rate, 45%. |
| 0T | No Personal Allowance, but taxed across the normal bands rather than a single flat rate. |
These usually appear on a second job or a pension, because your Personal Allowance is generally set against your main source of income only, and it can't be given twice. Seeing a BR code on a second job is typically correct, not a mistake, and asking your main employer to increase your allowance won't fix it, since the allowance is already fully used against your primary income. For the full picture, including a worked example proving you're not overtaxed by having two jobs, see our second job tax mythbusted guide.
K Codes: When You Owe More Than Your Allowance Covers
A K code is the one that confuses people most, because it works in reverse. Instead of giving you a tax-free amount, it adds an amount to your taxable income, because your deductions, usually benefits-in-kind like a company car, or unpaid tax from a previous year being collected now, are bigger than your allowance.
HMRC's own published example makes the mechanism clear. Someone with the standard £12,570 allowance and a company car benefit valued at £14,120 has a shortfall of £1,550, since the benefit outweighs the allowance. That shortfall becomes a K code, K154 in this case, and roughly £1,550 gets added to their taxable income rather than subtracted from it. They end up paying tax not just on their salary, but on their salary plus that extra amount.
There's an important safeguard built in. Since April 2015, HMRC rules cap tax deductions at 50% of your gross pay in any single pay period, for K codes and all other codes alike. If the maths would take more than half your pay in tax that period, the deduction is capped and the remainder rolls forward to be collected later. It doesn't disappear, but it does mean a K code can never take more than half of what you're paid in one go.
Worth checking: K codes need attention if your circumstances have changed. If you've handed back a company car or cancelled a benefit, HMRC won't reduce the K number automatically, it needs an updated P11D from your employer first. Checking your latest coding notice against your actual current benefits is worth doing if a K code looks too high.
Emergency and Non-Cumulative Codes
If you see W1, M1, or X attached to a code, for example 1257L W1, it means you're on an emergency, non-cumulative basis. Rather than calculating your tax based on your total income and allowance used so far in the year, each pay period is treated in isolation, as though it were the very first week or month of the tax year.
This most commonly happens when starting a new job without a P45 from your previous employer, since HMRC and your new payroll department don't yet have your full-year picture. It's usually temporary and self-corrects once your proper code comes through, though it can mean overpaying tax in the short term, which is typically refunded automatically once the correct code is applied. For the full picture, including exactly how much this can cost you and how to get it corrected fastest, see our emergency tax codes explained guide.
Scottish and Welsh Prefixes
If your tax code starts with a letter before the number, it tells your employer which country's Income Tax rates apply to you, based on where you live, not where your employer is based.
An S prefix, as in S1257L, means Scottish Income Tax rates apply, currently six bands running from 19% to 48%, rather than the three-band system used elsewhere in the UK. A C prefix, as in C1257L, means Welsh rates apply. Wales has the power to set its own rates but currently mirrors England exactly, so a C-prefixed code produces the same result as no prefix at all, for now.
Scotland also has its own flat-rate equivalents to BR, D0 and D1, since it has more bands to account for: SBR, SD0, SD1, SD2 and SD3, corresponding to the Scottish basic, intermediate, higher, advanced and top rates.
If you've moved between Scotland and the rest of the UK and your prefix hasn't updated, it's worth contacting HMRC directly, since being taxed under the wrong country's bands can mean a noticeably different amount of tax either way.
What to Do If Your Code Looks Wrong
Tax codes are usually correct, but they're calculated from information HMRC holds about you, and that information can be out of date, particularly after a job change, a change in benefits, or a shift in personal circumstances like marriage.
If you spot something that doesn't look right, checking your latest P2 coding notice is the first step, since it itemises exactly what's being added or subtracted and why. If it's genuinely wrong, HMRC can usually correct it going forward once you contact them, and if you've overpaid as a result, a refund typically follows.
Ask your employer: If you've recently started a new job or handed in a P45, ask payroll to confirm which tax code they're currently using for you and whether it's on a cumulative or emergency basis. It takes a minute to ask and can catch an emergency code early, before it results in a larger-than-expected deduction.