Government Gateway locked, lost user ID or password: what to do
Quick answer
A locked Government Gateway account unlocks by itself after 2 hours, and HMRC's helpdesk cannot unlock it sooner. For a lost user ID or password, start signing in on GOV.UK and follow the recovery steps you are shown there.
Next in this seriesHMRC app: what it does and how to sign in
This guide is general information and cannot advise you. Our disclaimer says when to get regulated advice.
| Key figures | Figure |
|---|---|
| Locked account reopens after | 2 hours |
| User ID length, at most | 12 characters |
| Ways to get the passcode | Text, call or app |
Source: GOV.UK, Get help with signing in. Figures checked .
If your Government Gateway account is locked
Your account locks if the wrong sign-in details are entered too many times. GOV.UK says it unlocks after 2 hours, and that the helpdesk advisers cannot unlock it any sooner, so phoning will not speed things up.
UK Money Journal is independent and not affiliated with HMRC. We never ask for your user ID, password or passcodes, and this page has no sign-in form. It is part of our help with HMRC, DWP and NS&I sign-in, and our disclaimer sets out what a general guide can and cannot tell you.
While you wait, it is worth finding the right details rather than trying again from memory, since every wrong guess counts towards the next lock. A lockout is annoying, but the same rule keeps out anyone else who tries to guess their way into your account.
Some practical things to do in those 2 hours:
- Find your ID: look for it in a password manager or a note you made when you set it up.
- Check which login you used: you may have signed up with an email address and password through GOV.UK One Login instead.
- Have your phone ready: the next step after the password is a one-time passcode.
Lost user ID or password
Start signing in on GOV.UK’s sign in or set up page. GOV.UK says that when you try to sign in, you are told how to recover or reset lost details, so the recovery route sits inside the sign-in journey itself rather than on a separate form.
A Gateway ID can be up to 12 characters long. If you never had one, or simply cannot get back in, the same page lets you create new sign-in details and start again. Once you have working details again, keep a note of the ID somewhere safe, such as a password manager, so that next year’s visit does not start with the same search.
You may be asked to confirm your identity along the way. GOV.UK says this normally involves photo ID such as a passport or driving licence, and it is there so that a stranger cannot reset your password.
When the access code does not arrive
After your ID and password, a one-time passcode is sent to you. GOV.UK says it can come by:
- text message;
- voice call;
- an authenticator app.
If you changed your phone number, or no longer use the same phone, you can change how the passcode reaches you, for example from text messages to an authenticator app. Sign in with your ID and password, select “You can get help” when you are asked for the code, and follow the steps.
Which sign-in details HMRC accepts
There are 2 kinds of login:
- Government Gateway: a user ID and a password.
- GOV.UK One Login: an email and a password.
If you already use the tax services, GOV.UK says to keep using the login you have, even if you also hold One Login details from another government service. One Login does not yet work with every government account; Universal Credit, for example, has its own sign-in. Problems with One Login itself go to the One Login team. If you do not feel comfortable using One Login by yourself, GOV.UK says you can ask someone you know and trust to help, and it explains what that person can and cannot do for you.
Over time, GOV.UK says One Login will replace other ways of signing in, including Government Gateway. Until your service asks you to switch, carry on as you are.
Getting more help
If the steps above do not work:
- Look for service problems first. GOV.UK warns that services can be slow at busy times, and links to a page of known service problems.
- Ask the digital assistant. It can transfer you to a webchat adviser if one is available.
- Use the “Get help” link inside the service you are using, for error messages, identity checks and passcode problems.
- Phone the technical helpline listed on the technical support page, open Monday to Friday, 8am to 6pm. Relay UK users can dial 18001 first.
The helpline may ask security questions, so GOV.UK advises keeping your personal details up to date in your personal tax account. If you need your tax reference or National Insurance number for those questions, our guides to finding your UTR number and finding your National Insurance number list the official places to look.
Once you are back in, the official HMRC app lets you sign in with a PIN, fingerprint or face instead of typing the ID each time.
Spotting a fake lockout message
A message that says your account is locked and pushes you to act fast is a reason to slow down. The tax office says it never sends news of a rebate by text and never asks for personal or payment information that way. Do not follow links in such messages; type gov.uk into your browser yourself.
To report a suspicious contact:
- texts: forward them to 60599;
- emails: forward them to phishing@hmrc.gov.uk, then delete them;
- calls: report them through the reporting page.
Never share your login with anyone else, including someone who says they can unlock your account for you.
Sources and when we last checked
- Get help with signing in, GOV.UK. Accessed .
- Sign in or set up an account, GOV.UK. Accessed .
- Technical support with HMRC online services, GOV.UK. Accessed .
- Using your GOV.UK One Login, GOV.UK. Accessed .
- Report suspicious emails, texts and phone calls, GOV.UK. Accessed .