Skip to content
Security

Best free anti-spam plugin for WordPress comments

Stop WordPress comment spam with built-in settings, Antispam Bee or Akismet, and a small snippet that removes the website field from the comment form.

By WP24×7 engineers5 min readPublished November 23, 2022Updated November 29, 2026

At a glance

A guide to stopping WordPress comment spam in three layers: tighten the built-in Discussion settings, add one filtering plugin, and remove the website field spammers want. It compares Antispam Bee and Akismet, explains how to clear a backlog, how to tell whether the filter works, and what to check if spam keeps arriving.

Updated November 29, 2026 · For WordPress site owners with open comments

  • For WordPress site owners with open comments
  • Layer one Settings, Discussion rules at no cost
  • Layer two one filter plugin, Antispam Bee or Akismet
  • Layer three remove the website field
  • Akismet free for personal, non-commercial sites only, check current terms
  • No comments needed? Switch them off site-wide

Comment spam is mostly bots posting links to boost someone else's rankings. Fix it in three layers: tighten the built-in discussion settings, add one filtering plugin such as Antispam Bee or Akismet, and remove the website field that spammers want. Do these in order and you rarely need more.

Do you actually need comments?

Spam is a cost of keeping comments open. If your readers never comment, the best fix is none at all.

Go to Settings, Discussion and untick Allow people to submit comments on new posts. For existing posts, open Posts, select all, choose Edit in the bulk actions menu, and set Comments to Do not allow. Pages, products and custom post types have their own lists, so repeat there. Plugins also exist for site-wide switching off.

If you keep comments, continue.

Which built-in settings help most?

All of these live under Settings, Discussion and cost nothing:

SettingWhat it doesCost
Comment author must fill out name and emailSlows careless botsAlmost none
Users must be registered and logged in to commentStrongest optionDiscourages real readers, suits membership sites
Automatically close comments on older posts (30 to 90 days is common)Spammers target old, unwatched postsStops genuine late comments
Comment must be manually approved, or author must have a previously approved commentHeld comments cannot show a link to the publicMore moderation
Hold a comment if it contains N or more links (set to 1)Most spam contains a linkOccasional genuine link held
Disallowed Comment Keys (Comment Blocklist in older versions)Matching comments go straight to trashNeeds upkeep

Which plugin should I use: Antispam Bee or Akismet?

Install only one filtering plugin. Two overlapping filters add load and confusion.

Antispam BeeAkismet
CostFree for any site, including commercialFree only for personal, non-commercial sites; business sites generally need a paid plan
Where it runsOn your own server, no third-party service by defaultSends comment content to a remote service
Privacy noteEasy to square with privacy rulesMention it in your privacy policy
MethodChecks the comment came from a real browser, minimum time between page load and submission, compares with known spam in your databaseChecks each comment against a large shared dataset

Start Antispam Bee with the defaults, send spam to the spam folder rather than deleting it, and review for a week. Then switch to deletion if no genuine comments were caught. Check Akismet's current terms on the plugin page before you rely on it. A CAPTCHA plugin is a third option, but it adds friction for every visitor, so try it only if the others are not enough.

Layers of filtering stand between bots and your comment queue

Should I also remove the website field?

Yes, it takes away the reward spammers are after, and it is a separate, code-level step. We cover the snippet, its limits and how to wipe submitted values in removing the website field from the comment form. Treat it as a companion to the plugin, not a replacement.

How do I clear a spam backlog?

Open Comments, Spam and click Empty Spam. WordPress deletes spam older than fifteen days automatically through its scheduled tasks, so a large pile usually means scheduled tasks are not running, which is worth checking. For pending comments full of junk, filter the list to Pending, select all, and choose Move to Spam or delete.

How do I know the filter is working?

Check the numbers rather than trusting the setup screen. After a week, open the plugin's statistics (Antispam Bee shows a count of caught spam on its dashboard widget, Akismet shows it under Jetpack or its own page) and compare them with the Comments screen.

  1. Compare

    If real comments appear in the spam folder, loosen the strictest option.

  2. Tighten

    If spam still reaches pending, tighten one setting at a time and wait a few days before judging.

  3. Log it

    Keep a note of what you changed and when, since spam waves vary and it is easy to credit the wrong cause.

  4. Test as a visitor

    Post a test comment from a private window to confirm genuine visitors can still comment.

  5. Check email

    Confirm the notification emails reach you.

What if spam keeps coming?

  • Check that caching is not serving a stale comment form that skips the plugin's checks.
  • Confirm the plugin is active and that the spam is arriving as comments, not as form submissions from a contact form plugin. Those need their own protection.
  • Look for spam through the REST API or xmlrpc.php. Disabling or protecting those routes with Cloudflare helps, as described in our Cloudflare rules guide.
  • Persistent spam that bypasses everything can mean the site itself is compromised, for example a hidden script posting comments. If you suspect that, see our WordPress security service.

Where next?

If you would rather not maintain this yourself, a care plan covers plugin updates, spam checks and monitoring, and you can cancel any time. For a next hardening step, read how to change the WordPress login URL.

Tired of clearing spam?

Hand it to an engineer.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

What is the best free anti-spam plugin for WordPress comments?

Antispam Bee is a good free choice for most sites: it needs little setup and works without an external account. Akismet is the other common option and is free only for personal, non-commercial sites.

Link to this answer
Does removing the website field stop spam?

It reduces spam that exists only to plant a link, but it does not stop spam on its own. Use it together with a filter plugin and moderation.

Link to this answer
Should I just turn comments off?

If you do not use them, yes. Disable comments site-wide in Settings, Discussion, and for existing posts in bulk. No comments means no comment spam.

Link to this answer
Can I run two anti-spam plugins together?

It is better not to. Two overlapping filters add load and confusion. Install one filtering plugin, and use the built-in Discussion settings alongside it.

Link to this answer
Is Antispam Bee allowed on commercial sites?

It is free for any site, including commercial ones, and by default it works on your own server without sending comment data to a third-party service, which makes it easier to square with privacy rules.

Link to this answer
Do I need to mention Akismet in my privacy policy?

Because Akismet sends comment content to a remote service, mention it in your privacy policy. Check the current terms on the plugin page before relying on it for a business site.

Link to this answer
How do I clear a large spam backlog?

Open Comments, Spam and click Empty Spam. A very large pile can mean scheduled tasks are not running, which is worth checking. For pending junk, filter to Pending, select all and move to spam.

Link to this answer
How do I know the filter is working?

Compare the plugin's caught-spam statistics with the Comments screen after a week. If real comments land in spam, loosen the strictest option. If spam reaches pending, tighten one setting at a time.

Link to this answer
Why does spam still arrive after I installed a plugin?

Check that caching is not serving a stale comment form, that the plugin is active, and that the spam is not coming through a contact form plugin, the REST API or xmlrpc.php, which need their own protection.

Link to this answer
Is a CAPTCHA a good idea?

It adds friction for every visitor, so try it only if the other layers are not enough. Settings, a filter plugin and removing the website field handle most sites.

Link to this answer
What do persistent bypassing spam comments mean?

Spam that gets past everything can mean the site itself is compromised, for example a hidden script posting comments. If you suspect that, have the site checked by a security service.

Link to this answer
Can WP24x7 manage spam protection for me?

Yes. A care plan covers plugin updates, spam checks and monitoring, and the security service sets up layered protection for comments and forms. Post a project or call the help desk.

Link to this answer

Keep reading

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.