DS-160 photo upload failed: the usual causes, checked against the official limits
Short answer: Most DS-160 photo upload failures come from the file not meeting the State Department digital image limits: it must be a JPEG, square, from 600×600 to 1200×1200 pixels, 240 KB or smaller, and 24-bit sRGB color. Official guidance says the compression ratio should be 20:1 or less (should, not must); that is not a published official kilobyte minimum. If the file meets the published limits and still fails, the photo itself may not meet the appearance rules (background, shadows, glasses, head size). Retake rather than editing your appearance.
This troubleshooting guide covers the DS-160 / DS-1648 nonimmigrant visa photo upload. It cannot diagnose outages of the official site. It is not a passport renewal guide; passport online renewal uses different file limits (54 KB–10 MB).
Requirements and evidence
| What to check | Requirement / distinction | Source |
|---|---|---|
| Format | JPEG. A PNG or HEIC renamed to .jpg is still not a JPEG. | Official guidance |
| Shape and pixels | Square, minimum 600×600, maximum 1200×1200 pixels. | Official guidance |
| File size | 240 KB or less. | Official guidance |
| Color and compression | 24 bits per pixel, sRGB. Official guidance: compression ratio should be 20:1 or less (should, not must), not a published official kilobyte minimum. | Official guidance |
| Head size | 50–69% of the image height from chin to top of head (1–1⅜ in a 2×2 reference). | Official guidance |
| Appearance | Plain white/off-white background, taken in the last 6 months, eyes open, no glasses. Not digitally enhanced or altered. | Official guidance |
When to retake, not repair
- Non-square crop (for example 600×800): crop to a square with the head centered; do not stretch the image.
- Over 240 KB at 1200×1200: save at a lower JPEG quality or at a smaller square size such as 900×900. Official guidance says the compression ratio should be 20:1 or less; this tool uses that as an encoding target, not as an official kilobyte floor.
- Under 600×600 pixels: start from a higher-resolution original. Never upscale a small face.
- Heavily compressed or blurry after resizing: retake or re-export from the original camera file.
- Glasses, shadows or a non-plain background: retake. Digital background replacement is not established as acceptable for visa photos.
What to do next
- Check the actual file format (not only the extension) and that width equals height.
- Check pixels: between 600 and 1200 on each side.
- Check size: 240 KB or less. If too big, reduce JPEG quality or pixel size step by step. Official guidance says compression should be 20:1 or less; do not treat a derived kilobyte floor as a published official minimum.
- If all file limits pass, review appearance against the visa photo rules and retake if needed.
- Use our free preview to check square framing and file limits. A passing check is not consular acceptance.
Check DS-160 file limits in the free preview
Free preview. No official approval guarantee. A corrected preview is not a compliant original. We do not print or mail. Payments remain unavailable.
Common questions
Why does DS-160 say my photo failed when it looks fine?
The upload checks file limits and basic quality. A photo can look fine but be the wrong format, not square, too large in KB, or more compressed than official 20:1 guidance (should, not must).
Can I upload a passport-renewal photo to DS-160?
Only if it also meets the visa limits. Renewal accepts up to 10 MB; DS-160 allows 240 KB maximum and a square 600–1200 px image.
Is a 1200×1200 JPEG under 240 KB always accepted?
No. File limits are only part of the requirements; appearance rules and consular review still apply.
Sources and review date
Checked 2026-11-19 (Asia/Shanghai). Rules can change; official instructions control. Practical printing advice is identified as our workflow, not an official endorsement.
Related tasks
- US passport photo: 2×2 print or online renewal upload?
- DS-160 photo upload: JPEG, 600–1200 px, 240 KB
- How to print a 2×2 photo on a 4×6 sheet at actual size
- US passport photo requirements: the official checklist, line by line
- Baby passport photo requirements: eyes may be partly closed, no other person in the photo
- US passport photo background: white or off-white, and why not to edit it
- Online passport renewal photo: file type, 54 KB–10 MB, and what gets rejected
- Green card (I-485) photo requirements: what the USCIS instructions say
- 2×2 photo size in pixels: what 600×600 and 1200×1200 actually mean
- Online DS-11 passport photo: what the America.gov pilot asks you to submit