UK Passport Photo Code Explained: How It Works and Do You Need One?
A UK digital photo code is a short reference (like `photo.co/AB12CD34`) that links a photo already stored by an approved provider — a photo booth, photo shop, or an online service — directly to your GOV.UK passport application.

If you've applied for a UK passport online and seen an option to "enter a photo code" instead of uploading a file, it's worth understanding what that code actually is before you decide whether to use it — or whether uploading your own photo is simpler.
Quick Answer
A UK digital photo code is a short reference (like photo.co/AB12CD34) that links a photo already stored by an approved provider — a photo booth, photo shop, or an online service — directly to your GOV.UK passport application. You enter the code instead of uploading a file, and HM Passport Office (HMPO) still manually reviews the photo either way. A photo code isn't mandatory: you can still upload a compliant digital photo yourself without one.
For complete specifications, see where to get a UK digital passport photo and UK passport photo prices and options.
Photo Requirements at a Glance
| Requirement | Detail |
|---|---|
| What it is | A unique code linking a stored photo to your application |
| Format | Short web-style reference, e.g. photo.co/AB12CD34 |
| Where to get one | Participating photo booths, photo shops, or online providers |
| Underlying photo rules | Must still meet standard HMPO digital photo requirements |
| Mandatory? | No — direct upload is also accepted |
| Still reviewed? | Yes, HMPO manually checks the photo regardless of method |
Why Was My Photo Rejected?
1. Incorrect dimensions
The photo behind the code still has to meet HMPO's standard digital specifications — minimum 600×750 pixels. A code doesn't bypass this; it just changes how the file reaches your application.
2. File size is too large or too small
Providers issuing codes are expected to host a compliant file, but if a provider's system stores a corrupted or incorrectly sized version, the code can fail to retrieve a usable photo.
3. Background or shadows
Photo booths and shops offering codes generally control lighting and background well, which is part of why GOV.UK notes these photos have a higher approval rate than photos taken at home — but a poorly maintained booth can still produce a non-compliant background.
4. Face position or head size
Even with a code, HMPO's manual review checks head position and framing the same way it would for an uploaded photo. A code guarantees delivery of the file, not automatic approval of its content.
5. Image quality or digital editing
Some providers may apply automatic retouching as part of their service. If HMPO's manual reviewer suspects digital alteration, the photo can still be rejected, code or no code.
How to Fix the Photo
- Confirm the provider you're using is a participating photo code provider before paying for the photo.
- Have the photo taken following the same rules as any UK passport photo — light grey/cream background, no glasses, neutral expression.
- Ask the provider to confirm the code works before you leave, if possible.
- If a code fails to retrieve a photo, you can always fall back to uploading a compliant digital photo directly.
- Keep any receipt or reference number the provider gives you in case you need to follow up.
How to Upload or Resubmit Your Photo
- Start your application at passport.service.gov.uk.
- At the photo step, choose the option to enter a photo code rather than upload a file.
- Enter the code exactly as given by your provider.
- Your photo will appear on screen — check it matches what you expect before continuing.
- If the code doesn't work or the photo shown isn't right, switch to uploading a compliant digital photo directly instead.
Accepted vs Rejected Photo Examples
| Accepted | Rejected |
|---|---|
| Code from a genuine participating provider | Code from a provider not recognized by the system |
| Photo meets standard HMPO digital rules | Photo behind the code fails background or framing rules |
| Code entered exactly as issued | Mistyped or expired code |
| Photo confirmed on screen before submitting | Submitting without reviewing the retrieved photo |
Prepare a Compliant Photo With PhotoOmni
Whether you use a photo code or upload directly, the photo itself still has to meet HMPO's rules. PhotoOmni checks a photo against those requirements before you submit it anywhere, covering:
- Pixel dimensions (minimum 600×750)
- Background color and shadow detection
- Head position and framing
- Glasses and head-covering detection
- File format and file size
- A manual review pass to catch what automated checks miss
Frequently Asked Questions
Can I use a selfie?
Not for a photo code — codes come from participating booths, shops, or approved online providers, not from a photo you take and upload yourself. For a selfie, you'd use the direct upload option instead.
Can I edit the background?
No, regardless of whether you use a code or upload directly — the underlying photo still has to meet HMPO's background rules without digital editing.
What happens after my photo is rejected?
If a code retrieves a non-compliant photo, or your uploaded photo is rejected during HMPO's manual review, you'll need to get a new photo — either a new code or a new direct upload — before your application can proceed.
Does passing an online checker guarantee approval?
No. Whether you use a photo code or a direct upload, HMPO always carries out its own manual review, and that decision is final.
Official Sources
About the Author
PhotoOmni Editorial Team
The PhotoOmni Editorial Team researches official passport, visa, immigration, and identity-photo requirements. Every guide is reviewed for practical accuracy and updated when application rules, upload specifications, or government guidance change.