DS-160 says “processing failed”? Fix the photo file, step by step
You upload your photo and the form answers with the least helpful sentence in the whole process: “An error occurred while processing your photo.” Or the form seems to accept it — and then your confirmation page shows a big X where the photo should be. Both mean the same thing: your file failed the checks the system runs. The good news is that the checks are published, and a file built to them passes.
The spec, exactly as the State Department sets it
| Part of the spec | What CEAC asks for |
|---|---|
| Format | JPEG only |
| Shape | Square — the same width as height |
| Pixels | Between 600 × 600 and 1200 × 1200 |
| File size | 240 kB or less |
| Colour | 24-bit colour, sRGB |
| Compression | Ratio of 20:1 or less — heavy crushing fails |
| Head size | Your head must fill 50–69% of the photo's height |
Five reasons your photo failed
- It is a rectangle. Phone photos are wide or tall. The spec is a square, and the checker is strict about it
- It is far too big. A phone photo of 3–5 MB against a 240 kB cap never stood a chance
- It is not a JPEG. PNG, HEIC and screenshots fail the format check — and renaming the file does not convert it
- Your head is the wrong size in the frame. Too far away, or cropped too tight — the 50–69% band is checked, not decorative
- The photo itself breaks a content rule. Glasses, shadows across the face, a hat, a busy background. No editor can fix these — the photo has to be retaken
The fix, step by step
Step 1. Start with a photo that can pass: plain light background, even light, no glasses, looking straight at the camera, taken recently. If yours breaks a content rule, retake it now — two minutes here saves the whole exercise later.
Step 2. Open the Passport Photo maker and choose the “Visa photo (DS-160 / DS-260)” preset. It crops your photo to a true square, exports exactly 600 × 600 pixels as a real JPEG, and lands it inside the 240 kB cap — the whole spec in one export.
Step 3. Upload that exported file to the DS-160 — not the original in your gallery.
Step 4. On the confirmation page, look for your photo. If you see an X instead, the upload failed, whatever the form seemed to say. Go back and upload the prepared file again.
When a good file still fails
Sometimes a file that meets every line of the spec still gets the error — then the problem is on CEAC's side, not yours. Save your application, and try again at a quieter time of day. The State Department's photo guidance also keeps a fallback: if an upload truly will not go through, a printed photo can be taken to the interview — check the current guidance for your visa class before you rely on it. Entering the DV Lottery instead? That is a different, stricter rule — exactly 600 × 600 and nothing else — and our US visa photo hub covers both tracks side by side.
Make the photo now, before you open the DS-160
One preset, one export, one upload. Build the file while you are calm, and the photo step stops being the wall it is for everyone else.
Open the Passport Photo makerA worked example: the photo that failed twice, then passed
Say the photo on your phone is a good one — recent, plain background, face clear. It is also 4 MB, rectangular, and saved as a PNG. Uploaded as it stands, it fails three of the published checks at once, and the form answers with the usual unhelpful sentence: an error occurred while processing your photo. Nothing about that message tells you which check failed, because it does not have to — the file has to pass all of them.
The second attempt is the one that feels clever: rename the file from .png to .jpg and upload again. Same failure, and now it is clear why — the checker reads what is inside the file, not the label on it. A renamed PNG is still a PNG.
The third attempt takes two minutes and no guesswork. The photo goes into the Passport Photo maker under the “Visa photo (DS-160 / DS-260)” preset. Out comes a true square, exactly 600 × 600 pixels, a real JPEG, and comfortably inside the 240 kB cap, with the head sitting in its 50–69% band. Upload that exported file — not the gallery original — and then do the step everyone skips: look at the confirmation page. The photo itself is showing, not an X. That, and only that, means the upload worked.
Three edge cases that still catch careful people
- The crop is too tight. The head-size band runs both ways: a head filling more than 69% of the height fails just as one under 50% does. If your only good photo was taken close, the preset's crop may push you over the top of the band — retake a step further back instead of cropping harder
- The crush is too hard. The spec caps compression at a ratio of 20:1. Forcing a several-MB photo down by brute compression can cross that line even when the final size looks right. Cropping to the square and exporting at 600 × 600 reaches the cap without the crush
- The form “accepted” it — and the X says otherwise. An upload can appear to go through and still fail the system's checks, with the confirmation page's X as the only honest report. If you see the X, the photo did not make it, whatever the screens before it suggested. Sitting the DV Lottery as well? Its rule is stricter again — exactly 600 × 600 and nothing else
Before you upload: the 60-second check
- The file is a true JPEG — not renamed, not a screenshot
- It is square, 600 × 600 pixels, and reads 240 kB or less
- Your head fills roughly half to two-thirds of the height
- No glasses, no hat, no shadows across the face
- After uploading, the confirmation page shows your photo — not an X
Fair questions
What does the X on my DS-160 confirmation page mean?
It means the photo upload failed. The form can look complete while the photo never made it. Go back to the photo step, upload a file built to the spec — square JPEG, 600 × 600 to 1200 × 1200 pixels, 240 kB or less — and check the confirmation page again until your photo is actually showing.
My photo is a PNG. Can I just rename it to .jpg?
No. Renaming a file does not change what is inside it, and the checker reads the real format. Export a true JPEG instead — the DS-160 preset in the Passport Photo maker does that for you.
My photo meets the whole spec and it still fails. Why?
Then it is most likely the system, not the file. CEAC has busy periods where good uploads fail. Save the application, retry at a quieter time, and check the State Department's current photo guidance — it keeps a printed-photo fallback for the interview when an upload will not go through.
Can I wear glasses in my DS-160 photo?
No. The US visa photo rules do not allow glasses, and no editing tool can honestly fix a photo that breaks a content rule. Take the photo again without them.
Is my photo uploaded to your server?
No. The Passport Photo maker runs entirely in your browser. Your photo never leaves your device.
Can I use the same photo for the DV Lottery as for my DS-160?
It can work, but the two rules are not the same. The DV Lottery is stricter: exactly 600 × 600 pixels, where the DS-160 accepts a range from 600 × 600 up to 1200 × 1200. A photo exported at exactly 600 × 600 as a true JPEG inside 240 kB fits both rulebooks — our guide to the DV Lottery photo walks through its version of the checks.
My head is too small in an otherwise good photo. Can I just crop in?
Up to a point. Cropping brings your head toward the 50–69% band the checker measures, and the preset does exactly that. But cropping cannot create pixels: crop a distant photo too hard and what is left falls below the 600 × 600 minimum. If the crop would take you under it, retake the photo standing closer — that is a two-minute fix now instead of another failed upload later.
Source: the US Department of State's Digital Image Requirements on travel.state.gov, re-checked 10 November 2026. This page is general information only. PDFJadoo is not affiliated with or endorsed by the US Department of State.
Keep reading
US Visa Photo hub
DS-160 and DV Lottery rules side by side, with the tool that meets them.
Passport Photo maker
Every portal preset, sized in your browser.
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.