How your UK tax code works, and how to fix a wrong one

What the numbers and letters in your tax code mean, why 1257L is the common one, and what to do if yours is wrong and you are paying too much or too little.

• 3 min read

Quick answer

A UK tax code tells your employer how much tax-free pay you get before income tax starts. The number is your tax-free allowance with the last digit removed, so 1257L means £12,570 tax-free. The letter describes your situation. A wrong code is a common cause of paying too much or too little, and HMRC can correct it.

Your tax code is a short string like 1257L sitting on your payslip, and it decides how much of your pay is taxed. Most people never question it, which is a shame, because a wrong code is one of the easiest ways to quietly overpay tax for months.

This is general information, not tax or financial advice. Your code depends on your circumstances, so check GOV.UK or contact HMRC if it looks wrong. Written for the 2026/27 tax year and checked in December 2026.

What the number means

The number in your code is your tax-free Personal Allowance for the year with the final digit knocked off. The standard allowance is £12,570, so the standard code is 1257L: you can earn £12,570 before income tax starts, and the rest is taxed in the usual bands.

Your employer spreads that allowance evenly across your pay periods, so each payday a slice of your pay is tax-free and the rest is taxed.

What the letter means

The letter adds context about your situation. L is the most common and means you get the standard allowance. Other letters carry real consequences:

  • BR means all this income is taxed at the basic rate with no allowance, often used for a second job where the allowance is already used on your main job.
  • D0 taxes all the income at the higher rate, again usually a second income.
  • K codes mean you have untaxed income or a benefit that is larger than your allowance, so instead of tax-free pay you have an amount added to your taxable pay.
  • M and N relate to the Marriage Allowance, where one partner has transferred part of their allowance to the other.

A W1 or M1 on the end means the code is applied on a non-cumulative basis, looking only at the current period rather than the year to date, which is usually temporary.

Why a wrong code happens

Tax codes go wrong more often than you would think. Common causes include starting a new job before HMRC has your full picture, having two jobs or a pension alongside work, a company benefit like a car or medical cover changing, or HMRC estimating something that turns out wrong. Because the code drives your tax, a wrong one feeds straight into the tax line on every payslip.

How to check and fix it

Start by comparing your code with your situation. If you have one job and nothing unusual, you would normally expect 1257L. If you see BR, D0, a K code or a surprise number on your main job, that is worth looking into.

The quickest route is your Personal Tax Account on GOV.UK, where you can see your current code, what HMRC thinks your income and benefits are, and tell them if something is wrong. You can also phone HMRC. If you have overpaid because of a wrong code, correcting it usually brings the money back through a later payslip or a refund after the tax year ends. If you underpaid, HMRC will normally adjust your code to collect it gradually.

To see how your code shapes your take-home, put your salary into the take-home pay calculator, and for the rest of the payslip, including National Insurance and pension, see our guide to reading your UK payslip.

AfterTheTax

Plain-English guides to everyday tools. Spotted something out of date? Email afterthetax@outbaze.com. More about us.