A K-prefix tax code (e.g. K154) means you have a negative Personal Allowance — taxable benefits, untaxed income or tax owed are bigger than your £12,570 PA. The number shows roughly how much is added to your taxable pay each year (K154 adds about £1,550). PAYE cannot take more than half of your pre-tax pay in any pay period under a K code.
How K codes are calculated
Standard codes work by subtracting allowance from taxable income. K codes do the opposite — they add to taxable income.
HMRC builds your code each year by:
- Starting with the £12,570 Personal Allowance
- Adding any further allowances (Marriage Allowance, blind person's)
- Subtracting deductions for taxable benefits (BIK), untaxed income, or owed tax
- Turning the result into a code number
If step 3 takes the figure below zero, the code becomes a K code. HMRC’s PAYE Manual sets out how the number is found: drop the last digit and the minus sign, reduce the last digit by 1, then put K in front (PAYE11095).
Worked example: K154 (HMRC’s own example)
| Item | Amount |
|---|---|
| Personal Allowance | +£12,570 |
| Company car benefit | −£14,120 |
| Net allowance | −£1,550 |
| Drop the last digit and the minus sign | 155 |
| Reduce the last digit by 1 | 154 |
| Tax code | K154 |
The same steps work whatever makes up the deductions. Someone with State Pension, a benefit in kind and tax owed from an earlier year has each item taken off the £12,570, and only the total below zero turns into the K number.
How a K code affects your PAYE
For each pay period, PAYE:
- Takes your gross pay
- Adds the K-code amount (the number × 10 ÷ 12 for monthly)
- Applies the standard 20% / 40% / 45% bands to the combined total
- Deducts the resulting tax
So the K154 code above, on a £60,000 salary, means PAYE treats the year’s pay as about £61,550 for tax purposes — roughly £129 a month of extra taxable pay. That is how the tax on the £14,120 car benefit is collected: the benefit cancels the whole £12,570 allowance, and the K code adds the remaining £1,550 or so on top of salary.
Common reasons for getting a K code
- State Pension or taxable state benefits. The State Pension is paid without tax taken off. If you also have a job or a private pension, HMRC collects the tax by taking the State Pension off the allowance used on that income. A full new State Pension is £241.30 a week in 2026/27, about £12,548 a year, so on its own it uses almost all of the £12,570; any other deduction then tips the code into K (GOV.UK, new State Pension).
- Company benefits in kind. A company car, fuel or private medical insurance is taken off your allowance at its cash-equivalent value. A large car benefit can be bigger than the allowance by itself, as in HMRC’s K154 example above.
- Tax owed from an earlier year. GOV.UK says HMRC usually collects an underpayment through your tax code if you owe less than £3,000 and pay tax through PAYE (GOV.UK, if you owe tax). The tax is grossed up before it comes off the allowance: £300 owed by a basic-rate taxpayer removes £1,500.
- Savings interest above your Personal Savings Allowance. GOV.UK lists this as another reason: HMRC can collect the tax on untaxed interest through your code instead of asking for a Self Assessment return.
These are the situations GOV.UK gives on its page about K codes (GOV.UK, K in your tax code).
What to do if you have a K code
Check your specific code
The tax code decoder breaks your code down item by item, and the HMRC letter decoder explains the coding notice that comes with a new code.
Open the tax code decoder →Other UK tax codes explained
Sources and methodology
K-code rules from GOV.UK, K in your tax code and gov.uk/tax-codes. How the K number is worked out, and the worked example, from HMRC’s PAYE Manual PAYE11095. The 50% cap is the overriding limit in regulation 2 of the Income Tax (Pay As You Earn) Regulations 2003. Underpayment coding from GOV.UK, if you owe tax; State Pension rate from GOV.UK. All checked 3 October 2026. P2 coding notices via the HMRC app and Personal Tax Account.
UK Tax Drag is not authorised by the Financial Conduct Authority and does not provide regulated financial advice — see the content disclaimer for the full position.
How UK Tax Drag holds itself to account
Pages are checked against the primary sources listed on each page and reviewed by the Editor; corrections are logged in the changelog. Pages are drafted with the help of AI tools (how AI is used). No affiliate revenue. No sponsored content. No paid placements.
UK Tax Drag is an independent publication by Finsolve Consulting Limited, not affiliated with or endorsed by HMRC, GOV.UK or any government body.