How to Stop WordPress Form Spam

Tired of getting spam submissions on your WordPress forms?

Most of these spam is submitted by spambots. In this article, we will tell you how to stop bots from reaching your WordPress website and your form.

Honeypot: Built-in spam protection

You actually don’t have to do anything, Ninja Forms (even the free version) already comes with a honeypot. Just like a real honeypot would catch flies, this honeypot will catch the spam submissions.

How? It’s an invisible field that’s present in all of your forms, and isn’t supposed to be filled. If it is filled, the submission will fail. A spambot wouldn’t know this, it will fill all of the fields on the page, so that a submission created by a bot would fail.

If spam is still coming through your WordPress form..

The built-in honeypot should be enough to protect your forms from spam bots, but if it isn’t, then you can try some of the tips below.

Akismet anti-spam plugin

If you’ve been in the WordPress space for a while now, you definitely have heard or even used the Akismet Anti-Spam plugin. It’s a popular anti-spam plugin from Automattic that checks your comments and form submissions for spam.

Once you install and activate the plugin, it will protect your site from spam comments. But if you want to activate Akismet for one specific form, you can! Read this documentation to learn how to set up Akismet on your forms.

Anti-spam field

Another way to stop spam comments is by adding an additional field that can only be answered by a person. In Ninja Forms, we have a field that’s built for this, called the Anti-Spam field.

You can find the Anti-Spam field under the Miscellaneous Fields.

anti spam field in Ninja Forms
After adding the field to your form, you’ll get to enter a question and a corresponding answer. Make sure the question is easy to understand, as the person who submits the form must answer it exactly as your answer key.

question and answer fields in anti-spam
Note: This field is case sensitive, so we recommend using a simple math question like ‘2+2=?’. It will be complex enough for the bot to answer, but easy enough for a human.

Google reCAPTCHA

Do you prefer using Google Recaptcha? You can use it with Ninja Forms, but we recommend against it unless it’s necessary.

To set up your Google reCAPTCHA on Ninja Forms, see this documentation.

Other popular anti-spam WordPress plugins

If your form still receives spam comments and submissions, here are some popular anti-spam plugins that can protect your whole site from spambots:

Still getting spam submissions on your WordPress form?

If you’ve used all the methods above and you still receive spam submissions, maybe it’s time to change your hosting provider. Ideally, they can help you minimize spam and provide you a web application firewall to keep those spambots off your website.

Only receive form submissions from real people

We hope your forms are spam-free now, so you can start receiving real submissions and comments from real people! If you have any questions about spam and forms, feel free to leave them in the comments section below (only if you’re a real human, of course).