Skip to main content

Passport photo codes

UK passport photo code: how it works and what to do if it fails

A passport photo code lets you add a digital photo from a photo booth or shop to your online UK passport application.

Free UK passport photo pre-check

Preparing the checker...

Check a photo on your device. It stays in your browser — never uploaded.

Who is the photo for?

Age changes the advice, not the automatic checks.

How to take it · 3 quick steps
  1. Start with a plain background

    Stand about 50 cm from a plain light wall. Ask someone to stand about 1.5 m away, with the camera at eye level.

  2. Find even light

    Face a window for even light. Check there are no shadows on the face or behind the person.

  3. Leave room in the frame

    Include the head, shoulders and upper body. Do not crop — GOV.UK crops your own photo when you apply online.

Our phone tip: ask someone else to use the rear camera. If you are alone, try the front camera on a 3-second timer at eye height.

You can also upload a photo taken on your own device. This free checker checks an image file on your device; it does not issue, retrieve or validate photo codes.

Quick facts

Price
Free, with no sign-up.
Checks
600×750 px minimum, 50KB–10MB, file type, portrait 7:9 shape, a plain light background sample and an approximate subject-in-centre check. The image samples are not face detection; 7:9 is a framing aid, not a requirement to crop your online photo.
Upload
Never. The check runs in your browser; your photo stays on your device.
Crop
Optional 700×900 download. For an online application with your own photo, upload the uncropped original. GOV.UK crops it for you.

What this checker does not check

  • Face detection, exact face position or head size.
  • Eyes open, a plain expression, mouth closed or whether an age exception applies.
  • Glasses glare, hair over the eyes, head coverings or shadows on the face.
  • Other people, toys, dummies or a supporting hand in a child's photo.
  • When the photo was taken, whether it was edited or whether it is a good likeness.
  • Photo-code validity or whether HM Passport Office will accept the photo.

This free pre-check is not an HM Passport Office approval — GOV.UK checks your photo when you apply.

Last checked against GOV.UK:

Official sources:

Two ways to add a photo online

  1. Enter a photo code from a booth or shop. When you enter the code during your passport application, the digital photo is added to your application.
  2. Upload your own digital photo. Ask someone to help you take it, include your head, shoulders and upper body, and upload the uncropped original. GOV.UK crops it for you.

GOV.UK says photos from a booth or shop are more likely to be approved than photos taken using your own device. This is not a guarantee of approval; the photo must still meet the rules.

How to get a passport photo code

  1. Before starting your application, get a digital passport photo from a photo booth or shop.
  2. Choose the option to get a code with your photos. Ask the provider for this option rather than assuming that printed photos include a code.
  3. Keep the code and enter it when the online passport application asks for your photo code. Your digital photo will be added to the application.

A scanned printed photo is not a digital photo code

A scan is an image file, not the code supplied by a booth or shop. Scanning a printed photo does not create that code. For the code route, get a code from the provider; for the own-photo route, take a digital photo that meets the GOV.UK rules and upload the original.

Passport photo code not working: what to try

These are practical troubleshooting steps, not a promise that a code can be repaired. Follow any specific instructions shown by the passport application or your photo provider.

  • Check the typing. Compare what you entered with the code exactly as supplied by the booth or shop.
  • Check where you are entering it. Use the photo-code step of the UK passport application, not a different service or this image checker.
  • Contact the booth or shop provider. Ask them to check the code they supplied and explain what to do next.
  • Or upload your own photo instead. Follow the online application's own-photo option and use a new, compliant digital photo with someone helping you take it.

Check your own photo with the free checker

If you choose the own-photo route, use the checker above to pre-check pixel dimensions, file size, format and sampled background. Then review the rules yourself. Your photo stays in your browser; only upload it to GOV.UK when you are ready to apply. The final decision is HM Passport Office's.

Check my own photo free

Free pre-check before you upload to GOV.UK

Our free UK passport photo checker tests pixel size (at least 600×750), file size (50KB–10MB), format, background and shape in your browser. Your photo is never uploaded.

Open the free checker

Frequently asked questions

What is a UK passport photo code?

It is a code supplied with a digital passport photo by a photo booth or shop. Enter it during your online passport application and the digital photo will be added to your application.

Do I need a photo code to apply online?

No. GOV.UK also allows a photo taken using your own device with someone helping you. Include your head, shoulders and upper body, do not crop or edit the photo, and follow the digital photo rules.

Can this checker generate or check a passport photo code?

No. This tool only pre-checks an image file locally in your browser. It cannot issue a code, retrieve a provider's photo or confirm that a code works. Ask the booth or shop that supplied your code for help.

What can I do if my passport photo code does not work?

Check your typing and that you are entering the code during the UK passport application. Follow any instructions shown and contact the photo provider. You can alternatively take and upload your own compliant digital photo with someone helping you.