Skip to content

Share Code: What It Is and How to Get One (2026)

Checked against gov.uk on Tarve research
Share code, in short

A share code is a 9-character code you get from the Home Office online service to prove your UK immigration status. You give it, with your date of birth, to an employer, landlord or other checker. It lasts 90 days.

What a share code is

A share code is a 9-character code that lets someone else check your UK immigration status online. You get it from the Home Office service on gov.uk, then give it to the person checking you, together with your date of birth. They do not see your whole eVisa. When you get the code, the service tells you which of your details they will see.

You pick a reason each time you get a code, and the code only works for that reason. Home Office guidance for employers and landlords describes three kinds.

Reason you chooseCode begins withWho can use it
Prove your right to workWEmployers
Prove your right to rent in EnglandRLandlords and letting agents
Any other reasonSOther organisations that need to check your status

An employer cannot accept a code that begins with R or S. A landlord cannot accept one that begins with W or S.

Who can get a share code

You can get a share code if you are not a British or Irish citizen and you have a UK Visas and Immigration (UKVI) account. The account is where your eVisa, the digital record of your status, is held.

gov.uk says you will already have a UKVI account if you have ever:

  • applied to the EU Settlement Scheme
  • used the UK Immigration: ID Check app to prove your identity for a visa application
  • created an account when applying for a visa
  • created an account to get access to an eVisa

British and Irish citizens cannot get a share code. They prove their right to work or rent with a passport or other documents. The one exception is a British or Commonwealth citizen who holds a digital certificate of entitlement to the right of abode.

gov.uk says an employer or landlord cannot turn you down because you showed an eligible immigration document instead of a share code. But if your status is held only as an eVisa, Home Office guidance says the online check with a share code is the only way to show it.

How to get a share code

You get a share code online by signing in to view your eVisa.

  1. Go to View your eVisa and get a share code on gov.uk. For a job you can also start from Prove your right to work, and for a tenancy from Prove your right to rent.
  2. Sign in with the details you use for your UKVI account. This could be your passport, national identity card, biometric residence card, expired biometric residence permit or UKVI customer number. You also need access to the mobile phone number or email address you use to sign in.
  3. Check that the name, photo and status shown on your eVisa are right.
  4. Choose why you need the code: right to work, right to rent, or something else.
  5. Give the code and your date of birth to the person checking. You can pass the code on yourself or have the service email it to them.

The checker then enters the code and your date of birth on their own gov.uk page. A screenshot or printout of your eVisa is not enough for an employer or landlord. Home Office guidance says they must view the result on the Home Office service themselves.

How long a share code lasts and what it costs

A share code lasts for 90 days. In that time it can be used as many times as needed, and you can get a new code whenever you need one.

gov.uk says you do not need to pay to set up a UKVI account or to access your eVisa.

If a code has expired, or was made for a different purpose, the employer or landlord must ask you for a new one.

Share codes are also used for travel. A carrier or border official may ask for extra proof of your status. gov.uk says a share code for travel is valid for 90 days, so you can get it before you travel, and it can be used more than once.

Common problems and what to do

  • You can view your eVisa but cannot get a share code. Report an error with your eVisa. UKVI aims to fix most issues within 5 working days. Complex issues can take up to 15 working days.
  • Your name, nationality or photo is out of date. gov.uk says to update your UKVI account before you get a code, so the checker sees the right details.
  • You cannot sign in. There is a UKVI account recovery service, for example for people who have lost access to their phone or changed their email address.
  • The service has a technical fault. An employer can ask the Home Office Employer Checking Service to confirm your right to work. A landlord can ask the Landlord Checking Service, which answers within 2 working days.
  • You sign in with an expired biometric residence permit. The eVisa pages say an expired card can be used to sign in for 24 months after the expiry date printed on it, or until 31 December 2026 if that is sooner. The right to work and right to rent pages say 18 months. The passport or other document linked to your account also works for signing in.

Share codes and sponsored work

If you hold a Skilled Worker or other sponsored visa, a share code is how you prove your right to work to your employer. Every UK employer must check your right to work before you start. Where you have an eVisa, Home Office guidance says the employer must use the online service with a share code that begins with W. Sponsor licence holders must also check and keep evidence of the immigration status of each worker they sponsor.

The online check shows the employer the types of work you can do and how long you can work in the UK. A sponsored visa is time-limited, so your employer has to check again on or before the date your permission ends if they want to keep employing you. That means a fresh share code after each visa extension.

The same applies when you rent a home in England, where the landlord needs a code that begins with R. Tarve lists jobs from licensed sponsors, and each of those employers will ask for this check before your first day.

Questions and answers

How long is a share code valid?

A share code lasts for 90 days. It can be used as many times as needed in that time. You can get a new code whenever you need one.

Can I use one share code for both a job and a tenancy?

No. A code only works for the purpose you chose when you got it. Right to work codes begin with W and right to rent codes begin with R, and Home Office guidance tells employers and landlords not to accept the other kind.

Can a British or Irish citizen get a share code?

No. gov.uk says British and Irish citizens cannot get a share code, and they prove their right to work or rent with a passport or other documents instead. The exception is a British or Commonwealth citizen with a digital certificate of entitlement to the right of abode.

What does the employer or landlord need as well as the code?

They need your date of birth. They enter it with the code on the gov.uk checking service. They must also check that the photo shown is of you, which can be done in person or by video call.

What if I cannot get a share code?

If you can view your eVisa but cannot get a code, gov.uk says to report an error with your eVisa. UKVI aims to fix most issues within 5 working days. In the meantime an employer can use the Employer Checking Service and a landlord can use the Landlord Checking Service to confirm your status with the Home Office.

More terms: the full UK visa and sponsorship glossary.