How Facebook and Instagram Know Your Image Is AI (The Full Detection Chain)

Key takeaways
- Platforms run a cascade, not a single test. The first signal that fires produces the label.
- Steps 1-3 read your file's metadata. Those are the checks you can clear completely.
- Steps 4-5 read the pixels. Nothing in a browser addresses those.
- This is why partial cleanup fails: crop the badge, keep the manifest, still get labelled.
- Real photos get mislabelled too — usually because a generative edit or an editing app wrote a tag.
There is a specific kind of frustration in posting a photograph you took yourself, with a camera, of a real place — and watching the platform quietly tag it as AI.
And a mirror-image frustration: carefully cleaning up a generated image, posting it, and getting labelled anyway.
Both happen for the same reason. Meta does not run one AI test. It runs a sequence, and the first thing that fires wins. Once you can see the sequence, both outcomes stop being mysterious.
This is a spoke of our AI image watermarks pillar guide.
The cascade, in order
| Step | What it checks | Where it looks | Can you clear it? |
|---|---|---|---|
| 1 | Signed C2PA provenance manifest | File container | Yes — deterministically |
| 2 | Declared digital source type (IPTC) | File container | Yes — deterministically |
| 3 | Generator tags in EXIF / XMP | File container | Yes — deterministically |
| 4 | Invisible watermark detection | Pixel values | No guarantee |
| 5 | Visual classifier on the pixels | Pixel values | No |
| 6 | Your own disclosure toggle | Your choice | Yes — it is your choice |
Steps 1 to 3 are the container. Steps 4 and 5 are the picture. Step 6 is you. That division explains essentially every confusing labelling outcome people report.
Steps 1-3: what your file says about itself
This is where most labels originate, because it is the cheapest possible check — no model inference, no ambiguity, just read a field.
- A C2PA manifest is a cryptographically signed record of how the file was produced, including the generating tool and sometimes the edit history.
- The IPTC digital source type field is a single declaration: this content is synthetic, or composite, or captured.
- Generator tags in EXIF and XMP name the software and often the model version, written automatically by generation and editing tools.
None of these render in the picture. All of them are read on upload in milliseconds.
And all of them vanish when an image is decoded to raw pixels and re-encoded. Not scrubbed field by field — the entire container is simply absent from the new file.
For the full anatomy of these fields, see our AI image metadata guide and C2PA Content Credentials explained.
Step 4: invisible watermark detection
Some generated imagery carries a statistical watermark distributed through the pixel values. Platforms participating in provenance initiatives can test for the schemes they have access to.
This step does not care about your metadata and is not affected by removing it. It is also the step nobody can honestly promise to defeat — robust watermarks are built and tested specifically against compression, resizing, cropping and screenshots. Our SynthID guide covers why.
Step 5: the classifier
Independent of every signal above, a model looks at the pixels and estimates whether they look generated. Common tells include over-smooth skin and texture, physically inconsistent lighting, frequency-domain regularity that cameras do not produce, and the structural oddities that generation still leaves behind.
This is probabilistic. It misses real AI images and it fires on real photographs — which is the mechanism behind almost every "why is my genuine photo labelled?" complaint, particularly for heavily retouched or upscaled work.
Our pillar guide on AI image detection covers how these classifiers work in depth.
Step 6: your own disclosure
The simplest input of all, and the one with the fastest-growing legal weight. In several jurisdictions, disclosing synthetic content is moving from courtesy to obligation — see AI image labelling laws and agreements.
Why partial cleanup fails
Two very common mistakes, both now explainable in one line:
- Cropped the badge, kept the metadata. The badge was never the trigger. Step 1 fired.
- Stripped the metadata, still labelled. Steps 1-3 were cleared; step 4 or 5 fired.
What to do before you upload
- 1Inspect. See every provenance signal your file carries — most people are surprised by the list.
- 2Strip the container. Re-encode from raw pixels. Steps 1-3 cleared, with certainty.
- 3Handle any visible mark. Crop or patch it.
- 4Read the estimated detection likelihood. That is your honest read on steps 4-5.
- 5Decide on disclosure knowingly rather than by accident.
Read next: the laws and agreements forcing platforms to label at all →
Frequently Asked Questions
How does Facebook know an image is AI-generated?
It checks several signals in sequence and labels the post as soon as one of them fires. First it looks for a signed provenance manifest in the file, then a declared digital-source-type field, then generator tags in EXIF or XMP, then invisible watermark detection, then a visual classifier trained on generated imagery, and finally your own self-declaration at upload.
Does Facebook actually detect AI images from the pixels?
Partly. Metadata is by far the cheapest and most reliable signal, so it is checked first, but platforms also run classifiers on the pixels themselves and participate in invisible watermark detection. Pixel-based detection is probabilistic rather than certain, which is why it produces both misses and false positives.
Why is my real photo labelled as AI?
Almost always because something wrote a tag. Phone generative-edit features, AI-assisted retouching in editing apps, and upscalers all add provenance entries recording that synthetic processing took place. The platform reads the tag, not your intent. A visual classifier firing on an unusually smooth or heavily retouched photo is the second most common cause.
Does removing metadata stop the AI label?
It clears the first three checks in the chain, which is where most labels originate, so it often does. It cannot clear watermark detection or classifier analysis, because those read the pixels rather than the container. Removing metadata improves your odds; it is not a guarantee.
What is the difference between the Made with AI and AI info labels?
They are successive generations of the same idea. Earlier wording implied the creator generated the image outright, which misfired on photographers whose files merely carried AI-editing tags. Later, softer wording describes the presence of AI involvement instead of asserting authorship — a direct response to those false positives.
Can I appeal or remove an AI label from my post?
Platforms have adjusted their labelling repeatedly in response to complaints, and some surfaces allow you to change your own disclosure. The reliable fix is upstream: know what your file declares before you upload it, because the label is applied from that data at upload time.
Does Instagram use the same detection as Facebook?
They share the same underlying provenance and labelling infrastructure, so assume the same chain applies on both. Presentation of the label differs by surface, but the signals being read out of your file do not.
AI Watermarks & Platform Labels: complete guide series
AI Image Watermarks in 2026: Every Visible Badge and Invisible Signal, Explained
A complete guide to AI image watermarks: which generators add visible badges, which embed invisible signals, and what actually survives editing.
AI Image Labelling Rules: The Laws, Treaties and Agreements Behind Every AI Tag
11 min readHow to Check Your Image for AI Watermarks and Tags Before You Post It
9 min readDALL·E, Midjourney and Grok: Which Actually Watermark Your Images?
9 min readGemini and Samsung Galaxy AI Watermarks: The Marks on Your Phone Photos
9 min readThe Meta AI Watermark: The Badge, the Hidden Tag, and How to Handle Both
9 min readThe Sora Watermark: What It Is, Why It Moves, and What Removal Really Means
10 min readVisible vs Invisible Watermarks: What Each One Survives
10 min read
Related Articles
AI Image Detection in 2026: How Detectors, Watermarks and Metadata Really Work
16 min readAI Image Metadata Explained: EXIF, XMP, C2PA and the Generator Tags That Expose You
12 min readAI Image Watermark Remover: The Complete 2026 Guide
10 min readAutomate Your Image Workflow with Batch Processing
6 min read