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.
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
On this page
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:
| Setting | What it does | Cost |
|---|---|---|
| Comment author must fill out name and email | Slows careless bots | Almost none |
| Users must be registered and logged in to comment | Strongest option | Discourages real readers, suits membership sites |
| Automatically close comments on older posts (30 to 90 days is common) | Spammers target old, unwatched posts | Stops genuine late comments |
| Comment must be manually approved, or author must have a previously approved comment | Held comments cannot show a link to the public | More moderation |
| Hold a comment if it contains N or more links (set to 1) | Most spam contains a link | Occasional genuine link held |
| Disallowed Comment Keys (Comment Blocklist in older versions) | Matching comments go straight to trash | Needs upkeep |
Which plugin should I use: Antispam Bee or Akismet?
Install only one filtering plugin. Two overlapping filters add load and confusion.
| Antispam Bee | Akismet | |
|---|---|---|
| Cost | Free for any site, including commercial | Free only for personal, non-commercial sites; business sites generally need a paid plan |
| Where it runs | On your own server, no third-party service by default | Sends comment content to a remote service |
| Privacy note | Easy to square with privacy rules | Mention it in your privacy policy |
| Method | Checks the comment came from a real browser, minimum time between page load and submission, compares with known spam in your database | Checks 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.
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.
- Compare
If real comments appear in the spam folder, loosen the strictest option.
- Tighten
If spam still reaches pending, tighten one setting at a time and wait a few days before judging.
- Log it
Keep a note of what you changed and when, since spam waves vary and it is easy to credit the wrong cause.
- Test as a visitor
Post a test comment from a private window to confirm genuine visitors can still comment.
- 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.
Layered protection for comments, forms and logins.
Security service02MaintenancePlugin updates, spam checks and monitoring.
WordPress maintenance03Login URLA further hardening step.
Change the login URLHand it to 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 answerDoes 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 answerShould 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 answerCan 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 answerIs 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 answerHow 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 answerHow 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 answerWhy 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 answerIs 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 answerWhat 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 answerCan 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 answerKeep reading
Want an engineer on it?
Tell us what is wrong in plain words. A person reads it, today.