You are minutes from submitting the DS-160. The photo is square, a JPG, under the 240 KB limit — and the State Department photo tool still refuses it. The cause is simple: an overly compressed photo is too small, not too big — the tool is rejecting it for having too few bytes.
What the US visa photo tool actually requires
The Department of State publishes one set of digital image requirements for its online visa applications: square, between 600 × 600 and 1200 × 1200 pixels, JPEG, 24-bit colour (sRGB), no larger than 240 KB, compression ratio 20:1 or less. Our passport photo size guide lists the same dimensions alongside other countries’ requirements.
The size cap and the ratio rule pull in opposite directions — that is the whole trap. The 240 KB cap stops multi-megabyte camera files; the 20:1 rule stops you crushing a photo so hard that artefacts appear, and it creates a minimum file size too. An uncompressed 600 × 600 colour photo is about 1,080 KB, so the smallest acceptable file is about 54 KB. Treat these numbers as a guide and aim for the middle of the range:
| Photo size | Smallest file at 20:1 | Accepted file sizes |
|---|---|---|
| 600 × 600 px | about 54 KB | about 54 to 240 KB |
| 800 × 800 px | about 96 KB | about 96 to 240 KB |
| 1000 × 1000 px | about 150 KB | about 150 to 240 KB |
| 1200 × 1200 px | about 216 KB | about 216 to 240 KB |
The window shrinks fast as the photo gets bigger: at 1200 × 1200 only files between about 216 and 240 KB pass both checks, which is why large photos trip this error so often. At 600 × 600 you have plenty of room.
Why your photo got over-compressed
Almost everyone who hits this error did one of four things. The most common is shrinking a large phone photo hard to get under the 240 KB ceiling: a 12-megapixel photo is typically 3 to 6 MB, and squeezing it down in one step blows past the 20:1 ratio. The second is starting from a copy that was already compressed: a photo sent through WhatsApp or saved from a chat is a re-compressed version of the original, and compressing it again compounds the damage. The third is saving at a very low quality setting, and the fourth is the size trap above: keeping the photo at 1200 × 1200, where the pass window is only about 24 KB wide. The composition can be perfect and the tool will still reject it — this check measures the file, not the face.
Fix it in about two minutes
Give the photo more bytes per pixel: lower the pixel size, raise the quality, or both — and work from the original photo, which makes both easy.
- Start from the original photo. Use the file from your camera or phone gallery, not a copy saved from a chat, an email preview, or a screenshot. If the original is an iPhone HEIC file, convert it to JPG first.
- Crop it square and resize it to 600 × 600 pixels. Open the Passport & Exam Photo Resizer, pick the “US / Indian Passport — 2×2in (600×600px)” preset, and drag and zoom so your face sits inside the oval guide. The State Department asks for your head to fill 50 to 69% of the image height, eyes 56 to 69% up from the bottom.
- Apply the crop and download the JPG. At 600 × 600, a portrait saved at good quality usually lands between 60 and 150 KB — inside both limits.
- Check the file size before you upload. If it is over 240 KB, bring it down with the Compress Image to 200KB tool — at 600 × 600 a 150 KB file has a ratio of about 7:1, far inside the limit. If it is under about 54 KB, it is still over-compressed: go back to the original and export it at higher quality.
If the original is gone, one fallback remains: open the 600 × 600 file in an editor and export it as a JPG again at quality 95 or higher. That pushes the file size over the minimum and can pass the automated check — but it restores the file size, not the detail already lost. Then upload it to the visa photo tool, which shows a green check when the dimensions and file size pass.
What this fix does NOT solve
Fixing the compression ratio fixes a file rejection. The photo tool and the consular officer also judge the photo itself, and no amount of resizing helps there. The photo must be less than six months old, show your full face against a plain white or off-white background, with a neutral expression and both eyes open. Glasses are not allowed except for a medical reason with a signed statement, and the photo must not be retouched, filtered, or AI-edited. A PNG or HEIC file is rejected outright, as is anything non-square or under 600 × 600 pixels. Scanning a printed 2 × 2 inch photo? Scan at 300 pixels per inch, which gives exactly 600 × 600. The photo tool is for cropping only; a Department of State employee makes the final decision.
Stop it happening again
Keep the original photo. Every copy that passes through a chat app, an email client, or a social feed comes back smaller and more compressed, so submit from the original and resize once, at the end. When a form gives you a size limit, resize the dimensions first and compress only as far as needed. And keep a finished copy: once you have a 600 × 600 JPG between 100 and 200 KB that passes the tool, save it. The same file works for the DS-160, the DS-260, and a Diversity Visa entry.
Frequently asked questions
What does “image is overly compressed” mean on the US visa photo tool?
It means your JPG has been squeezed past the tool’s limit: the State Department only accepts a compression ratio of 20:1 or less. The file is too small for its pixel size, not too big — at 600×600 the smallest acceptable file is about 54 KB.
What file size should my US visa photo be?
At 600×600 pixels, between about 54 KB and 240 KB — aim for 100–200 KB. The floor rises with the pixel size, which is why 600×600 is the easiest size to pass with.
Can I just re-save the same file at higher quality?
Re-saving the over-compressed file as a JPG at quality 95 or higher can push the file size over the minimum and pass the automated check — but it cannot restore detail already lost. Start from the original photo when you still have it.
Does the same 20:1 rule apply to the DV Lottery and DS-260?
Yes. The State Department publishes one digital image specification — square, 600×600 to 1200×1200 pixels, JPEG, 240 KB or less, 20:1 or less — covering the DS-160, the DS-260 and Diversity Visa entries alike.