You took a perfectly good photo of your face, and the passport or visa portal spat it back: wrong size, wrong dimensions, background not accepted, file too large. It’s one of the most maddening upload failures out there, because the requirements are strict and the error messages are vague.

Here’s the real spec, why each rule trips people up, and how to satisfy every one, free where you can.

The Actual Requirements (US Passport)

The exact numbers vary by country and document, so always check your own portal, but the US passport photo is a good reference and many IDs are similar:

  • Square, 2 x 2 inches. For online submission that’s a square image, typically 600 x 600 to 1200 x 1200 pixels.
  • Head size: your head (chin to top) should fill roughly 1 to 1⅜ inches of the frame, centered, facing the camera.
  • Background: plain white or off-white, no shadows, no wall texture.
  • Format & file size: JPEG, usually under a portal cap (often a few MB or less).
  • Recency & expression: taken recently, neutral expression or natural smile, eyes open, no glasses, nothing covering the face.

Most rejections are one of the first four (the technical ones), not the photo itself.

Fix Each Reason (Free)

  • Wrong dimensions: crop to a perfect square first, then resize to the exact pixels the portal wants (e.g. 600 x 600). Cropping to the right ratio before resizing is what keeps the head from stretching.
  • Busy background: retake against a plain white wall in even light, or cut out the background and drop yourself on white.
  • Wrong format: if it’s an iPhone HEIC, convert it to JPG; many ID portals reject HEIC outright.
  • File too large: a full-res phone photo is often several MB; get it under the cap by resizing and lowering JPEG quality a touch.

Preview (Mac) and Photos/Paint (Windows) can crop and resize; the fiddly part is hitting the exact pixel size and file cap at the same time, on a deadline.

If the retake still gets rejected

Instead of juggling three tools, UploadFix applies the target format, dimensions, and size limit in one pass, and Exact Image Fit nails a specific pixel size like 600×600 under a file cap. $1 per use, no account. You set the spec, it hands back a file the portal accepts.

Head height is the rule that fails most often

Dimensions are easy to satisfy and rarely the real problem. The requirement that quietly rejects most submissions is head size within the frame, because it is the one you cannot fix by cropping a photo you have already taken.

For a US passport the measurement runs from the bottom of the chin to the top of the head, and “top of the head” means the top of your hair, not your skull. That single detail accounts for a great many rejections: voluminous or piled-up hair pushes the measurement out of tolerance even though the face is perfectly positioned. Eye height above the bottom edge is checked separately, so a photo can be correct on head size and still fail on where that head sits in the frame.

The reason cropping cannot save you is that head size and eye height are coupled to the frame. Crop tighter to enlarge the head and the eyes rise; crop to fix the eyes and the head size drifts. When both are out, the fix is to retake the photo from a different distance rather than to keep re-cropping the one you have.

Digital and print requirements are not the same test

A photo can be perfectly acceptable printed and still be refused by an online form, because the digital submission adds constraints that a physical print never has: a minimum and maximum pixel dimension, a specific file format, and a file size ceiling that is often far smaller than people expect.

That last one produces a genuinely irritating loop. Compress hard enough to satisfy the size ceiling and JPEG artefacts appear around the edges of the face; keep the quality high and the file is too large. The way out is to reduce the pixel dimensions toward the lower end of the accepted range before compressing, rather than holding the image at maximum resolution and cranking compression until it fits. A smaller, lightly compressed image beats a large, heavily compressed one at the same file size every time.

Background and shadow are a lighting problem, not an editing one

“Plain white or off-white” sounds like something you can fix afterwards, and it is the most common thing people try to fix afterwards. It rarely survives review, because what reviewers reject is usually not the colour of the wall; it is the shadow you cast on it.

Stand a foot or two away from the wall rather than against it, and the shadow falls behind you instead of framing your head. Face a window or another broad, soft light source so the illumination on your face is even; a single overhead bulb produces shadows in the eye sockets and under the nose that read as an uneven face rather than an uneven room.

Digitally replacing a background tends to fail for a different reason: automatic cutouts leave a faint halo or nibble at hair, and that edge artefact is exactly the kind of thing an examiner flags as an altered photo. Getting the wall right in-camera is genuinely faster than arguing with a cutout tool.

Requirements are also revised from time to time, and they differ by country and document type. Treat the specifics here as the shape of the problem, and confirm the current numbers against the issuing authority's own page before you submit.

A Checklist Before You Re-Upload

  • Square image at the exact pixels the portal lists (commonly 600×600).
  • Plain white/off-white background, even lighting, no shadow behind the head.
  • Head centered and correctly sized in the frame.
  • Saved as .jpg, under the portal’s size cap.
  • Neutral expression, eyes open, no glasses, face unobstructed.

Before you ask

What size should a passport photo be for online upload?

For the US, a square image between 600×600 and 1200×1200 pixels (2×2 inches), as a JPEG under the portal’s file cap. Other countries differ; check your portal’s stated pixel size.

Can I use a selfie?

Usually not well. Selfies are too close and distort features, and often have uneven backgrounds. Have someone take it a few feet away, or use the timer, against a plain wall.

Why does it reject my iPhone photo specifically?

Often because it’s a HEIC file, which many portals don’t accept; convert to JPG first. It can also be the file size or dimensions.

One last pass before you submit

The photo is usually fine; the spec is the problem: size, dimensions, background, format. Fix them to the exact numbers and it goes through. When you’d rather not run three tools by hand, UploadFix or Exact Image Fit get you to spec for $1, or browse the full $1 tools catalog.