There is no single file size limit for a passport or visa photo. The cap depends on the portal you upload to, and the spread is enormous: the US DS-160 visa form accepts a maximum of 240 KB, while a US passport renewal or a UK passport application will take up to 10 MB.123 Most portals also enforce a minimum, so a file that is too small fails just as hard as one that is too big. The UK floor is 50 KB and the US passport floor is 54 KB.13 The trap is that file size and pixel dimensions are separate checks that pull against each other, and shrinking the picture to fit a tight cap is the fastest way to fail the resolution check instead. SpecSnap carries each document's byte cap as part of its spec and encodes to it on your phone, so the export is already sized for the portal you are submitting to.4
There is no standard, and the gap is 40x wide
The single most useful thing to know is that "what is the file size limit for a passport photo" has no general answer. Each government portal picks its own numbers. The distance between the tightest and the loosest is roughly 40x.
Here are the current published limits, taken from the government pages themselves rather than from photo-tool blogs:
| Portal | Format | File size | Pixel dimensions |
|---|---|---|---|
| US passport, online renewal | JPG, JPEG, PNG, HEIC, HEIF | 54 KB to 10 MB | not published 1 |
| US visa, DS-160 upload | JPEG only | up to 240 KB | 600 x 600 to 1200 x 1200, square 2 |
| UK passport, online | digital photo | 50 KB to 10 MB | at least 600 x 750 3 |
| India e-Visa | JPEG | 10 KB to 1 MB | square, height equals width 5 |
| India regular visa | JPEG | 10 KB to 300 KB | square 6 |
| Singapore ICA e-Services | JPG, JPEG, HEIC, HEIF, PNG | up to 8 MB | exactly 400 x 514 7 |
Two things jump out. The formats are not the same, and the sizes are not close. A 3 MB photo sails through a UK passport application and is rejected instantly by the DS-160.
The same government can run two portals with two different caps
This is the detail that catches people out, and it is worth more than any general rule of thumb.
The United States does not have "a photo file size limit". It has at least two. Renew your passport online and you can upload anything from 54 KB to 10 MB, in five different formats.1 Apply for a visa on the DS-160 and you get JPEG only, at 240 KB or less.2 Same country, same face, same photo session. The second portal accepts about one fortieth of the file the first one does.
India does the same thing. The e-Visa portal takes a JPEG between 10 KB and 1 MB.5 The regular visa application on the same domain caps the photo at 300 KB.6 If you applied for an e-Visa last year and reused that exported file for a regular visa this year, it can be rejected on size alone while looking completely fine on screen.
So the question to ask is never "what does country X want". It is "what does the specific form I am filling in want". Check the cap on the page you are actually uploading to, on the day you upload.
The floor nobody expects: minimum file sizes
Almost everyone thinks about the ceiling. The floor is what quietly fails applications.
The UK requires at least 50 KB.3 The US passport renewal requires at least 54 KB.1 India requires at least 10 KB on both of its visa portals.56 A file below the floor gets refused even though it is, technically, well under the maximum.
Why would a photo be too small? Because people compress in a panic. They read "maximum 240 KB", run the image through a free online compressor set to aggressive, and end up with a 30 KB file. Or they screenshot the photo, or send it to themselves over a chat app that re-compresses images on the way through, and the file that lands in their downloads folder is a fraction of the original.
The floor exists for a reason. It is a crude proxy for detail. A file that small cannot hold enough information for a face to survive the biometric check, so the portal refuses it before a human ever looks.
File size and pixel size are two gates, and they pull in opposite directions
Here is the core of the problem. A tight cap and a pixel minimum are both live at the same time, and the obvious way to satisfy one breaks the other.
Look at the DS-160 again. The image must be at least 600 x 600 pixels. It must also be 240 KB or less.2 Now imagine you start with a sharp 4 MB photo from a modern phone. The instinct is to shrink it: drag the corner, resize it down, watch the file size fall. Shrink far enough and you will absolutely hit 240 KB. You will also have slipped under 600 x 600 pixels, and now the upload fails the dimension check instead. You have swapped one rejection for another.
The State Department is explicit that it is watching quality and not only bytes. Its digital image requirements set the compression ratio at 20:1 or lower.2 Read that again. The portal cares how hard the file has been squeezed, not only where it ended up. You cannot crush a large image into a small one and expect the check to look the other way.
This is why the "blurry photo" rejection is so common on the tight portals. The applicant met the number and lost the face.
The right lever is JPEG quality, not pixel dimensions
The fix is simple once you see the two gates clearly.
Hold the pixel dimensions where the spec wants them. Then lower the JPEG quality setting until the file drops under the cap. Pixel dimensions are a hard requirement. JPEG quality is a dial with a lot of usable range, and a JPEG at quality 75 is dramatically smaller than the same image at quality 95 while looking nearly identical to a human and to a face matcher.
A worked example for the DS-160:
- Export the photo at 600 x 600 pixels, square, JPEG. That is the minimum the portal accepts and the smallest legal canvas, which gives you the best possible starting point against a 240 KB cap.
- Save at a high quality setting and check the size. If it lands over 240 KB, save again a few steps lower.
- Stop as soon as you are under the cap. Do not keep going. Every extra step down costs facial detail and buys you nothing.
- Confirm you are still above any minimum. For DS-160 there is no KB floor, but for a UK passport you must stay above 50 KB.3
Never resize below the pixel minimum to buy headroom. If the file will not fit even at a low quality setting, the problem is usually a busy background or noise from a dim room, both of which make a JPEG much harder to compress. Fix the shot, not the slider.
Exact dimensions are a different rule from minimum dimensions
One more distinction that costs people an upload. Some portals give you a minimum. Others give you an exact size.
The UK asks for at least 600 x 750 pixels, so anything larger is fine.3 Singapore's ICA e-Services asks for 400 x 514 pixels, and that is the dimension, not a floor.7 Uploading a bigger, sharper 800 x 1028 image to ICA "to be safe" is not safer. It is the wrong size.
ICA's 8 MB ceiling is generous enough that file size is rarely the binding constraint there.7 The dimensions are. This is the mirror image of the DS-160 problem, and it is a good reminder that these portals are not testing the same things as each other.
Where SpecSnap fits
Doing all of this by hand means reading a government page, resizing to an exact canvas, then hand-tuning a quality slider and re-checking the byte count after every save. That is a tedious loop, and it is the loop SpecSnap was built to remove.
Each document spec in the app carries its own byte cap alongside its pixel dimensions, because the cap is part of the spec rather than an afterthought.4 When SpecSnap exports, it holds the required dimensions and steps the JPEG quality down until the file fits that document's budget, which is exactly the technique described above. If a photo cannot be made to fit even at the quality floor, the app says so before you submit rather than letting a portal tell you days later. The result screen shows the actual size against the cap, so you can see the headroom you have.
All of it runs on the phone. The photo is processed on your device instead of being uploaded to someone's server for a stranger to check, which matters more for a passport photo than for most images you own. The same capture can be re-exported against a different country's spec later, so the file that was too big for the DS-160 is not a problem you have to solve twice.
Frequently asked questions
What is the maximum file size for a passport photo upload?
It depends entirely on the portal. A US passport renewal and a UK passport application both accept up to 10 MB.13 The US DS-160 visa form allows only 240 KB, and India's regular visa application allows 300 KB.26 Always check the specific form you are submitting.
Is there a minimum file size for a visa photo?
Often, yes. The UK requires at least 50 KB, the US passport renewal at least 54 KB, and both Indian visa portals at least 10 KB.1356 Over-compressing a photo to be safely under the maximum is a real way to fail.
My photo is under the size limit but still gets rejected. Why?
Usually because it failed a different check. The most common causes are falling below the pixel minimum after being resized, or being compressed so hard that facial detail is lost. The DS-160 explicitly requires a compression ratio of 20:1 or lower, so a heavily squeezed file can be refused on quality even at a legal size.2
Should I resize my photo or lower the JPEG quality to hit a limit?
Lower the quality. Pixel dimensions are a hard pass or fail, so resizing below the minimum guarantees rejection. JPEG quality has room to move, and a moderate reduction usually gets you under a cap with no visible loss.
Can I reuse one photo for several countries?
The picture, yes. The exported file, often no. The same capture can be re-exported to each portal's dimensions and byte cap, but a file built for one portal will not necessarily satisfy another. See our guide to visa photos for multiple countries.
Sources
Footnotes
-
travel.state.gov: US online passport renewal accepts JPG, JPEG, PNG, HEIC or HEIF between 54 KB and 10 MB. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
travel.state.gov: US visa digital image requirements. JPEG, 240 KB or less, 600 x 600 to 1200 x 1200 pixels, square, compression ratio 20:1 or lower. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
gov.uk: UK digital passport photo must be at least 50 KB and no more than 10 MB, and at least 600 pixels wide by 750 pixels tall. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
-
specsnap.app: SpecSnap stores a per-document byte cap alongside each spec's pixel dimensions, encodes on-device to fit that budget, and reports the exported size against the cap before submission. ↩ ↩2
-
indianvisaonline.gov.in: India e-Visa photo must be JPEG, minimum 10 KB and maximum 1 MB, with equal height and width. ↩ ↩2 ↩3 ↩4
-
indianvisaonline.gov.in: India regular visa photo must be JPEG, minimum 10 KB and maximum 300 KB. ↩ ↩2 ↩3 ↩4 ↩5
-
ica.gov.sg: Singapore ICA e-Services photo uploads are 400 x 514 pixels, up to 8 MB, in jpg, jpeg, heic, heif or png. ↩ ↩2 ↩3