The DS-160 is the online nonimmigrant visa application for the United States, and one of its first hurdles is the photo upload. Many applicants see an error, try again with a different picture, and get stuck in a loop without understanding what the check is objecting to. The cause is usually one of a small number of technical or composition problems, all of which can be fixed before you upload.
This guide explains the digital photo rules from the U.S. Department of State's Bureau of Consular Affairs, maps common errors to their causes, and shows how to produce a compliant JPEG with a browser tool. Rules do change, so compare your photo with the current guidance on travel.state.gov and your embassy's instructions before submitting.
The DS-160 digital photo rules
The key technical requirements for the uploaded file are:
| Property | Requirement |
|---|---|
| Format | JPEG (.jpg) |
| Shape | Square: width equals height |
| Dimensions | Between 600 × 600 and 1200 × 1200 pixels |
| File size | 240 KB or smaller |
| Colour | Colour image (colour depth 24 bits) |
And the composition rules, which are the same in spirit as for a US passport photo:
- head 1 to 1⅜ inches (25–35 mm) from chin to crown on a 2-inch photo, which works out to about 50–69% of the image height;
- plain white or off-white background;
- taken within the last 6 months;
- no glasses; no head covering unless worn daily for religious purposes;
- neutral expression, eyes open, facing the camera.
If your consulate also asks for a printed photo, the print size is 2 × 2 inches (51 × 51 mm).
Matching errors to causes
The upload page checks some properties automatically, and a human reviews the photo later. Here are the usual culprits.
The file is too large
Phone photos are several megabytes, far above 240 KB. Even a correctly cropped 1200 × 1200 image saved at high quality can exceed the limit. The file needs to be compressed to a known size, not just "saved smaller".
The image is not square
A photo cropped to a portrait rectangle, such as 3:4, fails the shape check. Crop to exactly 1:1.
The dimensions are too small
A square crop taken from a small part of a photo, or an image downloaded from a messaging app, may end up under 600 pixels. Start from the original, full-resolution photo.
The file is not a real JPEG
Photos saved as HEIC on iPhones, or PNG and WebP files renamed to .jpg, can be rejected. Export a genuine JPEG.
The face is the wrong size or off-centre
If the head fills too little or too much of the square, or sits off to one side, the photo may be rejected at upload or during review. The 50–69% rule is the one to check.
Background, shadows and glasses
A patterned wall, a shadow behind the head, glare on the face or glasses can all lead to rejection even if the file itself is technically correct.
Make a DS-160 photo that passes
The US Visa Photo tool is configured for the DS-160 and works on your device without uploading the photo.
- Take a recent, front-facing photo against a plain light wall without glasses. Ask someone else to take it from a metre or two away to avoid selfie distortion.
- Drop the photo onto the upload area.
- Keep Show head-size guide on. Zoom and drag until the top of your head touches the top line and your chin lies inside the green band. The band is calculated from the 25–35 mm head size on a 2-inch square, matching the 50–69% rule.
- If the background is not plain, choose White or Off-white under Background. The segmentation model downloads to your browser the first time (about 40 MB). Inspect the edges around hair and ears.
- Adjust Brightness or Contrast only if the whole photo is too dark or flat.
- Open Single / digital and click Download digital JPG (600 × 600 px). The tool searches JPEG quality so the file stays at or under 240 KB, and shows the final dimensions and size under Last file.
- Upload that file in the DS-160 photo step.
If your consulate wants printed photos too, the Print sheet tab creates 2 × 2 inch prints on 4 × 6 in, 10 × 15 cm or A4 paper. Print at 100% or "Actual size".
Other ways to prepare the photo
- A photo studio or pharmacy can take a US visa photo and usually provide a digital file. Check that the file is square, JPEG and under 240 KB before uploading; not every studio's file meets the digital rules.
- General image tools. You can crop to a square with the Image Cropper and then bring the file under 240 KB with a target-size compressor such as Compress Image to 200KB set to a custom 240 KB. This works, but you have to judge the head size yourself.
- Background clean-up. If you want to prepare a cut-out separately, Remove Background produces a transparent image you can inspect before placing it on white.
Tips before you submit
Use the same photo everywhere in the application
Consistency helps. If you have to provide a printed photo at the interview, print it from the same image you uploaded.
Keep the original file
If the upload fails for a composition reason, you will need to recrop, not recompress. Work from the original photo, not the compressed JPEG.
Do not reuse an old passport photo
The six-month rule applies to visa photos too. A photo from your current passport is usually older than that.
If the upload keeps failing
Some applicants are asked to bring a printed photo to their appointment instead. Follow the instructions shown on the form and on your embassy's website rather than repeatedly uploading variations.
Frequently asked questions
What size should a DS-160 photo be in pixels?
Square, between 600 × 600 and 1200 × 1200 pixels. The tool exports 600 × 600, the minimum, which keeps the file comfortably under the 240 KB limit.
Why does my DS-160 photo say it is too large?
The file exceeds 240 KB. Phone photos are much larger, so the image needs to be compressed to a target size, not just resized.
Can I wear glasses in a US visa photo?
No. Glasses must be removed for US visa photos.
Is the US visa photo the same as the passport photo?
Both use the 2 × 2 inch format with the same head size and background rules. The visa upload adds the 240 KB and 600 to 1200 pixel limits. The US Passport Photo tool is set up for passport applications.
Is my photo uploaded when I use the tool?
No. Cropping, background replacement and compression happen in your browser.