A wrong tax code refund is money HMRC returns when too much tax was taken from your pay because your code was wrong. Check your payslip, fix the code through your Personal Tax Account, and the refund usually arrives in your next pay or through a P800 claim after the tax year ends.
Your tax code tells your employer how much tax to take before pay reaches your bank account. Most people with one job should be on 1257L in 2026/27, which gives the full £12,570 personal allowance. If your code gives you less allowance than you should have, you pay too much tax every payday.
The money is not lost when that happens. It either comes back through your pay once the code is corrected, or you claim it after the tax year ends. This guide shows how to spot the error, fix it, and claim what you are owed.
How do you know your tax code is wrong?
Start with your latest payslip. Your tax code sits near your pay and tax figures, and it should match the code HMRC holds for you. If you have one job and no taxable benefits, 1257L is the code to expect.
Watch for warning signs. Your take home pay drops sharply after a job change even though your salary stayed the same. Your code still shows an old employer or a benefit you no longer receive.
Any of these can mean HMRC is working from out of date information. Income you no longer have can also sit in your code and push your tax up.
Check the detail in your Personal Tax Account on GOV.UK or in the HMRC app. There you can see your current code and how your allowance is split between jobs.
Our UK tax codes guide explains what each letter in a code means. GOV.UK explains the code letters in the same terms, so you can read your own code with confidence.
What does a wrong code actually cost you?
Take a salary of £30,000 in 2026/27 as a worked example. On the correct code of 1257L you pay £3,486 in income tax and £1,394.40 in National Insurance. That leaves take home pay of £25,119.60 a year, or £2,093.30 a month, matching our live £30,000 after tax page.
Now put the same salary on BR, the code that taxes all pay at 20 percent with no allowance. Tax rises to £6,000 a year, which is £2,514 more than the correct amount. That is £209.50 a month missing from your pay, and a wrong tax code refund of £2,514 for a full year on that code.
| Tax code on £30,000 | Income tax a year | Take home pay a month |
|---|---|---|
| 1257L correct code | £3,486 | £2,093.30 |
| BR no allowance | £6,000 | £1,883.80 |
| 0T no allowance | £6,000 | £1,883.80 |
A code of 0T gives the same result at this salary, because it also gives no allowance. At a higher salary the gap can be larger still, because a D0 code taxes all pay at 40 percent.
How do you fix a wrong tax code while you are still in the job?
Fixing the code in the current tax year is the fastest route to your money. Keep your payslips and P60 handy while you work through these steps.
- Find your code on your latest payslip and note anything out of date, such as an old job or a benefit you no longer get.
- Sign in to your Personal Tax Account on GOV.UK or open the HMRC app, then check your tax code and your employment details there.
- Update any detail that is wrong, for example a job you left, a second job, or an estimated income figure that no longer fits.
- Wait for HMRC to send your employer a new code, then check your next payslip to confirm the new code is in use.
- If the new code has not appeared within a month, ask your payroll team first, then contact HMRC on 0300 200 3300.
GOV.UK confirms the key point for a wrong tax code refund in the current year: if your code has been corrected, your employer will give you the refund in your pay. You should get it in your next pay once HMRC has sent your employer your new code.
Do not ask your employer to invent a code for you. Payroll must use the code HMRC issues. If HMRC needs proof, such as a P45, send exactly what they ask for and keep a copy.
What happens after the tax year ends?
After 5 April, HMRC reconciles PAYE records and sends a P800 tax calculation to people who appear to have overpaid or underpaid. GOV.UK says these letters are sent between June and March of the following tax year.
If your P800 says you are due a wrong tax code refund, claim it through the route the letter gives you. You can claim online using the reference number from your P800 letter and your National Insurance number, or through your Personal Tax Account. GOV.UK says an online claim is paid within 5 working days, while a cheque takes 6 weeks.
Check the P800 before you claim. Compare its income figures with your P60 and your payslips, and check that each job appears once only.
If a figure looks wrong, contact HMRC before you accept the calculation, because a corrected P800 may show a larger refund. See the GOV.UK guidance on paying too much tax for the current claim route.
If no P800 arrives but you believe you overpaid, do not assume the matter is closed. Sign in to your Personal Tax Account and check your tax history for that year.
How far back can you claim?
You can usually claim overpaid tax going back four tax years, and that window is central to a wrong tax code refund that ran unnoticed. Gather P60s and payslips for each year you want to claim for.
For each past year, compare the tax on your P60 with the tax you should have paid for that year. Use the allowance and bands that applied in that year, not the current ones.
Our income tax bands guide explains how the bands work. Check your own pay with our free salary calculator.
What if you left the job, or have a second job?
Leaving a job does not end a wrong tax code refund claim, but the route changes. If you left work and do not expect a new job within four weeks, HMRC guides point to form P50 as the claim route. Send it with your P45 parts.
If you start a new job quickly, give your new employer your P45 instead, so your new code can be set correctly.
Second jobs need extra care. HMRC usually gives your full allowance to your main job and taxes a second job at BR. A problem arises when HMRC has the jobs the wrong way round, so check both payslips.
How do you stop it happening again?
Check your code when you start a new job, when your pay changes, when a benefit starts or stops, and at the start of each tax year in April. You can also sense check your monthly pay against our take home pay tables.
Keep your Personal Tax Account details current, because HMRC can only issue the right code from the information it holds. Tell HMRC promptly when you change jobs or take a second job.
Finally, treat any message about a tax refund with care. HMRC does not send texts or emails with a link to claim a refund. A genuine refund is claimed through GOV.UK or your Personal Tax Account.
It may also arrive after a P800 letter by post. If a message asks you to click a link and enter bank details, do not click it.
Emergency codes: W1, M1 and X, and the 35 day line
A wrong tax code refund starts with the code on your payslip, and the emergency codes are the ones that cause most of them.
If your tax code ends in W1, M1 or X, you are on an emergency code. It does not mean you have done anything wrong. It means HMRC does not yet have your full details, usually because you started a new job without a P45, or you started drawing a pension, and payroll has been told to tax each pay period on its own.
Normal PAYE is cumulative. Each payday, payroll looks at everything you have earned since 6 April, works out the tax due on the total, and adjusts for what you have already paid. An emergency code stops that. W1 means week 1, and it is used when you are paid weekly. M1 means month 1, and it is used when you are paid monthly. X is used when your pay dates vary. With any of them, payroll gives you one period share of your allowance and ignores the rest of the year. On a monthly code, that is £1,047.50, which is £12,570 divided by 12, and it taxes the rest at the standard bands as if that month were every month.
The difference is not small. Start a job in June after earning nothing in April and May, and get paid £4,000 in June. On 1257L M1, payroll uses one month allowance of £1,047.50, and you pay £590.50 of income tax. On cumulative 1257L, payroll uses three months allowance of £3,142.50, and you pay £171.50. The emergency code costs you £419 that month. That £419 comes back as a wrong tax code refund once HMRC issues a cumulative code, because payroll then looks back over the year to date and returns the overpaid tax through your pay.
How long does it take. GOV.UK says HMRC usually updates a new job code once it has your details from your new and previous employers, and that can take up to 35 days from when you start. The fastest way to shorten it is to give your new employer the P45 from your last job. If you started more than 35 days ago and the code is still wrong, check your tax code online through your Personal Tax Account and contact HMRC. The Income Tax helpline is 0300 200 3300. Once HMRC has updated a code, it tells you and your employer within 15 working days, and the new code shows on the next or the following payslip for monthly pay.
Sources checked 14 November 2026: GOV.UK, tax codes, emergency tax codes, W1, M1 and X, HMRC updates a new job code within up to 35 days from starting. HMRC PAYE Manual, PAYE94055, week 1 and month 1 basis. Worked example is our own calculation on 2026/27 rates, standard personal allowance £12,570.
The wrong tax code refund rule is simple once you know it: if the code ends in W1, M1 or X, you are on an emergency basis, and the refund comes when HMRC corrects the code, usually within about 35 days of starting.
Frequently asked questions
How long does a wrong tax code refund take?
In the current tax year, it usually arrives in your next pay once your employer has your corrected code. After the tax year ends, an online P800 claim is paid within 5 working days, according to GOV.UK.
Will HMRC refund me automatically?
Not always. In the current year the refund flows through your pay once the code is fixed. After the year ends you may need to claim a wrong tax code refund shown on a P800 yourself.
What is the difference between BR and 0T?
Both give no personal allowance, so at basic rate salaries they cost the same amount in the worked example above. BR taxes all pay at 20 percent and is common on a second job. 0T means your allowance is used up.
Can a wrong code mean I underpaid tax instead?
Yes. If your code gave you too much allowance, or missed a benefit or second income, you may have paid too little.
HMRC usually collects a small underpayment by adjusting next years code, rather than asking for a lump sum. If a P800 shows an underpayment you disagree with, query it with HMRC first.
Do I need an accountant or a claims company?
No, for a straightforward code error. The Personal Tax Account route and the P800 claim route are free. A claims company will take a fee from your refund, so use one only if your case is complex.