UK Passport Photo Size and Requirements

The UK Passport photo spec (uk-passport) is 35 × 45 mm (1.378 × 1.772 in), or 413 × 531 px at 300 DPI, on a grey (#EEEEEE) background.

Requirements at a glance

Size35 × 45 mm (1.378 × 1.772 in)
Pixels413 × 531 px
DPI300
Background colorgrey (#EEEEEE)
File size limit50–10240 KB
Sourcegov.uk
Last checked2026-11-02
Spec codeuk-passport

Frequently asked questions

What size is the UK Passport photo?

It is 35 × 45 mm (1.378 × 1.772 in). The digital file is 413 × 531 px at 300 DPI.

What background color does the UK Passport photo need?

This spec uses a grey (#EEEEEE) background.

What file size is allowed for the UK Passport photo?

The file should be between 50 KB and 10240 KB.

Can I use this spec with the IDPhoto.ai API?

Yes. Set specCode to "uk-passport" in a POST /v2/makeIdPhoto request. The Passport Photo API reference describes the full request and response.

Make a photo with this spec

For people

Upload a portrait and get a photo prepared to this spec.

Make a photo with this spec

For developers

Send this spec code to the Passport Photo API.

curl -sS -X POST "https://api-us.idphotoapp.com/v2/makeIdPhoto" -H "Content-Type: application/json" -d '{"apiKey":"YOUR_API_KEY","apiSecret":"YOUR_API_SECRET","imageBase64":"BASE64_IMAGE","specCode":"uk-passport","outputFormat":"IMAGE_BASE64"}'

Related specs

All photo specifications

IDPhoto.ai is an independent service and is not affiliated with any government agency. Rules change, so always check the issuing authority’s current photo rules before you submit a photo.