← Glossary

What Is a CAPTCHA?

A CAPTCHA is a challenge-response check that estimates whether a request comes from a person using a browser rather than from automated software. This article explains how tokens are issued and verified, the difference between interactive puzzles and background scoring, why real users can fail, accessibility concerns, and how CAPTCHA differs from authentication and bot detection.

Updated:

A CAPTCHA is a challenge-response check that a website places in front of an action such as signing up, posting a comment or submitting an order, to estimate whether the request comes from a person operating a browser rather than from software acting on its own. The acronym expands to Completely Automated Public Turing test to tell Computers and Humans Apart. The classic form was an image of distorted characters that a person typed back. Current CAPTCHA services still offer puzzles, but many of them first try to reach a decision from background signals and reserve the visible challenge for requests they cannot classify. Many hosted services return a short-lived token for server verification. Other implementations manage challenges themselves; neither approach establishes who the visitor is.

How CAPTCHA Challenges Are Evaluated

Hosted services such as reCAPTCHA and the CAPTCHA alternative Turnstile commonly use a two-step pattern. A script from the CAPTCHA provider runs in the page, observes the environment and, when the visitor triggers the protected action, produces a token. The token travels with the form submission. The site's backend then forwards it to the provider's verification endpoint together with a secret key that stays on the server and is not exposed to the browser. The provider answers with a small JSON object: whether the check succeeded, when the challenge was completed, the hostname on which the widget was served and, depending on the product, an action label or a score.

Two properties of the token matter. It is short-lived: Google's reCAPTCHA documentation gives a validity of two minutes, and Cloudflare's Turnstile documentation gives 300 seconds. It is also single-use, so a token that has already been verified is rejected on a second attempt with an error indicating timeout or duplicate. Both rules exist to stop replay, where one legitimate token is captured and reused for many submissions. The server-side verification is the actual control. The visible widget by itself protects nothing, which is why both providers describe backend validation as mandatory.

Interactive and Background Checks

CAPTCHA challenges fall into two families, and one deployment may use both.

Interactive challenges

These ask the visitor to do something: type distorted characters, select the tiles containing a traffic light, transcribe an audio clip, drag a slider, or tick a checkbox. The checkbox looks trivial but is usually paired with background analysis. A service may combine the interaction with timing and browser signals, then request more evidence when confidence is low. The precise signals and thresholds differ by provider. Cloudflare's managed mode works this way: the widget decides whether to show a checkbox based on the risk level assigned to the visitor.

Background checks

Non-interactive checks run without asking the person to do anything. reCAPTCHA v3 returns a score between 0.0 and 1.0, where 1.0 indicates a very likely legitimate interaction and 0.0 a very likely bot, and it does not interrupt the visitor. The site chooses a threshold per action, with 0.5 suggested as a starting point, and decides what happens below it: allow but log, request a second factor, route to manual review, or block. Turnstile's non-interactive and invisible modes rely on client-side work such as proof-of-work, tuned per request, so that no puzzle is presented. The trade-off is that background checks make decisions from signals the visitor cannot see or correct. Google's documentation notes that scores shift as the system learns from real traffic on a site, which is why it recommends observing results before enforcing them.

Why Real Users Fail CAPTCHA Checks

Human verification through a CAPTCHA is a probabilistic classification, and classifications have false positives. A person is more likely to be challenged repeatedly, or to fail outright, when their environment resembles automation. Possible causes include shared-network reputation, blocked verification scripts, unsupported browsers or an integration problem. A privacy extension can prevent a required script from running without the visitor doing anything automated. Puzzle failures also happen for mundane reasons: ambiguous images, a token that expired while the form sat open, or a page that submitted the same token twice. These failures do not prove that the visitor is malicious; some are simply technical errors rather than negative risk judgments.

CAPTCHA Accessibility

CAPTCHA accessibility is a long-standing problem documented by the W3C in its note on the inaccessibility of CAPTCHA. Character images cannot be read by a screen reader, so a blind user is blocked unless an alternative exists. Distorted or crowded text is hard for people with low vision or with cognitive and learning disabilities. Audio alternatives bring their own barriers, including poor replay controls, background noise and heavy cognitive load, and they exclude deaf-blind users. Logic puzzles and language-dependent tasks exclude people with language or learning disabilities and many non-English speakers.

The note's position is that non-interactive approaches are preferable because they impose no task on the person, with the caveat that they may collect personal data. Where an interactive CAPTCHA is used, several alternative challenge modalities should be available so that a person can choose one they are able to complete. Some providers publish conformance claims; Cloudflare states that Turnstile is WCAG 2.2 AA compliant. Such a claim covers the widget, not the way a site wires it into a form, so the whole flow still needs testing with assistive technology.

CAPTCHA, Authentication and Bot Detection

CAPTCHA vs authentication is a distinction worth keeping sharp. Authentication verifies a claimed identity: a password, a passkey or a one-time code ties the session to a specific account. A CAPTCHA makes no claim about which person is present. It estimates whether a person is present at all, for one request at a time. Passing it does not prove age, name, location or account ownership, and it does not replace login. The two are often combined: a login form may show a CAPTCHA after several failed attempts to slow credential stuffing, then authenticate as usual.

Bot detection is the broader discipline of classifying traffic from network, browser and behavioural signals. A CAPTCHA challenge is one possible response when that classification is uncertain and the action is sensitive. A site may allow low-risk traffic directly, reserve a challenge for an uncertain case, and apply rate limits or further checks to the protected action. Showing more puzzles does not by itself establish better detection.

Common Uses and Limitations

CAPTCHAs are placed where automated volume causes harm or cost: account registration, comment and review forms, contact forms, password reset, ticket and checkout flows, and endpoints exposed to browsers. They raise the cost of automation rather than ending it. The W3C note documents limitations of image, logic and audio tasks, including automated solving and outsourcing to human solvers. A historical success rate for one challenge should not be treated as the current performance of every product. A challenge that is cheap to defeat but costly for a legitimate visitor is a poor trade.

Other limits follow from the architecture. The provider's script runs on the page and may collect browser and behaviour data, so the operator needs to understand its data handling alongside the rest of the form. Scores are opaque, so a blocked visitor has no way to know what to change. And the check is bound to the moment of the request; it says nothing about what the same client does afterward. A CAPTCHA is one layer in a response policy, useful for uncertain traffic at sensitive points, and least useful when treated as proof of anything about the person behind the browser.

Frequently asked questions

Does passing a CAPTCHA prove identity?

No. A CAPTCHA estimates that a person, rather than automated software, performed one request. It does not establish which person, their age, their location or whether they own an account. Identity claims are handled by authentication and separate verification processes, which a CAPTCHA can precede but not replace.

Why can real users fail a CAPTCHA?

A failed check can reflect blocked verification scripts, an unsupported browser, shared-network reputation or an integration error. Tokens can also expire or be submitted twice. None of those outcomes proves malicious intent, and the visitor may need an accessible alternative or support route rather than another identical puzzle.

Can a CAPTCHA affect accessibility?

Yes. Character images are unreadable by screen readers, audio versions are hard to follow and exclude deaf-blind users, and logic puzzles exclude people with cognitive or language disabilities. The W3C recommends non-interactive approaches where possible and alternative modalities whenever an interactive challenge is used.

Does an invisible CAPTCHA collect less data than a puzzle?

Not necessarily. Background checks reach a decision from browser, timing and behaviour signals gathered by the provider's script, and some also run proof-of-work in the page. The W3C note welcomes non-interactive checks for accessibility while warning that they may expose personal data to the provider.

Can a CAPTCHA token be reused for several submissions?

In reCAPTCHA and Turnstile, a token is verified once and expires after a short period: two and five minutes respectively in the checked documentation. Those are provider-specific rules, not a definition of every CAPTCHA. The site should obtain a fresh token when needed and verify it on the server.