US Immigration & Visa Guide · Updated November 7, 2026

US Visa (DS-160) & DV Lottery Digital Photo Requirements

Submitting a digital photo to the U.S. CEAC portal (Form DS-160 / DS-260) or the Diversity Visa (Green Card) Lottery requires strict adherence to pixel dimensions, file size (under 240 KB), head ratio, and background rules. Here is how to pass the automated State Department photo validator on the first try.

Official Technical Specs for US Digital Visa & Passport Uploads

Unlike physical paper applications that measure photos in inches (2x2 in), online U.S. portals validate the raw digital file header and pixel geometry. Your image must satisfy every single criterion below:

Why the DS-160 Portal Rejects Photos (And How to Fix Each Error)

The CEAC photo pre-checker runs automated computer-vision checks before allowing you to attach the image to your DS-160 confirmation page. The four most frequent rejection triggers are:

How to Prepare a Compliant 600x600 Photo in 30 Seconds

Upload your original smartphone photo to our US Passport Photo 2x2 tool. Select the 'Digital 600x600' preset (which defaults to JPEG at quality 88). Position your head inside the alignment oval so your chin rests near the bottom curve and the top of your hair reaches the upper curve, then click Transform Image. You will receive an exact 600x600 sRGB JPEG well under the 240 KB ceiling.

FAQ

Can I use a 600x600 pixel photo for both DS-160 and the DV Lottery?

Yes. Both the DS-160 nonimmigrant visa portal and the Electronic Diversity Visa (E-DV) entry form require an identical 600x600 px (up to 1200x1200 px) square sRGB JPEG under 240 KB.

Can I wear religious headwear in a US visa photo?

Yes, religious headwear worn daily is permitted provided your full face is visible from the bottom of the chin to the top of the forehead and no shadows are cast across the face.

What if my iPhone takes HEIC photos?

When you upload an iPhone photo and select JPEG output on cropresize.net, the image is converted to a standard sRGB JPEG file compatible with government portals.

More Passport & Image Guides