UK Passport Photo Code Guide: Submissions & Troubleshooting
An expert-level breakdown of the technical side of UK passport photo submission. We explain the GOV.UK automated checker, pixel requirements, code troubleshooting, and how British expats can avoid common errors when applying from abroad.
If you're currently staring at the GOV.UK passport application screen, you've hit the part that causes the most delays: the photo. Most rejections have nothing to do with how you look—it's usually a technical mismatch between your file and the HM Passport Office (HMPO) validation engine. To ensure a smooth application, getting your UK passport photo code right is essential, as it bridges the gap between a physical or digital image and the official government database.
Whether you use a UK passport photo code or a direct digital upload, the goal is the same: meeting rigid technical standards that a machine can read and a human can verify. We've already covered how to take a UK passport photo at home in another guide. Here, we're going to look at the submission process itself—the technical requirements, why codes expire, and how to interpret the results of the automated checker.
The Direct Answer: Code or Upload?
You have two ways to submit your photo for an online application. You can enter a Photo Code (a unique ID) or upload a Digital Photo File (like a .JPG).
When to Use a Photo Code
- You want speed: Entering a code instantly pulls in a photo that has typically been pre-checked for basic rules.
- You’re using a service like Passport Photo Code: This provides both the code and the file, giving you a backup if the system stalls.
- You aren’t tech-savvy: You won't have to worry about file sizes, cropping, or resolution limits.
When a Manual Upload is Better
- You're applying from abroad: Most photo booths in the USA, Australia, or the EU don't offer UK-compatible codes.
- You took the photo yourself: If you have a high-quality digital file and you're comfortable checking the dimensions manually.
- Your code has expired: Most codes from high-street booths are purged from external databases after 30 days due to GDPR data retention policies.
Decoding the GOV.UK Automated Photo Checker
When you submit a photo, the first thing that looks at it isn't a human—it’s an algorithm. This AI is looking for "biometric landmarks": eye position, head tilt, and background shadows. According to official GOV.UK guidance, the checker gives one of three results.
The 'Good' Result: No Guarantees
A green "Good" result means the AI is happy with the technical side. It found your face, the lighting is balanced, and the pixel count is high enough.
Note: "Good" doesn't mean your photo is approved. It just means it passed the first gate. A human caseworker can still reject it if they spot something the AI missed, like a tiny strand of hair across your eye or an unacceptable expression. This follows international ICAO Document 9303 standards for machine-readable travel documents.
The 'Fair' Result: The Risk You Take
A "Fair" result is a warning. The AI has detected a potential issue, such as a slight shadow on the background or uneven lighting.
GOV.UK will let you proceed with a "Fair" photo, but you’ll have to tick a box acknowledging the risk. We do not recommend this. If you proceed, you're essentially flagging your application for extra manual scrutiny. If the caseworker disagrees with the AI's leniency, your application will be paused, adding weeks to the process.
The 'Poor' Result: Why the AI Says No
A "Poor" result is a hard stop. You usually won't be allowed to proceed. Typical reasons include:
- Low Resolution: The photo is blurry or pixelated.
- Incorrect Aspect Ratio: You tried to upload a square photo when the system expects a portrait 4:5 ratio.
- Technical Artefacts: If you've used an AI background removal tool that left jagged edges around your hair, the automated checker will reject it instantly.
Technical Specs for Manual Uploads
If you're uploading a file directly because your UK passport photo code isn't an option, you need to be your own quality control. HMPO has very specific technical requirements:
| Requirement | Specification |
|---|---|
| Dimensions | At least 600 pixels wide and 750 pixels tall |
| File Size | Between 50KB and 10MB |
| File Format | .JPG or .JPEG (preferred standard) |
| Aspect Ratio | 35mm x 45mm (approx 4:5 ratio) |
| Colour Depth | 24-bit colour (no black and white) |
Photo Code Troubleshooting Directory
Codes are convenient, but they aren't flawless. If you get an error message, here's the likely culprit.
Code Not Recognised or Invalid
Most issues are caused by simple typos. Digital codes often mix similar-looking characters.
- 0 vs O: Check if it is a zero or the capital letter O.
- 1 vs I vs l: Distinguish between the number one, a capital 'i', and a lowercase 'L'. Always try the alternatives before assuming the code is broken. If you are still stuck, the Post Office Digital Check & Send service can sometimes assist with physical submissions, though they charge a fee.
The 30-Day Expiry Problem
Most Photo Codes from high-street booths expire after 30 days. This is often due to privacy policies—the provider purges the image to protect your personal data. If your code has expired, you don't necessarily need to pay for a new photo; if you have the original digital file, just use the manual upload option instead.
The Expat Bridge: Applying from Abroad
Applying for a British passport from overseas—particularly the USA, Canada, or Australia—presents a unique challenge. Local photo standards rarely align with the UK’s biometric needs.
The 2x2 Inch Trap (USA)
In the US, the standard passport photo is 2x2 inches (square). If you go to a local pharmacy, they'll give you a square photo. If you try to upload this to the UK application, it will fail because the proportions are wrong. The UK requires a portrait orientation where the head occupies between 29mm and 34mm of the total height.
The Fix: Don’t use a US-spec photo. Use a service that allows you to upload a smartphone photo and then crops it specifically to the official UK 35x45mm requirement.
Frequently Asked Questions
Why is my passport photo code not working?
Most often, this is due to a typo (like mistaking '0' for 'O') or the code has passed its 30-day expiry limit. Ensure you are entering the code exactly as printed on your receipt.
Do I need a photo code for a UK passport?
No, it is optional. You can also upload a digital photo file (.jpg) directly from your computer or smartphone, provided it meets the biometric requirements.
Can I get a passport photo code from my own photo?
Yes, services like Passport Photo Code allow you to upload a photo you took yourself, which is then processed into a valid code and digital file.
How long does a photo code last?
Typically, codes from booths last 30 days. Independent online services may have different retention periods; for instance, we retain photos for 48 hours to ensure privacy.
Final Decision Framework
| Your Situation | Best Method | Why? |
|---|---|---|
| In a UK photo booth | Photo Code | Designed specifically for the GOV.UK system. |
| Applying from the USA/Abroad | Manual Upload | Foreign booths don't provide UK-compatible codes. |
| Taking your own photo | Digital Upload | You have full control over lighting and quality. |
| Using our service | Both (Code + File) | Use the code for speed; keep the file as a backup. |
Applying for a passport shouldn't feel like a gamble. By understanding how the retrieval and validation systems work, you can avoid the frustration of a rejected photo. If you're ready to get started, you can get a UK digital passport photo and Photo Code through our service. We handle the technical checks so you don't have to worry about pixels, aspect ratios, or your UK passport photo code being rejected.

