The U.S. Department of State uses three different sets of digital photo rules, and mixing them up is one of the most common reasons uploads fail. The face rules are the same; the file rules are not.
| Passport renewal online | Visa (DS-160) | DV Lottery | Printed passport photo | |
|---|---|---|---|---|
| Pixels | No fixed size published | 600 x 600 to 1200 x 1200, square | 600 x 600 to 1200 x 1200, square | 2 x 2 in (600 x 600 at 300 DPI) |
| File types | JPEG, PNG, HEIC, HEIF | JPEG | JPEG | Photo print |
| File size | 54 KB to 10 MB | 240 KB or less | 240 KB or less | Not applicable |
| Head size | Same face rules for all | 50% to 69% of image height | 1 to 1 3/8 in | |
The mistake that catches most people
A visa photo is limited to 240 KB, but an online passport renewal photo must be at least 54 KB. A heavily compressed file that works for the DS-160 can fail renewal for being too small, and a large phone photo that works for renewal will be rejected by the DS-160.