Written by Marina Jahan · Reviewed by Shamayun Chowdhury, ACMA, MAAT · Published: 9 October 2026 · Last reviewed: October 2026 · Applies to the 2026/27 tax year
MerinTaxReturn is an information website. It does not prepare or file tax returns and does not give personal tax advice.
Quick Answer
A Government Gateway user ID is the sign-in name HMRC issues when you create Government Gateway login details. It can be up to 12 characters long, and you use it with a password to reach your HMRC personal or business tax account. It is not your UTR or National Insurance number.
An HMRC screen is asking for a user ID, and you are fairly sure you have never chosen one. That moment is why so many people search for what is a government gateway user id. The answer is simple once you see where it fits among the other numbers HMRC uses, and that is exactly what this guide sets out.
Below you will find a plain definition, a side-by-side comparison with your UTR and National Insurance number, what GOV.UK One Login means for the old system, and the safe way to get back in if your details have gone missing. Every point is checked against current GOV.UK guidance.
Key takeaways
- GOV.UK describes the user ID as up to 12 characters, so it is not always a 12-digit number.
- It is a login name only; your UTR and National Insurance number do different jobs.
- GOV.UK One Login uses your email address instead and will replace Government Gateway over time.
- If you already sign in one way, HMRC says to keep using it until you are prompted to change.
- HMRC only emails about refunds from addresses ending in hmrc.gov.uk, so never sign in through a link in a message.
In this guide
- What is a Government Gateway user ID?
- Gateway user ID vs UTR, NI number and One Login
- Is the Gateway ID being replaced?
- Where your Gateway ID might be
- Getting sign-in details for the first time
- Lost or forgotten your user ID?
- Example Scenario (illustrative)
- Reviewer’s View
- Common mistakes
- FAQs
- What the user ID is used for in 2026/27
- Final Verdict
What Is a Government Gateway User ID? A Plain-English Answer
Picture the HMRC sign-in page as a front door with two keys. Your password is one key; the user ID is the other. Government Gateway is the older of HMRC’s two sign-in systems, and the user ID is the name it gives you so it knows whose records to open. You do not pick it yourself; the service generates it at the end of registration.
So, in one line, what is a government gateway user id? It is your HMRC username. It proves nothing about your tax position, holds no tax data of its own and is useless without the matching password, which is why you should keep both private.
What does a Gateway ID look like?
Many websites describe it as a “12-digit” number. The official wording is slightly different. GOV.UK’s HMRC sign-in page says a Government Gateway user ID can be up to 12 characters. So if yours looks shorter than you expected, that does not mean it is wrong. Copy it exactly as it was shown to you rather than assuming a fixed pattern.
What can you do once you sign in?
According to GOV.UK’s personal tax account page, signing in lets you check your tax code and Income Tax estimate, manage Self Assessment, claim a refund, review income and tax for the past five years, update your address, and find your National Insurance number and UTR. A business tax account is reached the same way and covers taxes such as VAT that you have registered for.
Government Gateway User ID vs UTR, NI Number and One Login
Most confusion around what is a government gateway user id comes from the other references printed on HMRC letters. This table shows what each one is for and whether it gets you through the sign-in screen.
| Reference | What it is for | Signs you in? |
|---|---|---|
| Government Gateway user ID | Login name for HMRC online services, used with a password | Yes |
| GOV.UK One Login | Newer sign-in that uses your email address and a password | Yes, as an alternative |
| Unique Taxpayer Reference (UTR) | Identifies you or a company for Self Assessment or Corporation Tax | No |
| National Insurance number | Records your NI contributions and State Pension entitlement | No |
Sources: GOV.UK, HMRC online services sign-in and personal tax account pages, checked October 2026.
The practical rule is easy to remember: references identify you to HMRC, while sign-in details let you prove it is really you online. Your UTR can sit in your personal tax account for years, but you will only see it after the user ID and password, or One Login, have opened the door.
GOV.UK One Login: Is the Gateway ID Being Replaced?
Yes, gradually. HMRC’s guidance on accessing its services with GOV.UK One Login says One Login will replace other sign-in methods over time, Government Gateway included. It gives no single switch-over date for retiring the Government Gateway UK sign-in. The change is being rolled out in stages, and people who have never had HMRC sign-in details are among the first being asked to create a One Login.
For anyone who already has a Gateway login, the message from HMRC is reassuring: you do not need to do anything differently until you are prompted. So understanding what is a government gateway user id still matters in 2026/27. For existing users, it remains the key you will be asked for until HMRC moves you across.
| Your situation | What GOV.UK says to do |
|---|---|
| You sign in with a Gateway user ID today | Keep using it until HMRC prompts you to change |
| You already use One Login for HMRC | Carry on with One Login |
| You have never signed in to HMRC online | Choose to create new sign-in details; you may be guided to One Login |
| You are asked to switch to One Login | Have photo ID ready, as you may need to prove your identity again |
Sources: GOV.UK, HMRC online services sign-in and One Login guidance, checked October 2026.
Where Your Gateway ID Might Be
Once you know what is a government gateway user id, tracking yours down is usually a matter of looking in the right place. It is shown when you finish registering, and you will not normally find it on HMRC letters. Before starting any recovery, spend five minutes on the places it most often turns up:
- A password manager or the saved logins in your web browser.
- Old emails mentioning “Government Gateway”, including archive and junk folders and any email address you used at the time.
- Notes, screenshots or paperwork from the day you first registered.
- An agent or bookkeeper who helped you register, who may have written it down for you.
What is my government gateway id if I have more than one?
It is quite possible to hold several. GOV.UK’s business tax account guidance says you need the sign-in details you used when you first registered for that business tax. If you set up VAT or a company years after your personal account, that registration may sit under a separate user ID. Work out which account you are trying to reach before assuming an ID is “wrong”.
Getting Sign-In Details for the First Time
If you have never used HMRC online, start from the GOV.UK sign-in page and choose to create new sign-in details. The service then walks you through either a Government Gateway login or a GOV.UK One Login. If you end up with One Login, you will sign in with your email address rather than a user ID, and that is perfectly normal.
Part of the process may be proving who you are. GOV.UK lists three ways to do this with One Login:
| Route | What you need | Useful to know |
|---|---|---|
| GOV.UK One Login app | A recent iPhone or Android phone with a camera, plus photo ID such as a UK passport or UK photocard driving licence | Expired passports are not accepted |
| Security questions online | Answers about your financial products, plus details from a UK passport, driving licence or UK bank account | Handy if you do not have a suitable phone |
| At a Post Office | Photo ID taken to a branch that offers in-person checks | GOV.UK says the result usually arrives by email within a day |
Source: GOV.UK, Proving your identity with GOV.UK One Login, checked October 2026.
If you do receive a Gateway login rather than One Login, record the new ID straight away. Knowing what is a government gateway user id is only half the job; keeping it somewhere safe is what saves you a recovery later.
Lost or Forgotten Your User ID?
Knowing what is a government gateway user id does not help much if yours has gone missing, and that is common, because most people only use it once or twice a year. The fix starts in the same place you sign in. GOV.UK’s help page on signing in says you can recover or reset lost sign-in details, and that you will be told how to do this when you try to sign in. In other words, go to the official sign-in page and follow the recovery option rather than searching for a separate “recovery site”.
If the online route fails, for example because an error appears or you cannot get an access code, HMRC runs a technical helpdesk for online services.
| HMRC online services helpdesk | Details |
|---|---|
| From the UK | 0300 200 3600 |
| From outside the UK | +44 161 930 8445 |
| Opening hours | Monday to Friday, 8am to 6pm; closed on bank holidays |
| Helps with | Error messages, identity checks, login details and access codes |
| Does not help with | General tax questions |
Source: GOV.UK, HMRC online services helpdesk, checked October 2026.
Example Scenario (illustrative)
Amira works in a hospital and is paid through PAYE. She created a Government Gateway login in 2019 to check her tax code, then forgot about it. In June 2026 she starts renting out a spare flat and learns that, if she needs to file a return for 2025/26 and is new to Self Assessment, GOV.UK says to register by 5 October 2026.
At the sign-in screen she is asked for a user ID. Unsure what is a government gateway user id in her case, she checks her old email account and finds the 2019 registration message. Her personal tax account opens, and from there she can see her National Insurance number and, once issued, her UTR. Her existing login does the job, so she has no need to create a second set of details.
Reviewer’s View (Shamayun Chowdhury)
From a reviewer’s perspective, the practical risk is not forgetting the definition of what is a government gateway user id; it is losing access to the email address or phone linked to it. Check that your recovery details are current each time you sign in, and keep the ID and password in a password manager rather than a notebook or an unprotected file.
Common Mistakes With Your Gateway ID
| Mistake | Why it happens | Possible consequence | How to avoid it |
|---|---|---|---|
| Typing your UTR or NI number as the user ID | All three look like reference numbers | Repeated failed sign-ins | Use only the ID shown when you registered |
| Creating a new login instead of finding the old one | It feels quicker | Records spread across accounts, or an extra identity check | Search your records and use the recovery option first |
| Sharing login details with a friend or relative | Wanting help with a return | Loss of control over your tax records | Keep your details private; use proper agent or trusted helper routes instead |
| Signing in through a link in an email or text | Messages look official | Details stolen by fraudsters | Type GOV.UK into your browser or use the HMRC app |
Scam warning: protect your user ID
Searches such as “gatewayid co uk” show how often people look for the login outside GOV.UK. Only sign in from GOV.UK or the official HMRC app. HMRC says it only emails about tax refunds or asks for personal or payment details from addresses ending in hmrc.gov.uk. Forward suspicious emails to phishing@hmrc.gov.uk and suspicious texts to 60599, then delete them.
Government Gateway User ID FAQs
Is a Government Gateway user ID the same as a UTR?
No. Your Government Gateway user ID is a login name for HMRC online services. Your Unique Taxpayer Reference (UTR) identifies you for Self Assessment or Corporation Tax. You can find your UTR inside your HMRC account once you have signed in with your user ID or One Login.
How many digits is a Government Gateway user ID?
GOV.UK describes it as up to 12 characters, rather than a fixed 12-digit number. Copy your ID exactly as it was shown when you registered, and do not assume it is wrong just because it looks shorter than you expected.
What is a goverment gateway id?
“Goverment gateway id” is a common misspelling of Government Gateway ID. It means the same thing: the user ID HMRC gives you, used with a password, to sign in to your personal or business tax account online.
Can I have more than one Government Gateway user ID?
Yes. Your personal tax account and a business tax account can sit under different user IDs, because GOV.UK says you need the details you used when you first registered for that business tax. Check which account you are trying to reach before starting a recovery.
Do I need a Government Gateway user ID if I use GOV.UK One Login?
No. GOV.UK One Login is a separate way to sign in to HMRC services, using your email address and a password instead of a user ID. If you already sign in with Government Gateway, HMRC says to keep doing so until you are prompted to change.
Can someone else use my Government Gateway user ID?
You should never share your user ID and password, even with family. Anyone holding them can see and change your tax records. If someone needs to help with your tax, HMRC has proper agent and trusted helper routes that keep your own login private.
What should I do if I have forgotten my Government Gateway user ID?
Go to the official GOV.UK sign-in page and follow the recovery option shown there. If the online route fails because of an error or a missing access code, contact the HMRC online services helpdesk on 0300 200 3600, Monday to Friday, 8am to 6pm.
What Is a Government Gateway User ID Used For in 2026/27?
The answer to what is a government gateway user id has not changed for the current tax year. The ID still opens the same doors it always has: your personal tax account for PAYE, Self Assessment and refunds, and your business tax account for registered business taxes. What is changing is the route in. New users are increasingly steered to GOV.UK One Login, while existing users carry on with their Gateway details until HMRC asks them to move.
If you are filing a return for the first time this winter, it helps to know which records you will want once you are signed in. Our guide on whether you need all receipts for a tax return explains what to keep before the 31 January deadline.
Final Verdict: What Is a Government Gateway User ID?
So, what is a government gateway user id? It is your HMRC username: an ID of up to 12 characters that, with your password, opens your personal or business tax account. It is not your UTR or NI number. GOV.UK One Login is replacing it gradually, so keep your current details safe and only switch when HMRC prompts you.
Your next steps
- Sign in only through the official GOV.UK HMRC sign-in page or the HMRC app.
- Lost your details? Use the recovery option shown on GOV.UK’s problems signing in page.
- Once inside, check your personal tax account details, including your UTR and NI number.
For advice on your own situation, speak to a qualified accountant or tax adviser.
Why trust this guide
- Written by Marina Jahan and reviewed by a chartered management accountant (ACMA, MAAT) with more than 15 years’ UK practice experience.
- Answers what is a government gateway user id using GOV.UK’s own wording, including the “up to 12 characters” rule.
- One Login, identity checks, helpdesk and scam-reporting details checked against GOV.UK in October 2026.
- No products or services are promoted on this page.
- Last reviewed: October 2026.
SC
Reviewed by
Shamayun Chowdhury
BA (Hons), MSc, ACMA, CMA, CIPFA (Affil), MAAT, AATQB
Senior Accountant · Leicester
Director, Major Accountancy Ltd
Director, Eternity Accountants Ltd
Lecturer, Nottingham Trent University
15+ years’ UK practice
Director, Eternity Accountants Ltd
Lecturer, Nottingham Trent University
15+ years’ UK practice
Shamayun is a chartered management accountant (ACMA) and a full member of AAT. He reviews every MerinTaxReturn guide against current GOV.UK and HMRC rules before publication.
How we checked this guide: GOV.UK guidance on signing in to HMRC online services, problems signing in, GOV.UK One Login for HMRC services, proving your identity, the personal and business tax accounts, the HMRC online services helpdesk and reporting fraudulent HMRC emails and texts.
MerinTaxReturn is an information website. It does not prepare or file tax returns and does not give personal tax advice.
This article is general information, not personal tax advice. Speak to an accountant about your own circumstances.
We review this guide every 12 months, or sooner if HMRC guidance changes. Last reviewed: October 2026.
Sources (accessed 9 October 2026)
- GOV.UK: HMRC online services – sign in or set up an account
- GOV.UK: Get help with signing in to HMRC online services
- GOV.UK: Accessing HMRC online services using GOV.UK One Login
- GOV.UK: Proving your identity with GOV.UK One Login
- GOV.UK: Personal tax account
- GOV.UK: Sign in to your HMRC business tax account
- GOV.UK: HMRC online services helpdesk
- GOV.UK: Reporting fraudulent HMRC emails and texts
- GOV.UK: Register for Self Assessment