How to Stop Contact Form Spam: 7 Methods That Work

Most contact form spam comes from bots. You can stop most of it by combining three layers: a hidden honeypot field, an invisible CAPTCHA like Cloudflare Turnstile, and checks on your server. Add a spam filter and rate limits for the rest, and keep a way to review blocked messages so real customers never get lost.

Updated 26.11.2026 · 5 min read

Key points
  • Layer two or three methods. No single trick stops every type of spam.
  • Invisible checks like honeypots and Turnstile block bots without annoying real customers.
  • Validate on the server. Bots skip your browser-side rules entirely.
  • Never delete flagged messages automatically. Review them weekly for lost leads.

Why is your contact form getting spam?

Bots crawl the web looking for any form they can submit. They don't care what your business does. A plumber's site and a law firm's site get the same junk.

Most of it falls into two groups. Automated bots post links, fake offers or gibberish. Humans, often paid offshore, paste sales pitches for SEO, web design or lead lists.

Bots are easy to stop with technical checks. Human spam is harder, because a real person passes every test. You need different tactics for each, so it helps to know which one you're dealing with.

  • Bot spam: random names, strange links, repeated messages, odd characters, sent at all hours.
  • Human spam: polite, grammatical sales pitches, often from free email addresses.
  • Abuse spam: someone using your form to send messages to fake addresses, which can hurt your email reputation.

Method 1: Add a honeypot field

A honeypot is a form field that humans never see but bots fill in. If that field contains anything, the submission gets rejected. It's free, invisible and catches a lot of simple bots.

Hide the field with CSS, not with type="hidden". Many bots skip true hidden fields but happily fill visible-looking ones. Give it a believable name like "company_website".

Most form plugins offer this as a checkbox. WPForms, Gravity Forms, Ninja Forms and many others include a honeypot option. Contact Form 7 needs a small add-on.

  • Add aria-hidden="true" and tabindex="-1" so screen readers and keyboard users skip it.
  • Set autocomplete="off" so browser autofill doesn't fill it and block a real customer.
  • Don't label it "leave this blank." Smarter bots read labels.

Method 2: Use an invisible CAPTCHA like Turnstile or reCAPTCHA v3

Modern CAPTCHAs work in the background. They look at browser signals and decide whether the visitor is likely human. Most real visitors never see a puzzle.

Cloudflare Turnstile is free and privacy-friendly. You don't need to move your site to Cloudflare to use it. Google reCAPTCHA v3 gives each visitor a score from 0.0 to 1.0, and you choose the cutoff.

Avoid the old "click all the traffic lights" puzzles if you can. They frustrate customers, especially on phones. Some people simply give up and call a competitor instead.

  • Start reCAPTCHA v3 at a threshold around 0.5, then adjust based on what gets through.
  • Always verify the CAPTCHA token on your server. A widget that only runs in the browser is easy to skip.
  • Load the script only on pages with a form to keep the rest of your site fast.

Methods 3 and 4: Time checks and server-side validation

Method 3 is a time check. A real person needs time to read and type. A bot often submits within a second of loading the page.

Record when the form loaded and reject anything sent in under about three seconds. Store that time in a signed token, not a plain field a bot can edit.

Method 4 is real validation on your server. Browser rules like "required" are suggestions to a bot. It sends data straight to your form handler and ignores your page entirely.

  • Reject messages with more than one or two links. Customers rarely paste URLs.
  • Block submissions where the name field contains a link.
  • Check that the email address has a valid format and a real domain.
  • Require a phone number in a sensible format if you serve local customers.
  • Flag text written entirely in scripts your customers don't use.

Method 5: Run submissions through a spam filter

Spam filter services compare each message against patterns from millions of other sites. They catch what simple rules miss. Akismet and CleanTalk are common choices for WordPress.

Akismet is free for personal sites. Business sites need a paid plan, typically a few dollars a month. CleanTalk works on a low yearly subscription.

If you use a form service like Formspree, Netlify Forms or Jotform, spam filtering is usually built in. Check your settings to make sure it's switched on.

  • Send flagged messages to a separate folder instead of deleting them.
  • Review that folder once a week. False positives happen, and one missed quote request can cost more than a year of spam.
  • Add your own blocklist of phrases you keep seeing, like "SEO services" or "guest post."

Methods 6 and 7: Rate limits, firewalls and hiding your email

Method 6 is limiting how often one source can submit. If one IP address sends ten messages in a minute, that's not a customer. Most security plugins and Cloudflare's free plan can set this up.

If you only serve one country, you can also challenge traffic from elsewhere. Use a challenge, not a hard block. Travelers and customers on VPNs still need a way in.

Method 7 is hiding your email address. If it's printed in plain text on your page, bots harvest it and skip the form entirely. Show a contact form instead, or display the address as an image or protected link.

What setup fits your website platform?

The right mix depends on how your site is built. You rarely need all seven methods. Two or three good layers handle most small business sites.

On hosted builders, your options are limited but simpler. On WordPress or custom sites, you control more and carry more responsibility.

If configuring this feels like a weekend project you don't want, a finished site can come with protection already set up. Fittedsite, for example, builds done-for-you sites for a one-time $690 or $49/month, with spam protection included.

  • Wix and Squarespace: turn on the built-in spam protection or CAPTCHA in form settings. Hide your email address from pages.
  • WordPress: use a form plugin with a honeypot, add Turnstile or reCAPTCHA v3, and add Akismet or CleanTalk.
  • Custom or static sites: add a honeypot, a time check, Turnstile with server verification, and rate limiting.
  • Form services: enable their spam filter and add a honeypot if they support one.

Mistakes that let spam through or block real customers

The worst outcome isn't spam. It's a real customer whose message disappears without anyone noticing. Test every change from a phone and a different network.

Also check where legitimate messages land. If your form sends email without proper SPF and DKIM records, your own inbox may file real leads as spam.

  • Relying on browser-only checks that bots skip.
  • Using a puzzle CAPTCHA that blocks older customers or slow phones.
  • Auto-deleting anything flagged instead of quarantining it.
  • Leaving outdated form plugins installed. Old versions can be abused to send spam to others.
  • Setting filters so strict that messages with one link, like a photo upload link, get blocked.
  • Not offering a phone number as a backup if the form fails.
FAQ

Questions, answered.

Why am I suddenly getting so much contact form spam?

Your form was probably added to a bot's target list, often after your site got indexed or linked somewhere. Spam usually arrives in waves. Adding a honeypot and an invisible CAPTCHA typically stops the surge quickly.

Does reCAPTCHA stop all spam?

No. It stops many bots, but humans pasting sales pitches pass easily. Combine it with server-side checks and a spam filter for better coverage.

How do I stop human spam like SEO sales pitches?

Technical checks can't fully stop real people. Add a short note that you don't accept sales solicitations, use a keyword blocklist, and create inbox rules that sort common pitches into a folder.

Is it safe to block countries from my contact form?

It's usually safe to challenge them rather than block outright. Hard blocks can stop customers who travel or use VPNs. Watch your logs before tightening rules further.

Live preview · free · 10 seconds

Your new website is ten seconds away.

Type your business name, pick a style, and see exactly what your customers will see.

Money back if you don't love itLive in 48 hoursDomain & hosting included
your-business.com
    ✎ Tip: click any text in the preview to change it
    This website is ready for .Live in 48 hours · $690 once or $49/month · money back if you don't approve

    Sample text, numbers and reviews are placeholders – your site uses your real details and reviews.

    Claim 's website

    Pay now and we start today – or reserve and pay after you approve your final website.

    Secure payment by Stripe · cards, Apple Pay, Google Pay · full refund if you don't approve your final website.

    Love it
    or your
    money back

    Your website is reserved.

    We have everything we need to start. Watch your inbox – your final preview arrives within 24 hours.