UK Passport Photo Codes Explained: Why Your Online Application Keeps Rejecting Your Picture
Stuck at the photo step of your online passport application? Here’s how photo codes work, the rules your digital photo is checked against, and how to fix a rejection.

You've filled in every field of your online passport application, and then you hit the photo step. The upload doesn't look right, the service warns you about the picture, or you're asked for a “photo code” you've never heard of. It's the point where a ten-minute job turns into an evening of retakes.
This guide explains what UK passport photo codes are, the three ways to supply a photo, the rules your digital photo is checked against, and the most common reasons pictures get rejected, with a fix for each. Everything here is based on the current GOV.UK passport photo guidance, which is the place to check if anything changes.
What a photo code is
Many photo booths and high-street shops in the UK can take a digital passport photo for an online application. Instead of handing you a file, they give you a code, usually printed on a slip or sent to you by email. GOV.UK's advice is simple: choose the option to get a code with your photos, and you'll be asked to enter that code during your passport application.
The code links your application to the digital photo. You never handle the image file yourself, so there is nothing to resize, compress or upload. That is a big part of why GOV.UK says photos from a booth or shop are more likely to be approved than photos taken on your own device.
Two practical points. First, keep the code safe until your application is submitted; you can't use the photo without it. Second, your photo must have been taken in the last month, so don't get your code weeks before you plan to apply.
Your three photo options
Depending on how you apply, you can supply your photo in one of three ways:
| Option | How it works | Best for |
|---|---|---|
| Photo code from a shop or booth | Choose the option to get a code with your photos, then enter the code during your online application. | Anyone who wants the most reliable route |
| Your own device | Take a photo with a phone or camera during the online application. You'll need someone to help. | Applying from home with good light and a plain wall |
| Printed photos | Two identical 35 × 45 mm prints sent with a paper application form. | Paper applications only |
If you take the photo on your own device, GOV.UK asks you to include your head, shoulders and upper body, and not to crop it, because it will be cropped for you. That is the opposite of what many people expect, and pre-cropping a photo tightly is a common source of trouble.
The digital photo rules
Whether it comes from a booth or your phone, your digital photo is checked against the same rules. According to GOV.UK, it must:
- Be clear and in focus, in colour, and unaltered by computer software
- Be at least 600 pixels wide and 750 pixels tall
- Be at least 50KB and no more than 10MB
- Be taken against a plain, light-coloured background, in clear contrast to it
- Contain no other objects or people
- Show you facing forwards and looking straight at the camera
- Show a plain expression with your mouth closed and your eyes open and visible
- Have no hair in front of your eyes, nothing covering your face, and no shadows on your face or behind you
- Have no red eye
- Have no head covering, unless it's for religious or medical reasons
On glasses, GOV.UK says not to wear them unless you have to. If you do, they can't be sunglasses or tinted, and your eyes must not be covered by the frames or by any glare, reflection or shadow. Your photo must also have been taken in the last month, and you need a new photo for each new passport even if your appearance hasn't changed.

Why your online application keeps rejecting your photo
When people say the online service “keeps rejecting” their picture, the cause is almost always one of the issues below. Most are easy to see once you know to look for them.
1. Shadows
A shadow on one side of your face, under your eyes or on the wall behind your head breaks the “no shadows” rule. It usually comes from overhead lights or from standing too close to the wall.
2. Hair over your eyes
A fringe touching your eyebrows or strands across your eyes can be enough. Your eyes need to be fully visible.
3. The wrong expression
A smile with your mouth open, raised eyebrows or a squint all fail the “plain expression, mouth closed” rule. A relaxed, neutral face is what's needed.
4. A background that isn't plain or light
Door frames, pictures, textured wallpaper or a dark wall behind you all cause problems, as does a background so close to your hair colour that there's no clear contrast.
5. Low resolution or the wrong file
Images smaller than 600 × 750 pixels, files outside the 50KB to 10MB range, or photos that are blurry, grainy or heavily compressed will struggle. Screenshots and images sent through messaging apps are often compressed enough to lose detail.
6. A photo of a printed photo
Photographing or scanning an old print rarely works. The result tends to be soft, with glare or a visible paper texture, and the original may be older than one month anyway.
7. Edits and filters
Beauty modes, skin smoothing, portrait blur or a replaced background can mean the photo is no longer “unaltered by computer software”. Use your camera's standard photo mode. For a wider list that also covers US and Schengen rules, see 7 passport photo mistakes that get applications rejected.
How to fix a rejected photo
If your photo has been flagged, the quickest route is usually to take a new one rather than argue with the old one. GOV.UK warns that your application will be delayed if your photos do not meet the rules, so it's worth getting it right before you submit.
- Stand about half a metre in front of a plain, light wall, facing a window, with overhead lights off.
- Take off your glasses, tuck your hair behind your ears and remove any hat.
- Ask your helper to hold the phone at your eye level about 1.2 metres away, using the rear camera with no zoom or filters.
- Keep your mouth closed, your face neutral and your eyes on the lens.
- Include your head, shoulders and upper body, and don't crop it yourself.
Our step-by-step guide to taking a passport photo at home with a phone covers this setup in more detail. If you want a second opinion before you upload, GetSolved's passport photo tool checks your head position and flags common problems like shadows.
Still struggling after a couple of attempts? Head to a shop or booth that offers photo codes. It costs a little more, but it removes most of the guesswork.
Printed photos for paper forms
If you're applying with a paper form instead, you don't need a code. You need two identical printed photos that meet these rules from GOV.UK:
- 45 mm high by 35 mm wide
- Your head, from crown to chin, between 29 mm and 34 mm high
- Printed in colour on plain white photographic paper with no border
- Without creases or tears, and unmarked on both sides unless a photo needs to be countersigned
- Taken in the last month
If you take the photo at home, GetSolved can crop it to 35 × 45 mm with your head in the correct range and lay it out on a sheet you can print at any photo counter. Print at actual size, on photo paper, and cut carefully along the guides.
Frequently asked questions
What is a UK passport photo code?
It's a code you get with a digital passport photo taken at a shop or photo booth. You enter it during your online application and your photo is added automatically.
Can I upload my own photo for a UK passport?
Yes. You can take a photo with your own device during the online application, with someone helping you. Include your head, shoulders and upper body and don't crop it.
How recent does my UK passport photo need to be?
It must have been taken in the last month, and you need a new photo for each new passport even if you look the same.
Can I wear glasses in my UK passport photo?
Only if you have to. They can't be sunglasses or tinted, and there must be no glare, reflection or shadow, with your eyes not covered by the frames.
Check it before GOV.UK does
1 credit per photo. Your first 20 credits are free.
This is general information, and the rules can change. Always check the current requirements on GOV.UK before you apply or renew your passport. GetSolved is not affiliated with HM Passport Office or the UK government.
Check your photo before you upload
GetSolved checks head position and common problems, and makes 35 × 45 mm print sheets for paper forms.
Check my photo