MTD mandatory · April 2026
TapTax
Glossary home

What Is the Government Gateway?

It is the single key that unlocks your tax account, your Self Assessment, and dozens of other government services online. Lose it and you lose access, so it pays to understand how it works.

What Is the Government Gateway?
Government Gateway is the UK's online identity and sign-in system that lets you access HMRC and other government services, using a unique 12-digit user ID and password plus two-factor authentication.

Before you can check your tax code, file a return, or see how much HMRC thinks you earned, you have to get through one door: the Government Gateway. It is the most-used login in British public life, and the cause of more locked-out, deadline-day panic than almost any other part of the tax system.

Key takeaways
  • Government Gateway is the UK's single online sign-in and identity system for government services.
  • You get a unique 12-digit user ID plus a password and two-step verification.
  • It is the login layer; HMRC online services are the tools you reach after signing in.
  • One Gateway account can access HMRC, DWP, Companies House and other services.
  • Keep your user ID and recovery details safe, as losing them can block access near deadlines.

What the Government Gateway Is

The Government Gateway is the authentication system that lets UK citizens and businesses prove who they are and sign in to online government services. Introduced in 2001, it provides a single set of credentials, a 12-digit user ID, a password, and a recovery word, that work across a wide range of services, with HMRC being by far the most common.

It is important to separate the login from the services it unlocks. The Government Gateway itself does not show your tax; it is the verified key. Once you are through it, you land in services such as your Personal Tax Account, Business Tax Account, or the Self Assessment portal.

2001
Year Government Gateway launched
12-digit
User ID format
One login
Across many government services

How Signing In Works

When you sign in, you enter your 12-digit user ID and password, then complete two-step verification, usually a code sent to your phone or generated by an authenticator app. This second step protects sensitive tax data even if your password is compromised.

For some services, particularly first-time access or higher-risk actions, you also need to confirm your identity by answering questions drawn from official records, such as details from your passport, P60, payslip or credit file. Once verified, your access is remembered for that account, so you do not repeat full identity checks every time.

Personal Tax Account
An online HMRC service, reached after signing in through Government Gateway, where individuals can view and manage their tax affairs in one place. It shows your current tax code, estimated income, National Insurance record, State Pension forecast, and lets you claim refunds, update personal details and check or challenge how HMRC has taxed you.

Worked Example: A Sole Trader Filing for the First Time

Nadia goes self-employed in 2025 and needs to file her first Self Assessment return for 2025/26. Her first step is not the tax return at all, it is the Government Gateway. She creates sign-in details on gov.uk, receives her 12-digit user ID, sets a password and recovery word, and verifies her identity using her passport and a payslip from a previous job.

Only after she is through the Gateway can she register for Self Assessment, receive her Unique Taxpayer Reference, and eventually file. Because the user ID is auto-generated and easy to misplace, Nadia stores it securely; losing it close to the 31 January deadline is one of the most common reasons people file late. Before she starts, she uses the MTD eligibility check to see whether Making Tax Digital will apply to her from April 2026.

The hardest part of filing a tax return is often not the tax, it is finding the Government Gateway user ID you set up three years ago.
TapTax, UK tax glossary

Government Gateway and Making Tax Digital

As HMRC moves towards Making Tax Digital, the Government Gateway becomes even more central. From April 2026, sole traders and landlords with qualifying income over £50,000 must use MTD-compatible software to keep digital records and send quarterly updates, and that software connects to HMRC through credentials authorised via your Government Gateway account. In other words, your Gateway sign-in is what links your record-keeping app to HMRC's systems securely. Getting your Government Gateway set up and accessible well before the deadline is one of the simplest things you can do to make the transition to digital filing painless.

People also ask

Frequently asked questions

What is the Government Gateway?
The Government Gateway is the UK government's online sign-in and identity system. It gives you a unique 12-digit user ID and a password that, together with two-step verification, let you securely access HMRC services such as your Personal Tax Account and Self Assessment, as well as other government services. It was introduced in 2001 as a single login route to public services online.
How do I set up a Government Gateway account?
Go to a service that uses it, such as HMRC online services on gov.uk, and choose to create sign-in details. You provide your email and some personal information, and the system generates a 12-digit user ID and asks you to set a password and a recovery word. You then verify your identity, usually using documents like a passport or payslip details, before you can access tax services.
What is the difference between Government Gateway and HMRC online services?
Government Gateway is the login and identity layer, the user ID, password and verification, while HMRC online services are the actual tax tools you reach after signing in, such as your Personal Tax Account, Self Assessment and VAT services. You use one Government Gateway sign-in to access HMRC services and many other government services across gov.uk.

Related

HMRC official guidance

Tax jargon, decoded.

TapTax connects to your bank, categorises expenses automatically, and submits quarterly updates to HMRC. Free plan, no card required.