Contact form spam: how to stop it without losing real inquiries

Last updated

The short answer

Most contact form spam is sent by programs that find forms on the web and fill them in automatically. Stop it with protections a visitor never sees first: a hidden decoy field (a "honeypot"), a minimum time before the form can be sent, checks on your server and a limit on how often one sender can write. Add a CAPTCHA only if spam still gets through, choose the kind that usually asks nothing of the visitor, and send yourself a test afterward to make sure real inquiries still arrive.

None of these stops a person typing a sales pitch by hand. For those, a spam filter that reads the message and marks it, rather than deleting it, is the safer tool.

Why bots fill in your form

"Spambots crawl the web looking for ways to share unsolicited content," as Squarespace's help center puts it (Squarespace Help Center). A contact form is one of those ways: it delivers a message straight to a business inbox, and a program only has to find the page. Nothing on your side has to change for the spam to start, and a small site is found the same way as a large one.

The messages fall into two groups, and they need different fixes.

What it costs you

Start with what visitors never see

These protections ask nothing of a real visitor. Most form plugins and form services offer some of them as settings; on a site built by hand, whoever built it can add them.

1. A honeypot field

A honeypot is an extra field that people can't see and simple bots fill in. W3C describes it as a form field "created to attract robots and then hidden from the user", and notes that several content management systems and WordPress plugins support it (W3C). Your server then throws away any message where the decoy is filled in. Make sure it can't catch a real person:

<p class="hp">
  <label for="hp">Leave this field blank</label>
  <input type="text" id="hp" name="hp" tabindex="-1" autocomplete="off">
</p>

/* In your stylesheet */
.hp { display: none; }

2. A minimum time before sending

A simple bot fills in a form and sends it as soon as the page loads; a person takes a while to type a message. The form records when the page was opened, and the server holds back anything sent faster than a person could have written it. Keep the limit to a few seconds, because a visitor whose browser fills in their name and email can still be quick, and put early messages in a review folder rather than deleting them.

3. Checks on your server

Anything the page checks, a program can skip. MDN puts it plainly: checks in the browser are "too easy to bypass", so the server must check every submission again (MDN). The honeypot and the time check only work if the server reads them. On the server, also reject a message with no valid email address or phone number, a name field that holds a web address, or a message that is nothing but links.

4. A limit on how often one sender can write

A real customer sends one message, maybe two. W3C lists limiting "the frequency of interaction" as one of the alternatives to a CAPTCHA (W3C). Ask your host, your form tool or whoever built the site to limit how many messages one connection can send in an hour, so a bot sending in bursts is cut off after the first few.

5. A spam filter that reads the message

Filters that score the text of a message are the one protection that also catches pitches typed by people. W3C calls them "very popular, and quite effective", and also says they get some messages wrong. So choose a setting that labels or files a suspected message, and look through that folder each week. The platform sections below say where each one keeps them.

When to add a CAPTCHA, and which kind

Add a CAPTCHA when the protections above are in place and spam still arrives, or when your form is hit in bursts. They come in four kinds, and they ask very different things of your visitors.

KindWhat the visitor doesExamples
Invisible scoreNothing. Your site gets a score from 0.0 (very likely a bot) to 1.0 (very likely a person) and decides what to do with it.Google reCAPTCHA v3
Invisible check, a checkbox only when unsureUsually nothing. A visitor who looks suspicious is asked to tick a box or solve a challenge.Cloudflare Turnstile (managed mode), reCAPTCHA v2 invisible
CheckboxTicks "I'm not a robot", and may be given a challenge after that.reCAPTCHA v2 checkbox
PuzzleTypes distorted letters, picks pictures, listens to audio or answers a question.Older text and image CAPTCHAs, quiz fields

Google says reCAPTCHA v3 "will never interrupt your users" (Google reCAPTCHA v3), and that its invisible v2 asks only the most suspicious visitors to solve a puzzle (Google reCAPTCHA). Cloudflare calls Turnstile a "smart CAPTCHA alternative": in its managed mode it decides whether to show a checkbox at all, based on how risky the visitor looks. It can be added to any website without sending the site's traffic through Cloudflare, and as of November 2026 Cloudflare lists a free plan for it (Cloudflare Turnstile, plans).

Puzzles shut some customers out. W3C's note on CAPTCHAs says the traditional kind is "obviously problematic for people who are blind", and that audio versions are "a poor choice for users with cognitive disabilities". It concludes that traditional CAPTCHAs are also "increasingly insecure" (W3C). A puzzle should be the last thing you try, not the first. More on forms that work for everyone is in making your site usable by everyone.

Whichever kind you choose, three rules keep real messages coming in:

WordPress, Shopify and Squarespace

What you can change depends on who runs the form. Each platform below was checked against its own help pages in November 2026.

WordPress

On WordPress the form plugin decides. Contact Form 7, for example, offers several protections, and its own documentation suggests using more than one together.

Shopify

Squarespace

Wix: Wix's help center didn't open for us when we checked this guide's sources on November 27, 2026, so we don't describe its settings here. Search its help center for "form spam", and use the four protections in start with what visitors never see as the list of what to look for.

A form service, or a site built by hand

If an outside form service handles your form, its dashboard and help pages say what it filters and where caught messages go. On a site built by hand, ask whoever built it to add the four protections in start with what visitors never see, all checked on the server.

What not to do

Check real inquiries still arrive

Every change to spam protection is a chance to block a customer. After each one:

  1. From a phone on mobile data, fill in the form the way a customer would, with a personal email address and a message you will recognize, such as "Test from Columbus, OH, 3:15". Check it reached your inbox and not the spam folder.
  2. Send one message that should be caught, and see where it ends up. With Akismet, Contact Form 7's documentation gives a test address, akismet-guaranteed-spam@example.com, that is always marked as spam.
  3. Fill in the form with a keyboard only, and with your phone's screen reader on. If you can't send it, some of your customers can't either.
  4. Look through the spam folder of your form tool or mailbox once a week for real messages.

If the test doesn't arrive at all, the problem is probably in how the form sends its email. Trace it step by step with contact form emails not arriving.

How the free scan checks it

The scan reads your pages from outside and never sends a form, so it can only see protection that shows in the page itself.

The sample report shows how each finding is laid out, with the evidence and the fix.

Checklist

Questions people ask

Why am I suddenly getting so much contact form spam?
Programs that look for forms across the web have found yours, and nothing on your side has to change for that to happen. Start with a hidden honeypot field and checks on your server, then add a CAPTCHA that usually asks nothing of the visitor if spam still gets through.
Does a CAPTCHA stop all form spam?
No. A CAPTCHA tests whether the sender is a program, so it doesn't stop a person typing a sales pitch by hand, and W3C notes that puzzles can be solved by people working for spammers. A filter that reads the message and marks likely spam is the tool for those.
Will a CAPTCHA cost me real inquiries?
A puzzle can, because some people can't solve it, including many who use a screen reader, and a strict setting can turn real visitors away without anyone noticing. Prefer a check that usually asks nothing of the visitor, send the messages it doubts to a review folder rather than the bin, and send yourself a test after every change.
Is a honeypot enough on its own?
It catches simple bots that fill in every field, but a program written for your form, or a person, leaves it empty. Pair it with checks on your server and a limit on how often one address can send, and add a spam filter or a CAPTCHA only if spam still gets through.

What the free scan checks for this

These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.

Sources

Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.

  1. W3C: Inaccessibility of CAPTCHA (Group Draft Note)
  2. Squarespace Help Center: Preventing form and newsletter block spam
  3. Gmail Help: Email sender guidelines
  4. MDN: The HTML autocomplete attribute
  5. MDN: Client-side form validation
  6. Google reCAPTCHA: reCAPTCHA v3
  7. Google reCAPTCHA: Choosing the type of reCAPTCHA
  8. Google reCAPTCHA: Frequently asked questions
  9. Cloudflare Turnstile documentation
  10. Cloudflare Turnstile: Plans
  11. Cloudflare Turnstile: Validate the token (server-side validation)
  12. WordPress.org: Akismet Anti-spam plugin
  13. Contact Form 7: Spam filtering with Akismet
  14. Contact Form 7: Cloudflare Turnstile integration
  15. Shopify Help Center: Setting up your online store preferences (spam protection)
  16. Shopify Help Center: Add a Contact Us page
  17. Squarespace Help Center: Adding Google reCAPTCHA to forms
  18. W3C WAI: Understanding Success Criterion 1.4.5 Images of Text

All 9 guides on trust and getting inquiries · All guides