You filled in the whole renewal form on the DGIP portal. Name, passport number, address, everything done. Then you picked your photo, clicked upload, and the form spat it back. Or worse: no error at all, just a message days later saying the application was returned over the photograph.
That is the part nobody warns you about. The Pakistan passport photo size rules are stricter than the guides say, and the number that matters most is the one most guides still get wrong.
The limit is 20 KB. Not 5 MB.
Here is what the Directorate General of Immigration and Passports actually asks for on its e-Services photo page, checked on 30 November 2026:
| Rule | What the portal says |
|---|---|
| Printed size | 45 mm high by 35 mm wide |
| Head height | 29 to 34 mm, chin to crown |
| Background | Plain white |
| Age of photo | Not more than 6 months old |
| File types | JPG, JPEG or PNG |
| File size | Must not exceed 20 KB |
The 20 KB limit shows up three times on that one page: in the introduction, on the upload box itself ("Choose file (JPG / PNG max 20KB)"), and in a section headed "Photograph file size". It is not a footnote. It is the rule the portal's own photo checker enforces. The 20 KB cap is for the online upload only — a printed photo has no file to shrink.
Now think about what that means for the picture sitting on your phone right now. A typical photo straight from the camera is around 4,300 KB. To fit 20 KB it has to lose more than 99 percent of its bytes — less than half of one percent of the original file is left. That is why the upload fails, and why shrinking it in your head ("it's only a small photo") doesn't work. You have to rebuild the file at that size, on purpose.
Why every guide seems to say something different
Search for the size and you will find three different answers, all claiming to be official. DGI&P's own pages disagree with each other, which is how this mess started.
An upload guide from 2016 allows a 5 MB photograph. The main DGI&P site's online passport page talks about 350 by 467 pixels and 3 MB. The e-Services portal's photo page says 20 KB. And the guides that copied the old pages still repeat 5 MB as if nothing changed.
Five megabytes is 250 times bigger than 20 KB. Following the wrong page doesn't just waste an evening, it gets the application sent back, and then you queue again.
The upload box wins. The portal runs its own photo checker, and the checker stops at 20 KB. A file that passes the checker is the file that gets through. Everything else is a page that hasn't been updated.
One more thing the portal is blunt about: the photo must be professionally taken, and it must not be edited in other software like Photoshop. You also can't use a photo cut down from a larger picture. Read that as it stands. The fix below sizes and compresses a proper photo. It does not fake one.
Getting a photo that fits, in two steps
Start from a good original. A studio passport photo is the safest bet: ask for the digital file. If you take it yourself, stand against a plain white wall in daylight, face the window, and keep your expression neutral with your mouth closed. Get someone else to take it if you can. An arm's-length selfie distorts your face, and a distorted face fails the checks before file size even comes into it. The walkthrough for taking a passport photo at home covers the light, the distance and the mistakes that get photos rejected.
Step 1: crop it to 35 by 45. Open the free Passport Photo Maker, pick Custom size, and type in 35 by 45 mm with a head height of 29 to 34 mm. The guides show you where your crown and chin should sit. Download the cropped photo. Do not switch on background replacement for this one: the portal says the picture must not be edited, and a swapped background is an edited picture.
Step 2: squeeze it under 20 KB. Open the free Image Compressor, switch to "To a target size" mode, and type in 19 KB, not 20. One kilobyte of margin covers the portals that count a kilobyte differently from each other. The compressor steps the quality down until the file fits, and only shrinks the dimensions if quality alone can't get there. Check the result before you download it: your face should still be sharp, with no blur around the eyes.
That is the whole job. Two tools, two minutes, no account, and your photo never leaves your device. If the compressor had to shrink the dimensions to reach 19 KB, start again from a tighter crop instead. A tight head-and-shoulders crop gives the compressor far more face per kilobyte.
Same trick, other Pakistani forms
The passport portal is the strictest of the lot, but it is not the only form that hands out a KB limit. FPSC asks for a photo under 30 KB and PPSC under 25 KB. NADRA's Pak-ID app allows up to 60 KB. NTS still allows up to 5 MB, so size is rarely the problem there. These figures come from guides that checked each body's own pages in November 2026, and any single advertisement can set its own number. Read the upload box on your form first, then set the same target-size mode to that number.
Before you hit submit
Run your file through the portal's own photo checker on the DGIP photo requirements page before you apply. It is the same check the portal runs on the real upload, so a pass there is worth more than any guide's promise, including this one. Then check the file size in your file manager, open the photo once at full size to make sure your face is clear and upright, and keep the original safe under a different name. You will want it again for the next form.
What people keep asking
What is the Pakistan passport photo size for online renewal?
35 by 45 mm on a plain white background, head 29 to 34 mm, taken within the last six months, as a JPG or PNG no bigger than 20 KB. That is what the DGIP e-Services photo page says, checked 30 November 2026.
Why do so many sites still say 5 MB?
Because they copied an old DGI&P upload guide from 2016, and nobody went back to check. The portal's photo page and its checker both say 20 KB now. The older page is still floating around, and search results don't know which one is current. Trust the upload box on the portal itself, not a guide quoting a page from 2016.
Can I take the photo on my phone?
The portal says photos must be professionally taken. A phone can take a sharp enough picture in good light, but a studio photo with the digital file is the safer route for a document this strict. Whatever you start from, the file still has to come down to 20 KB.
My photo is still over 20 KB. What now?
Crop tighter first, then compress again. A head-and-shoulders crop at 35 by 45 mm has far less wall to pay for than a wide shot. If it still won't fit, the original is probably too detailed or too large, so resize the dimensions down a little and try once more. The step-by-step for shrinking a photo to an exact KB size walks through the same fix for admission forms. Don't pad the file or rename a PNG to JPG: the checker reads the real file, not the name.
The 20 KB limit is the thing that sends passport renewals back. Not the background, not the expression, the file size. Most people find out from a rejection message, days after they thought they were done. Check the number on the portal, make the file fit before you upload, and the form stops being the hard part.