UK Passport Photo Code vs Printed Photos: Which One Do You Need?
For a UK online passport application you can upload a digital photo and receive a photo code; a paper application still needs two printed 35 x 45 mm photos. Sizes, digital limits, head height 29-34 mm and what HMPO actually checks.
uk passport photo code vs printedShort answer: If you apply for a UK passport online, you can upload a digital JPEG (at least 600 x 750 px, 50 KB - 10 MB) and the system gives you a photo code — or you can enter a code from a booth or pharmacy. If you apply on paper, you need two identical printed 35 x 45 mm photos. Either way the geometry is the same: head 29 - 34 mm on a plain light grey or cream background, taken within the last month.
Two routes, one set of rules
| Online application | Paper application | |
|---|---|---|
| What you submit | A digital JPEG, or a photo code from a booth/pharmacy | Two identical 35 x 45 mm prints |
| Digital file | JPEG, at least 600 x 750 px, 50 KB - 10 MB | Not applicable |
| Print size | Not needed unless you want a backup | 35 x 45 mm (413 x 531 px at 300 DPI) |
| Head height | 29 - 34 mm chin to crown | 29 - 34 mm chin to crown |
| Background | Plain light grey or cream, no shadow | Plain light grey or cream, no shadow |
| Recency | Within the last month | Within the last month |
The photo code is not a different photo standard — it is a reference to a digital image HMPO has already accepted. You do not have to buy a code: uploading your own compliant file during the online application is an option. Codes are sold by booths and pharmacies as a convenience.
The measurements people get wrong
- Head height 29 - 34 mm, measured chin to crown, not hair-to-frame. HMPO explicitly says the photo must not be cut down from a larger photo — it has to be taken at the right distance.
- Eye line roughly 27 - 33 mm from the bottom of the print.
- Background must be light grey or cream, uniform, with no shadow behind the head. Pure white or a patterned wall is a common failure.
- Recency is one month, stricter than the six months used by US and Canadian passport rules.
- Glasses are allowed only if there is no glare and the eyes are fully visible; avoid tinted lenses.
- No beauty filters, no skin smoothing. HMPO lists digitally altered photos among failures.
How to prepare the file
- Take the photo within the last month, against a plain light grey or cream wall, in diffuse light.
- Frame at the correct distance so the head will be 29 - 34 mm in a 35 x 45 mm frame — do not crop down a wide shot later.
- Check the numbers in the studio using the UK passport specification: head height, eye line, centring, background uniformity, shadow and sharpness.
- Export a JPEG at at least 600 x 750 px and between 50 KB and 10 MB. Note that 600 x 750 is a minimum capture resolution, not a different print geometry.
- Upload during the online application and keep the resulting photo code. If you need prints for a paper form, use the 4x6 print template, which fits four 35 x 45 mm photos per sheet.
Is a paid photo code worth it?
It is worth it when you do not have a suitable digital file and want a booth or pharmacy to take and validate one for you. It is not required for an online application if you can upload a compliant JPEG yourself. Compare the code price with taking the photo at home and running a free numeric check — the geometry rules are identical either way.
Common rejection reasons
- Head outside 29 - 34 mm (selfie too close or too far).
- Shadow behind the head from a flash fired at a wall.
- Pure white or patterned background instead of light grey/cream.
- Glare on glasses hiding the eyes.
- Photo older than one month.
- A photo cropped down from a larger image rather than taken at the right distance.
Frequently asked questions
Can I upload a digital photo without buying a code? Yes — the online application accepts a digital upload. The code is an alternative route, not a mandatory purchase.
Is a UK photo the same as a Schengen visa photo? Both are 35 x 45 mm, but UK head height is 29 - 34 mm (about 64 - 76%) while the Schengen/ICAO convention is 32 - 36 mm (70 - 80%). See the head-height guide.
Do children need a neutral expression? Children under 6 do not need a neutral expression; infants may have eyes closed. Only the child may appear in frame.
Does PassportPhotoMaker generate a photo code? No. Only HMPO's online application issues a code after it accepts your upload. We prepare and check the file; we never claim to issue official codes.
Official sources
- GOV.UK — Photos for passports
- UK passport photo specification — full rule table with sources and verification date
Last verified 2026-11-26. PassportPhotoMaker is independent and is not affiliated with HM Passport Office. Final acceptance is determined solely by the issuing authority.
Official specification for this guide
United Kingdom passport photos are 35 x 45 mm (413 x 531 px at 300 DPI), with a head height of 29–34 mm. Digital: JPEG, at least 600 x 750 px, 50 KB - 10 MB.
See the full United Kingdom passport specification and official sources →We check against the published specification and cite the official source for every rule. Final acceptance is determined solely by the issuing authority. We never claim 100% compliance. This is an independent tool, not affiliated with or endorsed by any government agency.
Check the numbers on your own photo
Free 12-point rejection risk report. Your photo is processed in your browser and never uploaded.