Skip to content
Take a photo

DS-160 Photo Upload Error: Causes and Fixes

Short answer: A DS-160 photo upload error means the file breaks one of five State Department rules. It must be a square JPEG between 600 × 600 and 1200 × 1200 px, in 24-bit sRGB color, 240 kB or smaller, compressed no more than 20:1. Export a 600 × 600 px JPEG between 54 and 240 kB and most errors disappear.

Updated

A DS-160 photo upload fails when the file breaks one of the State Department's five digital image rules. The photo must be a square JPEG between 600 × 600 and 1200 × 1200 px, in 24-bit sRGB color, no larger than 240 kB, compressed no more than 20:1. Saving a 600 × 600 px JPEG between 54 and 240 kB meets all five at once.

If the file passes and the photo still fails, the cause is the photo itself: head size, background, glasses or editing. Both kinds of problem are below, with the fix for each.

The five file rules, and how to fix each

These rules come from the State Department's Digital Image Requirements page, checked on 2026-11-18.

Rule What the Department requires Common cause of the error Fix
Shape Square: height equal to width A phone photo at 3:4 or 9:16 Crop to a square with your head centered
Dimensions At least 600 × 600 px, at most 1200 × 1200 px A full-resolution phone photo of 3000 px or more, or a small screenshot Resize down to 600 × 600 px; retake if the source is under 600 px
Format JPEG HEIC from an iPhone, PNG from a screenshot or editor Export or save as JPEG (.jpg)
Color Color, 24 bits per pixel, sRGB Black and white, CMYK from a print scan, or a wide color profile Save as an RGB color JPEG in sRGB
File size and compression 240 kB or less; compression ratio 20:1 or less A large photo saved at high quality, or one squeezed too hard At 600 × 600 px, keep the file between 54 and 240 kB

Why 54 kB is the floor at 600 × 600 px

The 20:1 compression limit sets a minimum file size, and the State Department does not state it as a number. Here is the arithmetic. An uncompressed 600 × 600 px color image holds 600 × 600 × 3 bytes, which is 1,080,000 bytes. Divided by 20, that gives 54,000 bytes, about 54 kB. A file smaller than that is compressed more than 20:1.

The same sum at 1200 × 1200 px gives a floor of 216 kB, against a ceiling of 240 kB. That window is so narrow that most tools miss it. Stay at 600 × 600 px, the size the State Department's own photo tool produces.

Scanning a printed photo instead

The Department allows you to scan an existing photo. The print must be 2 × 2 inches (51 × 51 mm) and you scan it at 300 pixels per inch, which gives 600 × 600 px. The same five file rules then apply to the scan.

When the photo itself is the problem

A file can meet every technical rule and still not meet the photo requirements. The visa photo rules, checked on 2026-11-18, ask for:

  • Head size: 50% to 69% of the image height, chin to top of hair. On a 600 px image that is 300 to 414 px.
  • Eye height: 56% to 69% of the image height, measured from the bottom. On 600 px, 336 to 414 px.
  • Background: plain white or off-white.
  • Glasses: not allowed, except rare medical cases with a signed medical statement.
  • Expression: neutral, both eyes open, facing the camera.
  • Age: taken in the last 6 months.
  • Head covering: only if worn daily for religious purposes, with the full face visible and no shadows.
  • Not allowed: headphones, snapshots, full-length photos, and photos copied or scanned from a driver's license or other official document.

The Department also says photos must not be digitally enhanced or altered to change your appearance. You may use your camera's red-eye reduction when taking the photo, but not a tool that removes red eye afterwards. Retake rather than retouch. The full list is on the US visa photo page.

Step by step: make a DS-160 photo that uploads

  1. Take the photo with the rear camera, held by someone else a few feet away, against a plain white or off-white wall, facing a window.
  2. Transfer the original to a computer, or keep it on the phone, without filters.
  3. Crop to a square with your head centered and filling 50% to 69% of the height. The State Department's free photo tool does this and outputs exactly 600 × 600 px.
  4. Save as JPEG in sRGB color. On an iPhone, export or share the photo as JPEG rather than HEIC.
  5. Check the file size. It should read between 54 kB and 240 kB. If it is larger, save again at a slightly lower JPEG quality.
  6. Upload in the DS-160, then check the confirmation page for your photo.

Our free photo checker runs the head-size, eye-line and background checks on your own device before you upload.

If the upload fails and you cannot fix it

The State Department covers this case. If the DS-160 confirmation page shows an X instead of your photo, the upload failed. You then bring one printed photo that meets the requirements, together with the DS-160 confirmation page, to the embassy or consulate where you apply. Contact that post for its instructions. If your photo appears on the confirmation page, the upload worked and you need no separate photo.

A page that will not load at all, or a "service unavailable" message, points to the website rather than your photo. Try again later before you change the file.

The Diversity Visa entry uses a stricter version of the same rules: exactly 600 × 600 px, 240 kB or less, and a photo you have not used in an earlier entry. See the DV lottery photo page. For pixel sizes of other countries' online forms, see the passport photo size chart.

Questions people ask

Why does my DS-160 photo keep failing to upload?

The file breaks a State Department rule. Check five things in order. The image must be square, between 600 × 600 and 1200 × 1200 px, a JPEG, in 24-bit sRGB color, and 240 kB or smaller with compression of 20:1 or less. A 600 × 600 px JPEG between 54 and 240 kB meets all five.

What does the X instead of my photo on the DS-160 confirmation page mean?

The State Department says an X on the confirmation page means the photo upload failed. Bring one printed photo that meets the visa photo requirements, with your DS-160 confirmation page, to the embassy or consulate, and ask that post how it wants the photo submitted. If your photo shows on the page, no extra photo is needed.

How do I reduce a DS-160 photo below 240 kB?

Save the photo as a JPEG at 600 × 600 px and lower the quality setting step by step until the file is 240 kB or less. Do not go below about 54 kB at that size, because the State Department limits compression to 20:1. Resizing a large photo down to 600 × 600 px usually solves the file size on its own.

Can I upload an iPhone photo to the DS-160?

Yes, once you convert it. iPhones often save HEIC files, and the DS-160 takes only JPEG. Export the photo as a JPEG in sRGB color, crop it to a square between 600 × 600 and 1200 × 1200 px, and keep the file at 240 kB or under. Someone else should take it, from a few feet away, against a white wall.

Can I use the State Department photo tool for the DS-160?

Yes. The State Department's free photo tool crops a photo to a square of exactly 600 × 600 px and saves it to submit online or print. The Department says the tool only crops; an official decides whether the photo itself is acceptable.

Sources

  1. Digital Image Requirements (opens in a new tab)
    U.S. Department of State, Bureau of Consular Affairs · Checked
  2. Photo Requirements (U.S. Visas) (opens in a new tab)
    U.S. Department of State, Bureau of Consular Affairs · Checked
  3. Photo Frequently Asked Questions (opens in a new tab)
    U.S. Department of State, Bureau of Consular Affairs · Checked
  4. Photo Composition Template (opens in a new tab)
    U.S. Department of State, Bureau of Consular Affairs · Checked