
Passport Photo Code vs Digital Photo Upload: Which to Use for a UK Passport
Use a photo code when a provider holds the picture, or upload a file you took yourself. How to choose for a UK passport, and how to enter either one on GOV.UK.
Use a photo code when a booth, a shop or an online provider already holds the digital photograph and has given you a code for it. Upload a file when the picture is on your own phone or computer and you are ready to add it during the application. Both routes put one digital photo on an online UK passport application. Neither route is a decision by HM Passport Office.
GOV.UK asks for a new digital photo, taken in the last month, every time you apply for a passport. You get that photo from a booth or shop, which can include a code, or you take one on your own device during the application and upload it. The photo rules are the same either way.
What is the difference between a photo code and uploading a photo?
A photo code is a short reference. During the application you choose the code option, type the code, and the photograph that the provider is holding appears on the form. GOV.UK describes that step: you enter the code and the digital photo is added to the application. The code is not your passport number, not the application reference, and not a verdict on the picture. The help page for a photo with a code shows the screens. Follow the wording you see, because labels can change.
An upload sends the image file from your device straight into the application. You need someone to help you take the photo. GOV.UK tells you to include your head, shoulders and upper body, and not to crop the picture yourself. The service crops it. The file has to be in colour, clear, unaltered by computer software, at least 600 pixels wide and 750 pixels tall, and between 50KB and 10MB.
After either route, the same online check looks at the picture and HM Passport Office examines it. A code does not skip that check. An upload does not skip it either. If the code itself will not load, use the troubleshooting guide. If the picture loads and the check complains, use the checker results guide.
Which should you choose?
Pick the route from where the photograph is, who can take it, and whether you want a file of your own as well as a code. Price is the provider’s price. A booth or shop sets its own fee. Passport Photo Code charges £2.99 for a digital photo and a Photo Code together. The passport fee on GOV.UK is separate and is paid to HM Passport Office.
| Question | Photo code | Upload your own file |
|---|---|---|
| Where does the picture come from? | A booth, a shop, or an online provider that gives you a code | Your phone or camera, taken during the application with someone helping |
| What you type or attach | The code, exactly as issued | The original image file |
| Who takes the photo | The booth or the shop, or you, if an online service prepares your file | Someone else, using your device. GOV.UK asks for help rather than a solo selfie |
| Can you retake it? | Yes. Ask the provider for a new photo and a new code, or switch to an upload | Yes. Take another frame and upload that file. Do not edit the rejected one |
| From outside the UK | A local shop usually cannot issue a UK code. An online provider can, if the photo meets the rules | Yes, if you can take a photo that meets the UK rules and upload it on the overseas service |
| How quickly you can use it | As soon as the provider can show the photo for that code. Enter it while the provider still holds the file | As soon as you have a file that meets the size and content rules |
| What GOV.UK says about the source | Photos from a booth or shop “are more likely to be approved” than a photo you take on your own device | Allowed, with the rules on photos for passports and the how to take a photo guide |
That “more likely” sentence is GOV.UK’s, about booth and shop photos compared with a photo you take yourself. It is not a promise about any particular provider, including us. We prepare a photo to help it meet GOV.UK photo rules. HM Passport Office makes the final decision.
Which route fits this applicant?
| Your situation | A sensible route |
|---|---|
| You are in the UK and a booth or shop can photograph you today | Get a code with the photo, then enter it on the form |
| You have a recent, uncropped original on your phone and someone else took it | Upload that file, after you have checked the background, light and expression |
| You are outside the UK | Read the expat photo guide. Do not expect a foreign shop to issue a UK code |
| The applicant is a baby or a young child | Follow the child rules on GOV.UK, and our baby and child photo guide. The code-versus-upload choice is the same; the pose rules are not |
| You have no printer, and the form is online | You do not need a print. You need a code or a digital file |
| You are applying on paper, or a paper form asks for two prints | A code does not replace those prints. Use a shop |
| It is a first adult passport | The photo step is the same idea. The identity confirmation afterwards is a different step. See first adult UK passport photo |
When is a photo code the better choice?
Choose a code when you want the application to fetch a photograph that a provider has already prepared, and you do not want to crop, resize or guess the file type yourself.
That is the ordinary high-street path. Before you start the form, you get a digital passport photo from a booth or shop and you ask for a code with it. On the form you enter the code and the picture is added. You then check that the person on screen is you, and that it is the sitting you just paid for.
A code is also the better choice when the original file is awkward: a screenshot, a picture forwarded on a chat app, or a frame you already cropped. Those files often fail the size rules or look soft. A fresh sitting, or a proper original sent to a provider, is cleaner than trying to rescue the damaged file.
Use a code you can still retrieve. The photograph itself must have been taken in the last month. That is a GOV.UK rule about the picture, not a universal lifetime for every shop’s code. How long the provider keeps the file is the provider’s policy. Ours is below. If the code no longer brings the picture up, the file has gone and you need a new photo.
When is uploading your own photo the better choice?
Upload when the picture is already a good original, someone else took it, and you would rather attach the file than buy another sitting.
GOV.UK’s taking guide is specific. Stand about 50 centimetres from a plain light-coloured background. The person with the camera stands about 1.5 metres away, with the camera at face height. Face the camera, with a plain expression, mouth closed, eyes open and visible, and no hair across the eyes. No head covering unless it is for religious or medical reasons. No shadows on your face or behind you. Take glasses off unless you have to wear them. If they must stay on, they cannot be sunglasses or tinted, and glare must not cover the eyes. Children have extra exceptions, which are on the same GOV.UK pages.
Two habits cause a lot of failed uploads.
The first is cropping. The digital rules say to include head, shoulders and upper body and not to crop. Leave space. The service frames the passport image.
The second is portrait mode, beauty mode, or any filter. Those modes blur the wall, smooth skin, or change the shape of the face. GOV.UK requires a photo unaltered by computer software, against a plain background, with a clear outline. Switch those modes off and use the original file from the camera roll, not a copy that a messaging app has compressed.
Upload is also the fallback when a code will not load and you still have a good digital file. Do that only after the short checks in the troubleshooting guide. A mistyped character is fixed by typing it again. It does not need a new photograph.
Can you get both a code and a digital photo?
Yes. The code is what you type into GOV.UK. The digital file is your copy of the same photograph, useful if you want to look at it full size before you submit, or if you later need to upload a file instead.
Passport Photo Code does both from a photo you take at home. We check and format it to help it meet GOV.UK photo rules, and we give you a Photo Code usable for an HMPO online application. The price is £2.99, paid once, for the code and the digital photo together. There is no subscription. Start on the create page. The same price is stated on the online passport photos page. The order is spelled out in how to get a UK passport photo code online for £2.99.
We are independent of GOV.UK. The checks you see before you pay are not HM Passport Office’s decision. Photos and processed files are normally deleted within 48 hours, which is the period in our privacy notice. Download the file and use the code while it still retrieves the picture. The photograph still has to have been taken in the last month.
This £2.99 order does not pay the passport fee and it does not post prints. If a paper form asks for printed photographs, use a shop.
How do you add the photo on GOV.UK?
Have the code or the original file ready before you start. Use the application that matches where you live. In the UK, start from the renew, replace, first-adult or child service GOV.UK gives you. From abroad, start at overseas British passport applications, not the UK-resident form. The photo step is the same idea. The rest of an overseas renewal is covered in renewing a British passport from abroad.
Enter a photo code
- Start the online application and reach the photo step.
- Choose the option to provide the photo with a code.
- Type the code exactly. Watch 0 and O, 1 and I, and any space you copied by accident.
- Wait until the photograph appears. If the wrong person appears, stop. That is a different code.
- Check that it is a current photograph of the applicant, with a plain background and a clear face.
- Read anything the online check then shows. Continue, or replace the photo, using the wording on the screen.
Upload a digital file
- On the same photo step, choose the option to take or upload a photo with your own device.
- Use an original colour file that includes head, shoulders and upper body. Do not crop it first.
- Confirm the file is at least 600 by 750 pixels and between 50KB and 10MB. A picture that looks fine in a chat thread is often too small.
- Wait for the photograph to appear and look at it at a large size.
- If the check names a problem you can see, such as a shadow or a smile, take another photo. Do not paint the problem out.
- Submit only when you can confirm that the photo meets the rules, which the form asks you to do.
If the check shows errors and you still want to use the photo, the examiner guidance says you must explain why, including a religious or medical reason where that is the cause. An examiner can still reject the photograph if it does not meet the standards. That later stage is covered in what happens after you submit.
Frequently asked questions
Do I have to use a photo code for a UK passport?
No. GOV.UK lets you get a digital photo with a code from a booth or shop, or take a photo on your own device and upload it during the application. Use the route that matches the photograph you actually have.
Is a photo code better than an upload?
It is better when a provider already holds a suitable photograph and you want the form to fetch it. An upload is better when you already have a strong original file and someone else took it. GOV.UK says photos from a booth or shop are more likely to meet the rules than a photo you take yourself. The examiner still decides.
Can I upload a photo and also enter a code?
The form asks you to supply the photograph once, by one of the two methods. You can hold both a code and a file, then use one of them. If the code fails, the file is the spare route, as long as it is the same suitable photograph and not an old, edited copy.
What if I am applying for a child?
The way you submit the file or the code does not change. The pose rules do. Children under 6 do not have to look at the camera or hold a plain expression. Children under 1 do not have to have their eyes open, and they should lie on a plain light-coloured sheet. They must still be alone in the picture, with no toy, dummy or visible hand.
Will either method make the passport arrive sooner?
GOV.UK does not describe the code and the upload as different queues. It does say your application will be delayed if the photos do not meet the rules. Sort the photograph before you pay the passport fee, rather than hoping one button is faster.
Where are the official rules?
The public summary is Get a passport photo. Taking a photo on your own device is covered at how to take a digital passport photo, with the photo rules beside it. Examiner standards, including what happens if you continue after a warning, are in Photo standards (updated 4 March 2026).
Updated 21 October 2026. Passport Photo Code is independent of GOV.UK and HM Passport Office.
The £2.99 digital photo and Photo Code start on the create page.