UK Passport Photo Code Explained (Photo Code vs Upload)
Updated 2026-11-24 · 7 min read
A UK passport photo code is a short code you get from a photo booth or shop with a digital photo service, and you can enter it into your online GOV.UK passport application instead of uploading a photo file yourself. You only need a code if you do not want to upload your own digital photo, because the online application also accepts a photo you upload that meets the requirements.
This guide explains what the code is, where to get one, when you need it, and what your own digital photo must look like if you upload instead. Always confirm the current details on the official page: gov.uk/photos-for-passports.
What is a UK passport photo code?
When you apply for or renew a UK passport online, you must provide a photo. GOV.UK gives you two ways to do it:
- Upload a digital photo you already have, for example one taken with your phone or made with a tool.
- Use a photo code, which links the application to a photo that a participating booth or shop has already taken and stored for you.
The photo code is just a reference. The photo itself stays with the service that took it, and the code lets the passport service retrieve it. It is useful if you do not have a good photo file, if you are not confident with image files, or if you prefer a professional to take it.
Check gov.uk/photos-for-passports for the current code format and how long it stays valid, because those details can change.
Where do you get a photo code?
Codes are issued by photo providers that have a digital photo service connected to the online system. Typically these include:
- Photo booths in supermarkets, post offices, train stations and shopping centres that offer digital photos
- High-street photo shops and some pharmacies
- Online photo services that issue a code after you submit a photo
The process is usually: take the photo, pay, and receive a code printed on your receipt or sent by text or email. Prices vary by provider, so compare them before you pay. Some booths charge more for a digital code than for plain prints.
Ask whether the booth or shop supports GOV.UK photo codes before you pay, because not every booth does.
Photo code vs uploading your own photo
Here is how the two options compare.
| Photo code | Upload your own digital photo | |
|---|---|---|
| Where it comes from | A booth, shop or code service | Your phone, camera or a photo tool |
| What you enter | A short code | A JPEG image file |
| Cost | Paid to the provider | Free if you take it yourself, or the cost of a tool |
| Convenience | Everything handled by the provider | You need a clean file |
| Control over the result | Limited | Full, you can retake as many times as you want |
| Needed for paper applications | No, paper forms need printed photos | No, you need prints for paper forms |
If you apply online, either route is valid. If you apply on a paper form, you need printed photos instead, and there are extra instructions on gov.uk.
When do you need a code?
You do not strictly need a code at all if you can upload a photo that meets the rules. A code is helpful when:
- You cannot get a clear, evenly lit photo at home
- You have difficulty with image files or uploads
- You want a professional to check the photo before you submit
- Your photo kept being rejected and you want a different route
If you are comfortable taking a good photo, uploading your own is usually the cheapest approach.
Requirements for your own digital photo
If you upload a photo yourself, GOV.UK checks it against technical and visual rules. The key ones, which you should confirm on gov.uk/photos-for-passports, are:
- Size and ratio: the standard UK passport photo is 35×45 mm
- Head size: about 29 to 34 mm from chin to crown in a 35×45 mm photo
- Minimum resolution: at least 600×750 pixels
- File type: JPEG
- File size: within the limits GOV.UK states (check the page for the current numbers)
- Background: plain light grey or cream, with no shadows, patterns or objects
- Expression: neutral, mouth closed, both eyes open and visible
- Position: facing straight at the camera, head upright
- Recent: taken recently. GOV.UK states the exact period, so check it
- Image quality: in focus, in colour, no filters, no red-eye, no heavy retouching
- Glasses: only if you cannot remove them, no glare, reflections or tinted lenses
- Head coverings: only for religious or medical reasons, with your face visible from chin to forehead
- Other people and objects: none in the photo. For babies, see our baby passport photo tips
GOV.UK also has an automatic photo checker during the application, which gives you feedback before you submit. Treat it as a helpful check, but remember the final decision is made by HM Passport Office.
How to make a compliant UK photo yourself
You can take a UK passport photo at home with a smartphone and turn it into a correctly sized file in a few steps.
- Take a clear photo. Use soft daylight facing a window, a plain wall and a neutral expression. Our guide on taking a passport photo at home covers lighting, distance and posture.
- Open the maker. Go to the UK passport photo page or start from the main passport photo tool.
- Upload your photo. The photo is processed on your device in the browser and is never uploaded to a server.
- Let the tool detect your face and remove the background. It replaces the background with a plain, light colour and crops to the 35×45 mm proportion.
- Review the compliance checks. These look at things like head size, tilt and lighting evenness.
- Preview and download. The download is free and includes a digital file plus 4×6 in and A4 print sheets.
- Upload to GOV.UK. Add the file to your online application, or print it if you are applying by paper.
The maker produces a digital file and print sheets. It does not issue GOV.UK photo codes, so if you want a code you need a booth or shop that provides one.
You can also read why passport photos get rejected to avoid the common pitfalls.
Photo code or upload: which should you choose?
Choose upload if:
- You can take a clear, evenly lit photo at home
- You want to avoid paying a booth fee
- You are happy to retake the photo until it looks right
Choose a photo code if:
- You want a professional to take the photo
- You have no way of getting a good photo file
- You prefer to hand the technical side to a provider
You can combine the approaches. For example, if the GOV.UK checker keeps rejecting your own upload because of lighting, a booth or shop may solve it quickly.
Tips for avoiding delays
- Apply for your passport well before travel, since processing times vary.
- Read the application guidance on gov.uk before starting.
- Keep your photo code or file safe until your application is submitted.
- Do not use a photo that has filters, beauty modes or heavy retouching.
- If you are asked to send a new photo, do it quickly so the application keeps moving.
If you also need a size reference, see the 35×45 mm photo size page.
FAQ
What is a UK passport photo code?
It is a short code issued by a booth, shop or online photo service. You enter it in your online GOV.UK passport application, and the application retrieves the photo that provider took for you. It is an alternative to uploading your own file.
Do I need a photo code to apply online?
No. You can upload your own digital photo if it meets the requirements. A code is only one of the two options GOV.UK offers.
Can I use a photo code for a paper application?
No. Photo codes are for online applications. If you apply by paper, you need printed photos, and the paper form has its own instructions on gov.uk.
What size and resolution should an uploaded UK photo be?
The standard size is 35×45 mm, and the digital file should be at least 600×750 pixels in JPEG format, with the head about 29 to 34 mm from chin to crown. Check gov.uk/photos-for-passports for the full and current list.
Does your tool give me a photo code?
No. It produces a compliant digital file and print sheets that you can upload to GOV.UK or print. If you specifically want a code, you need a participating booth or shop.