Challenge Passage

Last updated May 5, 2026 When a visitor solves a Cloudflare Challenge - as part of a WAF custom rule or IP Access rule - you can set the Challenge Passage to prevent them from having to solve future Challenges for a specified period of time.

How it works

When a visitor successfully solves a challenge, Cloudflare sets a cf_clearance cookie in their browser. This cookie specifies the duration your website is accessible to that visitor.

When that visitor tries to access other parts of your website, Cloudflare evaluates the cookie before presenting another challenge. If the cookie is still valid, no challenges will be shown.

When Cloudflare evaluates a cf_clearance cookie, a few extra minutes are included to account for clock skew. For XmlHTTP requests, an extra hour is added to the validation time to prevent breaking XmlHTTP requests for pages that set short lifetimes.

Customize the Challenge Passage

By default, the cf_clearance cookie has a lifetime of 30 minutes. Cloudflare recommends a setting between 15 and 45 minutes.

To update the Challenge Passage (and the value of the cf_clearance cookie):

  1. In the Cloudflare dashboard, go to the Security Settings page. Go to Settings ↗
  2. Go to Challenge passage.
  3. Select the edit icon to set a timeout duration.

Limitations

The Challenge Passage does not apply to rate limiting rules.

Was this helpful?

YesNo

On this page

Challenge Passage - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/#page","headline":"Challenge Passage","description":"Set a time period during which visitors do not have to solve repeat challenges.","url":"https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/og.png?v=9c0ec14e3e17d5cd","dateModified":"2026-05-05","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Cookies"]}


description: Create WAF custom rules that issue challenge pages based on bot scores or rate limits. title: Implement a Challenge Page via WAF custom rules image: https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/create-custom-rule/og.png?v=aceb2d843fb69d93


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-challenges/llms.txt
Use this file to discover all available pages before exploring further.