Quick answer
You need a Government Gateway user ID to file online. Register with HMRC for Self Assessment, receive your UTR and activation code by post, then enrol using the code.
Filing your Self Assessment doesn’t have to be stressful. Let our qualified accountants handle everything — accurately and on time.
What you need first
You will need your name, address, National Insurance number and an email address or mobile number to create the account. You also need your UTR once HMRC sends it.
Create the account
Go to the GOV.UK page to create a Government Gateway account, set a user ID and password and add a second step such as a text message code for security.
Want an accountant to handle this for you?
Fixed price from £199 + VAT. Done for you online by UK accountants.
Order online now See our Self Assessment registration service
Enrol for Self Assessment
After HMRC posts your 10-digit UTR and activation code, sign in and enter the code to enrol. This can take up to 10 days, so do it early.
Fixing common problems
If you lose your user ID or code, HMRC has recovery options. Never share your login with anyone and use a unique strong password.
Authorising an agent instead
If you would rather not handle the return yourself, you can authorise an accountant to act for you. The authorisation is separate from your own sign-in, and it can be cancelled at any time. This means you can still check your own account whenever you like, while the agent prepares and submits the return. Make sure you only authorise someone you have verified is a genuine, qualified adviser.
What a Government Gateway account is for
A Government Gateway user ID is your sign-in for many HMRC online services. For Self Assessment, it links to your Unique Taxpayer Reference (UTR) once you have registered and activated the service, and lets you file your return, view your tax calculation, check what you owe and make payments. The user ID itself is not the same as your UTR, which is a 10-digit number HMRC issues to identify you for Self Assessment. If you do not have one yet, read how to get a UTR number first.
The two separate steps people confuse
- Create the Gateway user ID. You do this online and confirm your identity using details such as your National Insurance number and information from documents like a passport or payslip. You will also be asked to set up a way to receive security codes, such as a mobile phone. If you cannot find your number, see how to find your National Insurance number.
- Register for and activate Self Assessment. Registering creates your UTR. HMRC then sends a letter containing your UTR and, separately, an activation code that you enter to enrol the service on your account. Check current HMRC guidance for how long the post usually takes; it is often around 10 working days in the UK and longer if you live abroad.
Many people create the ID early but never enrol for Self Assessment, and then discover close to the deadline that they cannot file. Do both steps as early as you can.
Worked example: how much time to allow
This is an illustrative example. Imagine two people starting from scratch, each needing to file a return by 31 January. Allow roughly 10 working days for the UTR to arrive, and a further 10 working days for the activation code if it is posted separately:
| Item | Person A | Person B |
|---|---|---|
| Registration date | 1 December | 5 January |
| Working days for UTR letter | 10 | 10 |
| Working days for activation code | 10 | 10 |
| Total working days | 10 + 10 = 20 (about 4 weeks) | 10 + 10 = 20 (about 4 weeks) |
| Ready to file | Around the end of December | Early February, after the deadline |
Person B risks missing the deadline and facing a £100 penalty, even though they started in good time to do the return itself. The practical lesson is to allow about four weeks for access, which is why registering by 5 October after the tax year is the formal deadline. If you have missed it, see registering after 5 October.
Using the HMRC app and keeping access secure
Once your account is set up, you can use the HMRC app for tasks like checking your tax code and National Insurance record. Our guide to using the HMRC app explains the options. Keep your sign-in details private, never share security codes and treat unexpected emails or texts that ask for your Gateway login with suspicion, as phishing messages imitating HMRC are common. HMRC will not normally ask for your password.
Common mistakes
- Creating a Gateway ID and assuming that registers you for Self Assessment.
- Creating duplicate accounts because you forgot the first user ID.
- Waiting for the activation letter until January.
- Giving an old address, so the post goes astray.
- Losing access to the phone number used for security codes.
- Using the account on a shared device without signing out.
Set-up checklist
- National Insurance number and a photo ID document to hand.
- A mobile phone or other way to receive security codes.
- Your UTR, or registration completed to obtain one.
- An address where post will reach you.
- Calendar reminders for the activation code and the filing deadline.
Self Assessment Tax Return Accountants (SATR) can take care of registration questions and file your return online for a fixed fee from £199 + VAT, using qualified UK accountants. You can start on our order page.
This article is general information, not personal tax advice.
Frequently asked questions
Can I use my existing Government Gateway for other HMRC services?
Yes, one account can cover several services such as VAT and PAYE.
How long is the activation code valid?
It is valid for 28 days, after which you request a new one.
I forgot my Government Gateway user ID. What can I do?
HMRC provides an online route to recover a lost user ID, normally using your National Insurance number and other personal details. Avoid creating a second account, as duplicates cause confusion.
Can an accountant file for me without my login?
Yes, once you authorise them as your agent. You can give them authority online, and they file using their own agent services rather than your personal login.
Do I need a separate Gateway account for each tax?
Generally one user ID can be used for several HMRC services. You enrol each service you need, such as Self Assessment, so check current HMRC guidance if you are unsure.
Tax rules and rates change. Figures here reflect 2025/26 guidance; always check current HMRC rules or ask us before acting.
Don’t leave your tax return to the last minute. Avoid penalties, save time, and let an expert take care of it for you.
Related guides
- Self Assessment for Pensioners: When You Need to File
- Do I Need to File Self Assessment If I Earn Under £12,570?
- Student Loan Repayments and Self Assessment
- Self Assessment registration
Ready to file without the stress?
Fixed price from £199 + VAT. Done for you online by UK accountants.
Order online now See our Self Assessment registration service
{“@context”:”https://schema.org”,”@type”:”FAQPage”,”mainEntity”:[{“@type”:”Question”,”name”:”Can I use my existing Government Gateway for other HMRC services?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Yes, one account can cover several services such as VAT and PAYE.”}},{“@type”:”Question”,”name”:”How long is the activation code valid?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”It is valid for 28 days, after which you request a new one.”}},{“@type”:”Question”,”name”:”I forgot my Government Gateway user ID. What can I do?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”HMRC provides an online route to recover a lost user ID, normally using your National Insurance number and other personal details. Avoid creating a second account, as duplicates cause confusion.”}},{“@type”:”Question”,”name”:”Can an accountant file for me without my login?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Yes, once you authorise them as your agent. You can give them authority online, and they file using their own agent services rather than your personal login.”}},{“@type”:”Question”,”name”:”Do I need a separate Gateway account for each tax?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Generally one user ID can be used for several HMRC services. You enrol each service you need, such as Self Assessment, so check current HMRC guidance if you are unsure.”}}]}





