Skip to main content

Is Cloudflare blocking AI assistants from your site?

By , Co-founder of Citable Search · Published · Updated · 5 min read

The short answer

Possibly. Cloudflare can block AI crawlers at its network, before they reach your site or read your robots.txt. Log in, open your domain’s Security settings, find “AI Crawler and Agent access policies”, and set Search and Agent to allow if you want AI assistants to read and recommend your pages. Training is a separate choice.

Does this apply to you?

Cloudflare sits between visitors and many websites to speed them up and keep out bad traffic. Its settings only matter if your site’s traffic runs through Cloudflare. If you’re not sure, ask whoever set up your domain or website, or check where your domain’s DNS is managed.

Why it matters

AI assistants send crawlers to read your pages. OpenAI says a site has to allow its search crawler, OAI-SearchBot, to be shown in ChatGPT search answers, and that your host or CDN must allow traffic from OpenAI’s published search crawler addresses (OpenAI). Anthropic and Perplexity give similar advice for their own search crawlers. A block at Cloudflare stops the crawler before it reaches your site, so your robots.txt never gets a say. Cloudflare itself says robots.txt directives are voluntary and that enforcing a block takes its own tools (Cloudflare, Cloudflare).

How Cloudflare’s AI settings have changed

WhenWhat Cloudflare did
July 3, 2024Added a one-click toggle to block AI scrapers and crawlers, available on every plan including free (Cloudflare).
July 1, 2025Announced it was changing the default to block AI crawlers unless they pay creators for content (Cloudflare).
Current docsThe setting is called AI Crawler and Agent access policies, with separate choices for Search, Agent and Training. New domains start with all three set to allow (Cloudflare).

Because the defaults and names have changed more than once, don’t assume. Check what your domain is set to today.

How to check, step by step

These steps follow Cloudflare’s documentation as of . If a name has changed, search your dashboard for “AI crawler”.

  1. Log in to Cloudflare and select your domain.
  2. Go to Security, then Settings, filter by Bot traffic, and open AI Crawler and Agent access policies (Cloudflare).
  3. Set Search (crawlers that index pages to answer questions later) and Agent (assistants fetching a page in real time for a person) to Allow (do not block). Choose what you want for Training. The other options are Block, Block on pages with ads, and, for Training only, Disallow.
  4. Open AI Crawl Control and look at the crawler list. It shows each AI crawler, its category, how many requests it made, and whether it is allowed or blocked, and you can change the action per crawler (Cloudflare). Make sure the search and assistant crawlers from OpenAI, Anthropic and Perplexity are allowed.
  5. Review any custom firewall rules. When Cloudflare launched its 2024 toggle, it noted that customers with a rule challenging visitors with a low bot score were already blocking AI bot traffic (Cloudflare).
  6. Open your-site.com/robots.txt. If Bot Preference Sync is on, Cloudflare adds its own lines to the file based on your policies (Cloudflare).

Which crawlers to allow

If you want AI assistants to recommend you, allow their search and user crawlers: OAI-SearchBot and ChatGPT-User (OpenAI), Claude-SearchBot and Claude-User (Anthropic), PerplexityBot and Perplexity-User (Perplexity), and Googlebot, which builds the Google Search index Gemini can ground answers in. Training crawlers such as GPTBot and ClaudeBot are a separate decision: OpenAI and Anthropic run them separately from their search crawlers.

Not on Cloudflare? The same kind of block can come from your host’s firewall, a security plugin, or a setting in your website builder. Our guides for Wix, Squarespace, Shopify and WordPress cover those.

Checklist

  • Confirmed whether your site’s traffic runs through Cloudflare
  • AI Crawler and Agent access policies: Search and Agent set to allow
  • Training set to what you decided, knowing what it adds to robots.txt
  • AI Crawl Control crawler list shows the assistants’ crawlers allowed
  • Custom firewall rules don’t challenge or block those crawlers
  • robots.txt reviewed after any change

Frequently asked questions

Does Cloudflare block AI crawlers by default?

It has changed. In July 2025 Cloudflare announced it was changing its default to block AI crawlers. Its current documentation says new domains start with Search, Agent and Training all set to allow. Settings chosen earlier, by you or someone else, may still be in place, so check yours.

If my robots.txt allows AI crawlers, can Cloudflare still block them?

Yes. robots.txt is a request that crawlers choose to follow. Cloudflare’s block works at its network, so a blocked crawler never reaches your site, whatever your robots.txt says.

Can I block AI training but still be recommended?

Mostly, yes. Cloudflare lets you set Training separately from Search and Agent. One catch: if Training is set to Disallow with Bot Preference Sync on, Cloudflare’s example adds Google-Extended to your robots.txt, and Google says Google-Extended also controls whether Gemini can use your pages for grounding.

Sources

See what AI says about your business

The free Citable Search scan asks ChatGPT, Claude, Perplexity and Gemini a question your customers ask, 3 times each, and shows whether they name you, who they recommend instead, and your top 3 fixes in plain English. No card needed.

Start a free scan