---
title: "Managed challenge"
description: "A Cloudflare check page where Cloudflare picks how hard to test each visitor. Cloudflare says most humans pass automatically."
url: https://ursy.com/wiki/managed-challenge/
updated: 2026-11-26T15:46:05+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/managed-challenge/
---

# Managed challenge

> A Cloudflare check page where Cloudflare picks how hard to test each visitor. Cloudflare says most humans pass automatically.

**A managed challenge is a Cloudflare action that shows a full-page check before a visitor reaches a page, with Cloudflare choosing which kind of test to run from the request’s signals.** Cloudflare says most human visitors are verified automatically, without clicking anything. Crawlers are automated, though, so a challenge set too wide can quietly keep [search engines](https://ursy.com/wiki/search-engine/) and [AI assistants](https://ursy.com/wiki/ai-assistant/) away from your pages.

## What is a managed challenge? {#what-is-a-managed-challenge}

Cloudflare’s [challenge pages](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/) act as “a gate between the visitor and your website”. A rule in the [web application firewall](https://ursy.com/wiki/web-application-firewall/) (WAF) decides who meets the gate. With a managed challenge, Cloudflare then picks the test for each request. A person in a normal browser usually passes in the background. A visitor showing signs of automation may be asked to interact, much like a [CAPTCHA](https://ursy.com/wiki/captcha/).

## The three challenge types {#the-three-challenge-types}

| Type | What the visitor gets |
| --- | --- |
| Non-interactive challenge | A JavaScript check using limited browser signals, usually under five seconds, with nothing to click. |
| Managed challenge | Cloudflare picks the check from the request’s signals. Most people pass without doing anything. |
| Interactive challenge | The visitor has to interact with the challenge to pass. |

Cloudflare recommends managed challenges for most WAF rules, and advises against the other types unless there is a specific compatibility problem. It says managed challenges help avoid CAPTCHAs.

## How does it work? {#how-does-it-work}

The challenge replaces your page with Cloudflare’s own [HTML](https://ursy.com/wiki/html/) page while the browser is checked. If the visitor passes, Cloudflare’s [Challenge Passage](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/) sets a [cookie](https://ursy.com/wiki/cookie/) called `cf_clearance`, so they are not challenged again for a while. By default it lasts 30 minutes, and Cloudflare suggests a value between 15 and 45 minutes. Cloudflare’s [rule actions](https://developers.cloudflare.com/ruleset-engine/rules-language/actions/) page lists managed challenge as a terminating action: when it fires, later rules do not run for that request.

## Managed challenge, block or log? {#managed-challenge-block-or-log}

| Action | What it does |
| --- | --- |
| Managed Challenge | Cloudflare picks a check; most people pass without noticing. |
| Block | Denies the request outright. |
| Skip | Skips chosen security features for matching requests. |
| Log | Records matches only. Enterprise plans only; Cloudflare recommends it for validating rules before a stronger action. |

## Why it matters for search {#why-it-matters-for-search}

[Googlebot](https://ursy.com/wiki/googlebot/) and other [search crawlers](https://ursy.com/wiki/search-crawler/) are not people in browsers. If a rule challenges them, they fetch a challenge page instead of your content, and the page cannot be crawled properly. Cloudflare keeps a list of [verified bots](https://ursy.com/wiki/verified-bots/), such as Googlebot and Bingbot, but a custom rule written too broadly can still catch them. See [Cloudflare blocking Googlebot](https://ursy.com/wiki/cloudflare-blocking-googlebot/). Over time this can show as [crawled, currently not indexed](https://ursy.com/wiki/crawled-currently-not-indexed/) pages or wasted [crawl budget](https://ursy.com/wiki/crawl-budget/).

## Why it matters for AI answers {#why-it-matters-for-ai-answers}

AI assistants read your pages in two ways. [AI crawlers](https://ursy.com/wiki/ai-crawler/) such as [GPTBot](https://ursy.com/wiki/gptbot/), [OAI-SearchBot](https://ursy.com/wiki/oai-searchbot/), [ClaudeBot](https://ursy.com/wiki/claudebot/) and [PerplexityBot](https://ursy.com/wiki/perplexitybot/) collect pages in advance. [Live fetchers](https://ursy.com/wiki/live-fetcher/) such as [ChatGPT-User](https://ursy.com/wiki/chatgpt-user/) open a page the moment a person asks. OpenAI’s [crawler page](https://developers.openai.com/api/docs/bots) says that because those fetches are started by a user, robots.txt rules may not apply. A WAF rule still does. A challenged fetch returns no answer, so the assistant answers from somewhere else.

## Worked example: the blank stock box {#worked-example-the-blank-stock-box}

A bike shop challenges every visitor from outside the UK. Its product pages load live stock levels with a `fetch` call, and overseas customers see the stock box go blank. Cloudflare explains why: a challenge fails when the browser expects a non-HTML response, such as a fetch or XHR request. Its [detection page](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/detect-response/) says a challenge always comes back as `text/html`, and carries this header:

```
cf-mitigated: challenge
```

Cloudflare says `challenge` is the only valid value, so a script can test for it. The cleaner fix is a narrower rule that leaves the stock address alone. For protecting API calls, Cloudflare points to Turnstile pre-clearance instead. See [Cloudflare Turnstile](https://ursy.com/wiki/cloudflare-turnstile/).

## Where does a challenge fit? {#where-does-a-challenge-fit}

| Part of the site | Who reads it | Challenge? |
| --- | --- | --- |
| Product, category and guide pages | People, search crawlers, AI crawlers, [AI agents](https://ursy.com/wiki/ai-agent/) | Usually no |
| Login and account pages | People | Often yes |
| Checkout and contact forms | People, sometimes AI agents | Only if abused |
| Site search with endless filters | People, scrapers | Sometimes; see [faceted navigation](https://ursy.com/wiki/faceted-navigation/) |
| API, feeds, sitemaps, [llms.txt](https://ursy.com/wiki/llms-txt/) | Machines and API/MCP calls | No: use rate limits or keys |

This is our rule of thumb, not Cloudflare’s. Protect the doors that people use to sign in or pay, and leave the reading rooms open.

## Common mistakes {#common-mistakes}

- Challenging a whole country or the whole site, when only login, checkout or search needs it.
- Challenging API, feed or [sitemap](https://ursy.com/wiki/xml-sitemap/) addresses. Machines read those, and a challenge breaks them.
- Trusting the [user agent](https://ursy.com/wiki/user-agent/) alone. Anyone can call themselves Googlebot, so allow crawlers by verification, not by name.
- Leaving a temporary rule on after an attack. [Under Attack mode](https://ursy.com/wiki/under-attack-mode/) and emergency rules are meant to be switched off.
- Stacking challenges with other rules. Cloudflare warns this “may cause challenge loops”.
- Confusing a challenge with [rate limiting](https://ursy.com/wiki/rate-limiting/). Challenge Passage does not apply to rate limiting rules.

## How to check it {#how-to-check-it}

1. In the Cloudflare dashboard, open  **Security** , then  **Events** , and filter by the action “Managed Challenge” to see which rules fire and on whom. Do the same for [Bot Fight Mode](https://ursy.com/wiki/cloudflare-bot-fight-mode/) and [Super Bot Fight Mode](https://ursy.com/wiki/super-bot-fight-mode/), which act on [bots](https://ursy.com/wiki/bot-web-robot/) in a similar way.
2. Look for known crawler names among the challenged requests, then check they are real. [Verify an AI Bot](https://ursy.com/verify-ai-bot/) checks a visitor’s [IP address](https://ursy.com/wiki/ip-address/) against the company’s published lists. [Google](https://ursy.com/wiki/google/) explains how to [verify Googlebot](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot) with a [reverse DNS check](https://ursy.com/wiki/reverse-dns-bot-check/): the name must end in googlebot.com, google.com or googleusercontent.com, and a forward lookup must return the same address.
3. Fetch a page from outside and look for a `cf-mitigated` header. The [HTTP Header Checker](https://ursy.com/http-header-checker/) shows the headers and [status code](https://ursy.com/wiki/http-status-code/) you get back, and the [Edge Cache Checker](https://ursy.com/cache-checker/) shows whether the page came from the cache.
4. In [Google Search Console](https://ursy.com/wiki/google-search-console/), use [URL Inspection](https://ursy.com/wiki/url-inspection/)‘s live test on a challenged address. Google’s [help page](https://support.google.com/webmasters/answer/9012289?hl=en) says the live test fetches the page in real time and shows a screenshot, the HTML and the [HTTP headers](https://ursy.com/wiki/http-headers/). If Google sees a challenge page, the rule is catching Googlebot.
5. Check the page can be indexed at all with the [indexability checker](https://ursy.com/indexability-checker/), and see what a bot that does not run scripts gets with the [JavaScript SEO Checker](https://ursy.com/javascript-seo-checker/). See [JavaScript SEO](https://ursy.com/wiki/javascript-seo/).
6. Check what your [robots.txt](https://ursy.com/wiki/robots-txt/) lets in with the [AI Bot Checker](https://ursy.com/ai-bot-checker/) and the [Robots.txt Checker](https://ursy.com/robots-txt-checker/). A crawler you allow in robots.txt but challenge at the firewall is blocked in practice.
7. Read your [server logs](https://ursy.com/wiki/server-logs/) in your browser with the [AI Crawler Log Analyser](https://ursy.com/ai-crawler-log-analyzer/) to see which AI bots read what. See [log file analysis](https://ursy.com/wiki/log-file-analysis/).
8. Check machine doors such as APIs and agent files with [AI Agent Readiness](https://ursy.com/agent-readiness-checker/), and the whole picture with the [AI Readiness Checker](https://ursy.com/ai-readiness-checker/).
9. Limit challenges to the paths that need them, such as login or checkout, rather than the whole site.
10. Keep watching. In URSY Pro, opening in stages: the [bot verification log](https://ursy.com/pro/bot-verification-log/), the [fake bot detector](https://ursy.com/pro/fake-bot-detector/), the [bot rules manager](https://ursy.com/pro/bot-rules-manager/) and [pages AI never reads](https://ursy.com/pro/pages-ai-never-reads/).

All 56 live free tools are on our [tools](https://ursy.com/tools/) page. 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. Our guide [should I block AI crawlers?](https://ursy.com/guides/should-i-block-ai-crawlers/) helps you decide bot by bot.

## What URSY.com counts {#what-ursy-counts}

We sort every request into people, search engines, AI crawlers, AI agents and other machines, and check each named bot against its company’s published IP list: real, fake or unknown. Unknown is not fake. Our edge figures come from the [CDN](https://ursy.com/wiki/cdn/)’s own log, which lists every request, cached or not, with its status code, so machines that never reach your website still show up. Browser analytics cannot see them: see [why analytics numbers are low](https://ursy.com/wiki/why-analytics-numbers-are-low/) and our [methodology](https://ursy.com/methodology/).

## Questions {#questions}

### Does a managed challenge hurt SEO? {#does-a-managed-challenge-hurt-seo}

Not when it is aimed well. It hurts when it catches search crawlers. Test with [URL](https://ursy.com/wiki/url/) Inspection’s live test; if Google sees the challenge page, narrow the rule.

### Can AI crawlers pass a managed challenge? {#can-ai-crawlers-pass-a-managed-challenge}

Do not rely on it. A crawler is automated, which is what challenges look for. Let the crawlers you want in by verification, and challenge only what needs protecting.

### Is a managed challenge the same as a CAPTCHA? {#is-a-managed-challenge-the-same-as-a-captcha}

No. A CAPTCHA always asks the person to do something. A managed challenge only asks when Cloudflare’s checks find signs of automation, and most people pass without noticing.

### How long does a pass last? {#how-long-does-a-pass-last}

Cloudflare says the `cf_clearance` cookie lasts 30 minutes by default. You can change it under Challenge Passage in the security settings.

## Related words {#related-words}

- [CAPTCHA](https://ursy.com/wiki/captcha/)
- [Cloudflare Turnstile](https://ursy.com/wiki/cloudflare-turnstile/)
- [Under Attack mode](https://ursy.com/wiki/under-attack-mode/)
- [Web application firewall](https://ursy.com/wiki/web-application-firewall/)
- [Cloudflare Bot Fight Mode](https://ursy.com/wiki/cloudflare-bot-fight-mode/)
- [Verified bots](https://ursy.com/wiki/verified-bots/)
- [Bot score](https://ursy.com/wiki/bot-score/)
- [Block AI crawlers on Cloudflare](https://ursy.com/wiki/block-ai-crawlers-on-cloudflare/)
- [DDoS attack](https://ursy.com/wiki/ddos-attack/)

## Sources {#sources}

- [Cloudflare Docs: Challenge Pages](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/), checked 24 November 2026
- [Cloudflare Docs: Detect a Challenge Page response](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/detect-response/), checked 24 November 2026
- [Cloudflare Docs: Challenge Passage](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/), checked 24 November 2026
- [Cloudflare Docs: Actions](https://developers.cloudflare.com/ruleset-engine/rules-language/actions/), checked 24 November 2026
- [Cloudflare Docs: Verified bots](https://developers.cloudflare.com/bots/concepts/bot/verified-bots/), checked 24 November 2026
- [Google Search Central: Verifying Googlebot and other Google crawlers](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot), checked 24 November 2026
- [Search Console Help: URL Inspection tool](https://support.google.com/webmasters/answer/9012289?hl=en), checked 24 November 2026
- [OpenAI: Overview of OpenAI crawlers](https://developers.openai.com/api/docs/bots), checked 24 November 2026
- [URSY.com: How we count (methodology)](https://ursy.com/methodology/), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
