Site Security
Estimated reading time: 6 min read

Cloudflare AI Bot Settings: Don’t Block Googlebot (2026)

Ben Marshall Ben Marshall Full-stack Developer & Engineering Manager
Robot icon over a network pattern, illustrating Cloudflare AI bot settings that can block Googlebot
On this page
Blocking AI Training bots in Cloudflare also blocks mixed-purpose crawlers like Googlebot. Here's what changed on September 15 and how to check your site in 15 minutes.

In Cloudflare AI bot settings, setting Training to Block can also block Googlebot. Cloudflare treats crawlers that do both search and training as Training, and blocks them when you block Training.[1][2] Since September 15, 2026, new domains also block Training and Agent bots on pages with ads by default.[2]

That’s fine if it’s what you chose. It’s a problem if you only meant to keep your content out of AI models and didn’t expect to lose search traffic. Here’s what changed, how to check your site in about 15 minutes, and which setting fits which goal.

What changed in Cloudflare’s AI bot settings

On July 1, 2026, Cloudflare split AI crawlers into three groups and made the controls available to all customers, including Free plans.[1]

CategoryWhat it meansExample use
SearchCollects or indexes your content to answer questions later.[2]AI search with links back
AgentActs in real time on a person’s behalf, like chat fetch bots and browser-use agents.[2]An assistant reading or filling in a page
TrainingTakes your content to train or fine-tune a model, including mixed-purpose crawlers.[2]Model training

For each category you can pick Block (on all pages), Block on pages with ads, or Allow (do not block).[2] The settings live under Security Settings, then Configure AI bot policies.[2]

The old one-click “Block AI bots” option was deprecated on September 15. Cloudflare’s docs say that legacy option left out mixed-purpose bots.[2] The new Training setting doesn’t. In Cloudflare’s own words, “multi-purpose crawlers such as Googlebot, Applebot, and BingBot will be blocked” when a customer blocks Training.[1]

Who gets the new defaults

From September 15, 2026, new domains added to Cloudflare start with Training and Agent blocked on pages that show ads, while Search stays allowed.[1][2] Cloudflare detects ad pages for you.[2] Existing customers were told they could set their own choices before that date.[1]

So the sites most likely to be surprised are new sites on Cloudflare that show ads, and anyone who opened the new settings and set Training to Block.

Why it matters for your search traffic

When Cloudflare blocks a crawler, the crawler gets an error page instead of your content. In August, a site owner on Reddit reported that after setting AI Training to Block, Googlebot and Bingbot got HTTP 403 errors when fetching the sitemap.[3] Google’s John Mueller asked for details to look into it.[3]

Google is clear about what a 403 does. Google doesn’t index URLs that return a 4xx status code, and pages already indexed are removed.[5] A 403 also doesn’t slow Google down; Google says 4xx codes other than 429 have no effect on crawl rate.[5] So a block on Googlebot is a slow route out of search results, not a pause.

This is also separate from Google’s AI training opt-out. Google uses a robots.txt token called Google-Extended for Gemini training and grounding, and Google says it “does not impact a site’s inclusion in Google Search.”[4] Blocking Googlebot is a much bigger step than opting out of Gemini training.

How to check if Cloudflare is blocking Googlebot

You don’t need to be a developer for these. You need access to your Cloudflare dashboard and Google Search Console.

1. Look at your AI bot policies

To review your Cloudflare AI bot settings, open Security Settings, then Configure AI bot policies.[2] Write down what Search, Agent and Training are set to. If Training is set to Block or Block on pages with ads, mixed-purpose crawlers like Googlebot fall under that rule.[1][2]

2. Check Crawl Stats in Search Console

In Search Console, open Settings, then Crawl stats.[6] Look at the By response breakdown. Most responses should be 200.[6] A jump in 4xx responses around the date you changed Cloudflare settings, or around September 15 for a new site, is the warning sign.

3. Run a live URL test on key pages

Paste your homepage, a top blog post and your sitemap URL into URL Inspection and click Test live URL.[7] The test shows whether crawling is allowed and whether the page fetch worked.[7] A failed fetch on a page that loads fine in your browser points to something blocking Google, often a firewall or bot rule.

4. Check the Page indexing report

Look for a rise in pages excluded because of a 403 or other 4xx error. Compare the timing with your Cloudflare change. If they line up, fix the setting first, then request indexing for your most important pages.

Which setting fits your goal

There’s no single right answer for Cloudflare AI bot settings. It depends on what you’re protecting and what traffic you rely on.

Your goalA reasonable starting point
Keep Google and Bing traffic, and keep content out of AI trainingAllow Search and Training in Cloudflare, and opt out of Gemini training with Google-Extended in robots.txt.[4]
Block AI training even if search suffersBlock Training, then watch Crawl Stats closely.[1][6]
Stop AI agents from filling in formsConsider blocking Agent, and protect forms directly too.
Ad-supported site that wants AI search visitsKeep Search allowed; review the ad-page defaults.[2]

The Agent row matters for spam. On September 30, AI research lab Transluce reported AI agents sending more than 200,000 requests to a U.S. Department of Education website, including a SQL injection probe.[8] It also described agents making accounts with disposable email addresses and bypassing anti-bot controls.[8] We covered a similar pattern in OpenAI’s rogue agents vs CAPTCHAs.

Blocking a category at Cloudflare only covers bots that identify themselves honestly. Bots that fake their name need other checks, as we explained in our look at bad bot traffic in 2026.

If you find a problem

  1. Change the Training setting in Cloudflare to the option that matches your goal.[2]
  2. Run Test live URL again on the same pages and confirm the fetch works.[7]
  3. Request indexing for your most important pages.
  4. Watch Crawl Stats for the next couple of weeks.[6]
  5. If you also saw ranking swings in late September, rule out other causes with our September 2026 spam update checks.

Zero Spam doesn’t manage Cloudflare settings or crawlers. It checks registrations, comments and form submissions against known bad IPs and emails, using the free WordPress plugin or the API, which helps if agents or bots are filling in your forms. If that’s useful, start on the free Explorer plan.

FAQ

Frequently Asked Questions

Does Cloudflare block Googlebot by default?

Not across the board. Search is allowed by default. But for new domains since September 15, 2026, Training is blocked on pages with ads, and Cloudflare treats crawlers that do search and training as Training.

Will blocking AI training bots hurt my SEO?

In Cloudflare it can, because blocking Training also blocks mixed-purpose crawlers like Googlebot. Google drops pages that return 4xx errors from its index.

How do I opt out of Google’s AI training without leaving Google Search?

Use the Google-Extended token in robots.txt. Google says it doesn’t affect inclusion in Google Search or rankings.

How can I tell if Googlebot is getting 403 errors?

Check Crawl stats in Search Console for 4xx responses, and run Test live URL in URL Inspection on key pages to see if the page fetch fails.

What is an Agent bot in Cloudflare?

Cloudflare uses Agent for automated activity acting in real time for a person, such as chat fetch bots and browser-use agents.

Sources & References