
Applying for a UK passport online? A digital photo code can make the process quicker and easier by allowing HM Passport Office to retrieve your photo directly from an approved provider. In this guide, you’ll learn how photo codes work, where to get one, and how to use it during your application.
Last updated: 16/06/2026
Table of Contents
What is a digital photo code?
A digital photo code is a unique reference linked to a passport photo stored by an approved photo provider.
The code is usually supplied after your photo has been taken and verified. It often appears as a short web-style reference, for example:
photo.co/AB12CD34
When you enter the code during your online passport application, HM Passport Office retrieves the photo directly from the provider’s secure system.
This means you do not need to upload the image manually.
Where can you get a digital photo code?
You can obtain a digital photo code from:
- Participating photo booths
- Professional photographers
- Photo shops
- Online passport photo services such as Smartphone iD
Not all providers issue photo codes, so it is important to confirm this before purchasing your photos.
How to use a digital photo code?
Using a digital photo code is straightforward.
Step 1 – Obtain your photo code
First, have your passport photo taken by a participating provider.
Once your photo has been processed, you will receive a unique photo code.
Step 2 – Start your online passport application
Visit the official HM Passport Office website and begin your online passport application.
Step 3 – Enter your photo code
When asked how you would like to provide your photo, select the option to use a photo code.
Enter the code exactly as provided.
Step 4 – Review your photo
The system will retrieve your photo automatically and display it within the application.
Check that the correct image appears before continuing.
Step 5 – Complete your application
Once your photo has been successfully attached, continue with the remaining steps of your passport application.
HM Passport Office will still review the photo to ensure it meets the official requirements.
What if your photo code doesn’t work?
If your photo code is not accepted:
- Double-check that you entered it correctly.
- Confirm that the code has not expired.
- Contact the provider that issued the code.
- Request a new photo code if necessary.
In some cases, temporary technical issues may affect photo retrieval. If instructed by the provider, try again later using the same code.
Why use a digital photo code?
Using a photo code offers several advantages:
- No need to upload image files manually
- Faster online application process
- Reduced risk of uploading the wrong photo
- Secure transfer of your photo
- Convenient for online passport applications
For many applicants, it is the simplest way to provide a passport photo online.
Get a Compliant digital photo code from home
You do not need to visit a photo booth or photography studio to obtain a digital photo code.
With Smartphone iD, you can take your passport photo from home using your smartphone.
Our app guides you throughout the process and performs:
- Real-time photo capture assistance
- AI-powered compliance checks
- Expert verification by trained specialists
Once approved, you receive a compliant passport photo together with a valid digital photo code ready to use during your application.
This allows you to complete the entire process from home in just a few minutes.
FAQ
Is a digital photo code mandatory?
No. During an online passport application, you can usually either upload a compliant digital photo or use a photo code.
Can I use a photo code for a paper passport application?
No. Photo codes are intended for online applications. Paper applications require printed passport photos.
How long is a digital photo code valid?
The validity period depends on the provider. If your code no longer works, contact the provider that issued it.
Can I get a photo code online?
Yes. Smartphone iD allows you to take a passport photo from home and receive a photo code without visiting a photo booth or photographer.
Sources
https://www.passport.service.gov.uk/help/photo-with-a-code