The UK photo code, explained
Somewhere in the UK's online passport application, a box asks for a 'photo code', and a predictable panic follows: do I need one? Can my photo service give me one? You do not need one, and we cannot issue one. The photo code is one of two equal ways of getting a photo into an application — and the other way, uploading a file, is the one home photos and our service use. Here is what the code actually is, who can issue one, and when a booth genuinely is the better choice.
What a photo code is
gov.uk describes the mechanism plainly: before starting your application, get a digital passport photo from a photo booth or shop and choose the option to get a code with your photos; you enter that code during the passport application 'and your digital photo will be added to your application'. The code is a retrieval reference — the booth or shop has already transmitted the photo to HMPO's system, and the code tells the application which stored photo is yours. HMPO's photo standards list it as one of the ways customers provide photos: 'enter a photo code to retrieve their photo which they have got from a photo shop or booth'.
Who can issue one, and who cannot
gov.uk names photo booths and shops as the places that issue codes, because issuing one means transmitting the photo into HMPO's system. Some phone apps say they do it too: Smartphone iD's UK FAQ says its digital photo code is emailed once its team has approved the photo (our comparison page cites it). We cannot issue a photo code. What a home photo or an online service's output uses instead is the upload route: the application accepts a digital photo file directly, at least 600 x 750 pixels, 50 KB to 10 MB, taken in the last month, uncropped. Code and upload are alternatives; an application needs exactly one of them, and neither is preferred in the rules.
When the booth is genuinely the better call
Honesty requires quoting gov.uk against our own interest: 'photos from a booth or shop are more likely to be approved than a photo taken using your own device.' If your lighting at home is poor, if nobody can hold the camera for you, or if a previous upload was queried for quality, a code from a booth removes the file-handling entirely and the quality risk mostly. The home route wins on cost and on control — you see and check the photo before anything is submitted, with the checks our tool runs shown against HMPO's own quality messages — but the booth route exists precisely for the cases where that control is not worth the effort.
Codes beyond the passport
The DVLA's online driving licence renewal does not need a code either: it says you can use your passport photo or upload a new one. France runs a superficially similar scheme — the e-photo code from approved photographers, covered in the France guide — but with the opposite rule: there the code route is often mandatory and home photos are shut out of identity documents. The UK's version is the permissive one: the code is a convenience, never a requirement, and the paper route with two prints remains for those avoiding the online application altogether.
Frequently asked questions
The application asks for a photo code I do not have. Am I stuck?
No — the code box belongs to the booth/shop path. Choose the option to upload a digital photo instead; a compliant home photo goes in that way with no code involved.
Can I get a photo code without a booth?
Possibly, from a service that transmits your photo into HMPO's system: gov.uk names booths and shops, and Smartphone iD's UK FAQ says its app issues codes. We cannot. You do not need a code at all if you upload the digital photo yourself.
Related documents
Sources
Last updated
We are an independent service, not a government website. Applying for a passport or visa is done with your government; we only prepare the photo.