🎉 Premium Proxies · 24-Hour Free TrialClaim Now
Guides

Cloudflare Blocks AI Agents on Ad Pages: What Changed

Did Cloudflare block AI agents by default? What shipped on Sep 15, 2026: Search, Agent and Training controls, ad-page presets, 402s, and how agents get allowed.

S SparkProxy 3 13 min read
Share
Cloudflare Blocks AI Agents on Ad Pages: What Changed

The headline "Cloudflare blocks AI agents" on ad-supported pages is half right. On 1 July 2026 Cloudflare announced that, from 15 September, new domains would block AI training crawlers and AI agents on pages that carry ads. By the time 15 September arrived, the plan had softened. New domains are now offered two presets, and the documentation says the default is to allow. If you build agents, scrapers or AI products, the change still matters a lot, because millions of zones carry the agent setting under another name. This guide covers what actually shipped, how Cloudflare decides you're an "agent", what a blocked request looks like, and the legitimate ways to get through.

What Actually Shipped

Cloudflare's own text, in order:

  • 1 July 2026 (changelog and press release): new Search, Agent and Training controls for all plans. New domains from 15 September would have Training and Agent blocked on pages with ads. The press release also named "all existing free customers that have not changed their settings."
  • 21 August 2026 (Bot Preference Sync post): "new customers will not have any blocks or disallows added by default." Ticking "I monetize from pages with ads" at signup sets Training to Disallow.
  • 15 September 2026 (what shipped): "customers onboarding a new domain will be offered one of two preset configurations, depending on whether the site earns money from advertising."
  • Current docs (updated 2 November 2026): "For new domains, Search, Agents, and Training use Allow (do not block) by default."

So there's no blanket default block on new domains. An AI agent is blocked on ad pages wherever:

  1. the owner picked the ad-supported preset at onboarding;
  2. the owner set "Block on pages with ads" by hand; or
  3. the zone had Cloudflare's older "Block AI Bots" switch on. That setting migrated to Agent = "Block on pages with ads".

Route 3 is the big one. In July 2025 Cloudflare said more than a million customers had enabled the one-click AI block. We couldn't confirm whether existing Free zones with untouched settings were switched on 15 September. Only the July press release says so, and the later posts are silent.

The Timeline, 2024 to November 2026

DateChange (Cloudflare's own posts and changelogs)
23 Sep 2024AI Audit launches, with one-click blocking of AI bots
26 Jun 2025Web Bot Auth: bots can prove identity with signed HTTP requests
1 Jul 2025"Content Independence Day": new domains are asked whether to allow AI crawlers. Pay per crawl (HTTP 402) enters private beta. Managed robots.txt and ad-hostname-only blocking arrive
4 Aug 2025Cloudflare documents Perplexity's undeclared stealth crawler, de-lists it as verified and adds it to the block rule
27 Aug 2025AI Audit renamed AI Crawl Control. Paid plans can answer blocked crawlers with a custom 402
28 Aug 2025Signed agents launch: ChatGPT agent, Goose, Browserbase and Anchor Browser, all signing with Web Bot Auth
24 Sep 2025Content Signals Policy adds `search`, `ai-input` and `ai-train` to robots.txt
1 Jul 2026Search, Agent and Training controls. Signed agents fold into Verified. Pay per crawl becomes Pay Per Use. 52% of crawler requests are for training
21 Aug 2026Bot Preference Sync: robots.txt preferences enforced at the edge. No default blocks for new customers
15 Sep 2026Two onboarding presets. Block now also hits Googlebot, Bingbot and Applebot. "Block AI Bots" and Managed robots.txt deprecated
30 Sep 2026Cloudflare reports daily AI-agent requests up more than 1,700% year over year
5 Nov 2026Trusted Agent Delegation and "Personal Agents": allow an agent, block it only on ad pages, or block it

The direction is consistent. Cloudflare keeps refining who gets blocked, from "AI bots" to behaviours to individual personal agents, while keeping a hard line on crawlers that don't identify themselves.

Free trial

Scraping at scale? Skip the blocks.

Fast, unblockable datacentre proxies with unlimited bandwidth.

Search, Agent and Training: the Three Behaviours

The 2026 controls sort AI traffic by what it does, not by who runs it:

BehaviourCloudflare's definitionActions available
Search"crawlers that collect or index your content to answer questions about it later"Block, Block on pages with ads, Allow
Agent"automated activity acting in real time on a person's behalf, such as chat fetch bots and browser-use agents"Block, Block on pages with ads, Allow
Training"crawlers taking your content to train or fine-tune a model, including mixed-purpose crawlers"Block, Block on pages with ads, Allow, Disallow

Three details decide whether your traffic is caught:

  • "Each policy applies to Verified bots with that behavior and matching unverified bots." You don't escape the Agent policy by being unknown. An unverified browser-use agent that behaves like an agent is in scope.
  • Agent has no "Disallow" option. Training can be refused politely through robots.txt, which Cloudflare enforces at the edge when Bot Preference Sync is on. There's no well-established robots directive for real-time agents, so for agents the only choices are allow or block.
  • Mixed crawlers are a special case. Since 15 September, "Block" also stops Googlebot, Bingbot and Applebot, which costs you search traffic. "Disallow AI Training" is the setting that keeps search and refuses training. Apple, Google and Microsoft have committed to honour it.

Which bot falls where? Cloudflare's public bot reference still uses older labels:

  • "AI Assistant": ChatGPT-User, Claude-User and Perplexity-User. By definition these are chat fetch bots, so Agent.
  • "AI Search": OAI-SearchBot, Claude-SearchBot and PerplexityBot, so Search.
  • "AI Crawler": GPTBot, ClaudeBot and CCBot, so Training.

The authoritative per-bot mapping lives in BotBase, which is Enterprise-only. Treat the mapping above as inferred from Cloudflare's definitions.

The Two Presets and the Migration

New domains since 15 September choose between:

PresetSearchTrainingAgent
"Site does not monetize using ads"AllowAllowAllow
"Site is monetized using ads"AllowDisallow AI TrainingBlock on pages with ads

Cloudflare's reasoning is short: "Ad revenue depends on a human actually seeing the page. Training replaces that visit with an answer; agents fetch the page with nobody there to see the ads." Settings can be changed "during onboarding, or at any time afterward."

Existing zones migrated from the old switch like this:

Old "Block AI Bots" settingSearchTrainingAgent
Block, or Block on pages with adsAllowDisallow AI TrainingBlock on pages with ads
DisabledAllowAllowAllow

For agent builders, read the first row twice. Every zone that ever flipped the one-click AI block now blocks agents on its ad pages, even though its owner may never have thought about agents at all.

How Cloudflare Finds "Pages With Ads"

Cloudflare described the method when it introduced ad-only blocking in 2025:

  • HTML scanning at the edge. After parsing the response with its streaming LOL HTML parser, it performs "a comprehensive scan for code patterns commonly found in ad units", "without adding any latency."
  • Filter lists. URL and CSS matching use EasyList, cut from more than 40,000 filters to about 400 that reliably mark ad units.
  • Content Security Policy reports catch ads injected later by JavaScript.

In 2025 the setting worked per hostname. The 2026 docs say "pages where Cloudflare detects ads". The practical effect: on a news site, an article page with display ads can block your agent while the site's ad-free pricing or docs pages let it through. That inconsistency is your best diagnostic signal.

What a Blocked Agent Sees

Cloudflare documents the response for AI Crawl Control's per-crawler blocks. The rule is a WAF custom rule that returns one of two codes:

  • 403 Forbidden: "you do not want the AI crawler to access your content."
  • 402 Payment Required: "the AI crawler must pay to access your content", available on paid plans with a custom plain-text body. Site owners can add a Link header pointing to their licensing terms.

The pay-per-crawl (now Pay Per Use) handshake goes one step further:

GET /article HTTP/1.1                       ->  402 Payment Required
                                                crawler-price: USD 0.01
GET /article HTTP/1.1                       ->  200 OK
crawler-exact-price: USD 0.01                   crawler-charged: USD 0.01
signature-agent: "https://agent.example"
signature-input: ...   signature: ...

A crawler with no billing relationship gets the equivalent of a 403. Since December 2025 there's also a crawler-error header, and payment requests must be signed with Web Bot Auth.

Cloudflare hasn't documented the exact response for the newer behaviour-level "Block on pages with ads" setting. Expect a 403 from Cloudflare's edge rather than an interactive challenge. Don't confuse either with a "Just a moment..." challenge page, which comes from Cloudflare's bot management scoring, not the AI policy. Our guide to Cloudflare's anti-bot layers explains those challenges.

How to Tell Whether Your Agent Is Affected

If your agent fetches pages for users, classify its failures so an AI-policy block isn't mistaken for a flaky network:

import requests

def classify_cloudflare_response(r: requests.Response) -> str:
    h = {k.lower(): v for k, v in r.headers.items()}
    on_cloudflare = h.get("server", "").lower() == "cloudflare" or "cf-ray" in h
    if not on_cloudflare:
        return "not a Cloudflare edge response"
    if r.status_code == 402 or "crawler-price" in h:
        return f"pay-per-use: price {h.get('crawler-price', 'custom 402')}"
    body = r.text[:4000].lower()
    if r.status_code in (403, 503) and ("just a moment" in body or "challenge-platform" in body):
        return "bot-management challenge (not the AI policy)"
    if r.status_code == 403:
        return "edge 403: likely AI Crawl Control / Agent policy or a WAF rule"
    return "allowed"

def content_signals(domain: str) -> list[str]:
    """Read Cloudflare's Content-Signal lines from robots.txt (search / ai-input / ai-train)."""
    txt = requests.get(f"https://{domain}/robots.txt", timeout=15).text
    return [line.strip() for line in txt.splitlines() if line.lower().startswith("content-signal")]

These are the symptoms that point to the Agent policy specifically:

  • 403s from Cloudflare on article and listing pages with ads, while ad-free pages on the same site return 200;
  • the same URL loads fine for a human in a normal browser;
  • the site's robots.txt carries a Content-Signal: line, or was rewritten by Cloudflare's managed robots.txt before it was deprecated.

Our post on the AI training opt-out in robots.txt covers parsing those signal lines correctly.

Getting Allowed: Verified Bots and Web Bot Auth

Cloudflare's model rewards agents that identify themselves. The paths, in order of effort:

1. Identify your agent honestly. Use a stable, descriptive User-Agent, and don't impersonate Chrome or another vendor's bot. Cloudflare's 2025 Perplexity report is the cautionary tale: traffic from "a generic browser intended to impersonate Google Chrome on macOS" on unpublished IP ranges was scored as a bot, failed managed challenges, and got the operator de-listed from Verified.

2. Sign requests with Web Bot Auth. This is the mechanism Cloudflare built for agents:

  • Headers: each request carries Signature-Input, Signature and Signature-Agent headers under RFC 9421 HTTP Message Signatures.
  • Keys: you publish a JWKS at /.well-known/http-message-signatures-directory. Cloudflare "accepts all valid Ed25519 keys found in your key directory."
  • Registration: you register with the verification method "Request Signature".

Signing is also required for Pay Per Use. Akamai validates the same standard at its edge, so one implementation covers both CDNs.

3. Apply to become Verified. Use the BotBase submission form in the Cloudflare dashboard. Since July 2026, signed agents are part of Verified, with a Direct or Intermediary label (Intermediary means many end users can operate the agent). Two caveats:

  • Verified only makes a bot "allowable with its relevant category". Each site's Search, Agent and Training choice still applies, so a Verified agent is still blocked on ad pages of a zone set to "Block on pages with ads".
  • Bots that reproduce content in full can't currently be Verified.

4. Pay, or ask. On sites using Pay Per Use, a signed agent can pay per request. Everywhere else, the site owner can allow your agent explicitly. Since November 2026 that includes per-agent controls for top Personal Agents, which Cloudflare recommends allowing.

What This Means for Scraping and Proxies

We sell proxy infrastructure, so we'll be plain about it: rotating IPs is not a way around a site's AI-agent policy, and you shouldn't try. The policy covers "matching unverified bots" by behaviour. Cloudflare already treats undeclared crawlers that rotate addresses and spoof browsers as the thing to block. Getting caught doing it costs you more than the data was worth, as Perplexity found.

Where infrastructure does help, legitimately:

  • Stable, attributable egress. If you apply for verification by IP validation or sign requests, publish a fixed set of addresses. Clean datacenter IPs that are yours alone are far easier to allowlist than a cloud provider's shared egress. Our guide to proxies for AI agents covers how to set that up.
  • Respecting signals at scale. Read Content-Signal and robots.txt for every domain, cache the result, and route only allowed fetches. Pace requests so your agent behaves like the person it represents.
  • Separating behaviours. Run search-style indexing, user-triggered fetching and any training collection as different identities with different User-Agents. A site can then allow your search fetcher and refuse your training crawler, which is exactly what the new controls are designed for.

For public pages a site has chosen to allow, the SparkProxy Scraping API and datacenter proxies remain ordinary tools. For pages a site has chosen to block for agents, the answer is identification, payment or permission.

Frequently asked questions

FAQ

Not on new domains as of November 2026. Cloudflare's docs say new domains default to Allow for Search, Agents and Training. Onboarding offers an ad-supported preset that blocks agents on pages with ads, and zones that used the older "Block AI Bots" switch were migrated to that same agent block.

Agent is one of three AI behaviours in Cloudflare's 2026 controls, defined as "automated activity acting in real time on a person's behalf, such as chat fetch bots and browser-use agents." Site owners can allow it, block it everywhere, or block it only on pages where Cloudflare detects ads.

On 1 July 2025 Cloudflare began asking every new domain whether to allow AI crawlers, and described it as changing the default to block AI crawlers unless they pay. It also launched pay per crawl using HTTP 402. The 2026 controls replaced the single AI-bot switch with separate Search, Agent and Training settings.

They're the Search, Agent and Training access policies introduced on 1 July 2026 for all plans. Each can be set to Block, Block on pages with ads, or Allow, and Training adds a Disallow option enforced through robots.txt and Bot Preference Sync. Policies apply to verified bots and matching unverified bots.

Identify it honestly, sign its requests with Web Bot Auth (RFC 9421 headers and an Ed25519 key directory), and apply through the BotBase submission form to become Verified. Verification makes the agent allowable, but each site's own Agent setting still applies, so blocked ad pages stay blocked.

No. The Agent policy targets behaviour, including unverified bots, and Cloudflare treats IP rotation and browser impersonation as evasion. Use stable, attributable IPs, Web Bot Auth signing, Pay Per Use where offered, or ask the site owner for access.

Special Discount · 20% off

Get 20% off your first month

Premium datacentre proxies with unlimited bandwidth. Use the code at checkout.

Save up to 15% more on quarterly, half-yearly and yearly plans

Claim Discount

About the Author

This guide was written by the SparkProxy Technical Team. SparkProxy runs datacenter proxy infrastructure and a managed Scraping API for web scraping, automation and QA, with HTTP/HTTPS and SOCKS5 access through gateway.sparkproxy.io. Every Cloudflare setting, quote and date here comes from Cloudflare's own blog posts, changelogs and developer documentation, read on 20 November 2026. Where Cloudflare's announcements and its current docs disagree, we report both and say which one shipped.

Keep reading

Related articles