A government gateway account is the sign-in most people still use to reach HMRC online — your Self Assessment return, your Personal Tax Account, VAT, PAYE and Corporation Tax all sit behind it. It is simply a user ID of up to 12 characters and a password, plus a one-time access code each time you sign in. This guide explains what a Government Gateway account is, how to set one up, what to do when the activation code or your user ID goes missing, and how it differs from GOV.UK One Login, which HMRC is gradually moving new users towards.
What is a Government Gateway account?
A Government Gateway account is HMRC’s long-standing sign-in system for its online services. One set of sign-in details opens the door to the HMRC services you are enrolled for — you do not need a separate login for each tax. Your Government Gateway user ID is up to 12 characters long. It is not the same as your 10-digit Unique Taxpayer Reference (UTR), your National Insurance number, or your email address, and it is worth keeping those three things straight, because HMRC asks for different ones at different steps.
Creating the sign-in details is only the first step. Getting a user ID does not automatically enrol you for any tax service. Each service — Self Assessment, VAT, Corporation Tax, PAYE for employers — needs its own enrolment, and for most of them HMRC then posts you an activation code. Until you enter that code, the service does not appear in your account. That is the step that catches most people out, and the one that takes the longest, because it depends on the post.
How to set up a Government Gateway account
Start on GOV.UK, on the HMRC online services sign-in page. The whole sign-up takes a few minutes online; the wait is for the activation code, not the account itself.
Step 1 — Go to the HMRC sign-in page. Only ever start from GOV.UK. HMRC will never email or text you a link asking you to sign in, and will never ask for your Government Gateway password by email or text. If a message does, it is a scam — delete it and do not click through.
Step 2 — Select “Create new sign in details”. Do this even if you already have a GOV.UK One Login from another government service. The HMRC service will guide you to create Government Gateway or GOV.UK One Login sign-in details. Since February 2026, people who have never used HMRC online services are among the first to be moved to GOV.UK One Login, so a brand-new user may be guided to One Login instead of being given a Government Gateway user ID. That is normal — follow the route HMRC shows you rather than trying to force the other one.
Step 3 — Enter your email address and confirm it. HMRC sends a confirmation code to the address you give. Use an address you check regularly, because HMRC uses it for security messages about your account.
Step 4 — Create your password and save your user ID straight away. If you are given a Government Gateway user ID, it appears on screen once — write it down, print the page or take a screenshot immediately. It is the single most commonly lost piece of the whole system, and you will need it, with your password, every time you sign in.
Step 5 — Set up how you receive access codes. Each sign-in also needs a one-time access code, sent by text message, voice call or authenticator app. Choose the method that will still reach you if you change phones, and keep a note of which one you picked.
Step 6 — Enrol for the service you need and wait for the activation code. Choose the tax service — Self Assessment, VAT, Corporation Tax, PAYE — and enrol for it. HMRC posts the activation code to the address it holds for you, so check that address is up to date first. Allow up to 10 days for the code to arrive. When it comes, sign in again and enter it: the code must be used within 28 days of the date on the letter, or it expires and you have to enrol for that service again.
If you already file a Self Assessment return online, you already have a Government Gateway account — that login is the one to keep using. Do not create a second one. HMRC says you should use only one user ID for your business taxes, and a duplicate account is the usual cause of “my service has disappeared” problems later.
What can you do with a Government Gateway account?
Once you are signed in and enrolled, your Government Gateway account is the route into your Personal Tax Account and your Business Tax Account, and from there into the individual services. What you can actually do depends on which services you have enrolled for.
| Service | What you can do | What you need |
|---|---|---|
| Personal Tax Account | Check your tax code and income, claim a tax refund, update your details | Government Gateway or GOV.UK One Login sign-in |
| Self Assessment | File your tax return, see what you owe, pay, set up payments on account | 10-digit UTR, then enrol and activate with a code by post |
| VAT | File VAT returns and see your VAT account | VAT number, then enrol and activate with a code by post |
| PAYE for employers | Report payroll, pay employer National Insurance, see your PAYE account | Employer PAYE reference, then enrol and activate |
| Corporation Tax | File your Company Tax Return and see what the company owes | Company UTR, then enrol and activate with a code by post |
| Business Tax Account | See all your business taxes in one place | Government Gateway sign-in enrolled for at least one business tax |
Our guide to the Personal Tax Account explains what you can do once you are inside, and our Self Assessment guide covers the return itself — who must file, the 31 January deadline, and payments on account. If you are a sole trader, start with how to register as a sole trader, which is the step that creates your UTR and your Government Gateway account in the first place. For Making Tax Digital, you sign in with the same Government Gateway account and separately authorise your software to connect to it — see our Making Tax Digital for Income Tax guide.
Government Gateway vs GOV.UK One Login — which one should you use?
There are now two ways to sign in to HMRC online services. Government Gateway uses a user ID of up to 12 characters and a password. GOV.UK One Login uses an email address and a password. GOV.UK says One Login will eventually replace all other ways of signing in to HMRC, Government Gateway included, but there is no published date for moving existing Government Gateway users across.
The rule from GOV.UK is simple. If you already use HMRC online services, keep using the sign-in details you have — even if you also have a GOV.UK One Login from another government service. If you have never used HMRC online services, select “Create new sign in details” and follow the route HMRC gives you; since February 2026 that route increasingly leads new users to One Login. Do not create a second Government Gateway account because you think you need one for One Login, and do not abandon a working Government Gateway account to start again — HMRC will contact account holders directly when it is their turn to move.
One practical difference matters for anyone filing through software: to file through commercial software, GOV.UK One Login users still need a separate Government Gateway user ID and password, which you create from your sign-in details. If your accountant or your software asks for a Government Gateway ID, that is why.
If something goes wrong with your Government Gateway account
You have lost your user ID or password. You can recover or reset your sign-in details from the sign-in page — HMRC tells you how when you try to sign in. Your user ID is not emailed to you automatically, so the note you made when you created the account is the fastest way back. If you cannot recover it that way, HMRC’s sign-in help will walk you through confirming your identity.
Your activation code has not arrived. Allow the full 10 days, and check HMRC has your current address — the code goes to the address HMRC holds for you, not to an address you type in during sign-up. If it still has not arrived after 10 days, request a new one from inside your account rather than creating a new account. Remember the 28-day limit runs from the date on the letter, not from the day it arrives, so enter it as soon as it lands.
You are locked out. If you enter the wrong sign-in details too many times, your account locks and opens again by itself after 2 hours. Helpdesk advisers cannot unlock it any sooner, so there is no point ringing to ask — wait the two hours and try again, slowly, with the details as you wrote them down.
You are not receiving access codes. You can change how you receive your access code — text message, voice call or authenticator app — from the sign-in help. Do this before you change your phone number, not after, or you can find yourself locked out of the very account you need to change the number in.
What to check now
- Find your Government Gateway user ID and password — if you file Self Assessment online, you already have one. Do not create a second account.
- Check which services you are enrolled for. If a service is missing, enrol for it and watch the post for your activation code.
- Allow up to 10 days for an activation code to arrive, and enter it within 28 days of the date on the letter.
- Make sure your access-code method still reaches you — update it before you change your phone number, not after.
- Only ever sign in from GOV.UK. HMRC will never email or text you a link asking you to sign in, or ask for your password by email or text.
Frequently asked questions
Is a Government Gateway account free?
Yes. Creating a Government Gateway account and signing in to HMRC online services costs nothing. HMRC never charges for a user ID, an activation code or access to your tax account. Anyone asking you to pay for one is not HMRC.
How long does it take to set up a Government Gateway account?
The online part takes a few minutes and your user ID is issued straight away. Full access takes longer: the activation code for each tax service is posted to you, allow up to 10 days for it to arrive, and you must enter it within 28 days of the date on the letter. From starting the process to using a service, allow about two weeks.
What is the difference between a Government Gateway user ID and a UTR?
Your Government Gateway user ID is up to 12 characters and is how you sign in. Your UTR — Unique Taxpayer Reference — is 10 digits and identifies your tax record with HMRC. You need the UTR to enrol for Self Assessment; you need the user ID to sign in. Keep both, separately, somewhere safe.
Can I have more than one Government Gateway account?
You should not. HMRC says to use only one user ID for your business taxes, and having two accounts is a common cause of services seeming to disappear. If you already have one, keep using it — even if you set up GOV.UK One Login for another government service. If you have accidentally created a second one, use the original and ask HMRC for help sorting out the duplicate rather than enrolling services on both.
Do I still need a Government Gateway account in 2026?
Yes, for now. Existing users should carry on with their Government Gateway account until HMRC contacts them about moving to GOV.UK One Login. New users may be guided to One Login instead, and One Login will eventually replace Government Gateway — but HMRC has published no fixed date for that, and Government Gateway remains fully working for every HMRC service it already covers.
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.
