DS-160 photo upload error: how to fix a rejected visa photo file
The DS-160 visa application portal only accepts a square JPEG between 600 x 600 and 1200 x 1200 pixels, no larger than 240 KB, in the sRGB color space. Most upload errors happen because the photo is a huge rectangle straight off a phone camera. The fix, in this order: crop it square, resize it down to 600 x 600 pixels first, and only then compress to get under 240 KB. Compressing a 4000 pixel photo hard enough to hit 240 KB destroys it with artifacts, and a visibly degraded photo gets rejected on quality grounds.
What the DS-160 actually requires
Format: JPEG. Shape: perfectly square, with equal width and height. Dimensions: at least 600 x 600 pixels and at most 1200 x 1200. File size: 240 KB or less. Color: sRGB (the default on virtually every phone and camera). The photo itself must meet the same content rules as a passport photo: taken within the last 6 months, plain white or off-white background, neutral expression, no glasses, no editing or filters.
Why the order of operations matters
A modern phone photo is around 4000 x 3000 pixels and several megabytes. If you feed that to a generic compressor and ask for 240 KB, it has to crush the quality so hard that the result is a blocky, smeared mess, and blurry or pixelated photos are themselves a rejection reason.
Do it in the right order and there's no quality problem at all: crop square, resize to 600 x 600 pixels first, then compress. A 600 x 600 JPEG lands under 240 KB at high quality with room to spare, so the photo stays sharp.
The two-minute fix
Use the free compressor at /tools/compress-passport-photo: it crops square, resizes to the DS-160's pixel range, and compresses to under 240 KB in the correct order, entirely in your browser. Your photo never leaves your device.
One warning: resizing and compressing are allowed, but do not run the photo through filters, retouching, or AI background tools to fix other problems along the way. Digitally altered photos are rejected, and for visa applicants deliberate manipulation can be treated as misrepresentation. If the photo itself has a problem, retake it.
Frequently asked questions
What size photo does the DS-160 accept?
A square JPEG between 600 x 600 and 1200 x 1200 pixels, no more than 240 KB, in the sRGB color space.
Why does the DS-160 say my photo file is too large?
The limit is 240 KB and phone photos are usually several megabytes. Resize the photo to 600 x 600 pixels first, then compress. In that order the file lands under 240 KB without visible quality loss.
Does compressing my photo count as editing?
No. Resizing, cropping, and compressing prepare the file without altering what the photo shows. Filters, retouching, and AI background changes do count as editing and are rejection reasons.
Why does my DS-160 photo look blurry after compressing?
You probably compressed the full-resolution photo directly to 240 KB, which forces extreme quality loss. Resize to 600 x 600 pixels first, then compress: at that size the file stays sharp under the limit.
Can I upload a PNG or HEIC to the DS-160?
No, the portal requires JPEG. Convert HEIC or PNG to JPEG when you resize; the free compressor at /tools/compress-passport-photo outputs the correct format automatically.
More guides
- Can you wear glasses in a US passport photo?
- US baby & infant passport photo requirements
- US passport photo with a head covering
- How much does a US passport photo cost, and where to get one
- How to take a passport photo at home
- Passport photo size in pixels, inches, mm and cm
- Where to get a passport photo near you
- CVS vs Walgreens vs USPS vs Costco passport photos
- The cheapest way to get a passport photo
- The best online passport photo tool: what to look for
- Why AI-edited passport photos now get rejected (2026 rule)
- Why was my passport photo rejected? The 6 most common reasons
- Passport photo rejected for being too bright or overexposed
- Passport photo rejected for shadows or the wrong background
- Passport photo rejected for head size: too small or too large
- DS-160 says your photo does not meet the requirements: how to fix it
- Passport Seva photo upload error: the 630 x 810 pixel fix
- US passport photo tool rejected your photo: what each flag means
- UK visa photo upload failed: the UKVI digital photo rules
- DV Lottery photo checker: the spec that disqualifies entries