US visa photo: square, 600×600, under 240 kB — before the form says no
The DS-160 form will not finish until your photo passes — and when it fails, CEAC tells you only “An error occurred while processing your photo.” Nine times out of ten the cause is mundane: a rectangular, multi-megabyte phone photo against a specification that demands a square JPEG, 600×600 to 1200×1200 pixels, at most 240 kB. The DV Lottery is stricter still: exactly 600×600. This page gets your photo inside the rules before you upload — and tells you honestly what must never be edited into it.
The official digital rules (US Department of State)
| Rule | DS-160 / DS-260 visa photo | DV Lottery photo |
|---|---|---|
| Format | JPEG only | JPEG only |
| Dimensions | Square, 600×600 to 1200×1200 px | Square, exactly 600×600 px |
| File size | At most 240 kB | At most 240 kB |
| Colour & compression | 24-bit sRGB; compression ratio 20:1 or less | 24-bit sRGB; compression ratio 20:1 or less |
| Head size | Head between 50% and 69% of the image height | Head between 50% and 69% of the image height |
Step 1 — pick the right preset (they are not interchangeable)
Open the Passport Photo maker. For a visa application choose “Visa photo (DS-160 / DS-260)” — it exports at 600×600 px, the bottom of the allowed range and comfortably inside the file cap. Entering the Diversity Visa Lottery? Choose the separate “DV Lottery photo” preset instead: the lottery accepts exactly 600×600 px and nothing else, so a larger DS-160-range file is a needless risk.
Step 2 — crop with the head guide, export, verify
Photograph yourself against a plain white or off-white background, facing the camera, in even light with no shadow on your face or the wall. In the tool, position your head inside the guide so it fills 50–69% of the frame height, export, and check the finished file: JPEG, the right pixel size for your application, and at most 240 kB.
Step 3 — the confirmation-page test
After uploading in CEAC, look at the confirmation page: it must show your photo. If it shows an X where the photo belongs, the upload failed — whatever the form seemed to say. Replace the file with one that meets every row of the table above and upload again.
⚠ The honesty rule: never digitally alter a US visa photo
The State Department requires a recent photo that shows you as you are, digitally unaltered. Use this tool only for what is allowed: cropping, sizing and compressing an original photograph that already meets the content rules. Do not use background replacement, skin retouching or any “cleanup” on a US visa or DV photo — our tool locks those edits off for US passport photos for exactly this reason, and the same discipline applies here. If your original has a cluttered background or harsh shadows, the fix is a retake against a plain white or off-white wall, not an edit.
Make the photo before you open CEAC
Two presets, one export, three checks — then the form's photo step stops being the step you dread.
Open the Passport Photo makerBefore you upload: the 60-second check
- JPEG — not PNG, not HEIC, not a screenshot
- Square: 600×600 to 1200×1200 px for DS-160/DS-260; exactly 600×600 for the DV Lottery
- File size at most 240 kB
- Head fills 50–69% of the frame height; plain white or off-white background
- The photo is recent, looks like you, and is digitally unaltered
- After uploading: the confirmation page shows your photo, not an X
Fair questions
Why does CEAC keep saying “An error occurred while processing your photo”?
That single message covers every failure: wrong shape (not square), wrong dimensions (outside 600×600–1200×1200), wrong format (not JPEG), or a file over 240 kB. A phone's default photo usually breaks three of those at once. Run the photo through the correct preset above and all four are fixed together.
Can I use the same photo for the DV Lottery and a DS-160?
A file at exactly 600×600 px and at most 240 kB satisfies both specifications on paper — the lottery's exact size sits inside the visa range. But each program also judges the photo itself (recent, unaltered, plain background), and reusing an old photo across seasons is the classic way to fail the “recent” expectation. A fresh photo for each application is the safer habit.
My photo is 300 kB. Can't I just compress it?
Compression alone is fine — sizing and compressing an unaltered original is exactly what this page's workflow does, and the preset lands under 240 kB without breaching the 20:1 compression-ratio limit. What you must not do is alter the image's content (background swaps, retouching) while shrinking it.
Is my photo uploaded to your server?
No. The Passport Photo maker runs entirely in your browser; your photo never leaves your device. A document as sensitive as a visa photo deserves exactly that.
Source: US Department of State, Digital Image Requirements (travel.state.gov). Rules can change — re-check the official page before you apply. This page is general information only, not immigration or legal advice. PDFJadoo is not affiliated with or endorsed by the US Department of State. Applying elsewhere too? See all document portals.
Keep reading
Document Portals hub
Every verified portal's rules, and the tools that beat them.
IRCC Document Preparation
Canada's one-file, under-4 MB rule, solved.
SSC Photo & Signature Size
India's exams: photo 20–50 KB, signature 10–20 KB.
Passport Photo maker
Every portal preset, sized in your browser.
DS-160 photo “processing failed”?
The plain error, the X on the confirmation page, and the file that passes.
DV Lottery photo: exactly 600×600
The entry photo takes one exact size — not the visa range. Why 1200×1200 is the wrong file.