How do I recover my Government Gateway user ID?
Short answer
Go to the HMRC sign-in page, follow the 'problems signing in' link, and enter the email address registered against the account — HMRC sends the user ID back to that address. If no email address is held on the account, the recovery service stops and tells you to phone instead. The online services helpdesk is 0300 200 3600, Monday to Friday.
Verified · 8 cited sources
Check which credential you have actually lost before you start. A Government Gateway user ID is a string of up to 12 digits HMRC issued when you first enrolled for online services, and GOV.UK describes it in exactly those terms on the sign-in page. It is not a GOV.UK One Login, which uses your email address as the identifier and has its own recovery route. GOV.UK says One Login will over time replace every other way of signing in to services on GOV.UK, including Government Gateway, but that it does not yet work with all of them — so both credentials are in circulation and the recovery paths do not overlap.
The self-service route is the only one that returns the number itself. Start at gov.uk/log-in-register-hmrc-online-services and follow the 'problems signing in' link, which states that you can recover or reset your sign-in details if you have lost them, and that you will be told how when you try to sign in. That leads to HMRC's account recovery service, which asks for an email address associated with the user ID. Supply one it recognises and the ID is sent to that mailbox. This is the whole online route — there is no version of it that works from your National Insurance number or your UTR alone.
If no email address is held, the service stops. The recovery page says in terms that you cannot recover your sign-in details online until an email address has been associated with the account, and sends you to find the correct helpline for the service you were trying to reach. There is no workaround, so do not keep resubmitting the form: the account you are trying to reach will lock you out first. GOV.UK's signing-in help page says the account unlocks after two hours and that helpdesk advisers cannot lift the lock, which means phoning during those two hours achieves nothing.
The helpline that handles credentials is HMRC's online services helpdesk on 0300 200 3600, or +44 161 930 8445 from outside the UK, open Monday to Friday 8am to 6pm and closed on bank holidays. GOV.UK describes its scope as technical problems with HMRC systems — error messages, identity verification, sign-in problems and access code difficulties — and says explicitly not to use it for tax queries or for VAT online services, which have their own lines. Expect security questions. GOV.UK warns that if your personal details and address are not current in your tax account you may fail the check, so update them where you can before you ring.
Two adjacent failures get mistaken for a lost user ID. The first is a forgotten password, which runs through the same 'problems signing in' route but is a reset rather than a recovery. The second is an access code going to a phone you no longer hold: HMRC can send the code by text message, voice call or authenticator app, and the fix is to sign in with the user ID and password you do have, select 'You can get help' when the code is requested, and follow the steps. Neither of those gets you the user ID back, and neither is a reason to keep retrying the recovery form.
Timing matters more than it looks. Self Assessment filing and payment for the previous tax year are both due by 31 January, so a January lockout that needs a phone call to fix is a lockout with a penalty attached to it. Recover the user ID out of season if you can, and once you have it, attach a live email address to the account so the self-service route works next time. If a health condition or disability makes the phone route difficult, GOV.UK says you can ask any HMRC helpline to put you through to its extra support team.
- The user ID is up to 12 digits and is not your GOV.UK One Login email address
- Online recovery only works if an email address is associated with the account
- No associated email means HMRC requires a phone call — there is no workaround
- Failed attempts lock the account for two hours and no adviser can lift the lock
- Online services helpdesk: 0300 200 3600, or +44 161 930 8445 from abroad
- Attach a live email address once you are back in, before the January deadline
Go deeper
People also ask
Sources & provenance
Facts verified
- 1.Get help signing in to HMRC online services OfficialHM Revenue and CustomsUsed for: That lost sign-in details can be recovered or reset and you are told how when you try to sign in, that the account unlocks after two hours, that helpdesk advisers cannot unlock it, the text message, voice call and authenticator app code options, and the 'You can get help' route at the access code screen
- 2.HMRC online services: sign in or set up an account OfficialHM Revenue and CustomsUsed for: The Government Gateway user ID being up to 12 digits, the two available sign-in methods, and the instruction to keep using existing details rather than creating new ones
- 3.Recover your account details: email associated with your user ID OfficialHM Revenue and CustomsUsed for: That an email address associated with the Government Gateway user ID is required, that you cannot recover your sign-in details online until one has been added, and that you are then directed to find the correct helpline for the service
- 4.HMRC online services helpdesk OfficialHM Revenue and CustomsUsed for: The 0300 200 3600 and +44 161 930 8445 numbers, Monday to Friday 8am to 6pm opening with bank holidays closed, the scope covering error messages, identity verification, sign-in and access code problems but not tax or VAT online queries, and the warning that out-of-date personal details can fail the security check
- 5.Get help from HMRC if you need extra support OfficialHM Revenue and CustomsUsed for: That you can ask an HMRC helpline to put you through to the extra support team if you have a health condition or disability
- 6.Personal tax account: sign in or set up OfficialHM Revenue and CustomsUsed for: What the personal tax account gives access to, and that you are told at sign-in if you need to prove your identity
- 7.Using your GOV.UK One Login OfficialGovernment Digital ServiceUsed for: That One Login will over time replace all other ways to sign in to services on GOV.UK, including Government Gateway, that it does not yet work with every service, and that sign-in details and security code settings are changed inside the One Login account itself
- 8.Self Assessment tax returns: deadlines OfficialHM Revenue and CustomsUsed for: The 31 January online filing and payment deadline that makes a January lockout expensive
The description of the user ID, the recovery route and its email requirement, the two-hour lock, the access code options, the helpdesk numbers, hours and scope, the security-question warning and the One Login position are taken from the GOV.UK and tax.service.gov.uk pages cited above. The framing — that the first task is establishing which credential you lost, that retrying the form burns attempts against a lock no adviser can lift, and that you should attach an email address before the January deadline — is our emphasis rather than HMRC wording. Helpline numbers, opening hours and the balance between Government Gateway and GOV.UK One Login change as HMRC migrates services, and the recovery screens are redesigned periodically. Confirm the current route on gov.uk/log-in-register-hmrc-online-services before relying on any step here.
Facts on this page are taken from the sources listed above — UK government departments, devolved administrations, regulators, statutory bodies and official statistical releases. Comparisons, judgements and "which option suits whom" conclusions are AI-assisted analysis written over those sources; they are marked in the text and listed as an AI-analysis entry in the sources, not attributed to any authority. Rates, thresholds, fees and processing times change, usually at the start of a tax year in April; figures are current as at the review date shown and should be confirmed with the responsible body before you rely on them. Much of what follows differs between England, Scotland, Wales and Northern Ireland — where it does, this site says so.