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:
- Dimensions: Square aspect ratio (1:1). Minimum 600 x 600 pixels; maximum 1200 x 1200 pixels.
- File Format: JPEG (.jpg or .jpeg) only. PNG, HEIC, and WebP files are rejected by the CEAC upload form.
- File Size: Must be less than or equal to 240 kilobytes (240 KB). For online U.S. passport renewals (MyTravelGov), the file must be at least 54 KB and up to 10 MB.
- Color Space: 24-bit sRGB color. Black-and-white, CMYK, or 8-bit indexed images are rejected.
- Head Height & Eye Level: The head (from the bottom of the chin to the top of the hair/crown) must occupy 50% to 69% of the image's total height (300 to 414 pixels on a 600x600 canvas), and eyes must sit between 56% and 69% from the bottom edge.
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:
- Error: 'File size exceeds 240 KB' — High-resolution smartphone portraits saved at 100% JPEG quality often weigh 400 KB to 2 MB even after cropping to 600x600. Lowering JPEG quality to 82–88 in our tool typically produces a crisp 60–110 KB file that passes effortlessly.
- Error: 'Image is overly compressed / compression ratio too high' — Conversely, if your file is under 15–20 KB, the portal flags it for excessive compression artifacts. Keep your 600x600 JPEG between 45 KB and 180 KB.
- Error: 'Background is unevenly lit or contains shadows' — Standing too close to a wall casts a dark halo behind your ears and shoulders. Stand 2 feet (60 cm) in front of a plain white wall facing a window or diffused lamp.
- Error: 'Eyeglasses detected' — Since November 2016, the U.S. Department of State strictly prohibits eyeglasses in all new visa and passport photos unless accompanied by a signed surgical statement.
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.