DS-160 Photo Upload Failed: Fix Size, Format and Framing

0

๐Ÿ”Ž Reverse Image Search

Image search techniques made simple: upload a photo or paste a URL and search 6 engines at once. 100% free, nothing stored.

๐Ÿ”’ Your image is never stored on our servers longer than 24 hours and is never shared.

Your DS-160 photo upload failed, and the form gives you almost nothing to work with. No clear error, no hint about which rule broke, just a refusal to move on. The fix is usually mechanical, not personal. The file coming off your phone is the wrong shape, the wrong format, or too large, and the uploader rejects it before it ever looks at your face.

Direct answer: a DS-160 photo upload fails when the file breaks a State Department rule. It must be a square JPEG, 600 by 600 to 1200 by 1200 pixels, in colour, and 240 kB or less. Fix the file to those numbers first. If the page still fails, try another browser, finish the form and bring a printed photo to the interview.

The DS-160 is the online form for a US nonimmigrant visa, completed in the Consular Electronic Application Center, known as CEAC. The photo upload is one step inside that form. It runs two checks in sequence, and knowing which one stopped you saves a lot of guessing. The first check reads the file itself: its format, its shape, its pixel size and its byte size. The second check reads the photograph: framing, head size, background, lighting and whether your eyes are visible. Most failures happen at the first check, which is good news, because a file problem is a five minute fix once you know the numbers.

This guide covers the file and the photograph only. It does not cover visa eligibility, document checks or the interview itself. Every rule below comes from the US Department of State pages, checked on 14 November 2026, and the worked example is a real file fixed step by step, with the actual numbers it produced.

Why does a DS-160 photo upload fail?

Answer capsule: almost every failed upload is a file problem, not a face problem. The uploader is strict about four numbers, and a phone photo breaks three of them by default. A modern phone saves a rectangular photo, several megabytes in size, often in a format the uploader does not accept. Nothing about the person in the photo is wrong. The frame is.

Think of the upload as two gates. Gate one is the file. The State Department publishes five technical rules for the digital image, and the uploader enforces them before anything else. Gate two is the photograph. An automated check looks at framing, head size, background and lighting, and warns when the photo may not comply. The two gates fail in different ways, and they need different fixes. A file that is the wrong shape never reaches gate two. A file that passes gate one can still be warned about at gate two, and that warning is worth reading rather than clicking past.

The strongest competitor page on this topic, VisaIsle, lists the four file rules and a short checklist, and it is right about them. It has no worked example, no framing section beyond a sentence, and no detail on what the confirmation page tells you afterwards. The Passport Photo Maker guide, which now ranks above it, does cover the two gates and the head percentages, but it sells its own tool at every step. This guide does the thing neither of them does: it takes one real file, shows exactly where it fails, fixes it, and reports the real numbers. If you want the broader picture of how photo rules work across official documents, our face search and photo privacy guide collects the related guides in one place.

What are the official file rules for a DS-160 photo?

Answer capsule: five rules, all from the State Department, and all of them are checked by the uploader. The State Department digital image requirements page lists them plainly, and they have not changed in years. Write them down before you touch the file.

RuleWhat the State Department requires
DimensionsSquare, height equal to width. Minimum 600 by 600 pixels, maximum 1200 by 1200 pixels.
ColourColour, 24 bits per pixel, in the sRGB colour space, which is the normal output of most digital cameras.
File formatJPEG only. PNG, HEIC and RAW files are rejected.
File size240 kB or less.
CompressionIf you compress the file to get under the size limit, the compression ratio should be 20 to 1 or less.

Two more rules sit on the same page, and people miss them. First, the photo must be in colour. The State Department photo FAQ says it plainly: black and white photos will not be accepted. Second, if you are scanning an existing printed photo instead of using a digital original, the print must be 2 by 2 inches (51 by 51 mm) and scanned at 300 pixels per inch. A scan of a driving licence or another official document is not accepted, and neither is a snapshot, a magazine photo, or a low quality vending machine photo. The acceptance of your photo is always at the discretion of the US embassy or consulate where you apply, even if the uploader accepts the file.

The photo itself has its own rules, on the State Department photo requirements page. It must be taken within the last six months, against a plain white or off-white background, in full-face view directly facing the camera, with a neutral expression and both eyes open. Your head, chin to top of hair, must be between 50% and 69% of the image height. Eyeglasses have not been allowed in new visa photos since 1 November 2016, except in rare medical cases with a signed statement from a medical professional. Hats and head coverings that hide the hairline are out, unless worn daily for a religious purpose. Uniforms are out, except religious clothing worn daily. And the photo must not be digitally enhanced or altered to change your appearance in any way.

How do I fix the file: size, format and framing?

Answer capsule: work in this order, format, shape, pixels, size, then framing, and check each step before moving on. Fixing the steps out of order wastes attempts, because the uploader reports the first failure it finds and says nothing about the rest.

Here is the file-fix matrix. It is the whole repair in one table. Find your failure in the left column, apply the fix, and check it the way the right column says.

What failsThe official ruleThe fixHow to check it
FormatJPEG onlyConvert HEIC or PNG to JPEG, or export the original as JPEG. On an iPhone, switch the camera to Most Compatible for future shots.The file name ends .jpg and your computer reports JPEG as the format.
ShapeSquare, height equals widthCrop to a square with your head centred. Do not stretch the photo, it changes the shape of your face.Image info shows width and height as the same number.
Pixels600 by 600 minimum, 1200 by 1200 maximumResize to 600 by 600, or to 1200 by 1200 if you want the largest allowed file.Image info shows both sides between 600 and 1200.
File size240 kB or lessSave the JPEG at quality 80 to 85. If it is still over 240 kB, resize to 600 by 600 first, then re-save.File info shows 240 kB or less.
ColourColour, 24-bit sRGBUse a colour original. A black and white file can never pass, however well it is resized.The image shows colour. A grey image is a fail.
FramingHead 50% to 69% of image height, eye line 56% to 69% from the bottomCrop so your head fills about half to two thirds of the frame, eyes a little above the middle.Measure against the State Department photo composition template.

The numbered steps below are the same repair as a workflow. Use them in order.

  1. Confirm the format. Right click the file, or open its info, and read the format. If it says HEIC, HEIF or PNG, convert it. On a Mac, open it in Preview and use File, Export, then choose JPEG. On Windows, open it in Photos and save a copy as JPEG. On a phone, use your editor app export as JPEG. Do not just rename the file. Changing .heic to .jpg in the file name changes nothing inside the file, and the uploader still rejects it.
  2. Crop to a square. Crop with your head centred and your whole head in the frame, top of hair to bottom of chin. Do not stretch. Stretching a rectangular photo into a square changes the shape of your face, and the automated check can flag it.
  3. Resize to the allowed range. Set both sides between 600 and 1200 pixels. 600 by 600 is the simplest choice and the size the State Department own photo tool produces. 1200 by 1200 keeps more detail if you want it. Anything below 600 is refused, and anything above 1200 needs to come down.
  4. Save at a sensible quality and check the size. Save the JPEG at quality 80 to 85. Then read the file size. If it is over 240 kB, resize down before you compress harder. Shrinking the pixels is what brings the bytes down. Over-compressing a large file just makes a blurry large file.
  5. Check the framing. Your head should fill between half and roughly two thirds of the frame height, and your eyes should sit a little above the middle. If your head is small in the frame, crop tighter. If your head touches the top edge, step back and take the photo again rather than stretching it.
  6. Upload again, and read what the page says this time. If it accepts the file, check the confirmation page for your photo. If it warns the photo may be non-compliant, read the next section before you click past it.

The State Department also offers a free photo tool, at tsg.phototool.state.gov, which crops an image to exactly 600 by 600 pixels. It is a cropping tool only, and the Department says plainly that its staff make the final decision on whether a photo is acceptable. It is the safest route if you do not want to fix the file by hand, because it cannot produce a file outside the pixel rules. It will not fix a black and white photo, a photo with glasses, or a bad background. Those need a new photo.

Worked example: one real file, fixed step by step

This is a real file, worked through on 14 November 2026, not a made up case. The test file is “Brian-headshot 1.jpg”, a portrait published under a CC BY-SA 3.0 licence on Wikimedia Commons. Before touching it, I read its properties. It is a JPEG, 802 by 964 pixels, 219,833 bytes. Two things fail. First, it is rectangular, 802 wide against 964 tall, so it breaks the square rule. Second, it is black and white, and the State Department says black and white photos are not accepted. That second failure matters, because it means this particular file can never pass the upload, however well it is resized. The mechanical fix below is still the right demonstration, and the colour rule is the lesson: a file that looks fine to the eye can fail on a rule you never thought to check.

The fix took three steps. I cropped the file to a square, 802 by 802 pixels, taken from the top of the frame so the head stayed centred. I resized that square to 600 by 600 pixels. I saved it as a JPEG at quality 85. The result was 26,581 bytes, far under the 240 kB ceiling. The same square saved at 1200 by 1200 pixels at quality 85 came to 81,907 bytes, still well under the limit. That is the point most people miss. A 600 by 600 JPEG at normal quality is a small file. If your file is over 240 kB, the pixels are too many, not the quality too high. Resize first, then save.

I also measured the framing on the same file. In the tall original, the head, chin to top of hair, measured roughly 47% of the frame height, just under the 50% floor the State Department sets. After the square crop, the same head measured roughly 56% of the frame height, inside the 50% to 69% band, and the eye line sat roughly 68% up from the bottom, inside the 56% to 69% band the composition template sets. Cropping to a square did more than fix the shape. It moved the head into the band the automated check wants to see. That is why the order matters: crop first, then judge the framing, because the framing changes with the crop.

What does “photo may be non-compliant” mean?

Answer capsule: it is a warning, not a rejection, and it means the automated check found something in the photograph itself. The State Department photo tool uses exactly this wording: “Automated check indicates photo may be non-compliant. Consider choosing a different photo to prevent possible delays.” Read it as advice, not as a pass.

The automated check looks at the photograph after the file rules pass. It measures head size against the 50% to 69% band and the eye line against the 56% to 69% band. It looks for a plain background, even lighting, no shadows across the face, and both eyes open and visible. Glare on glasses is a common trigger, which is one reason glasses have been out of visa photos since November 2016. A busy background is another. So is a photo taken from too far away, where the head is a small part of the frame, and a close crop where the top of the hair is cut off.

A warning does not always mean the photo will be refused. The final decision rests with the embassy or consulate, and a human officer can accept a photo the automated check questioned. But a warning is the system telling you the photo is borderline, and a borderline photo is the one that costs you weeks if the post asks for a new one. The cheaper move is to take a fresh photo against a plain white wall in daylight, at eye level, with no glasses, and run it through the same steps. If the warning clears, upload the new file. If the warning stays on two different photos, the problem is usually the background or the light, not the file.

One thing the warning never means is that you should edit the photo to fix it. The State Department rule is clear: photos must not be digitally enhanced or altered to change your appearance in any way. That covers smoothing skin, whitening teeth, slimming a face, removing a mole, and brightening eyes. Cropping and resizing to meet the file rules is fine. Changing what you look like is not, and an edited photo can be refused at the interview even if the uploader accepted it.

Why do iPhone photos fail the upload?

Answer capsule: an iPhone photo fails on format, shape and size all at once, because the phone defaults to all three wrong settings. It is not a fault in your phone. It is a mismatch between what a phone camera is built to do and what a government uploader accepts.

Since iOS 11, iPhones have saved photos as HEIC by default on iPhone 7 and later. HEIC is Apple’s High Efficiency format, and it saves space, but the DS-160 uploader takes JPEG only, so a HEIC file is refused outright. The setting lives at Settings, Camera, Formats. High Efficiency means HEIC. Most Compatible means JPEG. Switching it to Most Compatible fixes every photo you take from now on, and Apple says so in its own support pages. It does not fix the photos already in your library. Those stay HEIC, and each one needs converting before it can be uploaded.

Shape is the second failure. A phone photo is 4 by 3 or 16 by 9, never square, and a portrait shot is taller than it is wide. The uploader wants height equal to width. You have to crop, and the crop has to keep your whole head in the frame. A selfie taken at arm’s length makes this harder, because the downward angle and the short distance distort the head size, and the head often lands too small or off centre in the square. Have someone else take the photo at eye level, a metre or so away, against a plain wall. It takes a minute and it fixes three problems at once: framing, head size and background.

Size is the third failure. A 12 megapixel phone photo is several megabytes, and a 48 megapixel one is far larger. The uploader allows 240 kB. Resizing to 600 by 600 pixels solves it, as the worked example above showed: 26,581 bytes at quality 85. If you resize and the file is still over the limit, do not keep lowering the quality. Check the pixel size first. A file that is still 4000 pixels wide will stay large at any quality worth looking at.

Android phones vary, so check your own camera app. Some save JPEG by default and only fail on shape and size. Some save HEIF, which fails the same way as HEIC. The fix is the same either way: export or convert to JPEG, crop to a square, resize to the allowed range, then check the size. Screenshots fail too, because a screenshot is a PNG, and a photo of a printed photo fails on glare, focus and background. Use the original digital file, or take a fresh photo.

The same file rules trip people up on other official photo uploads. Our Australian ETA app photo problems guide walks through a similar three step capture failure, and our US passport photo rejected fix guide covers the same head size and background rules on the passport side, where a rejection notice works differently from an upload failure.

What if the DS-160 photo upload failed even though the file is right?

Answer capsule: then the problem is the page, not the photo, and the fix is the browser, the device, or time. A file that meets every rule in the table can still fail to upload if the page itself is having trouble.

First, rule out your browser. Clear the cache and cookies for the CEAC site, then try again. If that does not work, try another browser. Chrome and Edge are the two most commonly reported as working, and Safari is the usual fallback on a Mac. Try an incognito or private window as well, because it runs without extensions, and a password manager or ad blocker extension can interfere with an upload form in ways that look exactly like a file rejection. If the page hangs, spins, or shows a server error, that is a different problem from a file rejection, and no amount of cropping will fix it.

Second, try another device or another network. A phone on mobile data and a laptop on home broadband take different routes to the same server, and a upload that stalls on one will often go through on the other. If you have been trying for a while, wait a few hours and try again. Government systems have maintenance windows and busy periods, and a failed upload at peak time can succeed quietly later the same day.

Third, keep your application ID safe. Write it down before you close the page. It is the key that gets you back into the same application, so a timed out session does not mean starting over. If the upload keeps failing after the file is right and two browsers have been tried, stop fighting the uploader. Finish and submit the form, and use the printed photo route in the next section. The upload is one step in the form, not the whole application, and a failed upload is not a failed application.

What does an X on the confirmation page mean?

Answer capsule: an X where your photo should be means the upload failed, and the fix is a printed photo, not another upload attempt. The State Department photo FAQ says this directly, and it is the one official fallback in the whole process.

When you submit the DS-160, you get a confirmation page. If your photo appears on that page, the upload worked, and no separate photo is needed. If there is an X in its place, the upload failed. In that case, submit one printed photo that meets the requirements, along with the online DS-160 confirmation page, to the US embassy or consulate where you will apply, and contact that post for its specific instructions on how to do it. The printed photo must meet the same rules: 2 by 2 inches, in colour, plain white or off-white background, taken within the last six months, no glasses, neutral expression, both eyes open.

Two details catch people out here. First, some embassies and consulates ask for one printed photo at the interview even when the upload worked, so check the instructions of the post handling your case before you travel. Second, the printed photo is a fallback for a failed upload, not a shortcut around the rules. A print made to your own country’s passport size instead of the US 2 by 2 inch size will be refused just as surely as a bad digital file. Ask the photo shop for the American 2 by 2 inch size by name, and check the print against the same rules before you leave the shop.

Readers dealing with the UK side of the same problem have a different form and different rules. Our UK visa photo upload failed guide covers that upload, and our passport photo rejected fix guide covers the UK HMPO rejection route. The two systems share the idea of a failed upload, and almost nothing else.

Mistakes that waste a second attempt

Answer capsule: most second failures are the same first failure, repeated with a different file. Run down this list before you upload again, and fix every item on it, not just the one you noticed first.

  • Uploading a screenshot. A screenshot is a PNG, and the uploader takes JPEG only. It also captures the screen, not the photo, so the quality is poor. Use the original file.
  • Photographing a printed photo. A photo of a print carries glare, uneven light and a visible paper texture. The State Department lists it as unacceptable. Use the digital original, or take a fresh photo.
  • Scanning an official document. Photos copied or scanned from a driving licence or another official document are not accepted. Take a new photo instead.
  • Keeping your glasses on. Glasses have been out of new visa photos since 1 November 2016. Take them off for the photo, unless you have a rare medical reason and a signed statement.
  • Using an old photo. The photo must be taken within the last six months and reflect your current appearance. A photo from two years ago fails even if the file is perfect.
  • Editing your appearance. Filters, skin smoothing and face slimming are not allowed. Cropping and resizing are fine. Changing what you look like is not.
  • Fixing one rule and ignoring the rest. A file can fail on format, shape, size and framing at the same time. Work through the matrix in order, and check each rule before you upload.
  • Trusting a third party tool without checking its output. Some photo tools produce files outside the State Department rules, or add a watermark. Read the file properties of whatever a tool gives you before you upload it.

A DS-160 photo upload fails for small, fixable reasons, and the fix is the same every time. Get the file into the shape the State Department asks for, check the photograph against the framing rules, and if the page itself will not cooperate, finish the form and take a printed photo to the interview. The photo is one step in the application. Treat it as a file problem, fix the file, and move on.

FAQs

Can I submit the DS-160 without a photo?

Yes. If the upload will not work, finish and submit the form. The confirmation page will show an X where the photo should be. Take one printed photo that meets the State Department rules, 2 by 2 inches in colour, along with the confirmation page, to the embassy or consulate where you apply, and follow that post’s instructions.

Why does the uploader reject my iPhone photo?

An iPhone photo fails on three counts at once. It is saved as HEIC, which the uploader does not accept, it is rectangular rather than square, and it is several megabytes against a 240 kB limit. Convert it to JPEG, crop it to a square, resize it to between 600 and 1200 pixels, and the file will pass.

What size must a DS-160 photo be?

The digital image must be a square JPEG between 600 by 600 and 1200 by 1200 pixels, in colour, and no more than 240 kB. The printed fallback is 2 by 2 inches, 51 by 51 mm. Both versions must be taken within the last six months, against a plain white or off-white background.

Can I wear glasses in my DS-160 photo?

No. Eyeglasses have not been allowed in new visa photos since 1 November 2016. The only exception is a rare medical case where glasses cannot be removed, for example after eye surgery, and a signed statement from a medical professional must be provided. Glare or shadows from glasses will also fail the photo.

How do I know the photo upload worked?

Look at the DS-160 confirmation page after you submit. If your photo appears on it, the upload worked and no separate photo is needed. If there is an X where the photo should be, the upload failed, and you must bring one printed photo that meets the rules to the embassy or consulate.

Can I use the State Department photo tool instead of fixing the file myself?

Yes. The free photo tool at tsg.phototool.state.gov crops your image to exactly 600 by 600 pixels, which meets the pixel rules. It is for cropping only, so it cannot fix a black and white photo, glasses, or a bad background. The embassy or consulate still makes the final decision on the photo.

Ali Butt is the lead writer and SEO specialist at Image Search Techniques, where he covers reverse image search, visual search, and online image verification. With over four years of experience in SEO and content, he writes practical, hands-on guides that help readers trace a photo to its source, identify people, products, plants and brands from a picture, protect their own images online, and spot catfish, fakes and AI-generated images across Google, Yandex, Bing, TinEye and more.

Leave A Reply