The State Department's automated photo check is strict — fail any single rule and the upload is rejected. Here are the exact specifications, with the rules broken into Pass and Fail.

DS-160 Digital Photo Specs — Pass/Fail Table

Specification Requirement Status
File Format JPEG (.jpg/.jpeg only) Pass — PNG, HEIC, TIFF all rejected
Minimum Dimensions 600×600 pixels (square only) Pass — anything smaller fails
Maximum Dimensions 1200×1200 pixels Pass — anything larger is resized by the system
Maximum File Size Under 240 KB Most common fail — compress at TinyJPG.com
Face Framing 50–70% of image height Too small or too large = automated rejection
Background Plain white or off-white, no shadows Shadow on background = fail
Glasses Not permitted — no exceptions Remove glasses; medical exception needs letter
Headwear Not permitted (religious exception only) Pass — only for clearly religious reasons
Expression Neutral — both eyes open, no grinning Non-neutral expression can trigger face match failure
Photo Age Within last 6 months Old photos fail the EXIF metadata check
Color Color only — no black and white Black and white / grayscale photos rejected
Uniformity Single, solid, even background — no patterns Textured or patterned backgrounds fail

Specific Spec Questions

Why does my passport-photo-from-print-shop fail for digital upload?
Two common reasons: (1) The digital file from the photo service is too small — often only 300×300 pixels, below the 600×600 minimum. (2) The file is in PNG format instead of JPEG. Always check the file dimensions and format before uploading. If the digital file doesn't work, use the printed copy at the interview.
Is 72 DPI sufficient for DS-160 upload, or do I need 300 DPI?
DPI/ppi does not matter for digital upload — only pixel dimensions matter. A 600×600 pixel image is treated identically whether it was saved at 72 DPI or 300 DPI. The CEAC system checks pixel count, not print resolution.
What if my head is too small or too large in the photo?
Recrop. For "too small": move closer to the camera, cutting out more of the surrounding background. For "too large": step back, letting more of the background appear above your head and below your chin. Target: your face takes up roughly half to two-thirds of the vertical space.
My photo has a slight tint of gray in the background — is that OK?
Yes — "off-white" is explicitly permitted. A light gray, light cream, or very pale blue background is acceptable. The key is that it is a single, solid color with no visible pattern or texture. A very slight tint of color is fine.

Before You Upload — Final Check

  • File is JPEG — convert from HEIC if iPhone
  • Square: width = height (no portrait or landscape)
  • Minimum 600px in each dimension
  • Under 240 KB (compress at TinyJPG.com)
  • White/off-white background, no shadows
  • Face 50–70% of frame height
  • Neutral expression, no glasses, no headwear (unless religious)
  • Photo from within last 6 months
  • Color photo, not black and white
Next in DS-160 Guide Series
DS-160 Photo Requirements →