MyTravelGov rejected my photo for AI editing — recovery guide
Why your photo was rejected
MyTravelGov runs every uploaded photo through an automated checker that issues a numeric rejection code if the photo fails. Code 24 ('photo digitally altered') is the rejection you get when the system suspects AI editing — including background replacement, skin smoothing, lighting correction or any generative cleanup. As of January 1, 2026, code 24 is the single most common rejection reason on the DS-11, DS-82 and DS-160 forms.
The checker uses three signals: EXIF metadata anomalies (most apps strip or rewrite EXIF in a recognizable way), frequency-domain artifacts left behind by generative models, and background uniformity that exceeds what natural lighting can plausibly produce. A photo with a perfectly clean #FFFFFF background and zero noise is suspicious because real cameras always leave some sensor noise in flat areas.
False positives do happen, particularly with low-light camera RAWs that have been heavily denoised by the phone's on-device processing. If you believe your photo is genuine, the recovery path is still the same — retake under better lighting so the result reads as authentic to the checker.
Understanding the rejection codes
Code 24 is 'photo digitally altered.' This is the code you get for AI-edited photos in 2026. The remedy is to retake without using AI apps and to confirm your camera settings have all on-device enhancement features disabled. The code does not distinguish between heavy and light AI editing — any detected generative processing triggers it.
Code 25 is 'background not plain.' This applies when the background has visible texture, color variation, props or other people. It is independent of the AI rule — even a perfectly authentic photo against a busy background fails code 25. The remedy is a plain wall.
Code 26 is 'head not centered.' This applies when the head height, eye position or horizontal centering falls outside the State Department's tolerance ranges (head 1 to 1⅜ inches tall, eyes 1⅛ to 1⅜ inches from the bottom). The remedy is to re-crop in a non-AI editor.
Other common codes: 21 (wrong size), 22 (poor exposure), 23 (head wear or glasses), 27 (expression — usually mouth open or smiling too widely). Any of these can co-occur with code 24 if you used an AI app to fix one and the checker still detected editing.
How to verify your photo wasn't AI-edited
Open the photo in a desktop tool that shows EXIF metadata — macOS Preview's Inspector, Windows File Explorer Properties, or exiftool on the command line. Look for the 'Software' field. If it lists an app name like 'PhotoAiD,' 'Remove.bg,' 'Adobe Express' or 'Snapseed,' the photo was processed by that app. Direct camera files list the camera model (e.g., 'iPhone 15 Pro' or 'Pixel 8') instead.
Check the file size and dimensions. A genuine modern smartphone JPEG is typically 2-5 MB at 3024×4032 or similar full-sensor resolution. A file that's been processed by a passport-photo app is usually exactly 600×600 px and well under 240 KB — a strong sign the app cropped and re-encoded it.
If the EXIF is stripped entirely, that itself is suspicious. The State Department's checker treats missing EXIF as a soft signal of editing. The fix is to start over from the original camera file, not from any version that's been through a third-party app.
Retaking a compliant photo
Take a fresh photo against a plain white wall using diffused side lighting at face level. Use your phone's rear camera in default JPEG mode with all 'beauty,' Smart HDR, Portrait Mode and Photographic Styles disabled. The State Department does not require professional gear — they require an unmodified original.
Once you have a usable original, do only the geometric edits: crop to a 2×2 inch square with the head occupying 50-69% of the height, resize to 600×600 px, and save as JPEG under 240 KB. Use macOS Preview, Windows Photos or any non-AI editor. Avoid any 'enhance,' 'auto-fix' or 'one-click' button.
Upload the new file to MyTravelGov. The portal shows status updates within 48 hours for most submissions. If you get the same code 24 rejection again, the most likely cause is that your camera's default processing pipeline is producing flagged signals — at that point, the safest option is the State Department's free online photo tool at travel.state.gov or a USPS/CVS/Walgreens retail service.
When to escalate to a retail service
If you've been rejected twice, stop iterating at home. USPS retail locations, CVS, Walgreens and many local pharmacies offer passport photo services for $15-$17 that use dedicated hardware and produce a guaranteed-compliant photo. Most retailers offer a re-shoot guarantee if the State Department rejects the result.
Bring photo ID, your glasses off, no jewelry that obscures the face, and a plain shirt (collared shirts photograph better against white backgrounds). The whole appointment takes about 10 minutes and you walk out with a printed 4×6 photo sheet plus, at most chains, a digital JPEG emailed to you for DS-160 upload.
FAQ
How fast does MyTravelGov return a rejection code?
+
Can I appeal a code 24 rejection if my photo is genuine?
+
Does code 24 apply to passport renewals (DS-82) too?
+
Was my complypic photo flagged for AI editing?
+
Do I lose the application fee if I'm rejected?
+
US Passport
Exactly 2x2 inches, plain white background, head 1 to 1⅜ inches. Validated against State Department specs before you pay. Works for new passport, renewal, and minors.
Generate my photo now →