Skip to main content
WEBSITE AEO GEO CHECKER

Cloudflare Blocking AI Crawlers: How to Check Your Site & Fix It

By Arslan Habib · 2026-11-28 · 11 min read

Is Cloudflare blocking AI crawlers? Check the Search, Agent and Training settings in Cloudflare

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.

  1. 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.
  2. Open your Cloudflare dashboard. Go to Security > Settings and filter by Bot traffic;
  3. 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.
  4. 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;
  5. 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.
  6. 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

Step by step: allow AI search & keep training blocked

  1. In Cloudflare, open Security > Settings and filter by Bot traffic.
  2. Open "AI Crawler and Agent access policies".
  3. Set Search to Allow (do not block)
  4. Set Agent to Allow (do not block)
  5. Set Training to Disallow if you want to keep training bots away without blocking mixed-purpose crawlers; choose Block only if you accept that risk.
  6. Save, wait a few minutes, then scan your URL again with our free checker to confirm the AI bots now get your page.

If you also use robots.txt, keep the two in step. This sample allows AI search and keeps training bots out:

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

Still blocked after you changed the setting?

Work through these in order. Most sites find the cause in the first two.

  1. Bot Fight Mode is on. It sends bots a heavy challenge, and Cloudflare says plainly that you cannot bypass or skip it with WAF custom rules. If AI bots matter to you, switch it off. On paid plans, Super Bot Fight Mode can be skipped with a rule instead.
  2. An old WAF custom rule matches the bot. Search your rules for "bot", "GPT", "Perplexity" or "user agent", and pause any rule that blocks or challenges them;
  3. You see a bot check page. When Cloudflare serves a challenge, the reply carries a header named cf-mitigated with the value challenge; Our live server test flags this as a bot check page
  4. Your host blocks too. A security plugin or your host's own firewall behind Cloudflare can still send "403 Forbidden". Ask your host to allow the AI bots you want.
  5. It needs time. Search bots come back on their own schedule. Re-scan after a few minutes to confirm the door is open, then give AI tools a few weeks to pick up your pages.

What Cloudflare's managed robots.txt does

When you block or disallow any AI group, Cloudflare can manage your robots.txt for you through "Bot Preference Sync"; It does not replace your file; it adds its own lines at the top, including a Content Signal line (search=yes, ai-train=no) and Disallow rules for training bots such as GPTBot, ClaudeBot, CCBot and Google-Extended. If you have no robots.txt, Cloudflare creates one. Cloudflare itself says robots.txt is a polite request; the edge setting is what actually blocks.

Other CDNs and hosts that block AI bots

Cloudflare is not the only gatekeeper; Security plugins on WordPress, managed hosts and other firewalls can turn AI bots away too. The signs are the same: robots.txt says Allow, but the bot gets a "403 Forbidden" or a bot check page. Our free checker's live server test catches this whichever service you use, because it looks at what your server actually sent back.

What we learned building our live server test

Our own site runs on Cloudflare, and we built the live server test in our free checker to answer this exact question. Three things we learned along the way:

  • Headers can fool you. Requests that pass through Cloudflare carry Cloudflare headers, so "server: cloudflare" alone does not prove a site uses it. Our test looks up the site's address and checks it against Cloudflare's published IP ranges instead.
  • A slow reply is not a block. If a bot's request times out, we say the result is unclear instead of calling it blocked.
  • A test bot is not the real bot. Our requests use each bot's name but come from our servers, not OpenAI's or Perplexity's. A firewall that checks where a bot comes from can treat the real bot differently, so if the test says blocked, confirm it in AI Crawl Control or your server logs.

Sources

Cloudflare blocking AI crawlers infographic: where AI bots get stopped by Search, Agent and Training settings, Bot Fight Mode and robots.txt, plus a 5-minute check

AI Visibility checker for small businesses

FAQs about Cloudflare and AI crawlers

Does Cloudflare block ChatGPT by default?

It depends on when your domain joined and what you set; Cloudflare began blocking AI crawlers by default for new domains in July 2025 and announced new defaults for September 2026, while its current help page lists Allow as the default. Check "AI Crawler and Agent access policies" in your dashboard to know for sure.

Do sites on the Cloudflare free plan get the new AI crawler settings?

Yes. Since July 1, 2026, all Cloudflare customers, including the Free plan, can set Search, Agent and Training bots separately. AI Crawl Control, which lets you allow or block single crawlers, is also listed as available on all plans.

Not on its own. ChatGPT search uses OAI-SearchBot and ChatGPT-User, not GPTBot. But in Cloudflare, a Training block can also catch mixed-purpose crawlers, so use Disallow for Training if you only want to stop model training.

Does Cloudflare's managed robots.txt override my own robots.txt file?

No. Cloudflare adds its managed lines at the top of your existing robots.txt and keeps your own rules below them; If you have no robots.txt, it creates one. Read the top of your live file to see exactly what Cloudflare added.

Is Bot Fight Mode blocking AI crawlers on my site?

It can. Bot Fight Mode challenges requests that look like bots, and Cloudflare says it cannot be skipped with WAF custom rules. If our live server test shows a bot check page, Bot Fight Mode or a firewall rule is the usual cause.

About the Author

Arslan Habib, Content Strategist & Marketer

Arslan Habib

Content Strategist & Marketer, Website AEO GEO Checker

Arslan writes our comparison pages & guides on AI search. He checks every price & feature on each tool's own website; he also uses real scan data from our free checker.

View full profile & LinkedIn

Every Cloudflare setting in this post was checked against Cloudflare's own documentation on November 27, 2026.

Related posts

Server returning 403 to AI bots allowed in robots.txt: why robots.txt says allow but the server blocks AI crawlers
2026-11-30Server Returning 403 to AI Bots Allowed in robots.txt: How to Find & Fix It

Server returning 403 to AI bots allowed in robots.txt? Find which layer blocks them (CDN, firewall, plugin, host), test it yourself & fix it step by step.

Does adding OAI-SearchBot to robots.txt hurt Google rankings? How Googlebot reads robots.txt groups
2026-11-30Does Adding OAI-SearchBot to robots.txt Hurt Google Rankings?

Does adding OAI-SearchBot to robots.txt hurt Google rankings? No, Googlebot ignores other bots' rules. See the 4 robots.txt edits that really can hurt you.

How to fix wrong information ChatGPT and AI search say about your business: 9 steps to correct AI answers
2026-11-14How to Fix Wrong Information ChatGPT and AI Search Say About Your Business

AI tools get business facts wrong more often than you think. Find out what they say about you and fix wrong prices, hours and details in 9 clear steps.

Entity SEO for AI search: how to make ChatGPT and Google understand your brand, with 8 steps and a before-and-after example
2026-11-13Entity SEO for AI Search: How to Make ChatGPT and Google Understand Your Brand

What entity SEO means, why AI engines think in entities, a real before-and-after example, and 8 steps to make ChatGPT and Google understand your brand.