Skip to main content
Country specifications

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.

Written by PassportPhotoMaker EditorialReviewed by PassportPhotoMaker EditorialTarget query: uk passport photo code vs printed

Short 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 applicationPaper application
What you submitA digital JPEG, or a photo code from a booth/pharmacyTwo identical 35 x 45 mm prints
Digital fileJPEG, at least 600 x 750 px, 50 KB - 10 MBNot applicable
Print sizeNot needed unless you want a backup35 x 45 mm (413 x 531 px at 300 DPI)
Head height29 - 34 mm chin to crown29 - 34 mm chin to crown
BackgroundPlain light grey or cream, no shadowPlain light grey or cream, no shadow
RecencyWithin the last monthWithin 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

  1. Take the photo within the last month, against a plain light grey or cream wall, in diffuse light.
  2. 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.
  3. Check the numbers in the studio using the UK passport specification: head height, eye line, centring, background uniformity, shadow and sharpness.
  4. 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.
  5. 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

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 →
This guide explains the rule; it does not decide your application. Final acceptance is determined solely by the issuing authority. Specifications change — check the official source linked above before you apply.

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.