Skip to content

WordPress forms + reCAPTCHA, hCaptcha, Turnstile — setup that works

reCAPTCHA, hCaptcha, and Cloudflare Turnstile each behave differently on WordPress forms. This is the setup and failure-mode guide for the three captchas, including when to pick which.

Adding a captcha to a WordPress form is a 90-second job that turns into a 90-minute job when the form silently rejects every submission, the captcha widget never renders, or the score threshold is wrong. The three serious options in 2026 are Google reCAPTCHA v3, hCaptcha, and Cloudflare Turnstile. Each has its own keys, its own integration model, and its own failure modes — and the same form plugin will misbehave differently depending on which one you pick.

What’s happening

reCAPTCHA v3 runs invisibly and returns a score from 0 to 1; submissions below the threshold are rejected silently. hCaptcha is a checkbox or invisible challenge that returns pass/fail. Cloudflare Turnstile is invisible, runs the challenge in the background, and returns a token verified server-side. All three require a site key in the form’s HTML and a secret key the WordPress server uses to verify with the captcha provider. Common failures: site key for the wrong domain (works on dev, fails on staging), secret leaked client-side, or the WordPress server cannot reach the verify endpoint due to a firewall.

How to verify

Test the verify endpoint from the WordPress host directly:

curl -v https://www.google.com/recaptcha/api/siteverify -d "secret=YOUR_SECRET&response=test"
curl -v https://hcaptcha.com/siteverify -d "secret=YOUR_SECRET&response=test"
curl -v https://challenges.cloudflare.com/turnstile/v0/siteverify -d "secret=YOUR_SECRET&response=test"
tail -f wp-content/debug.log

Each should return JSON. A connection timeout means the WordPress host’s outbound firewall is blocking — that has to be fixed first. In the browser, open the form and inspect the page source for the captcha script and the rendered widget.

The fix

  1. Pick the right captcha: Turnstile for marketing forms (invisible, fast, free, GDPR-friendly), hCaptcha if you must show a visible challenge for audit reasons, reCAPTCHA v3 only if you already have it deployed and threshold-tuned. Avoid reCAPTCHA v2 — it is the most user-hostile and the easiest for bots to solve at scale.
  2. Configure the right domain: at the captcha provider’s console, list every domain the form runs on, including www, staging, and dev subdomains. Wrong-domain keys produce a silent rendering failure with no JS error.
  3. Lower the reCAPTCHA v3 threshold: default 0.5 rejects legitimate visitors from VPNs, mobile carriers, and corporate networks. Start at 0.3 and tune up only after watching real submissions.
  4. Confirm outbound HTTPS: if the WordPress host blocks outbound to *.google.com, *.hcaptcha.com, or challenges.cloudflare.com, captcha verification fails. Allowlist these in the host firewall.
  5. Form plugin integration: each form plugin has a native captcha settings page. Use it instead of hand-coding the integration — the plugin handles the verify call and the failure message. WPForms, Fluent Forms, and Gravity Forms support all three providers natively.
  6. Test with a clean browser: incognito, no extensions, no VPN. Many ad blockers break captcha widgets. Test on a real mobile device too — captcha rendering on iOS Safari sometimes differs from desktop.

For WordPress sites where the captcha choice affects conversion rate on the primary contact form, layering captcha with honeypot and rate limiting is covered in our enterprise WordPress hosting scope. To pick the right captcha and tune thresholds without blocking real visitors, book a scoping call.