Security 5 min read

Stopping form spam without annoying real customers

How to stop contact form spam on WordPress without hurting real users: honeypots, time checks, Cloudflare Turnstile, reCAPTCHA, Akismet, content filters and blocking.

Usman Muhammad UsmanUpdated October 13, 2026
Stopping form spam without annoying real customers

Contact form spam fills inboxes, hides real enquiries and wastes time. The instinct is to add the hardest CAPTCHA you can find, but puzzles frustrate genuine customers and cost you leads. The better approach is layered: invisible checks first, then stronger measures only if needed. This is how I protect forms on client sites.

Why forms get spam

Bots scan the web for forms and submit them automatically with advertising, phishing links or junk text. Some spam is sent by humans paid to submit forms. Forms on popular pages, forms with no protection and forms that send copies to the submitter are common targets.

Spam is mostly an annoyance, but it can also be a security risk if forms are used to send phishing emails or upload malicious files.

Start with a honeypot

A honeypot is a hidden field that real visitors cannot see but bots fill in. If the field contains a value, the submission is rejected silently. Most form plugins, including WPForms, Gravity Forms, Fluent Forms and Contact Form 7 add-ons, include honeypot options.

Honeypots are invisible to real users and stop a large share of basic bots. Enable them on every form.

Layered spam protection
  1. 1HoneypotInvisible to people
  2. 2Time checkReject instant submits
  3. 3TurnstileBackground verification
  4. 4FilteringAkismet, keywords
  5. 5FirewallRate limits, challenges

Add a time check

Bots usually submit forms instantly, while people take time to read and type. A time check rejects submissions sent within a few seconds of the page loading. Some form plugins include this, and it works well alongside a honeypot.

Make sure caching does not interfere with time-based checks; test after enabling.

Cloudflare Turnstile

Turnstile is a CAPTCHA alternative from Cloudflare that verifies visitors mostly in the background, without puzzles or image selection. It is free, privacy-friendly and supported by many form plugins. Most visitors never see a challenge.

It is my usual choice when honeypots and time checks are not enough.

Google reCAPTCHA v3

reCAPTCHA v3 scores each visit based on behaviour and lets you reject low-score submissions without showing a challenge. It works invisibly but sends data to Google, which should be mentioned in your privacy policy and may require consent in some regions.

reCAPTCHA v2’s checkbox and image puzzles are more visible and more frustrating. Use them only as a last resort.

Akismet and spam filtering services

Akismet, from Automattic, checks submissions against a large database of known spam and flags or blocks them. It integrates with many form plugins and WordPress comments. It is free for personal sites and paid for commercial use.

Spam filtering catches human-submitted spam that CAPTCHAs miss. Review flagged entries occasionally to make sure genuine enquiries are not caught.

Content and keyword filters

Block submissions containing too many links, known spam phrases, certain characters or messages in unexpected languages. Many form plugins allow keyword blocklists. Be careful not to block legitimate messages, such as customers who include a link to their website.

Use filters to flag rather than block when unsure, and review the results.

Do not email submitters automatically

Forms that send a copy of the message to the address entered can be abused to send spam to third parties through your server. Send confirmation emails only after validation, keep them short and do not include the submitted message.

This also protects your domain’s email reputation. See fixing WordPress email with SMTP.

Secure file uploads

If forms allow file uploads, restrict allowed file types, limit sizes, store uploads outside public folders where possible and scan them for malware. Unrestricted uploads can be used to place malicious files on your server.

Only enable uploads where they are genuinely needed, such as job applications or quote requests with photos.

Block at the firewall

Persistent spam from specific countries, IP ranges or bots can be blocked or challenged at the firewall, before reaching WordPress. Cloudflare rules can challenge form submissions from suspicious traffic. Rate limiting stops repeated submissions.

See do you need a WAF.

Comments and registrations

If your site has comments, use Akismet, disable comments on old posts or turn comments off entirely if you do not use them. Disable public registration if not needed, as bot registrations are a common spam source.

See WordPress user roles for registration settings.

Spam and email deliverability

Large volumes of spam submissions can harm your email reputation if notifications are forwarded or auto-replies are sent to fake addresses. Bounces and complaints tell mailbox providers your domain sends unwanted mail, which can push legitimate messages into spam folders.

Store entries in the database, filter before sending notifications and authenticate your domain with SPF, DKIM and DMARC. See SPF, DKIM and DMARC. Clean protection keeps both your inbox and your sender reputation healthy.

Test and monitor

After adding protection, submit test entries from different devices to make sure real people can still contact you. Check spam folders and flagged entries weekly at first. Track the number of genuine enquiries; a sudden drop may mean protection is too strict.

Form protection is part of every site I build through my WordPress development service. See WordPress contact form setup for the full setup.

Key takeaways

  • Start with invisible protection: honeypots and time checks.
  • Add Cloudflare Turnstile or reCAPTCHA v3 if spam continues.
  • Use filtering services for human-submitted spam.
  • Test regularly so protection never blocks real customers.

Frequently asked questions

What is the best way to stop form spam?

Layered protection: honeypot, time check, then Turnstile or reCAPTCHA v3 if needed.

Is reCAPTCHA bad for privacy?

It sends data to Google. Mention it in your privacy policy and consider Turnstile.

Why am I still getting spam with CAPTCHA?

Some spam is submitted by humans. Add filtering such as Akismet.

Do CAPTCHAs reduce conversions?

Visible puzzles can. Invisible options have little impact.

Should I block countries?

Only if you never receive genuine enquiries from them, and preferably challenge rather than block.

Can spam harm my website?

Mostly it is a nuisance, but file uploads and email abuse can be security risks.

Do honeypots work with caching?

Yes. Honeypot fields are static and work with cached pages. Time-based checks may need testing with your caching setup.

Free website audit

Get a free audit of your website

Tell me your URL and I'll send a short, prioritized list of the speed, SEO and security fixes that will make the biggest difference.

  • No obligation, no sales call
  • 5.0 rating on Google and Upwork
  • Reply within one business day
Written by Muhammad UsmanWeb Development Team Lead with 5+ years building WordPress, WooCommerce, Shopify and Wix websites. Experience · Certificates About me

More on Security

All Security articles

Have a project in mind?

Tell me what you're building and I'll reply with next steps and an estimate.