Cloudflare blocking AI crawlers is one of the most common reasons a site that ranks on Google never shows up in ChatGPT, Perplexity or Claude; Since July 1, 2026, Cloudflare lets every customer, free plan included, block or allow AI bots in three groups: Search, Agent and Training. If Search or Agent is blocked, AI tools can't read your pages, so they can't cite you, even when your robots.txt says they may.
The good news: it takes about five minutes to check, and usually one setting to fix. This guide shows where to look, which setting suits your business and what to do if bots are still blocked afterwards.
In short
- Cloudflare can block AI bots before they reach your site, so robots.txt alone does not tell you the truth.
- Allow Search and Agent if you want AI tools to cite you. Training is your choice.
- Check three places:- "AI Crawler and Agent access policies", Bot Fight Mode and your WAF custom rules.
Is Cloudflare blocking AI crawlers on your site? The short answer
Maybe, and you can't tell from your robots.txt alone. Cloudflare decides at its edge, before a bot ever reaches your site, so a bot can be turned away while your robots.txt allows it. The risk is highest if your site:
- joined Cloudflare from July 2025 onward, when Cloudflare began blocking AI crawlers by default for new domains;
- shows ads, because Cloudflare has a "Block on pages with ads" option for AI bots;
- has Bot Fight Mode or custom firewall rules switched on.
- had someone tick "Block AI bots" in the past to stop AI training.
Cloudflare announced that from September 15, 2026, new domains would block Training and Agent bots on pages with ads. Its own help page, updated November 2, 2026, lists Allow as the default for new domains. Defaults have changed more than once, so check your own setting instead of guessing.
What Cloudflare changed, and when
| Date | What changed |
|---|---|
| 2024 | Cloudflare added a one-click "Block AI bots" setting. |
| July 1, 2025 | Cloudflare began blocking AI crawlers by default for new domains. |
| July 1, 2026 | All customers, including the Free plan, can set Search, Agent & Training bots separately instead of one "Block AI bots" switch. |
| September 15, 2026 | Announced start of new defaults for new domains: Training and Agent blocked on pages that display ads; Search allowed. Cloudflare's current help page lists Allow as the default, so check your dashboard. |
Search, Agent and Training: which AI bots are in each group
Cloudflare sorts AI bots by what they do. The names below are the bots you will see in your logs and in our free checker.
| Group | What these bots do | Examples |
|---|---|---|
| Search | Index pages so AI tools can quote and link them later | OAI-SearchBot, Claude-SearchBot, PerplexityBot |
| Agent | Fetch a page live when a person asks an AI tool about it | ChatGPT-User, Claude-User, Perplexity-User |
| Training | Collect pages to train AI models | GPTBot, ClaudeBot, CCBot, Bytespider |
If you want AI tools to cite you, Search and Agent must be allowed. Training is your choice; blocking it does not remove you from AI search. Our guide to OAI-SearchBot vs GPTBot robots.txt explains the same split for your own robots.txt file.
One trap: Cloudflare's help page says Training actions also apply to mixed-purpose crawlers, and its July 2026 announcement names Googlebot, Applebot & BingBot. Blocking Training at the edge can therefore affect more than AI training bots.
Cloudflare's "Disallow" option for Training asks bots to stay away through robots.txt instead of blocking them.
How to check if Cloudflare is blocking GPTBot and PerplexityBot on your site
A site owner on Reddit asked: "Cloudflare has been quietly blocking GPTBot and PerplexityBot on my site for months. How do I check mine?" Here is the five-minute answer.
- Run a free scan. Paste your URL into Website AEO GEO Checker. Its AI crawler section shows what your robots.txt says for each bot and runs a live server test: it requests your page as a normal browser and as six AI bots, then shows which ones your server turned away. It also tells you when your site runs through Cloudflare.
- Open your Cloudflare dashboard. Go to Security > Settings and filter by Bot traffic;
- Find "AI Crawler and Agent access policies". Cloudflare used to call this "Configure AI bot policies". Note the setting for Search, Agent and Training: Block, Block on pages with ads, Allow (do not block) or, for Training, Disallow.
- Look at AI Crawl Control. It shows which AI services visit your site & lets you allow or block single crawlers. Cloudflare lists it as available on all plans;
- Check Bot Fight Mode and your WAF custom rules. Look for rules that match bot names such as GPTBot or PerplexityBot. A rule written years ago can still block today.
- Check your robots.txt. If "Bot Preference Sync" is on, Cloudflare adds its own lines at the top of your robots.txt.
Suggested Read: 10 Reasons Why Your Site Is Not Showing in ChatGPT Answers
Which Cloudflare AI setting should you choose?
Pick the setting by what your site needs from AI tools. For most businesses that want customers to find them through ChatGPT or Perplexity, the answer is simple: allow Search & Agent.
| Your site | Search | Agent | Training |
|---|---|---|---|
| Local business (dentist, plumber, salon) | Allow | Allow | Your choice |
| SaaS or online service | Allow | Allow | Your choice |
| Online store | Allow | Allow | Your choice |
| Publisher with ads | Allow | Allow or Block on pages with ads | Block or Disallow |
| Members-only or paid content | Allow public pages | Block on private pages | Block |






