Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Security · Guide

How to Stop Contact Form Spam in WordPress

Short answer

To stop contact form spam in WordPress, turn on Akismet or your form plugin's built-in spam protection, then add a second layer such as reCAPTCHA, hCaptcha or Cloudflare Turnstile. A honeypot field catches simple bots for free, while Akismet checks each message against a shared spam database. Use two layers at once, because no single method catches everything.

Key takeaways

  • Akismet has blocked more than 574 billion spam messages since 2005, according to its live counter.
  • reCAPTCHA v3 scores each visitor from 0.0 (likely a bot) to 1.0 (likely a human), with 0.5 as the default threshold.
  • Cloudflare Turnstile is free for up to 20 widgets and shows most visitors no puzzle at all.
  • WPForms turns on modern anti-spam protection by default for new forms, with a 2-second minimum time to submit.
  • Gravity Forms combines a hidden honeypot field, a JavaScript hash and a submission-speed check in one feature.
  • Akismet holds flagged messages in your spam folder for 15 days before deleting them, so you can rescue real messages.

What causes contact form spam in WordPress?

Bots find public WordPress forms and submit junk messages to them at scale.

Most form spam comes from automated scripts, not people. A bot fills in every field, often with links to scam sites, and submits the form hundreds of times.

Akismet, the spam filter built by Automattic, says it checks comments, forms, reviews and sign-ups across its whole network, so spam caught on one site is blocked on the next (Akismet).

The scale is large. Akismet's live counter showed more than 574 billion pieces of spam blocked since 2005 when checked in November 2026 (Akismet). A form with no protection at all will usually start collecting spam within days of going live.

How does Akismet stop form spam?

Akismet checks each form submission against its shared database of known spam and blocks matches.

The Akismet plugin is free for personal blogs, with paid plans for commercial sites. Its Pro plan costs $9.95 per month when billed yearly and covers 500 monthly spam checks on one site, while the Business plan costs $49.95 per month for 5,000 checks and unlimited sites (Akismet).

The plugin version 5.7.2, released 19 August 2026, improved detection of automated spam submissions and fixed a Fluent Forms integration (WordPress.org). It holds a 4.7 out of 5 rating from 1,186 reviews on WordPress.org.

Akismet rarely blocks real messages, and anything it flags waits in your spam folder for 15 days before it is deleted (Akismet). Check that folder during your first week so you can rescue any real message that was caught by mistake.

Should you add a CAPTCHA to your form?

Yes, a CAPTCHA or a silent challenge is the most direct way to block bots at the form.

Google reCAPTCHA v3 runs in the background and returns a score from 0.0, very likely a bot, to 1.0, very likely a good interaction. Google suggests starting with a default threshold of 0.5 and adjusting it after you study your own scores (Google Developers).

ReCAPTCHA v2 shows the familiar “I'm not a robot” checkbox instead, and only the most suspicious traffic gets a puzzle with the invisible version (Google Developers). ReCAPTCHA v1 was shut down in March 2018, so any guide still telling you to use it is out of date.

The free Essentials tier covers up to 10,000 assessments per calendar month per organisation. Above that, the Premium tier charges a flat $8.00 for 10,001 to 100,000 assessments, then $1.00 per 1,000 (Google Cloud).

What is Cloudflare Turnstile and how is it different?

Turnstile is a free challenge tool that checks visitors with small background tests instead of a visible puzzle.

Turnstile runs a series of small non-interactive JavaScript challenges, including proof-of-work puzzles and checks for browser quirks and human behaviour (Cloudflare Developers). It does not read, store or send your visitors' form entries.

The free plan covers up to 20 widgets with unlimited challenges and 10 hostnames per widget, and it is WCAG 2.2 AA compliant (Cloudflare Developers). That makes it a good pick when you want protection without adding friction for real visitors.

One detail matters for setup. Each Turnstile token is a string of up to 2,048 characters, expires after 300 seconds, and can only be validated once (Cloudflare Developers). Your server must call the Siteverify endpoint to confirm the token, so use a form plugin that handles that step for you.

What is a honeypot field and does it work?

A honeypot is a hidden field that real visitors never see, so anything filled into it must come from a bot.

Honeypots work well against simple bots and cost nothing in visitor friction. WPForms describes its modern anti-spam protection as based on the honeypot technique with several layers, and it turns the option on by default for new forms (WPForms).

WPForms also blocks submissions made faster than a human could manage. Its minimum time to submit is on by default at 2 seconds, so a form sent sooner than that shows an error (WPForms).

Gravity Forms takes the same idea further with its Advanced Honeypot. It combines a hidden honeypot field, a JavaScript hash, state validation and an optional submission-speed check, plus link and URL detection in supported fields (Gravity Forms Docs).

How do you set up spam protection in WPForms?

Open your form in the WPForms builder and confirm the built-in anti-spam protection is on.

WPForms switches forms to its modern anti-spam protection automatically when you update to version 2.0.3 or higher (WPForms). The feature needs JavaScript enabled in the visitor's browser to work.

Then add one more layer from the four CAPTCHA options WPForms supports: reCAPTCHA, hCaptcha, Cloudflare Turnstile and Custom Captcha. The first three work with any version of WPForms, including WPForms Lite, while Custom Captcha needs a paid licence (WPForms).

WPForms also offers a country filter, a keyword filter, an email allowlist and denylist, and IP blocking. If you compare form plugins first, read our Contact Form 7 vs WPForms guide before you choose.

How do you stop spam in Contact Form 7?

Contact Form 7 has no built-in honeypot, so pair it with Akismet and a challenge tool.

Contact Form 7 protects forms with spam modules such as Akismet, reCAPTCHA and the disallowed list, and its own docs say deploying Turnstile or reCAPTCHA is a must for blocking automated attacks (Contact Form 7). Ideally, use Akismet together with one of them.

The same page warns that spam modules reduce risk but cannot remove it altogether. If spam still gets through, add a second challenge or a keyword filter rather than stacking three CAPTCHAs on one form.

If your form stops sending mail after you change its settings, see our guide to fixing a contact form that is not sending email.

Which spam tool should you pick?

Pick the mix that matches your form plugin and how much friction your visitors will accept.

ToolCost as of November 2026Visitor frictionBest for
AkismetFree for personal sites; Pro $9.95/monthNoneEvery WordPress form
reCAPTCHA v3Free up to 10,000 checks/monthNoneSites that want scoring
Cloudflare TurnstileFree, up to 20 widgetsAlmost noneLow-friction protection
hCaptcha Pro$99/month billed yearlyLow in passive modeSites that want risk scores
CleanTalkFrom $12/year for 1 siteNoneCheap no-CAPTCHA filtering

Akismet is the simplest first step because it works with most form plugins. Turnstile is the best second layer when you want no puzzle for visitors. hCaptcha Pro includes 100,000 evaluations a month and says fewer than 0.1% of real users see a challenge in its 99.9% passive mode (hCaptcha).

CleanTalk costs $12 per year for one site with unlimited anti-spam checks and no limits on API calls (CleanTalk). Almost 536,000 websites use CleanTalk anti-spam plugins, according to its pricing page.

How do you block spam by country, keyword or IP?

Use your form plugin's filters to block repeat patterns after the first layer is in place.

Start with the spam folder, not with a blocklist. Look for repeated phrases, links or sender domains in the messages that get through, then add those words to your keyword filter. WPForms supports a keyword filter, a country filter and an email denylist for this job (WPForms).

Block an IP only when the same address sends spam again and again. Shared networks and VPNs mean one IP can belong to many people, so a broad IP block can lock out real visitors. A keyword or country filter is safer for most sites.

Gravity Forms also notes that no single method can catch all spam, so it advises using several solutions at the same time (Gravity Forms Docs). That advice matches how every tool on this page is built to be used.

How do you check whether your spam protection works?

Watch the spam folder for one week and count what gets through.

A working setup shows two signs: the spam folder fills up instead of your inbox, and real messages still arrive. If real messages land in spam, loosen the strictest layer first, usually the CAPTCHA threshold or the keyword list.

Submit the form yourself as a visitor would, including on a phone. A honeypot or speed check that needs JavaScript can break a form for visitors with scripts blocked, so confirm a real submission reaches your inbox.

If spam drops to near zero for a month, leave the settings alone. Changing a working setup to chase the last few messages usually adds friction for real visitors instead.

What mistakes should you avoid?

Avoid stacking three CAPTCHAs on one form, because each one adds friction and load time.

Do not rely on a single layer. Akismet alone misses some bots, and a CAPTCHA alone misses human spam. The Gravity Forms docs say its Advanced Honeypot is one layer among several, not a complete answer on its own (Gravity Forms Docs).

Do not delete the spam folder without checking it. Akismet keeps flagged items for 15 days, which gives you time to spot a real message (Akismet).

Keep your form plugin and Akismet updated. The Akismet 5.7 release in April 2026 added support for checking stats and comments through the Abilities API and improved automated spam detection (WordPress.org).

Out-of-date spam tools miss new bot patterns, so check for updates when you review your spam folder each month. If you want a wider safety net, read our guide to setting up the Wordfence firewall.

Frequently asked questions

Does Akismet slow down my contact form?

Akismet checks each submission against its spam database in the background, so visitors see no puzzle and no delay. The check happens on the server side, and the plugin's own page says visitors never have to solve a CAPTCHA. Keep the plugin updated so the check stays fast.

Is reCAPTCHA v3 better than v2 for WordPress forms?

ReCAPTCHA v3 is better for most forms because it scores visitors silently and never interrupts them. Version 2 shows a checkbox and sometimes a puzzle, which adds friction. Use v3 when your form plugin supports it, and use v2 only when you need a visible challenge for high-risk forms.

Can I stop form spam without a CAPTCHA?

Yes. Akismet plus a honeypot field stops most automated spam with no puzzle for visitors. WPForms and Gravity Forms both include honeypot protection, and CleanTalk filters spam without any CAPTCHA. Add Turnstile if spam still gets through, since it shows most visitors no challenge at all.

Why is my own test message going to spam?

Your message may match a keyword filter, fail the minimum-time check, or look like spam to Akismet. Submit the form slowly, with a normal message and no links, then check the spam folder. If it lands there, loosen the strictest layer and test again before changing anything else.

Do I need a paid plan to stop form spam?

No. Personal sites can use Akismet free, Turnstile free, and the honeypot protection built into WPForms Lite or Gravity Forms. Paid plans add more checks, priority support, or extra features. Start free, measure what gets through for a week, and pay only if the free layers leave a gap.

Sources

  1. Akismet Automattic
  2. reCAPTCHA v3 Google Developers
  3. Compare reCAPTCHA tiers Google Cloud
  4. Turnstile Cloudflare Developers
  5. How to Prevent Spam in WPForms WPForms
  6. The Advanced Honeypot Gravity Forms Docs
  7. Akismet Anti-Spam WordPress.org
  8. Contact Form 7 configuration errors Contact Form 7

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test