A right to work share code is a 9-character code you create on GOV.UK. It lets an employer see, online, whether you are allowed to work in the UK, what type of work you can do and for how long. If you are not a British or Irish citizen and you have been offered an NHS job, the recruitment team will almost always ask for one during pre-employment checks. This guide explains how to get it, how the NHS uses it and how to fix the problems that most often delay a start date.
Who needs a share code (and who does not)
Whether you need a code depends on your nationality and the kind of permission you hold, not on the job. The table below summarises the official rules on GOV.UK.
| Your situation | How you prove right to work |
|---|---|
| British or Irish citizen | Passport (current or expired) or Irish passport card, or a birth certificate plus an official letter showing your National Insurance number. You cannot get a share code. |
| EU Settlement Scheme (settled or pre-settled status) | Share code from your UKVI account. |
| Health and Care Worker or Skilled Worker visa holder with an eVisa | Share code from your UKVI account. |
| Still holding a biometric residence permit (BRP) | Share code; GOV.UK lets a BRP be used for 18 months after the expiry printed on the card. Move to an eVisa as soon as you can. |
| Digital certificate of entitlement (right of abode) | Share code. A vignette sticker in a passport cannot produce one. |
| Cannot use the online service | Original immigration documents checked in person by the employer. |
How to get a share code: step by step
- Go to the GOV.UK page Get a share code online and select Start now.
- Choose to prove your right to work.
- Sign in to your UKVI account with the identity document linked to it (usually your passport or national ID card) and your date of birth. A security code is sent to your phone or email.
- Check that the details shown (name, photo, status and expiry) are correct.
- Select the option to share your status with an employer and generate the code. It starts with the letter W for work.
- Copy the code exactly, or use the option to email it straight to the recruitment team.
The whole process usually takes under ten minutes once your UKVI account works. A code generated for renting a home (starting with R) or for other purposes will not work for an employer, so make sure you pick the work option.
How long does a share code last?
A right to work code is currently valid for 90 days. You can create a new one at any time, and creating a fresh code does not cancel your status. If your start date moves back by months, generate a new code rather than sending an old one.
How NHS employers check your code
The employer uses the separate GOV.UK service Check a job applicant's right to work. They need two things from you: the share code and your date of birth. The result shows your photo, the work you can do and any time limit. They save a copy as evidence and must also confirm the photo matches you, usually on a video call or when you attend for ID checks.
In practice, NHS trusts handle this inside the pre-employment stage after a conditional offer:
- Trac and NHS Jobs: after the offer, your candidate account shows a pre-employment checks list. Right to work is usually one item, with a box or upload slot for the share code. Some trusts ask you to email it to the recruitment officer instead.
- ID appointment: you still bring identity documents, because the trust must verify that the person in the online record is you. It is common to do DBS identity checks in the same appointment.
- Time limits: if your permission ends on a certain date, HR will diarise a follow-up check before then. On sponsored visas, keep HR informed about extensions.
Most trusts do not let you start until right to work is cleared, so this is one of the checks that most often decides your start date. Sending a valid code on the day you accept the offer can save a week or more.
Worked example
Amara is a nurse with pre-settled status who accepts a Band 5 post on 3 March. On the same day she generates a work share code and pastes it into the pre-employment checks area of her Trac account with her date of birth. The recruitment officer checks it on 5 March and books her ID appointment, where her DBS documents are also seen. Her occupational health and references clear by 24 March, so her start date of 7 April is confirmed. Had she waited until the ID appointment to create the code, the right to work clearance would have slipped, and with it the start date.
Common problems and how to fix them
| Problem | What usually fixes it |
|---|---|
| "Code not recognised" for the employer | Check it is the work code (starts with W), not rent or other. Make sure your date of birth was given to the employer correctly. Generate a fresh code. |
| Code has expired | Create a new one; the old code simply stops working after 90 days. |
| Your UKVI account shows an old passport | Update your details in the UKVI account ("update your details"). Until then, sign in with the document still linked. |
| Name spelt differently from your passport or NMC record | Tell HR early. Request a correction through UKVI if the record is wrong; HR may need extra evidence such as a marriage certificate. |
| You have a BRP but no eVisa yet | Create a UKVI account and link your BRP to access your eVisa. Until then the BRP can still be used within its grace period. |
| Pending visa extension | If you applied before your old permission expired, the employer can request a check from the Home Office Employer Checking Service. Give HR your application reference. |
Tips before you apply
- Set up and test your UKVI account before interview, not after the offer.
- Keep your phone number and email in the account up to date, or you will not receive the sign-in code.
- If your visa needs sponsorship, say so honestly on the application form; most NHS forms ask directly.
- Read our guide to completing a Trac application and use the supporting statement tool to prepare the statement itself.
Official sources
- GOV.UK: Prove your right to work to an employer
- GOV.UK: Get a share code online
- GOV.UK: Check a job applicant's right to work
Last checked against GOV.UK on 17 November 2026. Immigration rules change; always follow the GOV.UK pages and your employer's instructions.
