Skip to the content
Start free

Cloudflare Bot Fight Mode: what it really blocks

Bot Fight Mode is a free, single on-off setting in Cloudflare that spots traffic matching known bot patterns and gives it computationally expensive challenges, to raise the cost of automated requests. It is easy to switch on and hard to fine-tune. Cloudflare says you cannot skip it with WAF custom rules or Page Rules, so one switch decides for your whole domain.

What is Bot Fight Mode? #

Cloudflare is a CDN and security service that sits in front of many websites. Bot Fight Mode is its bot defence for Free plans. Cloudflare says it uses “the same underlying technology as Bot Management”, protects entire domains with no endpoint restrictions, and notifies Bandwidth Alliance partners, where they apply, to disable bots. It works at the edge, before a request reaches your origin server.

Why does it matter? #

It is easy to switch on and hard to fine-tune. Cloudflare says you cannot bypass or skip Bot Fight Mode with WAF custom rules or Page Rules, so you cannot make an exception for a tool you rely on. Cloudflare also warns it may challenge API or mobile app traffic. For a small business, that can mean a payment callback, a stock feed or an uptime monitor quietly failing.

Why can’t I make an exception? #

Cloudflare says Bot Fight Mode “does not run on the Ruleset Engine”, so Skip, Bypass and Allow actions in your rules have no effect on it. It “cannot be customized, adjusted, or reconfigured” with WAF custom rules. There is one gap: Bot Fight Mode does not trigger if an IP Access rule matches the request first. IP Access rules are on every plan and can match an IP address, a range or an ASN; blocking by country needs Enterprise. See web application firewall (WAF) and IP address.

What does it add to my pages? #

Cloudflare says that with Bot Fight Mode on, JavaScript Detections is switched on automatically and cannot be turned off. Cloudflare injects a “lightweight, invisible JavaScript code snippet” into HTML pages, loaded from paths under /cdn-cgi/challenge-platform/. The result is stored in a cf_clearance cookie. Cloudflare also says enabling JavaScript Detections strips ETags from the HTML it changes. If the origin sends Cache-Control: no-transform, the script is not injected.

What about a Content Security Policy? #

If your site uses a Content Security Policy, you must allow content under /cdn-cgi/challenge-platform/. If your policy uses nonces on script tags, Cloudflare reads them from the header and adds them to its own scripts. Cloudflare says JavaScript Detections does not support a nonce set through a <meta> tag, and it strongly discourages unsafe-inline as a way round. Without nonces, you may see an inline-script error in the browser console.

Bot Fight Mode and Super Bot Fight Mode #

Bot Fight Mode Super Bot Fight Mode
Plans Free Pro, Business and Enterprise
Settings One on-off switch Separate choices for groups such as definitely automated, likely automated and verified bots, plus static resource protection, JavaScript detections and Optimize for WordPress
Exceptions Cannot be skipped with WAF custom rules or Page Rules A custom rule with the Skip action
JavaScript detections Always on Can be turned on or off

Cloudflare recommends Bot Management for Enterprise when you need finer control of API or mobile app traffic. See Super Bot Fight Mode and bot score.

Search engines need to fetch your pages without a challenge they cannot solve. Cloudflare’s Bot Fight Mode page does not list which search crawlers it lets through, so do not assume; check. Cloudflare’s verified bots page names Googlebot and Bingbot as examples of bots that are “transparent about who it is and what it does”. If pages stop being crawled after a change, look at Googlebot‘s view with URL inspection in Google Search Console. See Cloudflare blocking Googlebot.

Why does it matter for AI answers? #

AI crawlers, live fetchers and AI agents are all automated, so any of them can meet a challenge. A fetcher such as Perplexity-User reads a page for a person, at the moment they ask; if it is challenged, the AI answers without your page. Cloudflare lists Perplexity-User among its verified bot examples, and has a separate “Block AI bots” setting. Decide on purpose which AI visitors you want. See AI crawler, live fetcher and blocking AI crawlers on Cloudflare.

What is a verified bot? #

Cloudflare says a verified bot must identify itself honestly and behave well, including obeying robots.txt and keeping reasonable request rates. Bots prove who they are with a Web Bot Auth signature, a published IP list with a stable user agent, or reverse DNS. Cloudflare says that from 1 July 2026 “Signed agents are now Verified”. See verified bots and reverse DNS bot check.

A worked example #

A bike shop turns on Bot Fight Mode on a Friday. On Monday its stock levels have not changed all weekend: the supplier’s feed, which calls the shop’s site from a server, was being challenged and could not answer. With Bot Fight Mode there is no rule to let the feed through. The shop’s choices are an IP Access rule for the supplier’s fixed address, which Cloudflare says stops Bot Fight Mode acting when it matches first, or a paid plan with Super Bot Fight Mode and a Skip rule.

Visitor What can go wrong What to check
Supplier stock feed Challenged; stock goes stale Security events, then an IP Access rule
Payment callback Challenged; orders stay unpaid The payment provider’s fixed addresses
Uptime monitor Reports the site as down The monitor’s addresses or a paid plan
AI agent calling your API Gets a challenge, not data Events for the API path

Common mistakes #

  • Turning it on and checking nothing. Look at the security events the same day.
  • Trying to fix a blocked service with a Skip or Allow rule. Cloudflare says these have no effect on Bot Fight Mode.
  • Leaving Bot Fight Mode on while upgrading. Cloudflare says to turn it off before moving to Super Bot Fight Mode.
  • Forgetting the Content Security Policy, so the challenge script is blocked.
  • Treating every bot as bad. Some bots bring customers. See block AI crawlers.
  • Expecting your analytics to show the effect. Challenged bots never run your page tag. See bot traffic in analytics.

How to check it #

  1. In the Cloudflare dashboard, open Security, then Settings, filter by Bot traffic and look at Bot fight mode.
  2. If something stopped working after you turned it on, open Security, then Analytics, then Events. Cloudflare labels these challenges “Bot Fight Mode” in the Service field.
  3. Cloudflare points to Super Bot Fight Mode on paid plans when you need Skip rules for exceptions. Turn Bot Fight Mode off before upgrading. An IP Access rule that matches a request first stops Bot Fight Mode acting on it.
  4. After any change, test a page with our HTTP header checker for status codes and cache headers, and the Edge Cache Checker to see whether the page is served from cache. See HTTP status code and edge cache.
  5. Check your Content Security Policy allows the challenge script with the Security Headers Checker, and see the cf_clearance cookie with the Cookie Checker. See cookie banner.
  6. Check search engines can still index the page with the indexability checker, and that redirects did not change with the Redirect Checker.
  7. Check which AI bots your rules let in with the AI bot checker and the Robots.txt Checker. Check a named visitor is real with Verify an AI Bot, and read a server log in your browser with the AI Crawler Log Analyser. See server logs.
  8. If AI agents call your site, check your machine doors still answer with AI Agent Readiness. See MCP.
  9. Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day.
  10. Over time, Bot verification log checks every bot visit against published lists, the fake bot detector catches bots pretending to be Google or GPTBot, and Bot rules manager writes allow and block rules for you. All three are in URSY Pro, opening in stages.

What URSY.com counts #

We read the content delivery network’s own edge log, which lists every request, cached or not, with its user agent, status code and a request ID. So a bot that is challenged at the edge, and never reaches your website, is still counted. We sort each request into people, search engines, AI crawlers, AI agents and other machines, and check bot addresses against the companies’ published lists: real, fake or unknown. See methodology and network block.

Questions #

Is Bot Fight Mode free? #

Yes. Cloudflare describes it as a free product for Free plans. Super Bot Fight Mode needs Pro, Business or Enterprise.

Can I let one service through? #

Not with a WAF Skip or Allow rule. An IP Access rule that matches first stops Bot Fight Mode acting on that request.

Does it stop DDoS attacks? #

It is a bot defence, not a DDoS service. See DDoS attack, Under Attack Mode and rate limiting.

Will it slow my pages? #

Cloudflare says its detection script is deferred and, where it can, runs on a separate thread to limit the effect. Test your key pages before and after.

Where do I see what it blocked? #

In Security, then Analytics, then Events, with “Bot Fight Mode” in the Service field.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Cloudflare Bot Fight Mode: what it really blocks. URSY. Updated 26 November 2026. https://ursy.com/wiki/cloudflare-bot-fight-mode/ · Section links

Tools for this

  • LiveVerify an AI Botis it really GPTBot? IP, published lists and user agentRun the check →
  • LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
  • LiveAI Crawler Log Analyserdrop in your server log, see which AI bots read what (in browser)Run the check →
  • LiveCan Google index this page? (noindex, robots, canonical, status)Run the check →
  • LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
  • LiveHTTP Header Checker (cache, status, X-Robots-Tag)Run the check →
  • ProAI bot analyticsWhich AI bots read which pages, checked real or fakeIn URSY Pro →
  • ProBot verification logEvery bot visit, verified against published IP listsIn URSY Pro →
  • ProWhat AI readsAI reads of llms.txt, .md, .json, images, feedsIn URSY Pro →

All 871 wiki entries, A to Z →