The two kinds of sign-in details

The main GOV.UK page for HMRC online services says there are 2 ways to sign in:

  • Government Gateway: you sign in with a user ID, up to 12 characters, and a password
  • GOV.UK One Login: you sign in with an email address and password

It tells you to continue to use the sign in details you have. That could be a Government Gateway user ID, even if you also have GOV.UK One Login sign in details from another government service, or GOV.UK One Login sign in details for personal tax services.

The page lists services that HMRC online services cover, including a personal or business tax account, Self Assessment (including Making Tax Digital for Income Tax), Corporation Tax, PAYE for employers, VAT and the Construction Industry Scheme. It also names tax agent accounts under a separate heading, "Services you sign in to separately", and I have not covered those.

If you are new to HMRC sign-in

If you have no sign in details, GOV.UK says you can create them. It says to select "Create new sign in details" when signing in to HMRC online services, even if you have GOV.UK One Login sign in details from another government service or an email subscription. The service then guides you to create either Government Gateway or GOV.UK One Login sign in details.

The One Login guidance for HMRC says that over time One Login will replace all other sign in routes, including Government Gateway. It says you do not need to do anything differently until HMRC prompts you, and that customers without existing HMRC online sign in details will be among the first to create a GOV.UK One Login. A note added on 13 November 2025 says that if you do not already have access to GOV.UK One Login for HMRC services, you will need to sign in using Government Gateway.

Lost user ID or password

On the Government Gateway help page, GOV.UK says you can recover or reset your sign in details if you have lost them, and that you are told how to do this when you try to sign in. The passages I read do not list further steps, so I have not added any.

Problems receiving an access code

GOV.UK says you can receive an access code by text message, voice call or authenticator app. You can change how you receive your access code, for example if you change your phone number. To do that, sign in with your Government Gateway user ID and password, and when you are asked for an access code select "You can get help" and follow the steps.

If you are locked out

The same page says you are locked out of your account if you enter the wrong sign in details too many times. Your account will unlock after 2 hours, and helpdesk advisers cannot unlock your account.

The page also notes that online services may be slow during busy times, and points you to a page listing any problems with services. It adds that you can ask HMRC's digital assistant for help with using the online services.

What I could not confirm

The help page names a separate heading for problems signing in using GOV.UK One Login, but I did not open it, so I have left One Login recovery steps out. The pages do not say how many wrong attempts trigger the lockout, and they do not say what to do if you no longer have the email address or phone number linked to your account. I have not guessed at either.

Frequently asked questions

How long does an HMRC online account stay locked?

GOV.UK says it will unlock after 2 hours. It does not say how many wrong attempts cause the lockout.

Can HMRC staff unlock my account sooner?

The help page says helpdesk advisers cannot unlock your account.

I changed my phone number and cannot get the access code. What do I do?

GOV.UK says you can change how you receive your access code. Sign in with your Government Gateway user ID and password, select "You can get help" when asked for an access code, and follow the steps. That route is described for Government Gateway sign-ins.

I have a GOV.UK One Login from another service. Can I use it for HMRC?

Not necessarily. GOV.UK says to continue to use the sign in details you have, which could be a Government Gateway user ID even if you also have One Login details from another government service. If you need new sign in details, it says to select "Create new sign in details" when signing in to HMRC online services.

Which sign-in details will I be asked to use in future?

GOV.UK says One Login will over time replace other sign in routes, including Government Gateway, but that you do not need to do anything differently until HMRC prompts you. It gives no date for your own account.

Official information