Skip to main content
Home›Immigration›Right to Work Share Code

Right to Work Share Code: How to Get One and What to Do If It Fails

Data last checked on .

If you are not a British or Irish citizen, you can prove your right to work with a share code from GOV.UK. The code starts with W, lasts 90 days and lets your employer check your status using your date of birth. British and Irish citizens cannot get a share code and use a passport instead.

Key points
  • ✓British and Irish citizens cannot get a share code. They prove their right to work with a passport or passport card, current or expired
  • ✓If you have an eVisa, a share code is the only way to prove your right to work. Your employer cannot use a code that begins with R or S
  • ✓A right to work share code is 9 characters long, begins with W and is valid for 90 calendar days. You can use it as often as you need in that time
  • ✓Your employer enters the code and your date of birth on GOV.UK, and has to complete the check before you start work
  • ✓If the code does not work, your employer can use the Home Office Employer Checking Service, and you can call the UKVI Resolution Centre on 0300 790 6268
  • ✓Your employer cannot choose the method for you, and must check everyone the same way, British citizens included
  • ✓The checks are the same in England, Scotland, Wales and Northern Ireland. A discrimination complaint goes to an Employment Tribunal, or an Industrial Tribunal in Northern Ireland

Who needs a share code, and who cannot get one

You must prove your right to work to your employer before you start working for them. How you do that depends on your nationality and the permission you have to work in the UK.

Your situationWhat you give your employer
British or Irish citizenA British passport, or an Irish passport or passport card, current or expired. You cannot get a share code.
British or Irish citizen with no passportA UK or Irish birth or adoption certificate, or a certificate of registration or naturalisation as a British citizen, plus an official letter or document showing your name and National Insurance number.
Not British or Irish, and you have an eVisaA share code. An eVisa can only be checked through the Home Office online service.
Not British or Irish, with an eligible immigration documentThe document or a share code. You choose, and your employer cannot reject the document because it is not a share code.
Right of abode, with a digital certificate of entitlementA share code. A vignette sticker in your passport cannot be used to get one.
Waiting for an EU Settlement Scheme decisionA share code, or a physical certificate of application from the Home Office.
Waiting for an asylum decisionYour application registration card, which must say ‘Work permitted’. Your employer checks your status with the Home Office.
A British or Irish citizen with a valid passport may also be able to use a digital identity provider, if their employer offers one. Ask the employer. The employer's side of every method is in our right to work checks guide, and more guides are in our immigration section.

How to get a right to work share code

You get the code from the Home Office online service, which you sign in to with your UKVI account. You will already have an account if you applied to the EU Settlement Scheme, used the ‘UK Immigration: ID Check’ app, created one when you applied for a visa, or created one to get access to your eVisa.

1
Update your details first, if they have changed
If you have changed your name or nationality, or your photo no longer looks like you, update your UKVI account before you get a code. An employer who sees a different name or a poor photo will ask you to update it.
2
Sign in and choose the right reason
The service asks why you are sharing your status. For a job, choose ‘Prove your right to work to an employer: get a share code’. A code made for another reason will not work for an employer.
3
Read what your employer will see
The person who uses your share code sees some of your personal details, and you are told what they are when you get the code. For a job they can see the types of work you are allowed to do and how long you can work in the UK.
4
Give your employer the code and your date of birth
The code is 9 characters long and begins with W. You can read it out, or send it to them through the service, in which case they get an email from the right to work service.

A share code made for renting a home is not a right to work code. Our right to rent share code guide covers that one.

How long a share code lasts

A right to work share code is valid for 90 calendar days from the day it is issued. You can use it as many times as you need within that time, but only for the purpose you picked when you got it.

If a code has expired, or you made it for a different service, your employer has to ask you for a new right to work code. Employers cannot accept codes that begin with the letter R or S, because those are designed for other services.

What your employer has to do with it

Your employer goes to the GOV.UK check a job applicant's right to work service, enters your share code and your date of birth, and checks that the photograph is you. They can do that in person, on a video call, or with facial recognition from a registered digital identity provider.

They can only take you on, or keep you on, if the check confirms you have the right to work and no condition stops you doing the job. They must keep a copy of the profile page showing your photo and the date of the check. The copy has to be kept for as long as you work for them and for two years afterwards.

Looking at the screen you see when you generate the code, or a printout of it, is not enough. The employer has to run the check themselves.

If your permission to work has an end date, your employer has to check again on or before that date. If the first check showed settled status, or status under the EU Settlement Scheme, they do not need to check again.

If your share code does not work or you cannot get one

  • Yes: You cannot view your eVisa. You cannot access it until your UKVI account is linked to it, so check you finished setting the account up
  • Yes: Your eVisa shows wrong details, such as the wrong date of birth or immigration status, or you can view it but cannot get a share code. Report the error to the Home Office
  • Yes: You cannot sign in. GOV.UK has a way to recover your UKVI account, and UKVI has a webchat
  • Yes: Your biometric residence permit has expired. You can use an expired card to create your UKVI account for 24 months after the expiry date printed on it, or until 31 December 2026, whichever comes first
  • Yes: The online service has a fault. If it produces an incorrect code or result, or you cannot generate a code for the moment, your employer can use the Employer Checking Service to confirm your right to work
  • Yes: You cannot use the service at all. You can prove your right to work with your original immigration documents instead
An expired biometric residence permit is not accepted as proof of right to work in a manual check. Your employer can only rely on an online check, so you need a working UKVI account and a share code.

For help with the online service you can call the UKVI Resolution Centre on 0300 790 6268. Your employer can call the Home Office Employer Enquiry helpline on the same number.

If you have applied to extend your permission

If you apply to extend your stay before your current permission runs out, section 3C of the Immigration Act 1971 extends your existing permission, and any conditions that came with it, while the Home Office decides. It also continues while an appeal or administrative review you are entitled to is pending. This is called 3C leave.

If you hold an eVisa and tell your employer you have an in-time application waiting, they should run an online check. The service then confirms your right to work and gives your employer a statutory excuse for six months.

A letter from a solicitor saying your case succeeded, or a copy of a court judgment, does not on its own give your employer a statutory excuse. Your employer still has to run a right to work check once your new permission has been granted.

What your employer cannot do

  • No: Choose the method for you. Employers cannot dictate how you prove your right to work, and should give you a reasonable opportunity to prove it
  • No: Refuse an eligible immigration document because you did not give a share code
  • No: Treat you less favourably because you have no valid passport, or because you do not want a digital identity check. They must offer a manual document check instead
  • No: Assume you have no right to work because of your race, nationality, accent, surname or how long you have lived in the UK
  • No: Check only the people they think are migrants. They have to check every worker the same way, British citizens included

If you think an employer, a prospective employer or an employment agency discriminated against you because of your race or another protected characteristic, you can bring a complaint to an Employment Tribunal. In Northern Ireland the complaint goes to an Industrial Tribunal. If it succeeds, the tribunal will normally order the employer to pay compensation, and there is no upper limit. Our discrimination at work guide explains how a claim works.

For advice on discrimination, the Equality Advisory Support Service is on 0808 800 0082. In Northern Ireland the advice service is the Equality Commission for Northern Ireland, on 028 90 500600.

Gig work, agency work and self-employment from 1 October 2026

From 1 October 2026 the duty to check right to work reaches more than traditional employers. It covers businesses that engage people on a contract for services, as individual sub-contractors, or through an online matching service. The Home Office gives a delivery platform and a service that matches cleaners to customers as examples.

If you sign up to work through a platform or an online matching service, the business that engages you is now responsible for checking your right to work, as an employer is for an employee. Our right to work checks guide sets out who is covered. If you are on a zero-hours or casual contract, see the zero-hours contracts guide for your other rights.

The same rules across the UK

Right to work checks are set by law that applies across the whole of the UK, in sections 15 to 25 of the Immigration, Asylum and Nationality Act 2006 and other Acts. The same steps apply in England, Scotland, Wales and Northern Ireland.

What differs is where you complain about discrimination. In England, Scotland and Wales you go to an Employment Tribunal. In Northern Ireland you go to an Industrial Tribunal, and the advice service is the Equality Commission for Northern Ireland. A discrimination claim is brought under the Equality Act 2010 or, in Northern Ireland, the Race Relations (Northern Ireland) Order 1997, as amended.

Where to go next

Immigration
Right to Work Checks
What your employer has to do, the three ways to check, and what happens if they get it wrong.
Right to Rent Share Code
The separate share code for renting a home, and how a landlord checks it.
Discrimination at Work
What counts as unlawful discrimination and how to bring a claim.
Minimum Wage
The rates your employer has to pay once you start work.

Frequently asked questions

What documents prove my right to work in the UK?

It depends on your nationality and permission. A British or Irish citizen can use a British passport, or an Irish passport or passport card, current or expired. If you are not a British or Irish citizen you can use a share code or an eligible immigration document, and if you have an eVisa you can only use a share code.

Do British citizens need a right to work share code?

No, and they cannot get one. British and Irish citizens prove their right to work with a passport or passport card, which can be current or expired. Without a passport, a UK or Irish birth or adoption certificate or a certificate of registration or naturalisation works, with an official letter or document showing your name and National Insurance number.

How long is a right to work share code valid for?

90 calendar days from the point it is issued. You can use it as many times as you need in that time, but only for the purpose you chose when you got it.

Why does my share code start with W?

A right to work share code is 9 characters long and begins with the letter W. Codes beginning with R or S are designed for other services, and an employer cannot accept them for a right to work check.

Can my employer ask for my passport instead of a share code?

If you have an eVisa, no. An eVisa can only be checked through the Home Office online service, using a share code. If you hold an eligible immigration document instead, you choose between the document and a share code.

My biometric residence permit has expired. Can I still get a share code?

You can use an expired biometric residence permit to create a UKVI account for 24 months after the expiry date printed on it, or until 31 December 2026, whichever comes first. Once your account is linked to your eVisa you can get a share code. Your employer cannot accept the expired card itself in a manual check.

Can I start work before my employer has checked my right to work?

Your employer has to complete the check before you start work to have a legal defence if someone turns out to be working illegally. GOV.UK tells workers to prove their right to work before they start.

What happens if my employer will not accept my share code?

Check that the code begins with W and was made in the last 90 days. If it is correct and the service has a fault, your employer can use the Employer Checking Service. If you think you are being treated differently because of your race or nationality, you can complain to an Employment Tribunal, or an Industrial Tribunal in Northern Ireland.

What does my employer see when I give them a share code?

They see some of your personal details, and the service tells you what they are when you get the code. For a job they can see the types of work you are allowed to do and how long you can work in the UK.

Is the right to work share code the same as a right to rent share code?

No. A share code can only be used for the purpose you picked when you generated it, so a code made for renting a home will not work for a job, and the other way round.

Related guides

eVisa
What an eVisa is, how to access it and how to fix one that is wrong.
UKVI Account
How to create, recover and update the account that gives you access to your eVisa.
Prove Your Immigration Status
How long it lasts, who can check it
Right to Rent
Renting in England? Your landlord must check your right to rent before you move in. Which documents count, who is...

Found this useful? Link to it

If you run a site, write an article, or help others with their rights, please link to this guide, it helps more people find free, reliable guidance.

https://www.knowyourrightsuk.com/immigration/right-to-work-share-code
Know Your Rights UK. "Right to Work Share Code: How to Get One and What to Do If It Fails." Know Your Rights UK, https://www.knowyourrightsuk.com/immigration/right-to-work-share-code