Learning how to change tax code online is the fastest way to fix a wrong code and stop paying too much — or too little — tax. You do it through HMRC’s online service, either in your Personal Tax Account on GOV.UK or in the HMRC app, by updating the details HMRC holds about you. There is no button that lets you type in a new code yourself: you correct the information, and HMRC issues the new tax code. This guide walks through the steps, what to have ready, how long it takes, and what to do if you cannot use the online service.
Can You Change Your Tax Code Yourself?
Not directly. Your tax code is set by HMRC, using information from your employer or pension provider. When something in your circumstances changes — a new job, a company benefit, a second income, a pension starting — HMRC may change your code automatically. But if the details HMRC holds are wrong or out of date, your code will be wrong too, and the only way to fix it online is to update those details yourself.
That is what “how to change my tax code” really means in practice: sign in, check the employment, pension, income and benefits details HMRC has for you, correct anything wrong or missing, and let HMRC issue a corrected code. GOV.UK says the online service is the quickest way to do this. If your code needs to change, HMRC will tell you and your employer the new code within 15 working days.
How to Change Tax Code Online — Step by Step
1. Sign in to your Personal Tax Account
Go to GOV.UK’s Check your Income Tax for the current year service and sign in with your Government Gateway user ID and password. If you do not have sign-in details yet, you can create them. You may be asked to prove your identity — usually with photo ID such as a passport or driving licence. Our guide to the Personal Tax Account explains what the account is and what else you can do in it.
You can also do the same job in the HMRC app, which lets you check your tax code and Income Tax for the current year on your phone. The steps below are the same either way.
2. Check the details HMRC holds about you
Once you are signed in, check each of these and look for anything wrong or missing:
- Your employment details — each job and the employer HMRC has listed
- Your pension details, if you get a pension
- Your estimated taxable income for the current tax year (6 April 2026 to 5 April 2027)
- Company benefits, such as a company car or medical insurance
- Expenses you claim tax relief on, such as work expenses
If anything is wrong — an old employer still listed, a benefit you no longer get, income estimated too high or too low — update it in the service. You can also tell HMRC about changes that affect your tax code, such as starting a new job or receiving taxable benefits.
3. Claim tax relief on employment expenses, if you have any
If you pay for things you need for your job — tools, uniforms, professional fees, or working from home costs — you may be able to claim tax relief on them, and that can change your tax code. You can claim this through the same online service. Only claim expenses that are genuine and that you have actually paid for.
4. Wait for HMRC to issue your new code
After you update your details, HMRC works out whether your tax code needs to change. If it does, HMRC will tell you and your employer the new code within 15 working days. Your employer then applies it to your pay:
| How you are paid | When the new code should appear on your payslip |
|---|---|
| Monthly | Your next payslip, or the one after |
| Weekly | Your third payslip |
If your payslip still does not show the new code after that, speak to your employer to check they have received it.
How to Change Your Tax Code Online After Starting a New Job
Starting a new job is the most common reason people need to change their tax code online. When you start, your new employer tells HMRC you have started working for them. If your new employer does not have your previous income and tax details, you will be paid using an emergency tax code — usually one ending in M1 if you are paid monthly, or W1 if you are paid weekly. That means your tax is worked out on what you are paid in that month or week only, as if you earned that amount every month or week of the year, so you can easily pay the wrong amount.
To get off the emergency code, give your new employer the P45 from your previous job — it gives them your details and can help move you off the emergency code. HMRC will usually update your tax code when it gets all your details from your new and previous employers, and this can take up to 35 days from when you start your job. If you think your code is still wrong after 35 days, check and update your details in the online service. Our guide to the 1257L tax code explains the standard code and what the M1 suffix means — a 1257L M1 tax code is simply the standard 1257L code applied on a month-by-month, non-cumulative basis while HMRC sorts out your details.
Use a Tax Code Checker on GOV.UK — Not Unofficial Sites
If you want to check your tax code, use GOV.UK only. The Check your Income Tax service shows your current code, your Personal Allowance, your estimated income and the tax you can expect to pay — and it also shows you if your tax code has changed and why. You can also check your code on your payslip, in the HMRC app, or on a Tax Code Notice letter from HMRC.
Do not enter your National Insurance number or personal details into unofficial “tax code checker” websites. They are not HMRC, they cannot change your code, and handing over your details to a site you do not know is a risk. The only place that can actually change your tax code is HMRC itself, through the official service or by phone.
When HMRC Changes Your Tax Code Automatically
You do not always need to do anything. HMRC changes your tax code when your income or circumstances change, for example if you start a new job, start getting taxable state benefits, start getting income from an additional job or pension, your savings interest goes over your Personal Savings Allowance, your weekly State Pension amount changes, your employer tells HMRC you have started or stopped getting benefits from your job, you claim Marriage Allowance, you claim expenses you get tax relief on, or you are paying the High Income Child Benefit Charge through your wages or pension.
If your code has changed, you can use the Check your Income Tax online service to find out why. You can also sign up for paperless notifications in the service, so HMRC emails you when your tax code changes. From February 2027, HMRC is moving tax code notices online for millions of people — see our guide to tax code notices going online for what that means.
What Happens If You Have Paid Too Much or Too Little Tax
If you have been on the wrong tax code, you may have paid too much or too little tax. When HMRC updates your tax code, it checks whether it has all your income details for the tax year. If it does, it works out the difference between how much tax you have paid and how much you should have paid, and asks your employer or pension provider to refund the difference in your pay — usually when the new code is used.
If you have not paid enough tax, HMRC will estimate how much you owe when your tax code is updated and adjust your tax code to collect it over one or more tax years, if possible. You cannot get a refund until HMRC has your income details from your employer, pension provider or benefits office — which is another reason to make sure those details are right. If you are on a BR tax code for a second job or pension, all the income from that job is taxed at the basic rate, so it is worth checking that code is right too.
What to Do If You Cannot Use the Online Service
If you cannot use the online service, you can contact HMRC for advice. If you have started a new job, wait 35 days for HMRC to get your new income details before contacting them. Note that you cannot check your Income Tax for the current year online if Self Assessment is the only way you pay Income Tax — in that case your tax is worked out through your tax return instead.
You will usually need your National Insurance number when dealing with HMRC. If you cannot find it, our guide explains how to find your National Insurance number.
What to Check Now
- Check your tax code — sign in to GOV.UK’s Check your Income Tax service or open the HMRC app, and confirm your code is the one you expect.
- Check the details behind it — employment, pension, estimated income, benefits and expenses. Correct anything wrong or missing; that is how you change your tax code online.
- If you have just started a job, give your new employer your P45 — and allow up to 35 days for HMRC to update your code.
- Sign up for paperless notifications — so HMRC emails you when your tax code changes.
- Check your next payslip — monthly paid, your new code should appear on your next payslip or the one after; weekly paid, on your third payslip. If it does not, ask your employer whether they have received it.
- Do not use unofficial tax code checker sites — only GOV.UK and the HMRC app can show and change your real code.
FAQs
How do I change my tax code online?
To change tax code online, sign in to GOV.UK’s Check your Income Tax service (your Personal Tax Account) or the HMRC app, check the employment, pension, income, benefits and expenses details HMRC holds, and update anything wrong or missing. HMRC then issues a new tax code if one is needed — you cannot type a new code in yourself. HMRC tells you and your employer the new code within 15 working days.
How long does it take to change a tax code online?
HMRC will tell you and your employer the new code within 15 working days of your details being updated. If you are paid monthly, it should appear on your next payslip or the one after; if you are paid weekly, on your third payslip. After starting a new job, allow up to 35 days for HMRC to get your income details before contacting them.
What is an M1 tax code?
An M1 tax code is an emergency tax code used when you are paid monthly — for example, 1257L M1. It means your tax is worked out on what you are paid in that month only, rather than on your total income for the year so far. It is usually temporary: once HMRC has your full details, normally within 35 days of starting a job, you move to a normal cumulative code.
Can I check my tax code without signing in?
You can see your tax code on your payslip or on a Tax Code Notice letter from HMRC without signing in. To check it online, and to see why it changed or update the details behind it, you need to sign in to the Check your Income Tax service or the HMRC app with your Government Gateway ID. Do not use unofficial tax code checker websites — they cannot change your code.
What if my tax code is wrong and I have paid too much tax?
When HMRC updates your tax code, it checks whether it has all your income details for the tax year. If it does, it works out the difference and asks your employer or pension provider to refund it in your pay, usually when the new code is used. If HMRC does not yet have your details, you cannot get a refund until it does — so make sure your employer has your P45 and your details are up to date.
This article gives general information about UK tax, not personal financial or tax advice. Tax rules can change, and your situation may be different. Check GOV.UK or speak to a qualified accountant before you act.
