# Cloudflare: block AI bots

> Block AI bots in Cloudflare with Search, Agent, and Training policies, see the exact September 15, 2026 changes, and check what robots.txt does.

Canonical: https://scaplet.com/seo/cloudflare/ai-crawlers

Guide Cloudflare Cloudflare · AI crawlers

Block AI bots in Cloudflare with Search, Agent, and Training policies, see the exact September 15, 2026 changes, and check what robots.txt does.

5 min

read

6

sources

Oct 22, 2026

updated

Scaplet Editorial Team

author

In one line

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.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fcloudflare%2Fai-crawlers%20(%22Cloudflare%3A%20block%20AI%20bots%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fcloudflare%2Fai-crawlers%20(%22Cloudflare%3A%20block%20AI%20bots%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fcloudflare%2Fai-crawlers%20(%22Cloudflare%3A%20block%20AI%20bots%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fcloudflare%2Fai-crawlers%20(%22Cloudflare%3A%20block%20AI%20bots%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 5 minutes.

1. [The current Cloudflare AI bot controls 01](#the-current-cloudflare-ai-bot-controls)
2. [Set it up 02](#set-it-up)
3. [The dated changes in 2026 03](#the-dated-changes-in-2026)
4. [robots.txt and AI Crawl Control 04](#robots-txt-and-ai-crawl-control)
5. [Check it in two minutes 05](#check-it-in-two-minutes)

_01_Behavior classes, as Cloudflare's Bots concepts page defines them

## The current Cloudflare AI bot controls

Cloudflare lets you block AI bots by behavior, not by a single toggle. Its changelog says all customers, including Free plan users, can manage AI crawlers this way. The Block AI Bots page lists three behaviors, each with its own setting. Each blocking option blocks verified bots classified with that behavior, plus additional unverified bots that fall under the same classification.

Class

### Search

Cloudflare's description

Collects or indexes your content so it can answer questions about it later.

Class

### Agent

Cloudflare's description

Automated activity acting in real time on a person's behalf to get something done, such as chat fetch bots and browser-use agents.

Class

### Training

Cloudflare's description

Crawls your content to train or fine-tune a model, permanently absorbing your data into the model.

Three settings for each class
| 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 |

_02_How it works

## Set it up

**Mixed-purpose crawlers**Cloudflare's Block AI Bots page defines Training as including mixed-purpose crawlers that are used both for Training and for Search, and says they will be blocked by all configurations to block AI training, including the legacy option. Cloudflare's [robots.txt](/glossary/robots-txt) page says mixed-use crawlers are excluded from the Training edge block. The two pages differ, so test any crawler that does both. See [blocking training while keeping AI search](/ai-search/block-ai-training-keep-ai-search).

1. 01

### Open the policies

In the Cloudflare dashboard, select your domain, go to Security Settings, filter by [Bot traffic](/glossary/bot-traffic), and select Configure AI bot policies.
2. 02

### Choose per class

Set Search, Agent, and Training separately. To stay visible in [AI search](/glossary/ai-search) answers while refusing training, block Training and leave Search on Allow.
3. 03

### Save and test

After saving, request a page with a [user agent](/glossary/user-agent) you want blocked and compare it against a normal browser request.

_03_Dates exactly as Cloudflare states them

## The dated changes in 2026

Date

### July 1, 2026

Change

Changelog post "New options to manage AI traffic"; the Block AI Bots page shows the same last-updated date

Source

Cloudflare changelog and docs

Date

### Before September 15, 2026

Change

All customers can opt out of the new defaults (the changelog says "at any time before September 15")

Source

Cloudflare changelog and docs

Date

### September 15, 2026

Change

New domains onboarding to Cloudflare receive updated defaults: bots classified as Training or as Agent are blocked on pages that display ads, and Search remains allowed

Source

Cloudflare docs and changelog

Date

### September 15, 2026

Change

The docs heading for the legacy setting reads "Deprecating on September 15, 2026"

Source

Cloudflare docs

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.

_04_Explained

## robots.txt and AI Crawl Control

Cloudflare's managed robots.txt, called Bot Preference Sync, generates directives from your Search, Agent, and Training policies when Enable Bot Preference Sync is on and at least one policy is set to Block, Block on pages with ads, or, for Training, Disallow. It prepends a Content Signals Policy (search, ai-input, ai-train) and Disallow rules for named AI crawlers; the docs' example lists [Amazonbot](/ai-crawlers/amazonbot), [ClaudeBot](/ai-crawlers/claudebot), [GPTBot](/ai-crawlers/gptbot), and others. Cloudflare is direct about the limit: robots.txt compliance is voluntary, and the file does not prevent crawlers from accessing your content at a technical level.

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](/ai-crawlers/gptbot), [ClaudeBot](/ai-crawlers/claudebot), and [Google-Extended](/ai-crawlers/google-extended), plus [robots.txt](/glossary/robots-txt) for the file itself.

_05_How it works

## Check it in two minutes

1. 01

### Read the live robots.txt

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.
2. 02

### Review policies

Re-open Configure AI bot policies and confirm each class matches your intent, especially if the domain is new.
3. 03

### Watch for side effects

Check that Search remains Allow if you rely on AI search referrals.

Sources · 6

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- cloudflare.com

1. 01 [Block AI Bots | Cloudflare bot solutions docs](https://developers.cloudflare.com/bots/additional-configurations/block-ai-bots/) developers.cloudflare.com · checked 2026-10-25
2. 02 [New options to manage AI traffic | Cloudflare changelog](https://developers.cloudflare.com/changelog/post/2026-07-01-ai-traffic-options/) developers.cloudflare.com · checked 2026-10-25
3. 03 [robots.txt setting | Cloudflare bot solutions docs](https://developers.cloudflare.com/bots/additional-configurations/managed-robots-txt/) developers.cloudflare.com · checked 2026-10-25
4. 04 [Bots concepts: AI bots | Cloudflare bot solutions docs](https://developers.cloudflare.com/bots/concepts/bot/) developers.cloudflare.com · checked 2026-10-25
5. 05 [Manage AI crawlers | Cloudflare AI Crawl Control docs](https://developers.cloudflare.com/ai-crawl-control/features/manage-ai-crawlers/) developers.cloudflare.com · checked 2026-10-25
6. 06 [AI Crawl Control | Cloudflare docs](https://developers.cloudflare.com/ai-crawl-control/) developers.cloudflare.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ How do I block AI bots in Cloudflare?

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).

_02_ What changes on September 15, 2026?

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.

_03_ Does Cloudflare's robots.txt setting actually block AI crawlers?

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.

_04_ Is blocking AI bots in Cloudflare free?

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.

## Keep learning

[All platform guides](/seo)

[Learn Next.js AI crawlers Frameworks](/seo/nextjs/ai-crawlers) [Related robots.txt Crawling](/glossary/robots-txt) [Read next Cloudflare 301 redirects Frameworks](/seo/cloudflare/redirects) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in platform guides
[BigCommerce page speed](/seo/bigcommerce/page-speed) [BigCommerce XML sitemap](/seo/bigcommerce/xml-sitemap) [Contentful SEO](/seo/contentful)

More in Frameworks
[Cloudflare 301 redirects](/seo/cloudflare/redirects) [Cloudflare: block AI bots](/seo/cloudflare/ai-crawlers)

Terms on this page
[Bot traffic](/glossary/bot-traffic) [AI search](/glossary/ai-search) [User agent](/glossary/user-agent) [robots.txt](/glossary/robots-txt)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
