The robots.txt AI Training Opt-Out That Can Hide You From Gemini

The robots.txt AI Training Opt-Out That Can Hide You From Gemini

A new robots.txt line lets you refuse AI training. Without a word about Google-Extended, it can also take your pages out of the content Gemini answers from.

Opting out of AI training can take your site out of Gemini's answers. On 30 October 2026 Anthropic, Google, Bing and OpenAI each announced support for a common robots.txt signal for AI training preferences, and Google said that a site using it without naming Google-Extended will be treated as having disallowed Google-Extended. Because Google-Extended also controls grounding in Gemini Apps, a blanket training opt-out can remove your pages from what Gemini draws on when it answers, while leaving Google Search exactly as it was.

That last detail is what makes the effect hard to spot. Nothing changes in your rankings or in Search Console. The loss, if there is one, shows up only in the answers.

What is the common AI training signal?

The common AI training signal is a robots.txt group addressed to a reserved user agent, __usage_ai-training, which states whether a site's content may be used to train AI models. It is not a new directive. It uses the User-Agent, Disallow and Allow lines robots.txt has always had, and the draft gives this example:

User-Agent: __usage_ai-training
Disallow: /
Allow: /press-kit/

Read literally: no training on the site, except the press kit. Two details matter. A User-Agent: * group does not count as a training preference, so an old catch-all block says nothing under this signal. And the text is an individual Internet-Draft at the IETF, draft-kelley-aipref-training-preference-signal-00, written by Kevin Kelley of Anthropic and due to expire on 3 May 2027. It is a proposal that several companies have said they will honour, not a published standard.

Who has said they will honour it, and from when?

The four announcements share a date and differ on timing.

  • Anthropic recognises the signal "As of October 30, 2026", with a gradual global rollout, as its help centre article on crawling puts it. Rules that name ClaudeBot take precedence over the general signal for the same path.
  • OpenAI "will honor a common signal in robots.txt" "in the coming months", in its post Making it easier for websites to express AI training preferences. Existing per-crawler controls stay valid.
  • Google aims to support it in 2027, in the Search Central post by John Mueller. "Existing company-specific controls will continue to function alongside this new joint signal."
  • Bing accepts it as the site-wide way to set a training preference, in its post Your content, your choice.

So a line added today has different effects on different dates, assistant by assistant. Anyone writing it should note which date they wrote it on.

Why can a training opt-out remove you from Gemini?

Grounding is the step in which a model is given fresh content at the moment of a question, so that its answer rests on current pages and not only on what it learned in training. The two uses are different, and a supplier who wants out of training may well still want in on grounding: grounding is where an answer can name and link a supplier today.

Google's crawler documentation puts both under one token. Google-Extended governs the training of future Gemini models "and for grounding (providing content from the Google Search index to the model at prompt time ...)" in Gemini Apps and Vertex AI.

Now add the rule from the 30 October post. If a site uses the common token to opt out of training and does not name Google-Extended, Google will treat that as a disallow of Google-Extended. Since Google-Extended carries grounding too, a site that meant to say "no training" has also said "no grounding in Gemini". Google states the other side as well: "Websites that specifically allow Google-Extended are eligible to appear in responses and receive clicks via grounding in Gemini Apps."

The counter-intuitive consequence follows directly. With Google, as its documentation stands, you cannot say "no training, yes grounding". Allowing Google-Extended to stay in Gemini's grounding also allows it for training. A site has to choose which of the two matters more for Google, and the choice should be explicit rather than inherited from a generic line.

What it does not touch is Search. "Google-Extended does not impact a site's inclusion in Google Search nor is it used as a ranking signal in Google Search." That is reassuring for rankings and inconvenient for diagnosis: none of the usual SEO tools will show the change.

What should a B2B supplier write in robots.txt?

There are three coherent positions. Pick one deliberately.

No AI training anywhere, accepting the Gemini trade-off. The token group alone. Once Google supports the signal, Gemini grounding goes as well.

No training in general, but stay in Gemini. The token group plus an explicit group for Google-Extended:

User-Agent: __usage_ai-training
Disallow: /

User-Agent: Google-Extended
Allow: /

This keeps Gemini grounding and, under the same rule, allows Gemini training. For Anthropic, keep in mind that the signal concerns ClaudeBot, the training crawler. The other two bots in Anthropic's documentation are Claude-User, which fetches pages a user asks about, and Claude-SearchBot, for search, and blocking the latter "may reduce visibility in search results".

No opt-out. Add nothing. Your existing per-crawler rules keep working as before.

Whichever you choose, check the file that is actually served, not the one in your CMS: a CDN can add its own rules, as described in our check of Cloudflare AI crawler settings. Changes do not apply instantly either. OpenAI's bot documentation, for instance, says robots.txt changes for OAI-SearchBot take "~24 hours".

Then watch the answers rather than the crawl logs. If Gemini stops naming you in a market after a robots.txt change, the dates will line up. PSentry records Gemini's answers alongside ChatGPT, Claude and Perplexity, language by language, twice a month, which is enough to see a step change; it measures and does not alter what any of them says.

Questions that come up about the training opt-out

Does the training opt-out affect Google Search rankings?

No. Google states that Google-Extended "does not impact a site's inclusion in Google Search nor is it used as a ranking signal". The effect is on Gemini Apps and Vertex AI, including grounding.

Is the signal already respected by every assistant?

No. Anthropic recognises it from 30 October 2026 with a gradual rollout; OpenAI plans to "in the coming months"; Google aims for 2027. Until then, per-crawler rules such as GPTBot or Google-Extended remain the controls that act.

Does a User-Agent: * block count as a training opt-out?

Not under this signal. The draft is explicit that a User-Agent: * group is not a training preference. The training group has to name __usage_ai-training.

Can I allow training on some sections only?

Yes. The draft's own example disallows the whole site and allows /press-kit/. The same pattern works for any section you are happy to see used, such as public datasheets.