Home / Insights / Article

All insights

Website fixes

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

Bots, sales pitches and fake leads using real people's details. Here's why contact forms attract spam, the quiet fixes that work, and how to roll them out without turning away a single real customer.

In short: contact form spam is best stopped with several quiet layers, not one big wall. Add a hidden honeypot field, reject forms sent impossibly fast, check every submission again on the server, limit how often one source can send, and use a visible challenge only as a last resort. Then test the form from a phone and watch your spam folder for a few weeks, because the goal is fewer junk messages and no lost customers.

If your website has a contact form, you've probably seen it: SEO offers, crypto links, messages in languages you don't speak, and lately, enquiries that look real but aren't. Small business owners describe forms filling up with fake leads that use real people's names, emails and phone numbers, and spam that keeps arriving even after a captcha was added. When half your enquiries are junk, it's easy to miss the one that mattered, or to over-correct and block real customers. This guide explains why form spam happens, which fixes work, and how to roll them out without hurting your conversion rate.

Why contact forms attract spam

A contact form is a public box that accepts text and sends it to your inbox. That makes it useful to three kinds of sender:

  • Bots that crawl the web looking for forms and submit the same message to thousands of sites. They are cheap to run and don't care whether you reply.
  • Human spammers and low-paid click farms, who fill forms by hand to sell services. Because a person is typing, simple bot checks often miss them.
  • Abusers who use your form against someone else. If your form sends an automatic reply to whatever email is entered, attackers can type a victim's address and use your website to flood their inbox. This is one reason fake enquiries sometimes carry real people's details: the “sender” never filled in your form at all.

Spam isn't usually a sign your site has been hacked. But if you also see pages you didn't create or strange redirects, read our guide on what to do if your website is hacked, because that is a different and more urgent problem.

Match the fix to the spam you're getting

Before changing anything, look at the last 20 or 30 junk messages. The pattern tells you which layer to add first.

What you seeLikely sourceFix that usually helps most
Gibberish, links, the same text again and again, often at odd hoursSimple botsHoneypot field and a time check
Bursts of dozens of messages in a few minutesA bot hammering the formRate limiting on the server
Well-written sales pitches (SEO, design, “guest posts”)People typing by handClear form wording, filters and a separate address for suppliers
Enquiries with real-looking names and numbers that deny contacting youForm abuse with someone else's detailsRemove or limit auto-replies; server checks; rate limits
Spam continues after adding a captchaThe form can be sent without loading the pageValidate on the server, not just in the browser
Real customers say they sent a message you never receivedYour fix is too strict, or email delivery is failingTest the form; check filters and email settings

The layers that work (and what each one stops)

No single method stops everything. The approach that works for most small business sites is to stack a few low-friction checks, so bots fail several of them while real visitors don't notice any.

1. A honeypot field

A honeypot is an extra form field hidden from people but visible to bots in the page code. Humans leave it empty because they never see it; many bots fill in every field they find. If the hidden field has a value, the submission is quietly dropped. It costs visitors nothing, which is why it's the first layer we add. It should be hidden with CSS rather than removed, be skipped by keyboard and screen reader users, and have browser autofill turned off so a real person's browser doesn't fill it by accident.

2. A time check

People take a while to read a page and type a message; bots often submit within a second of loading it. Recording when the form was loaded and rejecting anything sent in the first few seconds stops a lot of automated spam. Keep the limit short, because some people paste a prepared message, and browsers that restore a page can make timings look odd.

3. Server-side validation

This is the layer most often missing, and the reason spam can continue after a captcha is added. Checks that run only in the visitor's browser (required fields, email format, the captcha itself) can be skipped by a bot that sends data straight to the address the form posts to, without ever loading your page. Browser checks improve the experience, but the real decision has to be made on the server. On the server, check that required fields are present, the email is a valid format, the message isn't empty or absurdly long, the honeypot is empty and any challenge token is genuine.

4. Rate limiting

Rate limiting caps how many submissions one source can send in a period, for example a handful per hour from the same connection. A real customer rarely sends more than one or two messages; a bot sends hundreds. This stops floods and limits the damage if your form is being used to send messages to other people. Many hosts and security services can do this before requests reach your site.

5. An invisible or visible challenge, only if needed

Challenge tools score each visitor in the background and only ask a question when something looks automated. They can help when the first four layers aren't enough. Puzzle captchas that make everyone pick traffic lights are a different matter: they add friction on phones, can be hard or impossible for disabled visitors, and humans paid to spam solve them anyway. The W3C has published a long note on the inaccessibility of CAPTCHA explaining why. If you use a challenge, prefer one that stays invisible for most people, and make sure the form still works and tells the visitor clearly if the check fails.

6. Content filters, used gently

Filters can flag messages with lots of links, certain phrases, or text in a script your customers don't use. Use them to move messages into a “review” folder, not to delete them, because strict filters catch real enquiries. A rule that rejects any message containing a link or a phone number, for example, will block customers who paste a photo link or their mobile number.

Step-by-step: cleaning up a spammy form

  1. Test the form as a customer. From a phone on mobile data, send a real enquiry. Check that a thank-you message appears and the email arrives in the right inbox, not spam. If it doesn't, fix delivery first; our guide to getting visitors but no enquiries covers the email settings that cause lost messages.
  2. Save examples of the spam. Note the time, the fields used and any pattern. This tells you which layer to add and lets you check later that it worked.
  3. Turn off or limit auto-replies. If your form emails the visitor a copy of their message, stop including their text, or send no auto-reply at all. Otherwise spammers can use your site to deliver their content to anyone.
  4. Add a honeypot and a time check. These two remove much of the bot traffic with no change for real visitors.
  5. Move every check to the server. Make sure the code that receives the form repeats the checks, so a bot can't skip them by posting directly.
  6. Add rate limiting. Set a sensible cap per source and per hour, at your host or security service if possible.
  7. Review for two to four weeks. Count spam that gets through and, more importantly, ask whether any customer has said they couldn't reach you.
  8. Only then consider a challenge. If spam is still a problem, add an invisible challenge, keep the other layers, and test again from a phone.

Fixes that lose real customers

Some popular fixes cut spam by cutting enquiries too. Watch for these:

  • Puzzles on every visit. Every extra step on a phone loses some people, and some disabled visitors can't complete them at all.
  • Silent failures. If a check rejects a message, the visitor should see a clear error and another way to reach you, such as your email address or phone number. A form that pretends to send but drops the message is worse than spam.
  • Blocking whole countries. It can reduce spam, but it also blocks customers who are travelling, using a VPN, or buying from abroad.
  • Over-strict email checks. Rejecting free email addresses or unusual domains turns away real small customers.
  • Long forms to “filter” people. Extra required fields put off real visitors more than bots. Ask only for what you need to reply.
  • Removing the form entirely. A plain email address on the page gets harvested and spammed too, and you lose the structure a form gives you.

What to do about fake enquiries with real details

The most confusing kind of spam is the enquiry that looks real: a plausible name, a working phone number, sometimes a real company. When you call, the person has no idea what you mean. Usually their details were taken from somewhere else and entered by a bot or a spammer, sometimes to test whether the form works, sometimes to abuse an auto-reply.

  • Don't argue with the person whose details were used; they're usually a victim too.
  • Check whether your form sends anything to the email entered. If it does, limit or remove it.
  • Look at timing and volume. Real enquiries arrive at normal speed; fake ones often come in clusters.
  • Add rate limiting and server checks if you haven't already.
  • If you add enquiries to a mailing list, only do it after the person confirms by email (double opt-in), so a fake entry never becomes a subscriber.

A worked example

Here's how the steps fit together for a typical local service business. This is an illustration, not a client case study. A plumber's site has a quote form that emails the owner and sends the visitor an automatic copy of their message. Junk starts to arrive overnight in bursts, with links in every message, and a few enquiries come from people who say they never contacted the business.

The pattern points to bots, plus abuse of the auto-reply. The fix: stop copying the visitor's message into the auto-reply, add a honeypot and a short time check, repeat all checks on the server, and cap submissions per source. After two weeks the owner reviews the spam folder, confirms test enquiries still arrive on a phone, and decides a challenge isn't needed. Nothing changed for real customers, which is the point.

Contact form spam checklist

CheckDone?
Test enquiry from a phone arrives in the right inbox☐
Auto-reply doesn't repeat the visitor's message (or is off)☐
Hidden honeypot field, skipped by keyboard and screen readers☐
Submissions in the first few seconds rejected☐
All checks repeated on the server☐
Rate limit per source in place☐
Filters move suspect messages to review instead of deleting them☐
Clear error message and another way to contact you if a check fails☐
Form asks only for what you need to reply☐
Spam folder reviewed weekly for the first month☐

Form checks are part of routine upkeep, alongside updates and backups. Our guide to website care plans explains what ongoing maintenance should cover, and the small business website checklist covers the rest of the basics.

FAQ

Why am I getting so much spam through my contact form?

Bots crawl the web looking for forms and submit messages to thousands of sites automatically, and people paid to send sales pitches fill forms by hand. If your form only checks entries in the visitor's browser, bots can skip those checks by sending data straight to the server.

Do I need a captcha to stop form spam?

Usually not as the first step. A hidden honeypot field, a time check, server-side validation and rate limiting stop much of the spam with no extra effort for visitors. If spam continues, add a challenge that stays invisible for most people rather than a puzzle everyone must solve.

Why is spam still getting through after I added a captcha?

Often because the captcha is only checked in the browser, so bots send the form data directly to the server without loading the page. The server must check the captcha result itself. Some spam is also sent by people, who can solve captchas.

Why am I getting fake enquiries with real people's names and numbers?

Bots and spammers often use details taken from elsewhere, sometimes to test the form or to abuse an automatic reply that sends a copy to the email entered. Limit or remove auto-replies, add server checks and rate limiting, and only add people to mailing lists after they confirm by email.

Can anti-spam tools block real customers?

Yes. Strict filters, country blocks, puzzle captchas and rules that reject links or phone numbers can all stop genuine enquiries. Test the form from a phone after every change, show a clear error if a check fails, and keep your email or phone number visible as a backup.

Is contact form spam a sign my website has been hacked?

Not usually. Spam through a form means people or bots are using the form as intended. Signs of a hack are different: pages you didn't create, redirects to other sites, or a security warning in Google or your browser.

Next step

If your form is drowning in junk, or you're not sure real enquiries are getting through, it's worth fixing properly rather than adding another plugin. Aurel Digital builds fast, hand-coded small business websites and landing pages with forms that use quiet spam protection and are tested on real phones. You own the domain, hosting and code, and sites start from $300 with a fixed quote.

Want a second opinion? Send us your web address or email James at james@aureldigitals.com with a few examples of the spam you're getting, and we'll tell you honestly what we'd change.

Related: Getting visitors but no enquiries?, Website hacked? What to do first, Is a website care plan worth it?, ADA website compliance for small businesses, Truck dispatch website design

About the author: James is the founder of Aurel Digital, a remote studio founded in 2026 that builds websites, stores and apps for brands, nonprofits and service businesses. More about James and Aurel Digital.

Work Contact Call