Learning Center · Answers · Access

Does Cloudflare block AI agents?

Short answer

Cloudflare can block AI agents, depending on your settings. It offers settings aimed at blocking AI crawlers, and keeps a verified bots list with categories such as AI Assistant and AI Crawler. Check exactly which agents any AI setting covers, allow verified assistants and AI search, and test your site from the outside.

Answer · Last checked November 12, 2026 · Based on Setting up your CDN for AI agents, Questions to ask your CDN or bot protection vendor, Agent readiness on Shopify

In more detail

Cloudflare runs a verified bots program and documents bot categories you can reference in custom rules, with separate groupings for AI crawlers and other AI agents. That lets you write one rule for AI assistants instead of keeping a list of names. The categories move. Cloudflare's documentation notes that since July 2026, new AI search crawlers go in its general Search category, so check the current names in your own console.

The settings aimed at blocking AI crawlers are easy to switch on without knowing what they cover. Depending on how it's set up, a one-click "block AI" setting can stop assistants and AI search along with training crawlers. Rule order matters too. A broad "block AI bots" rule placed above your allow rule for verified agents means the allow rule never runs.

Cloudflare has published work on Web Bot Auth and describes it as a verification method for verified bots and agents, so check whether signature verification is available on your plan. If you're on Shopify, its Cloudflare protection is always on and you can't change its rules. Any CDN or bot tool you add in front is a second place agents can be stopped.

What to do

  1. Agree which kinds of AI agent you want before changing any rule.
  2. Check which agents Cloudflare's AI crawler settings cover on your plan.
  3. Allow AI assistants and AI search by verified bot category.
  4. Place your verified-agent allow rule above any broad AI block rule.
  5. Run new rules in log-only mode for a few days before blocking.

Read more

All answers

How does your own site do?

AgentScore checks your site in about a minute and ranks what to fix first.