UK Passport Photo Code Guide: Troubleshooting and Technical Specs
Struggling with a 'not recognised' UK passport photo code? This expert guide covers character errors, technical specs (600x750px), and how to pass the HMPO checker. Learn why codes fail, when to upload a file instead, and how British nationals abroad can get a code online.
If you’re currently staring at a red error message on the GOV.UK website or wondering why your UK passport photo code isn’t being recognised, you’re far from alone. The shift to a fully digital passport application system has streamlined the process for millions, but it has also introduced a whole new world of technical faff. Whether you’ve just come from a photo booth in a supermarket or you’re trying to get a passport photo code online, getting that photo to ‘stick’ in the application is often the most stressful part of the renewal.
In this guide, we break down how the UK passport photo code system actually works. We’ll look at why codes fail, the exact technical specs the HM Passport Office (HMPO) demands, and how to handle those confusing ‘Fair’ or ‘Poor’ ratings from the automated checker. Our goal is to move you past the technical friction so you can get your application submitted without needing a degree in image processing.
The Direct Answer: Why Your UK Passport Photo Code Might Not Be Working
Before we dig into the weeds of pixel counts and biometric data, let’s solve the immediate headache. If your code isn’t working, it almost always comes down to one of three things: a typo, a timing issue, or a server-side delay.
Character Confusion: The 'O' vs. '0' and 'I' vs. '1' Traps
This is the single most common reason a passport photo code is rejected. Most codes are a mix of letters and numbers, and photo booth printers aren’t always known for their high-resolution typography. It is incredibly easy to mistake a capital 'O' for a zero '0', or a capital 'I' for a number '1'. In some fonts, a lowercase 'l' (Lima) and an uppercase 'I' (India) are identical.
Common character swaps to try:
- Swap '0' (zero) for 'O' (letter)
- Swap '1' (one) for 'I' (letter) or 'l' (lowercase L)
- Swap '5' (five) for 'S' (letter)
- Swap '8' (eight) for 'B' (letter)
The 'Not Recognised' Error: When the System Can’t Find Your Photo
Sometimes the error isn't your fault at all. When you use a photo booth or a professional service, your photo is uploaded to a secure third-party server. When you enter the code on the GOV.UK site, the government’s system 'pings' that server to retrieve the image.
There are two main reasons this fails:
- Sync Delay: If you try to use the code within minutes of getting it, the photo might not have finished uploading or syncing to the central database. We recommend waiting at least one hour.
- Server Downtime: Occasionally, the provider’s server or the HMPO link might be down. If your code still isn't recognised after 24 hours, the photo likely wasn't uploaded correctly, and you’ll need to contact the provider.
The Digital Gateway: Code vs. File Upload
When you reach the photo stage of your online UK passport application photo, you’ll be asked how you want to provide your image. You have two main paths: entering a Photo Code or uploading a digital file directly. Neither is objectively ‘better,’ but they suit different needs.
When to Use a Photo Code
A Photo Code is a digital shortcut. It’s a reference number that links your application to a photo already stored on a secure server. This is the path you take if you’ve used a high-street photo booth (like those found in Boots or Post Offices) or a dedicated online service like Passport Photo Code.
The main benefit is convenience. You don’t have to worry about file formats, cropping, or resolution; the service provider has already handled the technical heavy lifting. If you’re not particularly tech-savvy, knowing how to use a passport photo code is the simplest route.
When a Direct Digital File Upload is Better
You can also choose to upload a photo file (usually a .jpg or .jpeg) directly. This is the standard route for people taking their own passport photo at home. Direct upload gives you more control over lighting and background, but it puts the technical burden on you. You’ll need to ensure the file meets the pixel and size requirements set by official GOV.UK guidance.
The Technical Anatomy of a Compliant Photo
HMPO doesn’t just want a ‘nice’ photo; they need a specific data set. The automated checker looks for biometric markers—the distance between your eyes, the bridge of your nose to your chin, and the overall symmetry of your face.
Pixel Dimensions: The 600x750 Rule
While printed photos are 35mm x 45mm, digital requirements are different. A digital passport photo must be at least 600 pixels wide and 750 pixels tall. The aspect ratio is vital; if your photo is a square or a long panoramic, the system will distort it, leading to a passport photo code not working error.
File Size and Format
- Format: Must be JPEG (.jpg or .jpeg). PNG, PDF, or HEIC (common on iPhones) are not accepted.
- Size: Must be between 50KB and 10MB.
- Resolution: High enough to avoid 'noise' but low enough to avoid crashing the uploader (aim for 2MB–5MB).
Decoding the HMPO Automated Checker Results
Once you enter your code or upload your file, the GOV.UK site runs an automated check. This returns a rating of ‘Good,’ ‘Fair,’ or ‘Poor.’
What ‘Fair’ Really Means: Should You Submit?
A ‘Fair’ rating often comes with warnings about background darkness or shadows. However, you can still submit a ‘Fair’ photo. The system is conservative and flags anything a human examiner might question. If your face is clear, there are no red eyes, and the background is plain, HMPO staff often approve photos the bot marked as 'Fair'.
Common Triggers for a ‘Poor’ Rating
If you get a ‘Poor’ rating, the application will likely be rejected. Common causes include:
- Lighting: Deep shadows on one side of the face.
- Background: Visible door frames, light switches, or wallpaper patterns.
- Expression: Smiling, squinting, or teeth showing. HMPO requires a neutral expression.
- Head Position: Head tilted or eyes not looking directly at the camera.
The International Hurdle: UK Passport Photo Code Abroad
If you are a British national living in the US, Australia, or Europe, the process is trickier. Most overseas photo booths are set to local standards (like the US 2x2 inch square) which the UK system rejects. Furthermore, international booths almost never provide a UK passport photo code abroad.
For expats, using an online service like Passport Photo Code is the best solution. You can take a photo on your smartphone, and we process it to ensure it meets the 600x750px requirements and provide a compatible code for the GOV.UK portal.
Privacy, Security, and Biometric Data
Your passport photo is a piece of biometric data used at e-Passport gates. The system stores a mathematical map of your face, not just an image.
Data Retention
Under UK GDPR rules, independent services like ours retain photos for limited periods—usually no longer than 48 hours—to ensure your privacy. High-street booths typically retain images for 30 days.
Troubleshooting Deep Dive
Browser Issues and Cache
If the GOV.UK site hangs during upload, try these steps:
- Incognito Mode: Opens a fresh session without old cookies.
- Switch Devices: If your phone fails, try a desktop computer.
- Clear Cache: Remove browsing data from the last hour in your settings.
Lost or Expired Codes
Most codes expire after 30 days. If your mistyped passport photo code isn't the problem, check the date you received it. If you've lost the code, check your email; many modern booths send a digital backup if you provided an address.
Frequently Asked Questions
Does a passport photo code guarantee acceptance?
No. A code only retrieves the photo. HMPO examiners make the final decision on whether the photo meets all official passport rules.
Can I use a photo code for a paper application?
No. Photo codes are exclusively for the online passport service. Paper applications require physical printed photos.
Is there a free passport photo code UK service?
While some apps help you take a photo, most services that provide a valid UK Photo Code for the GOV.UK system charge a fee. Passport Photo Code offers a transparent service to ensure your photo is technicaly compliant.
Summary
Getting your UK passport photo code should be the easiest part of your application. By checking for typos, understanding the 'Fair' rating, and ensuring your photo meets the 600x750 pixel minimum, you can avoid common delays. If you're ready to submit, get your UK digital passport photo and Photo Code today through our streamlined tool to ensure a smooth, professional result.

