How to Stop Comment Spam in WordPress (Settings + Plugins)
In this guide
Every WordPress blogger meets comment spam sooner or later. You publish a post, and within days the comments fill up with generic praise, strange links and offers that have nothing to do with your article. Left alone, spam can overwhelm your database, bury genuine comments and even get your site flagged by search engines. The worst part is the sheer volume: on an unprotected blog, the overwhelming majority of comments arriving are spam. Learning how to stop comment spam in WordPress starts with understanding why it happens.
The fix comes in two layers. First, tighten the discussion settings that WordPress already gives you. Then add an anti-spam plugin to catch what slips through. Together, the two layers keep your comment section clean without blocking real readers.
Why You Must Stop Comment Spam in WordPress
Spam comments are not just untidy — they actively damage your site. Each one is stored in your database, so thousands of them bloat your backups and slow your site. If spammy links go live on your pages, search engines may see your site as low quality, and readers lose trust when they see junk under your articles. Genuine comments, on the other hand, add value: they answer follow-up questions, build community and even help your posts rank better. Protecting the comment section is really about protecting the good comments.
Step 1: Fix Your WordPress Discussion Settings
Open your dashboard and go to Settings, then Discussion. This page controls how comments behave, and a few changes here stop most spam before a plugin is even involved. First, turn off the option that allows link notifications from other blogs, which spammers abuse to plant links. Then set comments to require approval: choose the option that holds every comment for moderation, or at least the option that holds a comment if the author has never had one approved before.
Next, require commenters to fill in their name and email address, and consider closing comments on older posts automatically — spammers love targeting forgotten articles that nobody watches. You can also set a limit on how many links a comment may contain: a genuine reader rarely includes more than one or two, so holding comments with several links for review catches a large share of spam. Finally, add obvious spam words and addresses to the blocklist box on the same page.
Step 2: Moderate Comments Properly
Moderation is a habit, not a chore to postpone. Check your pending comments regularly, approve the genuine ones quickly, and delete the rest instead of letting them pile up. Be strict with comments that add nothing — one-line praise with a suspicious link is spam even if it sounds friendly. If you approved spam comments in the past, go back and remove them from old posts; they are still hurting your site while they sit there. Quick, consistent moderation also encourages real readers, who are far more likely to comment when they see a living, cared-for discussion.
Step 3: Add an Anti-Spam Plugin
Settings alone cannot catch everything, so add a dedicated anti-spam tool. These are the most widely used options:
- Akismet: the classic WordPress spam filter. It checks every comment against a large database of known spam and quietly moves the bad ones aside. It comes built into WordPress and is free for personal blogs.
- Antispam Bee: a free plugin that blocks spam without sending your comment data to outside services, which suits privacy-conscious bloggers.
- CleanTalk: a cloud-based filter that checks comments, registrations and contact forms, and uses its own database to spot spam patterns.
- WordPress Zero Spam: blocks spam comments without captchas, so real visitors never have to solve a puzzle to leave a comment.
- Stop Spammers: combines several checks to block spam comments, fake signups and trackbacks before they reach your database.
- WP Armour: uses a hidden honeypot field that humans never see but bots fill in, which exposes automated spam without bothering your readers.
Pick one main anti-spam plugin rather than stacking several — running two or three filters at once can clash and may accidentally block genuine comments.
Step 4: Add a Captcha or Honeypot for Extra Protection
If spam still gets through, add a challenge that bots struggle with and humans barely notice. A simple captcha or a honeypot field works well for most blogs. Use captchas sparingly, though: every extra step in the comment form discourages real readers. A honeypot is often the better trade-off, because it is invisible to people and only trips up automated scripts.
Step 5: Keep Your Spam Defences Maintained
Spam tactics change, so review your setup every few months. Empty the spam folder so it does not grow forever, check that your anti-spam plugin is still updated and supported, and look at which comments are being caught — if genuine comments keep landing in spam, loosen a setting or two. Also keep WordPress, your theme and your plugins updated: spammers exploit old software, and a maintained site is a harder target in every way.
The Bottom Line: Stop Comment Spam in WordPress
Stopping WordPress comment spam is a simple routine: require moderation, close comments on old posts, limit links, and let one good anti-spam plugin do the heavy lifting. Your comment section will stay clean, your database will stay lean, and the real conversations — the ones that make blogging worthwhile — will finally be visible again.
Earn
Zohaib Faisal is the founder and editor of EarnDesk. Based in Lahore, Pakistan, he runs the online store Haseeb Collections and works as a freelancer on Fiverr (virtual assistance, AI content writing, AI prompt engineering and digital marketing). He builds websites — Haseeb Collections, EarnDesk and a temporary-email service — writes SEO-focused content, and has hands-on AdSense experience across his sites. He has earned 15+ professional certificates from Google, IBM, Microsoft, HubSpot, Cisco, the Linux Foundation, Unity, Semrush and Harvard (CS50P), and creates the YouTube channel Clips by Zohaib. On EarnDesk he writes practical, honest guides to help beginners earn online — without hype or "get rich quick" promises.