← Back to guides
Country guide

UK Passport Photo Code Explained: How It Works and Do You Need One?

UK passport photo code: how to get and use one, nearby provider options, code expiry, download-code differences and what to do when retrieval fails.

Official guidance and provider pages checked: 8 November 2026.

Quick Answer: What Is a Passport Photo Code?

A UK passport photo code lets the online application retrieve a digital photo held by your photo supplier. It is a short web-style reference, not your passport number or application number. You do not have to buy a code: GOV.UK also offers a route using a photo taken on your own device with someone's help.

A code changes how the photo reaches the application; it does not guarantee acceptance. This guide covers UK passport applications, not codes for other countries' documents.

How to Get a Passport Photo Code

  1. Choose the right product before paying. Ask for a digital photo code for a UK online passport application. Printed passport photos alone do not prove a code is included.
  2. Confirm the deliverables. Ask whether you receive a code, prints, a downloadable image or a combination; confirm the total price and expiry information.
  3. Keep the complete reference. Check the printout, receipt or provider message. Keep the provider's name and contact details too.
  4. Use it at the photo step in your application. Enter the code as supplied, review the retrieved portrait and confirm it is the right person and image before continuing.

These steps follow HMPO's photo-code instructions. Do not invent a code from a file name or assume any shortened image link will work.

Passport Photo With Code Near Me: Where to Look

OptionWhat to check before buying
Photo shopAsk specifically for a UK online-passport code, rather than prints or an email attachment only.
Self-service boothSelect the UK digital-passport product; not every ID-photo option has the same output.
Online providerConfirm that the purchased product supplies a working HMPO photo code, not only a JPG download.
Own-device routeNo purchased code required; follow the method offered by the official application.

As a checked example, Max Spielmann lists £12.99 in-store and £10 for booths, each with four prints and a digital code. Its separate online print product does not include a code. Confirm current local availability and pricing.

Use its shop finder or the Photo-Me booth finder, then confirm the particular product and location before travelling. A nearby photo-printing shop is not automatically a code supplier. For a broader comparison, see UK passport photo prices.

Photo Code, QR Code, Download Code or JPG: What Is the Difference?

What you haveWhat it does
HMPO-compatible photo codeRetrieves the supplier-hosted portrait within the UK online passport application.
Provider download code or PINMay open the supplier's own download service; do not assume it is the HMPO code.
QR codeOpens whatever destination the supplier encoded; it may lead to a help page or download service.
JPG fileThe photo itself, rather than a code. Use only through a file route supported by your application.
Printed photo sheetPhysical photos; the sheet is not the digital portrait to upload.

For example, IDstation's download instructions describe a personal code used on its own website to download a photo. That is a different action from entering a photo code in the passport application.

HMPO's supplier specification describes a short HTTPS reference leading to a JPEG rather than a webpage or CAPTCHA. A normal photo-sharing page or homemade QR code does not establish compatibility. A code may also be protected for HMPO retrieval, so opening it in a browser is not a conclusive test. Keep your real code private.

How Long Do Passport Photo Codes Last?

Separate the supplier's storage period from the age of the photo.

  • Storage: check the issuer's terms; do not assume all suppliers have one expiry period. Photo-Me's support page says its photos are stored for 30 days and then deleted.
  • Recency: GOV.UK requires a new photo taken in the last month. A retrievable code does not make an old portrait recent.

If the supplier's image has been deleted, ask the issuer about your options. If the portrait is too old, get a new photo rather than trying to extend the life of the code. Keep a copy of the provider's expiry information and use the photo promptly.

Passport Photo Code Not Working: Troubleshoot the Right Problem

SymptomWhat to check
Code not recognisedCompare the entire supplied reference, including letter case; use the fields and instructions shown by the application.
New booth code cannot retrieve an imageAsk the supplier whether its upload has completed; activation delays are provider-specific.
Old code used after a delayCheck the issuer's storage deadline and the photo's age.
A download page opens instead of an application photoConfirm whether you have a provider download PIN rather than the HMPO code.
The wrong person's photo appearsStop. Do not submit it; contact the supplier with your receipt.
Correct photo appears but HMPO flags its qualityRetrieval succeeded. Address the actual photo issue instead of repeatedly changing the code.

For Photo-Me specifically, its support page advises allowing up to 72 hours for upload delays before reporting a non-working code. This is not a waiting rule for every provider. Keep the receipt and contact the issuer if unresolved; do not repeatedly buy another product without checking the cause.

If HMPO has already requested a replacement photo, follow that existing application's instructions. Our UK rejected-photo guide explains the difference between a warning and a formal replacement request.

Can You Apply Without a Passport Photo Code?

Yes. The official digital-photo guidance offers a booth/shop code route and an own-device route. If you have only a file, use the file or device route your application actually offers; a file download is not proof the seller also supplies codes.

For your own-device photo, GOV.UK says to include head, shoulders and upper body and not crop it yourself. Use a plain light-coloured background and an unaltered photo. Full requirements are in GOV.UK's digital-photo guide.

Frequently Asked Questions

Do all passport photo booths give a code?

Do not assume so. Confirm the selected product includes a code for UK online passport applications before paying.

Can I turn an existing photo into a code for free?

A random link, QR generator or file name is not automatically compatible. Ask a supplier what service it offers, or use the official own-device route where suitable.

Does a code guarantee that HMPO will accept the photo?

No. The application terms say photos passing online checks can still need replacement.

Is a photo code the same as my passport application reference?

No. One retrieves the photo; the other identifies the application. Keep both with your own records and do not post them publicly.

Sources




Related Articles

About the Author

Emma Richardson is PhotoOmni’s Senior ICAO Photo Compliance Expert. With over 12 years of experience, she has helped applicants obtain more than 820,000 passport and visa photo approvals across over 100 countries and territories. She specializes in global passport photo requirements and ICAO-compliant photo verification.