DS-160 photo upload error: what to check in your file
Check your photo for free
Drag and drop your photo here, or
This is not a government website. This site is not affiliated with the US Department of State.
The DS-160 form asks you to upload your photo as a digital file, and the State Department fixes the rules for that file. When the upload does not take your photo, the file is the first thing to check. This guide quotes those rules and turns them into a checklist.
Each boxed passage below is a quote, shown exactly as the State Department words it. The plain text around the quotes is ours. It adds no rule of its own.
Do you have to upload a photo for the DS-160?
If you fill out the DS-160 online, yes:
If you are applying for a nonimmigrant visa by filling out the DS-160 or DS-1648 online form, the form will instruct you to upload your digital image as part of completing the online visa application form. Review the Digital Image Requirements, which also provide additional requirements if you are scanning an existing photo.Some embassies and consulates also ask for a printed photo at the interview:
Some embassies and consulates require visa applicants to bring one (1) photo, which meets requirements, to the interview. Review the embassy or consulate instructions where you will apply to learn more.The file rules
The digital image requirements page lists the rules for the file you upload.
Format
The image must be in JPEG file formatA photo that a phone saved as HEIC, or a screenshot saved as PNG, is not a JPEG. Renaming the file to end in .jpg does not change its format; it has to be saved again as a JPEG.
Pixel size
The image dimensions must be in a square aspect ratio (the height must be equal to the width). Minimum acceptable dimensions are 600 x 600 pixels. Maximum acceptable dimensions are 1200 x 1200 pixels. Please review photo requirements for specific dimensions.The width and the height have to be equal, and both have to be between 600 and 1,200 pixels. A photo straight from a phone is usually larger and not square, so it has to be cropped and resized first.
File size
The image must be less than or equal to 240 kB (kilobytes).The image may need to be compressed in order for it to be under the maximum file size. The compression ratio should be less than or equal to 20:1.Our note: the page does not say whether "kB" means 1,000 or 1,024 bytes. A file of 240,000 bytes or less is within the limit under both readings.
Color
The image must be in color (24 bits per pixel) in sRGB color space which is the common output for most digital cameras.A black and white photo, or one saved in another color space, does not meet this rule.
A checklist for your file
These steps are ours, not the State Department's. Each one checks a rule quoted above.
- Open the file's details on your computer or phone and check that its type is JPEG.
- Check that the width and the height in pixels are the same number, from 600 to 1,200.
- Check that the file size is 240,000 bytes or less.
- Check that the photo is in color.
- If one of these fails, fix the file and upload it again.
Cropping with the State Department's photo tool
The State Department has its own photo tool that crops a photo to the right shape:
Use the Department of State’s free photo tool to:select a digital image stored on your computerresize and rotate it if necessarycrop it to a square image of exactly 600 x 600 pixels, andsave it to your computer to submit online or for printingA square of exactly 600 × 600 pixels is within the range the file rules allow. As the tool's note says, it only crops:
Please note: This tool is intended for photo cropping only. A Department of State employee will make the final decision whether your visa photo is acceptable or not for your application.When the message is about the photo, not the file
The State Department pages we quote do not list the messages the DS-160 upload step shows, so we cannot tell you what any one of them means. If the file meets every rule above and the upload still does not take the photo, compare the photo itself with the rules for the photo. The examples page sums them up:
Please review the tabs to the left for examples of both acceptable and unacceptable photos to submit with your visa application. Keep in mind the basics: size, expression, head position, background, print quality, and anything that might obscure the face (hair, shadows, glare on glasses, etc). Helpful “Photo tips” are provided on many of the examples.Our article on the DS-160 digital photo requirements quotes every rule for the photo, and our list of common rejection reasons quotes the State Department's examples of unacceptable photos.
"Error 503" or "service unavailable"
"503" and "service unavailable" are what a web server reports when it cannot answer at the moment. They are not about your photo, and none of the pages we quote mentions them.
Want your photo checked?
Our free check reads your photo against these rules. It takes JPEG, PNG, HEIC or HEIF, as your camera or phone saved it. If the photo only needs cropping, resizing or saving as a JPEG, it shows you a preview of the prepared file with a watermark. The prepared file is a square JPEG within the pixel range and 240 kB or less. We never edit your face or your background. If the photo passes, you can buy the prepared file, a print sheet and a guarantee that covers a rejected photo.
Check my photoSources
Our knowledge base for this page was last updated on October 13, 2026 from these pages:
- travel.state.gov/content/travel/en/us-visas/visa-information-resources/photos.html (US Department of State), read on the page itself
- travel.state.gov/content/travel/en/us-visas/visa-information-resources/photos/digital-image-requirements.html (US Department of State), read on the page itself
- travel.state.gov/content/travel/en/us-visas/visa-information-resources/photos/photo-examples.html (US Department of State), read on the page itself
Each quote on this page is shown word for word as it appears in the copy named here.