Search
- Cloudflare's description
- Collects or indexes your content so it can answer questions about it later.
Block AI bots in Cloudflare with Search, Agent, and Training policies, see the exact September 15, 2026 changes, and check what robots.txt does.
In Cloudflare, go to Security Settings > Configure AI bot policies and set Search, Agent, and Training to Block (on all pages), Block on pages with ads, or Allow. Cloudflare's docs say that starting September 15, 2026, new domains get updated defaults: Training and Agent blocked on pages with ads, Search allowed.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
| Setting | Effect |
|---|---|
| Block (on all pages) | Blocks across the zone |
| Block on pages with ads | Uses Cloudflare's automated detection for pages that display ads on your zone, and blocks only on those pages |
| Allow (do not block) | No blocking applied |
In the Cloudflare dashboard, select your domain, go to Security Settings, filter by Bot traffic, and select Configure AI bot policies.
Set Search, Agent, and Training separately. To stay visible in AI search answers while refusing training, block Training and leave Search on Allow.
After saving, request a page with a user agent you want blocked and compare it against a normal browser request.
September 15, 2026 has passed. As of October 25, 2026, the Block AI Bots page and the changelog post both still show July 1, 2026 as their date and still use future wording ("will set", "will be blocked"), and the Bots changelog has no later post about the change. Cloudflare's robots.txt page, updated October 22, 2026, still says mixed-use crawlers are excluded from the Training edge block. So the docs do not confirm what changed on the day. Open Configure AI bot policies and read what your zone actually has set. A domain onboarded after that date may have the new defaults applied.
The legacy setting is at Security Settings > Block AI bots. Cloudflare says it blocks verified bots classified as crawling for the purpose of AI training, plus a number of unverified bots that behave similarly, but excludes mixed-purpose bots used for both Training and Search. The setting lets you set a preference for blocking mixed-purpose bots.
For enforcement, Cloudflare points to AI Crawl Control, which it says is available on all plans and can set allow or block rules for individual crawlers. On the free plan it identifies crawlers from their user agent strings, so it detects well-known, self-identifying crawlers; Cloudflare says a paid plan adds more thorough detection. For how each crawler is documented, see GPTBot, ClaudeBot, and Google-Extended, plus robots.txt for the file itself.
Open /robots.txt on your domain. If Bot Preference Sync is on and a policy blocks anything, look for the managed directives at the top. Cloudflare says they appear within a few seconds of saving and need no cache purge.
Re-open Configure AI bot policies and confirm each class matches your intent, especially if the domain is new.
Check that Search remains Allow if you rely on AI search referrals.
4 questions people ask next, answered from the sources on this page.
Go to Security Settings > Configure AI bot policies and set Search, Agent, and Training each to Block (on all pages), Block on pages with ads, or Allow (do not block).
Cloudflare's docs say that starting September 15, 2026, new domains onboarding to Cloudflare receive updated defaults: Training and Agent bots are blocked on pages that display ads, and Search remains allowed. The docs label the legacy Block AI bots setting "Deprecating on September 15, 2026". Both pages still use future tense, so check your own zone.
The robots.txt file alone does not. Cloudflare says compliance is voluntary and the file does not prevent crawlers from accessing your content at a technical level. Its AI bot policies and AI Crawl Control are the blocking controls: the docs say setting Training to Disallow with Bot Preference Sync on also enables edge blocking for AI training crawlers, and recommend AI Crawl Control to enforce crawler-specific blocks.
Cloudflare's changelog says all customers, including Free plan users, can manage AI crawlers by behavior. AI Crawl Control is listed as available on all plans.
Run the free audit, then approve the fixes. Every change can be undone.