If you are applying for or renewing a Pakistani passport online, there is one number that has changed and that many guides still get wrong: the size of the photo file.
What the official page says
The photo requirements page of the DGIP e-Services portal (onlinemrp.dgip.gov.pk/photo-requirements) now says, under "Photograph file size":
The digital file size of the photograph should not exceed 20KB.
The upload box on the same page reads "Choose file (JPG / PNG max 20KB)". I read the page on 16 and 17 November 2026.
Several articles and photo services still give 5 MB (and some give 350 KB, which is the limit of the separate NADRA visa portal). That was the figure on the portal earlier. If you follow it with a normal phone photo, which is 2 to 5 MB, the upload fails.
What has not changed
The page still asks for:
- a photo 45 mm high by 35 mm wide (35 × 45 mm),
- a plain white background,
- a photo not more than 6 months old,
- a close-up of your full head and shoulders, facing the camera with a neutral expression.
It also says you cannot use a photo that has been cut down from a larger picture, and that the picture must not be edited in other software.
How to make a file under 20 KB
A 35 × 45 mm photo at 300 dpi is 413 × 531 pixels. To get below 20 KB you do not need to shrink the picture much, you mainly need to compress the JPG. Two things help a lot:
- A plain background. A flat white wall compresses to almost nothing, which leaves the bytes for your face.
- Good light. Even light with no shadow on the wall gives a cleaner picture at a small file size.
If you want to do it in the browser without uploading your photo anywhere, the passport page on FormKB does it on your device: https://formkb.com/online-passport-photo-size
I keep the official wording, the date I checked it and a link to the portal on that page. If the portal changes again, I update the page and list the correction on the About page.
One thing to check yourself
Portals change without notice. Before you upload, open the portal's own page once and read the current number. If it differs from this article, trust the portal and tell me, and I will fix the page.