Government Gateway ID is a 12-digit unique identifier issued by HMRC for secure authentication to UK government digital tax services. Government Gateway ID for accessing Self Assessment, VAT returns, PAYE payroll, and Corporation Tax functions as a central login credential within the UK Government Gateway system.
Secure Government Gateway ID with identity verification enables individuals, sole traders, and limited companies to manage tax records, submit returns, and interact with HMRC’s online portal.
Digital tax identity with Government Gateway ID integrates with the Personal Tax Account and business tax accounts, ensuring encrypted access and user-specific data protection across HMRC platforms.
What is Your Government Gateway ID?
Government Gateway ID is a unique 12-digit number issued by HMRC that identifies your account within the Government Gateway system. It is your primary login credential for all HMRC online services and selected other UK government digital services.
Government Gateway is the authentication platform built and operated by the UK Government Digital Service on behalf of HMRC and other public sector organisations. It was introduced in 2001 and has since become the standard digital entry point for over 50 HMRC online services. The Government Gateway user ID is the identifier attached to your account within this platform.
The Government Gateway user ID is not a tax reference number. It is a login credential — comparable to a username in any secure digital system. HMRC uses it alongside your password and two-step verification (2SV) to confirm your identity every time you sign in.
Government Gateway ID – Key Facts for 2026Format: 12-digit number — example: 12 34 56 78 90 12 Issued by: HMRC (HM Revenue and Customs) Purpose: Secure login for all HMRC online services and selected UK government platforms Delivery: Shown on screen immediately after registration AND emailed to your registered address Two-step verification: Required every time you sign in — via text, phone call, or authenticator app Account lock: HMRC locks the account for 2 hours after 5 consecutive failed login attempts Transition: Being gradually replaced by GOV.UK One Login — Government Gateway still active in 2026 HMRC online services helpdesk: 0300 200 3600 (Monday to Friday, 8am to 6pm) |
What is My Government Gateway ID?
Your Government Gateway ID is the 12-digit number HMRC assigned to you when you first registered for any HMRC online service. It is not your National Insurance number, your Unique Taxpayer Reference (UTR), or your VAT registration number. Each of these is a separate HMRC reference with a different purpose and format.
How is the Government Gateway ID Different from Other HMRC Reference Numbers?
HMRC uses 4 main reference numbers across its systems. Understanding the difference between them prevents mistakes when completing tax forms, registering for services, or contacting HMRC.
| Reference | Format | Purpose |
| Government Gateway user ID | 12 digits — e.g. 12 34 56 78 90 12 | Login credential for HMRC online services |
| National Insurance (NI) number | 2 letters + 6 digits + 1 letter — e.g. AB 12 34 56 C | Identifies you for Income Tax, NI, and benefits |
| Unique Taxpayer Reference (UTR) | 10 digits — e.g. 12345 67890 | Identifies your Self Assessment or Corporation Tax record |
| VAT registration number | 9 digits — e.g. GB 123 456 789 | Identifies your business for VAT purposes |
| PAYE employer reference | 3-digit office number + slash + employer ref | Identifies your business as an employer for PAYE |
The Government Gateway user ID is never printed on HMRC correspondence letters, tax returns, or payslips. It exists only in the digital environment — visible on screen when you first register and in the confirmation email HMRC sends immediately after account creation.
What Does a Government Gateway ID Look Like?
A Government Gateway ID contains exactly 12 digits, typically displayed in groups of 4: XXXX XXXX XXXX. HMRC presents it on the confirmation screen at the end of registration and sends it to the email address used to create the account. The subject line of the confirmation email reads: ‘Your Government Gateway user ID’.
Who Needs a Government Gateway ID?
Every individual and business that manages UK tax obligations online requires a Government Gateway ID. 6 categories of taxpayer require a Government Gateway ID: self-employed sole traders, limited company directors, VAT-registered businesses, employers operating PAYE, individuals filing Self Assessment returns, and anyone accessing their Personal Tax Account.
Why Would I Need a Government Gateway ID as a Self-Employed Person?
Self-employed sole traders need a Government Gateway ID to register for and file Self Assessment tax returns with HMRC. The Self Assessment registration process creates the Government Gateway account as part of the same workflow. Once registered, the same 12-digit ID is used every year to sign in, review tax calculations, make payments on account, and check the status of any refunds.
Self-employed individuals with taxable turnover above £90,000 also need the Government Gateway ID to register for VAT, file quarterly VAT returns through Making Tax Digital (MTD)-compatible software linked to their account, and submit the final VAT liability payment each quarter.
Why Would I Need a Government Gateway ID as a Limited Company Director?
Limited company directors need a Government Gateway ID for 3 distinct purposes: filing the company’s Corporation Tax return with HMRC, operating PAYE for any employees including themselves as directors, and managing VAT obligations if the company is VAT-registered.
Directors use 2 types of Government Gateway account simultaneously. A personal account accesses Self Assessment and the Personal Tax Account. A separate business account accesses Corporation Tax, PAYE for employers, and VAT. HMRC maintains these as distinct accounts with separate 12-digit IDs.
Why Would I Need a Government Gateway ID as an Employee?
Employees need a Government Gateway ID to access their Personal Tax Account on GOV.UK. The Personal Tax Account displays the current tax code, the amount of Income Tax paid in the current year, the National Insurance record, the State Pension forecast, and any tax refunds owed.
Employees also use the Government Gateway ID to claim Marriage Allowance, report a change of address to HMRC, and view P60 information online.
| Who Needs It | What They Use It For |
| Self-employed sole trader | Register and file Self Assessment, register for VAT, access Personal Tax Account |
| Limited company director | File Corporation Tax return, operate employer PAYE, manage VAT, access Personal Tax Account |
| VAT-registered business | Submit quarterly VAT returns via MTD, view VAT account, make VAT payments |
| Employer (any size) | Run PAYE payroll, submit Real Time Information (RTI) reports to HMRC, manage employee tax codes |
| Individual employee | View Personal Tax Account, check tax code, claim tax refunds, manage NI record |
| Accountant or tax agent | Register as an agent, manage multiple client tax accounts under one agent login |
| Trustee or executor | Access trust or estate tax records, file returns on behalf of a trust or deceased estate |
How Do I Find My Government Gateway ID?
Your Government Gateway ID is found in 3 places: the original confirmation email from HMRC, the confirmation screen displayed immediately after first registration, and the HMRC ‘Problems signing in’ recovery page. HMRC does not print the Government Gateway ID on any letters, notices, or tax documents.
Where is My Government Gateway ID in My Email?
HMRC sends the Government Gateway ID to the email address used during registration. The email arrives within minutes of completing registration. The subject line reads exactly: ‘Your Government Gateway user ID’. The 12-digit number appears in the body of the email.
Search the inbox using the keyword ‘Government Gateway’ to locate the email. Check the spam or junk folder if it does not appear in the inbox. Email providers including Gmail, Outlook, and Yahoo sometimes filter automated HMRC emails into spam on first receipt.
How Do I Recover My Government Gateway ID if I Cannot Find the Email?
Recover the Government Gateway ID through HMRC’s official ‘Problems signing in’ page at www.gov.uk/log-in-register-hmrc-online-services. Select ‘I’ve forgotten my Government Gateway user ID’ and follow the 4-step recovery process.
The 4 steps in the online recovery process are:
- Go to www.gov.uk/log-in-register-hmrc-online-services and click ‘Sign in’ on the relevant HMRC service.
- Click ‘Problems signing in’ — shown below the login fields on the sign-in page.
- Select ‘I’ve forgotten my Government Gateway user ID’ and enter the email address associated with the account.
- HMRC sends the user ID to that registered email address. Enter it on the sign-in page to access the account.
HMRC requires access to the registered email address to complete online recovery. Without access to the registered email, the recovery must be completed by phone. Call the HMRC online services helpdesk on 0300 200 3600, Monday to Friday, 8am to 6pm.
HMRC asks identity verification questions during the call — typically 3 to 4 questions from the following set: National Insurance number, UTR number, date of birth, employer PAYE reference, or VAT registration number.
What If My Government Gateway Account is Locked?
HMRC locks the Government Gateway account for exactly 2 hours after 5 consecutive failed login attempts. The account unlocks automatically after 2 hours. HMRC cannot manually unlock the account during this period — calling the helpline does not accelerate the unlock.
Avoid entering an incorrect password multiple times. Use the ‘Problems signing in’ recovery service as soon as 2 failed attempts occur, rather than continuing to guess and triggering the lockout.
4 Ways to Find or Recover Your Government Gateway IDMETHOD 1 – Search your email: Search inbox and spam for ‘Government Gateway user ID’. Subject line: ‘Your Government Gateway user ID’. Arrives from an HMRC no-reply address. METHOD 2 – Recovery page: Go to www.gov.uk/log-in-register-hmrc-online-services. Click ‘Problems signing in’ → ‘I’ve forgotten my Government Gateway user ID’. HMRC emails the ID to the registered address. METHOD 3 – Phone HMRC: Call 0300 200 3600 (Monday to Friday, 8am to 6pm). Have your NI number, UTR, date of birth, and registered address ready. HMRC asks 3 to 4 identity verification questions. METHOD 4 – Create a new account: Use this only if all recovery methods fail. Create a new account at www.gov.uk/log-in-register-hmrc-online-services. Re-enrol in all HMRC services previously linked to the old account. Note: The new ID replaces the old one — all services must be re-added. |
Why Would I Need a Government Gateway ID?
A Government Gateway ID is required to access every HMRC online service. HMRC has operated 100% digital filing for Self Assessment since 2012, for VAT under Making Tax Digital since 2022, and for employer PAYE via Real Time Information (RTI) since 2013. All 3 filing systems require a Government Gateway ID to access the submission portal.
What Services Require a Government Gateway ID?
HMRC operates 14 core online services that require a Government Gateway ID. Each service is accessed through the same login credentials but appears as a separate tile inside the HMRC online account dashboard.
| HMRC Online Service | What the Service Does |
| Self Assessment | File annual income tax return, view tax calculations, make payments |
| Personal Tax Account | Check tax code, view Income Tax paid, manage NI record, claim refunds |
| VAT (Making Tax Digital) | Submit quarterly VAT returns, view VAT account balance, make VAT payments |
| PAYE for employers | Submit Real Time Information payroll reports, manage employee tax codes |
| Corporation Tax | File company tax return, pay Corporation Tax, view account balance |
| Construction Industry Scheme (CIS) | Verify subcontractors, file monthly returns, manage CIS deductions |
| Tax-Free Childcare | Open and manage a Tax-Free Childcare account for eligible parents |
| Child Benefit | Report income changes, manage High Income Child Benefit Tax Charge |
| Plastic Packaging Tax | Register, file returns, and pay Plastic Packaging Tax |
| Inheritance Tax | File Inheritance Tax returns and manage estate tax accounts |
| Customs Declaration Service (CDS) | Submit import and export customs declarations |
| EORI number | Apply for an Economic Operator Registration and Identification number |
| Agent services | Register as a tax agent, manage client authorisations |
| Companies House WebFiling (via One Login) | File company documents — now uses GOV.UK One Login, not Government Gateway |
How Do I Create a Government Gateway ID?
Creating a Government Gateway ID takes 10 minutes and requires 4 items: a valid email address, a National Insurance number, a form of identity (UK passport, photocard driving licence, or recent payslip or P60), and a UK mobile phone number for two-step verification.
The 6 steps to create a Government Gateway ID are:
- Go to HMRC’s Official Website and select the HMRC service you want to register for (Self Assessment, VAT, Personal Tax Account, etc.).
- Click ‘Create sign in details’ on the sign-in page.
- Enter the email address you want to use as your registered address. HMRC sends a 6-digit confirmation code to this address. Enter the code to verify the email.
- Enter your full name and create a strong password. HMRC displays your 12-digit Government Gateway ID on screen. Save it immediately — take a screenshot or write it down.
- Set up two-step verification by providing a UK mobile number. HMRC sends a security code to this number every time you sign in from a new device.
- Verify your identity. HMRC asks for your National Insurance number and one document: UK passport details, photocard driving licence details, or figures from a recent payslip or P60. Identity verification confirms your access to the service.
HMRC also sends a copy of the 12-digit Government Gateway ID to the registered email address immediately after registration. Save this email. The ID is the most critical piece of information to retain — without it, access to all linked HMRC services requires recovery.
How Long Does It Take to Register for a Government Gateway ID?
Online registration for a Government Gateway ID completes in 10 to 15 minutes. Identity verification completes online for most applicants. HMRC posts an activation code to the registered address for specific services — this takes up to 10 working days within the UK and up to 21 working days for overseas addresses.
The activation code is separate from the Government Gateway ID itself — it activates the specific tax service, not the account.
Documents to Have Ready Before RegisteringRequired for all registrations: — Valid email address (use a personal address you will have long-term access to) — UK mobile phone number (for two-step verification codes) — National Insurance number (found on payslips, P60, or letters from HMRC) Required for identity verification (provide ONE of the following): — Valid UK passport (passport number, expiry date) — Photocard driving licence (licence number, issue date) — Recent payslip or P60 (employer name, gross pay, tax deducted) Note: HMRC locks out accounts after 5 failed login attempts for 2 hours. Save the 12-digit ID and confirmation email as soon as registration completes. |
What is Two-Step Verification on the Government Gateway?
Two-step verification (2SV) is a mandatory security layer on all Government Gateway accounts. HMRC sends a one-time security code to a registered device every time a sign-in is attempted from an unrecognised browser or device. The code must be entered alongside the Government Gateway ID and password to complete the login.
HMRC offers 3 two-step verification methods: a code sent by text message to the registered mobile number, a code sent by automated phone call to the registered number, and a code generated by an authenticator app such as Google Authenticator or Microsoft Authenticator.
Losing access to the registered mobile number — for example, after changing phone numbers — requires contacting HMRC to update the two-step verification settings. Call the HMRC online services helpdesk on 0300 200 3600. HMRC verifies identity over the phone and then updates the 2SV contact details.
What is the Difference Between a Personal and a Business Government Gateway Account?
HMRC operates 2 distinct types of Government Gateway account: personal accounts and business accounts. Each account type accesses different sets of HMRC services. A director of a limited company who is also self-employed uses both account types simultaneously — with separate 12-digit IDs for each.
| Account Type | Services Accessed |
| Personal Government Gateway account | Self Assessment, Personal Tax Account, Child Benefit, Tax Credits, Marriage Allowance, NI record, State Pension forecast |
| Business Government Gateway account | Corporation Tax, VAT (MTD), PAYE for employers, Construction Industry Scheme, Customs Declaration Service, EORI |
A sole trader operating without a limited company uses a single personal Government Gateway account for both Self Assessment and VAT.
A limited company director uses a personal account for Self Assessment on personal income and a separate business account for Corporation Tax and employer PAYE. HMRC registers these as 2 distinct accounts with 2 separate 12-digit IDs.
Can an Accountant Access My Government Gateway Account?
HMRC advises that Government Gateway login credentials must never be shared with anyone — including an accountant. An accountant accesses a client’s tax records through the separate HMRC Agent Services account system.
The client authorises the agent through HMRC’s agent authorisation process, giving the accountant access without sharing the client’s personal login details.
The authorisation process involves the accountant sending a digital request through their Agent Services account. HMRC sends the client an authorisation code by post, which the client enters in their own HMRC online account to grant the agent access. This keeps the client’s login credentials entirely separate from the agent’s.
The current UK Income Tax rates and bands for the 2025 to 2026 tax year, as confirmed by HMRC on GOV.UK, are:
| Band | Taxable Income | Tax Rate |
| Personal Allowance | Up to £12,570 | 0% |
| Basic Rate | £12,571 to £50,270 | 20% |
| Higher Rate | £50,271 to £125,140 | 40% |
| Additional Rate | Over £125,140 | 45% |
How Do You Keep Your Government Gateway ID Secure?
Protecting the Government Gateway ID requires the same level of security as online banking credentials. 4 security rules apply to every Government Gateway account: store the ID securely, never share it with anyone, sign out completely after every session, and report suspected phishing immediately.
- Store the Government Gateway ID in a password manager such as 1Password, Bitwarden, or Dashlane — not in an unprotected spreadsheet or sticky note.
- Never share the Government Gateway ID or password with anyone — including an accountant. HMRC’s agent authorisation system exists specifically to avoid this.
- Sign out fully after every session rather than closing the browser tab. HMRC sessions time out after inactivity, but a full sign-out ensures no residual session remains.
- Report suspected phishing emails or texts to HMRC immediately at phishing@hmrc.gov.uk. HMRC never sends emails or texts requesting a Government Gateway ID or password.
- Use the registered mobile number and two-step verification at all times. Disabling 2SV is not recommended and HMRC encourages it to remain active on all accounts.
- Avoid accessing the Government Gateway on public Wi-Fi networks. Home broadband or mobile data provides a significantly more secure connection environment.
Summary: What is a Government Gateway ID – 8 Key Facts
- Government Gateway ID is a unique 12-digit number assigned by HMRC when you create a Government Gateway account.
- It is a login credential — not a tax reference number. It is different from the NI number, UTR, VAT number, and PAYE reference.
- Every UK taxpayer, self-employed person, and business owner who manages tax digitally requires one.
- Find it by searching for ‘Your Government Gateway user ID’ in the registered email inbox, or recover it at www.gov.uk/log-in-register-hmrc-online-services.
- HMRC locks the account for 2 hours after 5 failed login attempts — use the recovery service before this point.
- Each HMRC service (Self Assessment, VAT, PAYE, Corporation Tax) must be separately enrolled within the same account.
- GOV.UK One Login is replacing Government Gateway gradually — Government Gateway remains active for all HMRC tax services in 2026.
- Never share the Government Gateway ID with anyone — authorise an accountant through HMRC’s agent authorisation system instead.
Need Help With Your HMRC Government Gateway Account?Setting up a Government Gateway account, enrolling tax services, and staying on top of HMRC deadlines are tasks Micro Entity Accounts handles for business owners and self-employed professionals across the UK every day. From Government Gateway setup to Self Assessment, VAT returns, Corporation Tax, and Making Tax Digital compliance — we make HMRC straightforward. |
Disclaimer: The content on MicroEntityAccounts is for informational purposes only and do not constitute tax or financial advice. We recommend consulting a certified tax professional or the HM Revenue and Customs Dept (HMRC) for accurate guidance. MicroEntityAccounts is not responsible for any decisions made based on the information provided.




